]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Move remaining SPARC code out of nptl/.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4b88139b
RM
12014-06-20 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4 (libpthread-routines): Add sysdep.
5 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6 * sysdeps/unix/sysv/linux/sparc/Versions
7 (libpthread: GLIBC_2.3.3): New version set.
8 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
12 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
13 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14 Moved ...
15 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
19 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
20 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
21 * sysdeps/sparc/nptl/sem_init.c: ... here.
22 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
23 * sysdeps/sparc/nptl/sem_post.c: ... here.
24 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
25 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
26 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
27 * sysdeps/sparc/nptl/sem_wait.c: ... here.
28 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
29 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
30 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
31 (libpthread-routines): Add cpu_relax.
32 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33 File removed.
34 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
35 (librt: GLIBC_2.3.3): New version set.
36 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
37 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
38 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
39 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
40 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
41 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
42 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
43 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
44 Moved ...
45 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
46 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
47 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
48 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
50 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
51 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
52 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
53 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
54 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
55 Moved ...
56 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
57 Update #include.
58 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
59 Moved ...
60 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
61 Update #include.
62 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
63 Moved ...
64 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
65 Update #include.
66 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
67 Moved ...
68 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
69 Update #include.
70 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
71 Moved ...
72 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
73 Update #include.
74 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
75 Moved ...
76 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
77 Update #include.
78 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
79 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
80 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
81 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
82 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
83 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
84 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
85 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
86 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
87 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
88 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
89 Moved ...
90 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
91 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
92 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
93 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
94 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
95
d7109027
JM
962014-06-20 Joseph Myers <joseph@codesourcery.com>
97
9bc6103d
JM
98 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
99 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
100 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
101 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
102 * nscd/nscd.c: Likewise.
103 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
104 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
105 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
106 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
107
d7109027
JM
108 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
109 <kernel-features.h>.
110 (init_mq_netlink): Remove conditional have_sock_cloexec
111 definitions. Remove code conditional on have_sock_cloexec < 0.
112 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
113 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
114 * sysdeps/unix/sysv/linux/opensock.c: Do not include
115 <kernel-features.h>.
116 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
117 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
118
d92d8f8a
L
1192014-06-20 H.J. Lu <hongjiu.lu@intel.com>
120
121 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
122 Add tests for memset_chk and memset.
123
124 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
125 with AVX2_Usable.
126
4e6d2347
MR
1272014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
128
257ce712
MR
129 [BZ #16046]
130 * elf/tst-dl-iter-static.c: New file.
131 * elf/Makefile (tests-static): Add tst-dl-iter-static.
132
4e6d2347
MR
133 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
134 error.
135
a2a76afe
JM
1362014-06-20 Joseph Myers <joseph@codesourcery.com>
137
7fd00f99
JM
138 * sysdeps/unix/sysv/linux/kernel-features.h
139 (__ASSUME_F_GETOWN_EX): Remove macro.
140 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
141 <kernel-features.h>.
142 (miss_F_GETOWN_EX): Remove variable or macro.
143 (do_fcntl): Do not check miss_F_GETOWN_EX.
144 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
145
4a103975
JM
146 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
147 Remove macro.
148 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
149 [!__ASSUME_AT_RANDOM]: Remove conditional code.
150 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
151
a2a76afe
JM
152 * sysdeps/unix/sysv/linux/kernel-features.h
153 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
154 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
155 [ADJ_OFFSET_SS_READ]: Make code unconditional.
156 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
157
90e5dd48
MR
1582014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
159
160 [BZ #17075]
161 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
162 Fix calculation of the symbol's value.
163 * sysdeps/arm/tst-armtlsdescloc.c: New file.
164 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
165 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
166 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
167 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
168 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
169 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
170 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
171 (modules-names): Add `tst-armtlsdescmod',
172 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
173 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
174 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
175 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
176 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
177 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
178 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
179 ($(objpfx)tst-armtlsdescloc): New dependency.
180 ($(objpfx)tst-armtlsdescextnow): Likewise.
181 ($(objpfx)tst-armtlsdescextlazy): Likewise.
182 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
183 TLS scheme support.
184 * sysdeps/arm/configure: Regenerate.
185
809fdf0d
JM
1862014-06-20 Joseph Myers <joseph@codesourcery.com>
187
188 * include/fcntl.h (__atfct_seterrno): Remove prototype.
189 (__atfct_seterrno_2): Likewise.
190 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
191 <kernel-features.h>.
192 (__ASSUME_ATFCTS): Do not undefine and redefine.
193 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
194 (__have_atfcts): Remove conditional definition.
195 (__fxstatat([__NR_fstatat64]: Make code unconditional.
196 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
197 unreachable if [__ASSUME_ATFCTS].
198 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
199 not undefine and redefine.
200 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
201 <kernel-features.h>.
202 (faccessat) [__NR_faccessat]: Make code unconditional.
203 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
204 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
205 <kernel-features.h>.
206 (fchmodat) [__NR_fchmodat]: Make code unconditional.
207 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
208 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
209 <kernel-features.h>.
210 (fchownat) [__NR_fchownat]: Make code unconditional.
211 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
212 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
213 <kernel-features.h>.
214 (futimesat) [__NR_futimesat]: Make code unconditional.
215 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
216 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
217 <kernel-features.h>.
218 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
219 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
220 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
221 <kernel-features.h>.
222 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
223 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
224 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
225 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
226 <kernel-features.h>.
227 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
228 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
229 * sysdeps/unix/sysv/linux/linkat.c: Do not include
230 <kernel-features.h>.
231 (linkat) [__NR_linkat]: Make code unconditional.
232 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
233 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
234 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
235 <kernel-features.h>.
236 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
237 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
238 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
239 <kernel-features.h>.
240 (mkdirat) [__NR_mkdirat]: Make code unconditional.
241 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
242 * sysdeps/unix/sysv/linux/openat.c: Do not include
243 <kernel-features.h>.
244 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
245 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
246 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
247 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
248 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
249 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
250 <kernel-features.h>.
251 (readlinkat) [__NR_readlinkat]: Make code unconditional.
252 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
253 result of INLINE_SYSCALL directly, not via int variable.
254 * sysdeps/unix/sysv/linux/renameat.c: Do not include
255 <kernel-features.h>.
256 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
257 (renameat) [__NR_renameat]: Make code unconditional.
258 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
259 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
260 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
261 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
262 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
263 (__ASSUME_ATFCTS): Do not undefine and redefine.
264 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
265 <kernel-features.h>.
266 (symlinkat) [__NR_symlinkat]: Make code unconditional.
267 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
268 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
269 <kernel-features.h>.
270 (unlinkat) [__NR_unlinkat]: Make code unconditional.
271 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
272 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
273 (__ASSUME_ATFCTS): Do not undefine and redefine.
274 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
275 <kernel-features.h>.
276 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
277 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
278 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
279 <kernel-features.h>.
280 (__xmknodat) [__NR_mknodat]: Make code unconditional.
281 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
282
224c6c51
L
2832014-06-20 H.J. Lu <hongjiu.lu@intel.com>
284
285 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
286
aa6ec754
AS
2872014-06-20 Andreas Schwab <schwab@linux-m68k.org>
288
289 [BZ #17069]
290 * posix/regcomp.c (parse_reg_exp): Deallocate partially
291 constructed tree before returning error.
292 * posix/bug-regexp36.c: Expand test case.
293
d8c2869d
SL
2942014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
295
3ef6b850
SL
296 [BZ #6803]
297 * math/libm-test.inc (scalbln_test_date):
298 Add errno expectations.
299 * math/w_scalblnf.c: New File.
300 Add wrapper which checks for setting errno to ERANGE.
301 Add weak_alias for corresponding scalbln function.
302 * math/w_scalbln.c: Likewise.
303 * math/w_scalblnl.c: Likewise.
304 * math/Makefile (libm-calls): Add w_scalbln.
305 * sysdeps/ieee754/flt-32/s_scalblnf.c:
306 Remove weak_alias for corresponding scalbln function.
307 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
308 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
309 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
310 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
311 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
312 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
313 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
314 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
315 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
316 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
317 Remove long_double_symbol for scalblnl function in libm, libc.
318 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
319 Add wrapper which checks for setting errno to ERANGE.
320 Add long_double_symbol for scalblnl function in libm, libc.
321 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
322 Remove long_double_symbol for scalblnl in libm.
323 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
324 Add wrapper which checks for setting errno to ERANGE.
325 Add long_double_symbol for scalblnl function in libm.
326 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
327 Do not use wrapper because of own implementation.
328
c8daec5c
L
3292014-06-19 H.J. Lu <hongjiu.lu@intel.com>
330
331 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
332 3 bytes for __pad1 for x32.
333 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
334
5c74e47c
LM
3352014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
336 H.J. Lu <hongjiu.lu@intel.com>
337
338 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
339 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
340 * sysdeps/x86_64/multiarch/memset.S: Likewise.
341 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
342 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
343
4d43ef1e
AS
3442014-06-19 Andreas Schwab <schwab@linux-m68k.org>
345
346 [BZ #17069]
347 * posix/regcomp.c (parse_expression): Deallocate partially
348 constructed tree before returning error.
349 * posix/Makefile.c (tests): Add bug-regex36.
350 (generated): Add bug-regex36.mtrace.
351 (tests-special): Add $(objpfx)bug-regex36-mem.out
352 (bug-regex36-ENV): New variable.
353 ($(objpfx)bug-regex36-mem.out): New rule.
354 * posix/bug-regex36.c: New file.
355
51a7380b
WN
3562014-06-19 Will Newton <will.newton@linaro.org>
357
358 * malloc/malloc.c (systrim): If extra is zero then return
359 early.
360
91b84fe5
SP
3612014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
362
363 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
364
f940b965
RE
3652014-06-19 Richard Earnshaw <rearnsha@arm.com>
366
367 * sysdeps/aarch64/strchr.S: New file.
368
4ba7a00f
JM
3692014-06-18 Joseph Myers <joseph@codesourcery.com>
370
371 [BZ #17022]
372 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
373 from arguments -2 or below.
374 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
375 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
376
b3a9f56b
AS
3772014-06-18 Andreas Schwab <schwab@suse.de>
378
379 [BZ #17062]
380 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
381 of a bracket expr not to run off the end of the string.
382 * posix/Makefile (tests): Add tst-fnmatch3.
383 * posix/tst-fnmatch3.c: New file.
384
85d89278
JM
3852014-06-18 Joseph Myers <joseph@codesourcery.com>
386
387 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
388 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
389 [$(cross-compiling) = no]: Likewise.
390 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
391 [$(cross-compiling) = no]: Likewise.
392
754c5a08
RS
3932014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
394
395 [BZ #17031]
396 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
397 double, adjusted for any remainder from the high double.
398 * math/libm-test.inc (nearbyint): Add tests.
399 (rint): Likewise.
400
556f529d
AZ
4012014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
402
403 * nptl/sysdeps/powerpc/Makefile: Moved ...
404 * sysdeps/powerpc/nptl/Makefile: ... here.
405 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
406 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
407 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
408 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
409 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
410 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
411 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
412 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
413 * nptl/sysdeps/powerpc/tls.h: Moved ...
414 * sysdeps/powerpc/nptl/tls.h: ... here.
415
91c03c53
JM
4162014-06-16 Joseph Myers <joseph@codesourcery.com>
417
418 [BZ #16681]
419 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
420 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
421 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
422 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
423 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
424 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
425 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
426 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
427 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
428
a76e63c5
AS
4292014-06-17 Andreas Schwab <schwab@linux-m68k.org>
430
431 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
432
f2f6d82f
AS
4332014-06-16 Andreas Schwab <schwab@linux-m68k.org>
434
ea8a15f6
AS
435 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
436 defined operator.
437
f2f6d82f
AS
438 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
439 $TIMEOUTFACTOR.
440
a7291117
FW
4412014-06-16 Florian Weimer <fweimer@redhat.com>
442
443 [BZ #17058]
444 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
445 non-executed part of the test.
446
3d7c00e3
AS
4472014-06-16 Andreas Schwab <schwab@suse.de>
448
449 * string/bits/string2.h (strdup, strndup): Update feature guard.
450
6957fb31
DM
4512014-06-14 David S. Miller <davem@davemloft.net>
452
453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
454
11b9e55b
AS
4552014-06-14 Andreas Schwab <schwab@linux-m68k.org>
456
1d2a0492
AS
457 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
458 that was previously under [RESET_PID].
459 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
460
11b9e55b
AS
461 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
462 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
463 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
464 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
465 (__libc_vfork): New strong alias.
466 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
467
0f6901d0
AK
4682014-06-14 Andi Kleen <ak@linux.intel.com>
469
470 * sysdeps/generic/elide.h: New file.
471
38bbbb9f
SL
4722014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
473
474 * Makefile (installed-headers): Adjust path of pthread.h header.
475
45193bb8
RM
4762014-06-13 Roland McGrath <roland@hack.frob.com>
477
9a25fd1e
RM
478 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
479 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
480 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
481 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
482
4004f7e4
RM
483 * nptl/sysdeps/s390/Makefile: Moved ...
484 * sysdeps/s390/nptl/Makefile: ... here.
485 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
486 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
487 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
488 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
489 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
490 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
491 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
492 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
493 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
494 * sysdeps/s390/nptl/pthreaddef.h: ... here.
495 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
496 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
497 * nptl/sysdeps/s390/tls.h: Moved ...
498 * sysdeps/s390/nptl/tls.h: ... here.
499
45193bb8
RM
500 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
501 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
502
f6fdf533
DM
5032014-06-13 David S. Miller <davem@davemloft.net>
504
505 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
506 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
507 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
508 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
510 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
511 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
512 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
513 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
514 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
515 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
516 Remove RESET_PID cpp guards.
517 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
518 Remove RESET_PID cpp guards.
519 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
520
f5d71e14
AS
5212014-06-13 Andreas Schwab <schwab@linux-m68k.org>
522
523 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
524 __sp to uintptr_t.
525
b7aa8caa
AK
5262014-06-13 Andi Kleen <ak@linux.intel.com>
527
4b266200
AZ
528 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
529 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
530 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
531 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
532 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
533 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
534 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
535 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
536 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
537 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
538 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
539 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
540 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
541 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
542 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
543 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
544 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
545 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
546 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
547 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
548
549 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
550 (pthread_rwlock_rdlock): Add elision.
551 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
552 (pthread_rwlock_wrlock): Add elision.
553 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
554 (pthread_rwlock_trywrlock): Add elision.
555 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
556 (pthread_rwlock_tryrdlock): Add elision.
557 * nptl/pthread_rwlock_unlock.c: Include elide.h.
558 (pthread_rwlock_tryrdlock): Add elision unlock.
559 * nptl/sysdeps/pthread/pthread.h:
560 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
561 (PTHREAD_RWLOCK_INITIALIZER,
562 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
563 Handle new elision field.
564 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
565 * sysdeps/arm/nptl/bits/pthreadtypes.h
566 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
567 * sysdeps/sh/nptl/bits/pthreadtypes.h
568 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
569 * sysdeps/tile/nptl/bits/pthreadtypes.h
570 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
571 * sysdeps/a/nptl/bits/pthreadtypes.h
572 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
573 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
574 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
575 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
576 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
577 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
578 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
579 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
580 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
581 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
582 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
583 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
584 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
585 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
586 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
587 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
588 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
589 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
590 (elision_init): Set try_xbegin to zero when no RTM.
591 * sysdeps/x86/nptl/bits/pthreadtypes.h
592 (pthread_rwlock_t): Change __pad1 to __rwelision.
593 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 594
a832bdd3
AK
5952014-06-13 Andi Kleen <ak@linux.intel.com>
596
597 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
598 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
599 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
600 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
601
995a46bb
MI
6022014-06-13 Meador Inge <meadori@codesourcery.com>
603
604 [BZ #16996]
03ed7738 605 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
606 that the cached result has been set before returning it.
607
45262aee
RM
6082014-06-12 Roland McGrath <roland@hack.frob.com>
609
febf6cc5
RM
610 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
611 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
612 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
613 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
614 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
615 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
616
e2682246
RM
617 * nptl/sysdeps/sparc/Makefile: Moved ...
618 * sysdeps/sparc/nptl/Makefile: ... here.
619 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
620 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
621 * nptl/sysdeps/sparc/tls.h: Moved ...
622 * sysdeps/sparc/nptl/tls.h: ... here.
623 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
624 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
625 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
626 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
627 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
628 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
629 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
630 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
631 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
632 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
633 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
634 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
635 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
636 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
637 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
638 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
639 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
640 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
641 Update #include.
642 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
643 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
644 Update #include.
645 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
646 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
647 Update #include.
648 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
649 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
650 Update #include.
651
b0725f43
RM
652 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
653
b14368b8
RM
654 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
655 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
656
c5620eb3
RM
657 * sysdeps/pthread/posix-timer.h: Include <list.h>.
658 (struct list_links): Type removed.
659 (struct thread_node, struct timer_node): Replace struct list_links
660 with struct list_head.
661 (list_unlink_ip): Likewise.
662 * sysdeps/pthread/timer_routines.c
663 (timer_free_list, thread_free_list, thread_active_list): Likewise.
664 (list_append, list_insbefore): Likewise.
665 (list_init): Function removed.
666 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
667 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
668 * sysdeps/pthread/Makefile: ... here, new file.
669
670 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
671 * sysdeps/nptl/Implies: ... here.
672 * sysdeps/unix/sysv/linux/Implies: Add nptl.
673 * nptl/sysdeps/pthread/list.h: Moved ...
674 * include/list.h: ... here.
675 * nptl/sysdeps/pthread/createthread.c: Moved ...
676 * nptl/createthread.c: ... here.
677 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
678 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
679 * nptl/pt-longjmp.c: ... here.
680 * nptl/sysdeps/pthread/Makefile: Moved ...
681 * sysdeps/nptl/Makefile: ... here.
682 * nptl/sysdeps/pthread/Subdirs: Moved ...
683 * sysdeps/nptl/Subdirs: ... here.
684 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
685 * sysdeps/nptl/aio_misc.h: ... here.
686 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
687 * sysdeps/nptl/bits/libc-lock.h: ... here.
688 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
689 * sysdeps/nptl/bits/libc-lockP.h: ... here.
690 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
691 * sysdeps/nptl/bits/stdio-lock.h: ... here.
692 * nptl/sysdeps/pthread/configure: Moved ...
693 * sysdeps/nptl/configure: ... here.
694 * nptl/sysdeps/pthread/configure.ac: Moved ...
695 * sysdeps/nptl/configure.ac: ... here.
696 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
697 * sysdeps/nptl/gai_misc.h: ... here.
698 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
699 * sysdeps/nptl/librt-cancellation.c: ... here.
700 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
701 * sysdeps/nptl/malloc-machine.h: ... here.
702 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
703 * sysdeps/nptl/pthread-functions.h: ... here.
704 * nptl/sysdeps/pthread/pthread.h: Moved ...
705 * sysdeps/nptl/pthread.h: ... here.
706 * nptl/sysdeps/pthread/setxid.h: Moved ...
707 * sysdeps/nptl/setxid.h: ... here.
708 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
709 * sysdeps/nptl/sigfillset.c: ... here.
710 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
711 * sysdeps/nptl/tcb-offsets.h: ... here.
712 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
713 * sysdeps/nptl/tst-mqueue8x.c: ... here.
714 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
715 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
716 * nptl/sysdeps/pthread/allocalim.h: Moved ...
717 * sysdeps/pthread/allocalim.h: ... here.
718 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
719 * sysdeps/pthread/bits/sigthread.h: ... here.
720 * nptl/sysdeps/pthread/flockfile.c: Moved ...
721 * sysdeps/pthread/flockfile.c: ... here.
722 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
723 * sysdeps/pthread/ftrylockfile.c: ... here.
724 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
725 * sysdeps/pthread/funlockfile.c: ... here.
726 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
727 * sysdeps/pthread/posix-timer.h: ... here.
728 * nptl/sysdeps/pthread/timer_create.c: Moved ...
729 * sysdeps/pthread/timer_create.c: ... here.
730 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
731 * sysdeps/pthread/timer_delete.c: ... here.
732 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
733 * sysdeps/pthread/timer_getoverr.c: ... here.
734 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
735 * sysdeps/pthread/timer_gettime.c: ... here.
736 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
737 * sysdeps/pthread/timer_routines.c: ... here.
738 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
739 * sysdeps/pthread/timer_settime.c: ... here.
740 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
741 * sysdeps/pthread/tst-timer.c: ... here.
742 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
743 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
744
e876b090
RM
745 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
746 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
747
f6b07b3d
RM
748 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
749 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
750 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
751 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
752 Update #include target.
753 * nptl/sysdeps/i386/i686/Makefile: Moved ...
754 * sysdeps/i386/i686/nptl/Makefile: ... here.
755 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
756 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
757 Update #include target.
758 * nptl/sysdeps/i386/i686/tls.h: Moved ...
759 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
760 * nptl/sysdeps/i386/Makefile: Moved ...
761 * sysdeps/i386/nptl/Makefile: ... here.
762 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
763 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
764 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
765 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
766 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
767 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
768 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
769 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
770 * sysdeps/i386/nptl/pthreaddef.h: ... here.
771 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
772 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
773 * nptl/sysdeps/i386/tls.h: Moved ...
774 * sysdeps/i386/nptl/tls.h: ... here.
775
45262aee
RM
776 * sysdeps/sh/Makefile [$(subdir) = csu]
777 (gen-as-const-headers): Add tcb-offsets.sym.
778 * nptl/sysdeps/sh/Makefile: File removed.
779 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
780 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
781 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
782 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
783 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
784 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
785 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
786 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
787 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
788 * sysdeps/sh/nptl/pthreaddef.h: ... here.
789 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
790 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
791 * nptl/sysdeps/sh/tls.h: Moved ...
792 * sysdeps/sh/nptl/tls.h: ... here.
793 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
794 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
795 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
796 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
797 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
798 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
799 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
800 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
801 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
802 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
803 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
804 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
805 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
806 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
807 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
808 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
809 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
810 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
811 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
812 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
813 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
814 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
815 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
816 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
817 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
818 Moved ...
819 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
820 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
821 Moved ...
822 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
823 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
824 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
825 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
826 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
827 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
828 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
829 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
830 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
831 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
832 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
833 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
834 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
835 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
836 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
837 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
838 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
839 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
840 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
841
35a5e3e3
SL
8422014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
843
844 * posix/spawn_faction_addopen.c: Include string.h.
845
14642b85
RM
8462014-06-11 Roland McGrath <roland@hack.frob.com>
847
848 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
849 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
850 * nptl/sysdeps/x86_64/Makefile: Moved ...
851 * sysdeps/x86_64/nptl/Makefile: ... here.
852 * nptl/sysdeps/x86_64/configure: Moved ...
853 * sysdeps/x86_64/nptl/configure: ... here.
854 * nptl/sysdeps/x86_64/configure.ac: Moved ...
855 * sysdeps/x86_64/nptl/configure.ac: ... here.
856 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
857 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
858 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
859 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
860 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
861 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
862 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
863 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
864 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
865 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
866 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
867 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
868 * nptl/sysdeps/x86_64/tls.h: Moved ...
869 * sysdeps/x86_64/nptl/tls.h: ... here.
870 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
871 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
872 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
873 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
874
875 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
876
31c44fea
AZ
8772014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
878
879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
880
e81a4f9a
JM
8812014-06-11 Joseph Myers <joseph@codesourcery.com>
882
883 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
884 type.
885 [POSIX] (off_t): Likewise.
886 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
887 [POSIX] (S_ISBLK): Require macro.
888 [POSIX] (S_ISCHR): Likewise.
889 [POSIX] (S_ISDIR): Likewise.
890 [POSIX] (S_ISFIFO): Likewise.
891 [POSIX] (S_ISREG): Likewise.
892 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
893 optional-macro.
894 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
895 type.
896 [POSIX] (time_t): Likewise.
897 [POSIX] (timer_t): Likewise.
898
89e435f3
FW
8992014-06-11 Florian Weimer <fweimer@redhat.com>
900
901 [BZ #17048]
902 * posix/spawn_int.h (struct __spawn_action): Make the path string
903 non-const to support deallocation.
904 * posix/spawn_faction_addopen.c
905 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
906 * posix/spawn_faction_destroy.c
907 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
908 path in all spawn_do_open actions.
909 * posix/tst-spawn.c (do_test): Exercise the copy operation in
910 posix_spawn_file_actions_addopen.
911
c3a2ebe1
CM
9122014-06-11 Chris Metcalf <cmetcalf@tilera.com>
913
914 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
915 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
916 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
917 conditional code always true.
918 (__libc_vfork): New alias.
919
9503784a
RM
9202014-06-11 Roland McGrath <roland@hack.frob.com>
921
c9cab3d2
RM
922 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
923 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
924
d3996c79
RM
925 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
926
ba5ec611
RM
927 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
928 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
929
f12b4814
RM
930 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
931 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
932
9503784a
RM
933 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
934 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
935
e23d3d26
VR
9362014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
937
938 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
939 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
940 multiarch strcmp for PPC64.
941 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
942 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
943 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
944 multiarch optimizations.
945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
946 (__libc_ifunc_impl_list): Likewise.
947
42b1161e
SP
9482014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
949
950 * benchtests/scripts/validate_benchout.py: New script.
951 * benchtests/Makefile (bench-func): Call it.
952 * benchtests/scripts/benchout.schema.json: New file.
953
2d0fc4dc
CM
9542014-06-10 Chris Metcalf <cmetcalf@tilera.com>
955
4a594c34
AZ
956 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
957 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
958 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
959 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
960 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
961 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
962 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
963 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
964 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
965 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
966 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
967 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
968 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
969 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
970 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
971 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 973 Moved ...
4a594c34 974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 975 ... here.
4a594c34 976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 977 Moved ...
4a594c34
AZ
978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 980 Moved ...
4a594c34 981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 982 ... here.
4a594c34 983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 984 Moved ...
4a594c34 985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 986 ... here.
4a594c34 987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 988 Moved ...
4a594c34
AZ
989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 991 Moved ...
4a594c34 992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 993 ... here.
4a594c34 994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 995 Moved ...
4a594c34 996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 997 ... here.
4a594c34 998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 999 Moved ...
4a594c34
AZ
1000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 1002 Moved ...
4a594c34 1003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 1004 ... here.
4a594c34 1005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 1006 Moved ...
4a594c34 1007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 1008 ... here.
4a594c34 1009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 1010 Moved ...
4a594c34 1011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 1012 ... here.
4a594c34 1013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 1014 Moved ...
4a594c34
AZ
1015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 1017 Moved ...
4a594c34 1018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 1019 ... here.
4a594c34 1020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 1021 Moved ...
4a594c34 1022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 1023 ... here.
4a594c34 1024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 1025 Moved ...
4a594c34 1026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 1027 ... here.
4a594c34 1028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 1029 Moved ...
4a594c34
AZ
1030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 1032 Moved ...
4a594c34 1033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 1034 ... here.
4a594c34 1035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 1036 Moved ...
4a594c34 1037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 1038 ... here.
4a594c34 1039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 1040 Moved ...
4a594c34
AZ
1041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 1043 Moved ...
4a594c34 1044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 1045 ... here.
4a594c34 1046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 1047 Moved ...
4a594c34
AZ
1048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 1050 Moved ...
4a594c34
AZ
1051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 1053 Moved ...
4a594c34 1054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 1055 ... here.
4a594c34 1056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 1057 Moved ...
4a594c34 1058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 1059 ... here.
4a594c34 1060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 1061 Moved ...
4a594c34 1062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 1063 ... here.
4a594c34 1064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 1065 Moved ...
4a594c34
AZ
1066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 1068 Moved ...
4a594c34 1069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 1070 ... here.
4a594c34 1071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 1072 Moved ...
4a594c34 1073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 1074 ... here.
4a594c34
AZ
1075 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1076 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1077 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1078 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1079 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 1080 Moved ...
4a594c34 1081 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 1082 ... here.
4a594c34
AZ
1083 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1084 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1085 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1086 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1087 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1088 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1089 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1090 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1091 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1092 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1093 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1094 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1095 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 1096 Moved ...
4a594c34
AZ
1097 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1098 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 1099 Moved ...
4a594c34
AZ
1100 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1101 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1102 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1103 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 1104 Moved ...
4a594c34
AZ
1105 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1106 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1107 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1108 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1109 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1110 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1111 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 1112
0570cfed
W
11132014-06-10 Wilco <wdijkstr@arm.com>
1114
1115 * math/test-fenv-return.c: New file.
1116 * math/Makefile: Add new test test-fenv-return.
1117
f8ba1b56
JM
11182014-06-10 Joseph Myers <joseph@codesourcery.com>
1119
1120 [BZ #17042]
1121 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1122 when x - 1 is zero.
1123 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1124 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1125 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1126 0.0L for an argument of 1.0L.
1127 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1128 Likewise.
1129 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1130 value when x - 1 is zero.
1131 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1132 * sysdeps/i386/fpu/libm-test-ulps: Update.
1133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1134
2c3520d9
BO
11352014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1136
1137 [BZ #15119]
1138 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1139
acaa4d24
RM
11402014-06-09 Roland McGrath <roland@hack.frob.com>
1141
1142 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1143 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1144
962b744d
RM
11452014-06-09 Roland McGrath <roland@hack.frob.com>
1146
d752f0cc
RM
1147 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1148 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1149
34eda6d1
RM
1150 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1151 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1152
50f0a637
RM
1153 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1154 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1155
08f41f04
RM
1156 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1157 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1158
962b744d
RM
1159 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1160 if not already defined.
1161 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1162 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1163 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1164 (TLS_INIT_TP): Use it.
1165 (TLS_DEFINE_INIT_TP): New macro.
1166 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1167
09f19b05
JM
11682014-06-09 Joseph Myers <joseph@codesourcery.com>
1169
1170 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1171 constant.
1172 [POSIX] (IXANY): Likewise.
1173 [POSIX] (OLCUC): Likewise.
1174 [POSIX || POSIX2008] (CBAUD): Do not allow.
1175 [POSIX || POSIX2008] (DEFECHO): Likewise.
1176 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1177 [POSIX || POSIX2008] (ECHOKE): Likewise.
1178 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1179 [POSIX || POSIX2008] (EXTA): Likewise.
1180 [POSIX || POSIX2008] (EXTB): Likewise.
1181 [POSIX || POSIX2008] (FLUSHO): Likewise.
1182 [POSIX || POSIX2008] (LOBLK): Likewise.
1183 [POSIX || POSIX2008] (PENDIN): Likewise.
1184 [POSIX || POSIX2008] (SWTCH): Likewise.
1185 [POSIX || POSIX2008] (VDISCARD): Likewise.
1186 [POSIX || POSIX2008] (VDSUSP): Likewise.
1187 [POSIX || POSIX2008] (VLNEXT): Likewise.
1188 [POSIX || POSIX2008] (VREPRINT): Likewise.
1189 [POSIX || POSIX2008] (VSTATUS): Likewise.
1190 [POSIX || POSIX2008] (VWERASE): Likewise.
1191 (B*): Change to B[0123456789]*.
1192 * conform/data/time.h-data [POSIX || UNIX98]
1193 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1194 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1195 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1196 [POSIX] (tm_*): Do not allow.
1197
686554bf
JM
11982014-06-07 Joseph Myers <joseph@codesourcery.com>
1199
1200 * Makefile (install): Don't set LANGUAGE.
1201 * Makefile.in (install): Likewise.
1202 * assert/Makefile (test-assert-ENV): Remove variable.
1203 (test-assert-perr-ENV): Likewise.
1204 * elf/Makefile (neededtest4-ENV): Likewise.
1205 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1206 [$(cross-compiling) = no]: Don't set LANGUAGE.
1207 * io/ftwtest-sh (LANG): Remove variable.
1208 * libio/Makefile (tst-widetext-ENV): Likewise.
1209 * manual/install.texi (Running make install): Don't refer to
1210 environment settings for make install.
1211 * INSTALL: Regenerated.
1212 * nptl/tst-tls6.sh: Don't set LANG.
1213 * posix/globtest.sh (LANG): Remove variable.
1214 * string/Makefile (tester-ENV): Likewise.
1215 (inl-tester-ENV): Likewise.
1216 (noinl-tester-ENV): Likewise.
1217 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1218 [$(cross-compiling) = no]: Don't set LANGUAGE.
1219 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1220 without explicit environment settings.
1221
68e6b6b1
RM
12222014-06-06 Roland McGrath <roland@hack.frob.com>
1223
1224 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1225 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1226 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1227 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1228
4d3ae034
CM
12292014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1230
1231 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1232 other files in the crypt directory.
1233 * crypt/crypt.c: Remove duplicate includes.
1234 * crypt/crypt-entry.c: Likewise.
1235 * crypt/crypt_util.c: Likewise.
1236
8540f6d2
JM
12372014-06-06 Joseph Myers <joseph@codesourcery.com>
1238
1239 * Makeconfig (run-program-env): New variable.
1240 (run-program-prefix-before-env): Likewise.
1241 (run-program-prefix-after-env): Likewise.
1242 (run-program-prefix): Define in terms of new variables.
1243 (built-program-cmd-before-env): New variable.
1244 (built-program-cmd-after-env): Likewise.
1245 (built-program-cmd): Define in terms of new variables.
1246 (test-program-prefix-before-env): New variable.
1247 (test-program-prefix-after-env): Likewise.
1248 (test-program-prefix): Define in terms of new variables.
1249 (test-program-cmd-before-env): New variable.
1250 (test-program-cmd-after-env): Likewise.
1251 (test-program-cmd): Define in terms of new variables.
1252 * Rules (make-test-out): Use $(run-program-env).
1253 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1254 (help): Do not mention environment variables. Mention
1255 --timeoutfactor option.
1256 (timeoutfactor): New variable.
1257 (blacklist_exports): Remove function.
1258 (exports): Remove variable.
1259 (command): Do not include ${exports}.
1260 * manual/install.texi (Configuring and compiling): Do not mention
1261 test wrappers preserving environment variables. Mention that last
1262 assignment to a variable must take precedence.
1263 * INSTALL: Regenerated.
1264 * benchtests/Makefile (run-bench): Use $(run-program-env).
1265 * catgets/Makefile ($(objpfx)test1.cat): Use
1266 $(built-program-cmd-before-env), $(run-program-env) and
1267 $(built-program-cmd-after-env).
1268 ($(objpfx)test2.cat): Do not specify environment variables
1269 explicitly.
1270 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1271 $(run-program-env) and $(built-program-cmd-after-env).
1272 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1273 $(run-program-env) and $(test-program-cmd-after-env).
1274 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1275 explicitly.
1276 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1277 run_program_env and test_program_cmd_after_env arguments.
1278 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1279 * elf/tst-pathopt.sh: Use run_program_env argument.
1280 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1281 $(test-wrapper-env) and $(run-program-env).
1282 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1283 run_program_env arguments.
1284 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1285 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1286 $(test-program-prefix-before-env), $(run-program-env) and
1287 $(test-program-prefix-after-env).
1288 ($(objpfx)tst-gettext2.out): Likewise.
1289 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1290 run_program_env and test_program_prefix_after_env arguments.
1291 * intl/tst-gettext2.sh: Likewise.
1292 * intl/tst-gettext4.sh: Do not set environment variables
1293 explicitly.
1294 * intl/tst-gettext6.sh: Likewise.
1295 * intl/tst-translit.sh: Likewise.
1296 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1297 $(test-program-prefix-before-env), $(run-program-env) and
1298 $(test-program-prefix-after-env).
1299 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1300 run_program_env and test_program_prefix_after_env arguments.
1301 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1302 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1303 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1304 explicitly with each use of ${test_wrapper_env}.
1305 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1306 $(test-program-prefix-before-env), $(run-program-env) and
1307 $(test-program-prefix-after-env).
1308 * posix/tst-getconf.sh: Do not set environment variables
1309 explicitly.
1310 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1311 run_program_env and test_program_prefix_after_env arguments.
1312 * stdio-common/tst-printf.sh: Do not set environment variables
1313 explicitly.
1314 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1315 $(test-program-prefix-before-env), $(run-program-env) and
1316 $(test-program-prefix-after-env).
1317 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1318 run_program_env and test_program_prefix_after_env arguments.
1319 Split $test calls into $test_pre and $test.
1320 * timezone/Makefile (build-testdata): Use
1321 $(built-program-cmd-before-env), $(run-program-env) and
1322 $(built-program-cmd-after-env).
1323
ed36bfa1
AZ
13242014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1325
1326 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1327 strlen for non SHARED builds.
1328
fc75bf46
SP
13292014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1330
1331 * nptl/allocatestack.c (check_list): Inlined function...
1332 (__reclaim_stacks): ... here.
1333
d89b3d80
OB
13342014-06-05 Ondřej Bílka <neleai@seznam.cz>
1335
1336 [BZ #15698]
1337 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1338 memory overrun.
1339
2bf18041
JM
13402014-06-05 Joseph Myers <joseph@codesourcery.com>
1341
1342 * Rules (make-test-out): Include
1343 LOCPATH=$(common-objpfx)localedata in default environment.
1344 * debug/Makefile (tst-chk1-ENV): Remove variable.
1345 (tst-chk2-ENV): Likewise.
1346 (tst-chk3-ENV): Likewise.
1347 (tst-chk4-ENV): Likewise.
1348 (tst-chk5-ENV): Likewise.
1349 (tst-chk6-ENV): Likewise.
1350 (tst-lfschk1-ENV): Likewise.
1351 (tst-lfschk2-ENV): Likewise.
1352 (tst-lfschk3-ENV): Likewise.
1353 (tst-lfschk4-ENV): Likewise.
1354 (tst-lfschk5-ENV): Likewise.
1355 (tst-lfschk6-ENV): Likewise.
1356 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1357 (tst-iconv7-ENV): Likewise.
1358 * intl/Makefile (LOCPATH-ENV): Likewise.
1359 (tst-codeset-ENV): Likewise.
1360 (tst-gettext3-ENV): Likewise.
1361 (tst-gettext5-ENV): Likewise.
1362 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1363 (tst-fopenloc-ENV): Likewise.
1364 (tst-fgetws-ENV): Remove variable.
1365 (tst-ungetwc1-ENV): Likewise.
1366 (tst-ungetwc2-ENV): Likewise.
1367 (bug-ungetwc2-ENV): Likewise.
1368 (tst-swscanf-ENV): Likewise.
1369 (bug-ftell-ENV): Likewise.
1370 (tst-fgetwc-ENV): Likewise.
1371 (tst-fseek-ENV): Likewise.
1372 (tst-ftell-partial-wide-ENV): Likewise.
1373 (tst-ftell-active-handler-ENV): Likewise.
1374 (tst-ftell-append-ENV): Likewise.
1375 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1376 (tst-regexloc-ENV): Likewise.
1377 (bug-regex1-ENV): Likewise.
1378 (tst-regex-ENV): Likewise.
1379 (tst-regex2-ENV): Likewise.
1380 (bug-regex5-ENV): Likewise.
1381 (bug-regex6-ENV): Likewise.
1382 (bug-regex17-ENV): Likewise.
1383 (bug-regex18-ENV): Likewise.
1384 (bug-regex19-ENV): Likewise.
1385 (bug-regex20-ENV): Likewise.
1386 (bug-regex22-ENV): Likewise.
1387 (bug-regex23-ENV): Likewise.
1388 (bug-regex25-ENV): Likewise.
1389 (bug-regex26-ENV): Likewise.
1390 (bug-regex30-ENV): Likewise.
1391 (bug-regex32-ENV): Likewise.
1392 (bug-regex33-ENV): Likewise.
1393 (bug-regex34-ENV): Likewise.
1394 (bug-regex35-ENV): Likewise.
1395 (tst-rxspencer-ENV): Likewise.
1396 (tst-rxspencer-no-utf8-ENV): Likewise.
1397 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1398 (tst-sscanf-ENV): Likewise.
1399 (tst-swprintf-ENV): Likewise.
1400 (tst-swscanf-ENV): Likewise.
1401 (test-vfprintf-ENV): Likewise.
1402 (scanf13-ENV): Likewise.
1403 (bug14-ENV): Likewise.
1404 (tst-grouping-ENV): Likewise.
1405 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1406 (tst-strtod3-ENV): Likewise.
1407 (tst-strtod4-ENV): Likewise.
1408 (tst-strtod5-ENV): Likewise.
1409 (testmb2-ENV): Likewise./
1410 * string/Makefile (tst-strxfrm-ENV): Likewise.
1411 (tst-strxfrm2-ENV): Likewise.
1412 (bug-strcoll1-ENV): Likewise.
1413 (test-strcasecmp-ENV): Likewise.
1414 (test-strncasecmp-ENV): Likewise.
1415 * time/Makefile (tst-strptime-ENV): Likewise.
1416 (tst-ftime_l-ENV): Likewise.
1417 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1418 (tst-mbrtowc-ENV): Likewise.
1419 (tst-wcrtomb-ENV): Likewise.
1420 (tst-mbrtowc2-ENV): Likewise.
1421 (tst-c16c32-1-ENV): Likewise.
1422 (tst-mbsnrtowcs-ENV): Likewise.
1423
cd1fb604
OB
14242014-06-05 Ondřej Bílka <neleai@seznam.cz>
1425
1426 * manual/resource.texi (How to get information about the memory
1427 subsystem?): Fix typo.
1428 Reported by Peon de la Parra Ivan <peon@keba.com>
1429
b42eca7d
GY
14302014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1431
1432 [BZ #16882]
1433 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1434 (pthread_spin_lock): Branch out of spin loop to proper location.
1435 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1436 (pthread_spin_lock): Likewise.
1437
902b71f9
DM
1438 * nptl/tst-spin4.c: New test.
1439 * nptl/Makefile (tests): Add tst-spin4.
1440
f9d2d032
AS
14412014-06-03 Andreas Schwab <schwab@suse.de>
1442
1443 [BZ #15946]
1444 * resolv/res_send.c (send_dg): Reload file descriptor after
1445 calling reopen.
1446
cf7bfd28
SL
14472014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1448
1449 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1450
111cc714
RH
14512014-06-03 Richard Henderson <rth@redhat.com>
1452
89b4bd6b
RH
1453 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1454 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1455 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1456 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1457 in the SAVE_PID block.
1458 (__libc_vfork): New alias.
71840409 1459 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 1460
111cc714
RH
1461 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1462 child in registers, not on the stack. Remove RESET_PID conditionals.
1463 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1464
ccc39911
MS
14652014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1466
1467 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1468
693096cc
W
14692014-06-03 Wilco <wdijkstr@arm.com>
1470
1471 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1472 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1473 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1474 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1475 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1476 Likewise.
1477
0b4366bc
W
14782014-06-03 Wilco <wdijkstr@arm.com>
1479
1480 * sysdeps/aarch64/fpu/math_private.h
1481 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1482 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1483 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1484 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1485 Fix declarations.
1486
8747cd03
KS
14872014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1488
1489 * crypt/crypt-private.h: Include ufc-crypt.h.
1490 (__b64_from_24bit): Declare extern.
1491 * crypt/crypt_util.c(__b64_from_24bit): New function.
1492 (b64t): New static const variable.
1493 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1494 (b64t): Remove variable.
1495 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1496 * crypt/sha256-crypt.c: Include crypt-private.h.
1497 (b64t): Remove variable.
1498 (__sha256_crypt_r): Remove b64_from_24bit and replace
1499 with __b64_from_24bit.
1500 * crypt/sha512-crypt.c: Likewise.
1501
d936d379
RM
15022014-06-02 Roland McGrath <roland@hack.frob.com>
1503
1504 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1505 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1506 Label the code __libc_vfork rather than __vfork.
1507 [!NOT_IN_libc] (vfork): Define as weak alias.
1508 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1509 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1510 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1511
9fa76613
SP
15122014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1513
1514 * malloc/malloc.c (malloc_info): Fix format specifier for
1515 n_mmaps.
1516
a88dadbe
W
15172014-06-02 Wilco <wdijkstr@arm.com>
1518
1519 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1520 FPCR write.
1521
c95b3011
W
15222014-06-02 Wilco <wdijkstr@arm.com>
1523
1524 [BZ #17009]
1525 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1526 Rewrite to reduce FPCR/FPSR accesses.
1527
6b4d7a90
DM
15282014-06-01 David S. Miller <davem@davemloft.net>
1529
1530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1531
30f3d07c
DM
15322014-05-31 David S. Miller <davem@davemloft.net>
1533
1534 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1535 to occur in round to nearest mode when |x| >= 2.0
1536
74f31c18
RH
15372014-05-30 Richard Henderson <rth@twiddle.net>
1538
f0712b54
RH
1539 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1540 (PSEUDO_RET_NOERRNO): Remove.
1541 (ret): Don't redefine.
1542 (ret_NOERRNO): Define in terms of ret.
1543 (ret_ERRVAL): Likewise.
1544
74f31c18
RH
1545 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1546 use of PSEUDO_RET; perform the error check directly.
1547
30477995
MM
15482014-05-30 Marko Myllynen <myllynen@redhat.com>
1549
1550 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1551 with __int128_t.
1552
62a58816
SP
15532014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1554
1555 * malloc/malloc (malloc_info): Fix formatting.
1556
4d653a59
SP
15572014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1558 Roland McGrath <roland@hack.frob.com>
1559
1560 * malloc/malloc (malloc_info): Also print mmapped statistics.
1561
5190c17f
RM
15622014-05-30 Roland McGrath <roland@hack.frob.com>
1563
1564 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1565 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1566
987c0269
OB
15672014-05-30 Ondřej Bílka <neleai@seznam.cz>
1568
1569 * malloc/malloc.c (malloc_info): Inline mi_arena.
1570
af4e8ef9
RH
15712014-05-29 Richard Henderson <rth@twiddle.net>
1572
1670e207
RH
1573 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1574 Remove comma before expanding ASM_ARGS_##nr.
1575 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1576 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1577 of ASM_ARGS_##nr.
1578 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1579 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1580 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1581 (ASM_ARGS_1): Add leading comma.
1582
11a28aee
RH
1583 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1584 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1585 to __errno_location.
1586 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1587 Remove the expected plt for __errno_location.
1588
a17e5ffb 1589 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 1590 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
1591 call to __read_tp.
1592
b5be4597
RH
1593 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1594 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1595 it and break it down.
1596 (DOCARGS_0, DOCARGS_1): Do nothing.
1597 (DOCARGS_2): Update to store into the new stack frame.
1598 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1599 (UNDOCARGS_1): Update to restore from the new stack frame.
1600 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1601 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1602
645d44ab
RH
1603 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1604 (SINGLE_THREAD_P): New parameter for result regno.
1605 (PSEUDO): Update to match; use cbz instead of beq.
1606
a8b4f04a
RH
1607 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1608 Use ENTRY to define the _nocancel entry point. Share the syscall
1609 and syscall error check paths with the cancel path.
1610 (PSEUDO_END): New.
1611
af4e8ef9
RH
1612 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1613 whitespace; tabs before and after asm mnemonics.
1614
26b0d2e1
EW
16152014-05-29 Eric Wong <normalperson@yhbt.net>
1616
1617 [BZ #15132]
1618 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1619 Call fstat64 or stat64 internally, depending on arguments passed.
1620 Replace stat buffer argument with file descriptor argument.
1621 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1622 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1623 Pass fd to __internal_statvfs instead of calling fstat64.
1624 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1625 Pass fd to __internal_statvfs64 instead of calling fstat64.
1626 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1627 Pass -1 to __internal_statvfs instead of calling stat64.
1628 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1629 Pass -1 to __internal_statvfs64 instead of calling stat64.
1630
1efe2bd9
RM
16312014-05-28 Roland McGrath <roland@hack.frob.com>
1632
0d3b7a19
RM
1633 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1634 that was previously under [RESET_PID].
1635 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1636
1efe2bd9
RM
1637 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1638 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1639
a6bea3ca
RM
16402014-05-27 Roland McGrath <roland@hack.frob.com>
1641
30b6629e
RM
1642 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1643
a6bea3ca
RM
1644 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1645 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1646
3dfb9a5c
OB
16472014-05-27 Ondřej Bílka <neleai@seznam.cz>
1648
1649 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1650
774f9285
AS
16512014-05-27 Andreas Schwab <schwab@suse.de>
1652
1653 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1654 TLS_INIT_TP macro.
1655 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1656 * elf/rtld.c (init_tls, dl_main): Likewise.
1657 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1658 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1659 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1660 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1661 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1662 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1663 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1664 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1665 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1666 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1667 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1668 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1669 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1670 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1671 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1672 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1673 * sysdeps/generic/tls.h: Update description.
1674
36ffe739
WN
16752014-05-27 Will Newton <will.newton@linaro.org>
1676
1677 [BZ #16990]
1678 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1679 and restore r2 rather than just restoring.
1680
2482ae43
SP
16812014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1682
1683 [BZ #16724]
1684 * libio/tst-ftell-append.c: New test case.
1685 * libio/Makefile (tests): Add test case.
1686 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1687 append mode.
1688 * libio/wfileops.c (do_ftell_wide): Likewise.
1689
3d1024e8
AZ
16902014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1691
bab90016
AZ
1692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1693
c7a8d667
AZ
1694 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1695 ...
1696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1698 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1699 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1700 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1701 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1702 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1703 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1704 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1705 Moved ...
1706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1708 Moved ...
1709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1710 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1711 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1712 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1713 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1714 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1715 ...
1716 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1717 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1718 Moved ...
1719 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1720 here.
1721 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1722 ...
1723 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1724 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1725 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1726
daee7851
AZ
1727 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1728 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1729 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1730 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1731
50a40819
AZ
1732 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1733 merge into ...
1734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1735 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1736 ...
1737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1739 ...
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1741 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1742 Moved ...
1743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1744 here.
1745 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1746 Moved ...
1747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1748 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1749 Moved ...
1750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1751
8464c2a1
AZ
1752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1753 conditional [RESET_PID].
1754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1755 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1756 removed.
1757 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1758 removed.
1759
3d1024e8
AZ
1760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1761 <tcb-offsets.h>.
1762 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1763 (__libc_vfork): New strong alias.
1764 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1765 removed.
1766 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1767 Removed.
1768
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1770 <tcb-offsets.h>.
1771 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1772 (__libc_vfork): New strong alias.
1773 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1774 removed.
1775 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1776 removed.
1777
fdfd175d
CD
17782014-05-26 Carlos O'Donell <carlos@redhat.com>
1779
1780 * malloc/malloc.c (mi_arena): New function.
1781 (malloc_info): Remove nested function mi_arena. Call non-nosted
1782 function mi_arena.
1783
d298c416
AZ
17842014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1785
1786 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1787 by insrwi.
1788 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1789 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1790 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1791 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1792 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1793 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1794 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1795
b60ea6ff
AS
17962014-05-26 Andreas Schwab <schwab@suse.de>
1797
1798 [BZ #16984]
1799 * locale/programs/repertoire.c (repertoire_read): Add slash
1800 between I18NPATH element and file name.
1801 * locale/programs/locfile.c (locfile_read): Likewise.
1802
67365926
SL
18032014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1804
1805 * nptl/pthread_mutexattr_settype.c
1806 (__pthread_mutexattr_settype):
1807 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1808
f8bdf1f0
SL
18092014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1810
1811 * nptl/tst-mutex5 (do_test):
1812 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1813
15eaf6ff
SP
18142014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1815
1816 * benchtests/README: Document 'init' directive.
1817 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1818 BENCH_INIT.
1819 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1820 (parse_file): Recognize 'init' directive.
1821
75f11331
KM
18222014-05-26 Kyle McMartin <kyle@redhat.com>
1823
1824 [BZ #16796]
1825 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1826 alignment of struct pthread.
1827
c3ec475c
SP
18282014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1829
1830 [BZ #16878]
1831 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1832 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1833 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1834 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1835
82aab97c
RH
18362014-05-25 Richard Henderson <rth@twiddle.net>
1837
aa2f176d
RH
1838 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1839 (SINGLE_THREAD_P_PIC): Remove.
1840 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1841 (SINGLE_THREAD_P_PIC): Remove.
1842
ca3cfa40
RH
1843 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1844 branch to syscall error ...
1845 (PSEUDO): ... here.
1846 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1847 from __local_syscall_error to .Lsyscall_error.
1848 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1849 (SYSCALL_ERROR): Update label name.
1850
6e6c2d01
RH
1851 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1852 Do not use DOARGS/UNDOARGS.
1853 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1854 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1855 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1856 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1857 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1858
c69abcee
RH
1859 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1860 block comment.
1861
82aab97c
RH
1862 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1863 define if !NOT_IN_libc.
1864 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1865 define with non-default symbol versions.
1866
8820e3ac
RH
18672014-05-23 Richard Henderson <rth@twiddle.net>
1868
900e445f
RH
1869 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1870 (vfork, __vfork): Define via compat_symbol.
1871
8820e3ac
RH
1872 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1873 [!HAVE_IFUNC] (vfork_compat): Remove.
1874 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1875
e59252a5
JM
18762014-05-23 Joseph Myers <joseph@codesourcery.com>
1877
1878 [BZ #16978]
1879 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1880 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1881 variable.
1882
132c7f5f
RH
18832014-05-23 Richard Henderson <rth@twiddle.net>
1884
bc89e962
RH
1885 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1886 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1887 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1888 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1889
1890 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1891 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1892 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1893 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1894 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1895 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1896 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1897 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1898 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1899 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1900 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1901 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1902 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1903 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1904 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1905 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1906 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1907 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1908 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1909 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1910 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1911 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1912 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1913 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1914 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1915 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1916 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1917 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1918 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1919 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1920 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1921 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1922 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1923 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1924 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1925 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1926 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1927 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1928 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1929 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1930 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1931 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1932 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1933 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1934 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1935 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1936 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1937 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1938 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1939 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1940 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1941 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1942 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1943 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1944 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1945 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1946
e2fa4bc2
RH
1947 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1948 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1949 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1950 before exiting on error.
1951 (__libc_vfork): New strong alias.
1952 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1953 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1954
279b24e2
RH
1955 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1956 that was previously under [RESET_PID].
1957 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1958
132c7f5f
RH
1959 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1960
b72592e7
JM
19612014-05-23 Joseph Myers <joseph@codesourcery.com>
1962
1963 [BZ #16977]
1964 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1965 value when x - 1 is zero.
1966 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1967 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1968 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1969 0.0L for an argument of 1.0L.
1970 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1971 Likewise.
1972 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1973 value when x - 1 is zero.
1974 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1975 * sysdeps/i386/fpu/libm-test-ulps: Update.
1976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1977
2302d679
RV
19782014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1979
1980 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1981 alphasort and versionsort.
1982
32999d63
AZ
19832014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1984
1985 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1986 macro.
1987 [copysignf]: Likewise.
1988
019324d0
SP
19892014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1990
1991 * crypt/md5-crypt.c: Fix formatting.
1992
34fff5c2
KS
19932014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1994
1995 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1996 (b64_from_24bit): New function.
1997
3d2badac
AZ
19982014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1999
2000 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2001 libc_hidden_builtin_def to ifunc.
2002 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2003 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2004
f7bb179f 20052014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
2006
2007 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2008 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2009
4134b50d
JM
20102014-05-21 Joseph Myers <joseph@codesourcery.com>
2011
bb7d0337
JM
2012 * nscd/Depend (linuxthreads): Remove.
2013 (nptl): Add.
2014 * resolv/Depend (linuxthreads): Remove.
2015 * rt/Depend (linuxthreads): Remove.
2016
4134b50d
JM
2017 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2018 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2019 $(common-objpfx)elf/.
2020 (link-libc-before-gnulib): Likewise.
2021 (elfobjdir): Remove variable.
2022 * Makefile (install): Use $(elf-objpfx) instead of
2023 $(common-objpfx)elf/.
2024 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2025 $(elfobjdir)/.
2026 (link-libc-deps): Likewise.
2027 ($(common-objpfx)libc.so): Likewise.
2028 ($(common-objpfx)linkobj/libc.so): Likewise.
2029 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2030 instead of $(common-objpfx)elf/.
2031 (symbolic-link-list): Likewise.
2032 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2033 [$(cross-compiling) = no]: Likewise.
2034 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2035 $(elfobjdir)/.
2036 (static-gnulib-arch): Likewise.
2037 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2038 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2039 $(common-objpfx)elf/.
2040
3612eb8f
RH
20412014-05-21 Richard Henderson <rth@redhat.com>
2042
a6b3657b
RH
2043 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2044 (SINGLE_THREAD_P): Use the correct width load. Fold
2045 into the ldr offset.
2046
3612eb8f
RH
2047 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2048 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2049
175cef41
JM
20502014-05-20 Joseph Myers <joseph@codesourcery.com>
2051
2052 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2053 (libgcc_s_resume): Use __attribute_used__.
2054 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2055 Likewise.
2056
e13bccd3
AZ
20572014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2058
2059 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2060 optimization when used with float constants.
2061
7c112a38
AZ
2062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2063
ae75a883
AJ
20642014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2065
2066 [BZ #16915]
2067 * locale/nl_langinfo_l.c: Make direct reference to every
2068 _nl_current_CATEGORY symbol.
2069 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2070 (tests-static): Add tst-langinfo-static.
2071 (tests-special): Add tst-langinfo-static.out.
2072 ($(objpfx)tst-langinfo.out): Redirect output.
2073 ($(objpfx)tst-langinfo-static.out): New.
2074 * localedata/tst-langinfo.sh: Send output to stdout.
2075 * localedata/tst-langinfo-static.c: New file.
2076
4406c41c
AJ
2077 [BZ #16965]
2078 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2079 when the shift amount is modulo the limb size.
2080
4c0a1e63
RH
20812014-05-20 Richard Henderson <rth@redhat.com>
2082
de9d8f20
RH
2083 [BZ #16967]
2084 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2085 Change type of sa_flags from unsigned int to int.
2086
4c0a1e63
RH
2087 [BZ #16966]
2088 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
2089
2090 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2091
a60339aa
WN
20922014-05-20 Will Newton <will.newton@linaro.org>
2093
2094 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2095 Test the return value of the system call in the nocancel case.
2096
7d05a816
YR
20972014-05-20 Will Newton <will.newton@linaro.org>
2098 Yvan Roux <yvan.roux@linaro.org>
2099
2100 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2101 #include of asm/ptrace.h.
2102 (PTRACE_GET_THREAD_AREA): Remove #undef.
2103 (PTRACE_GETHBPREGS): Likewise.
2104 (PTRACE_SETHBPREGS): Likewise.
2105 (struct user_regs_struct): New structure.
2106 (struct user_fpsimd_struct): New structure.
2107 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2108 #include of asm/ptrace.h and second #include of sys/user.h.
2109 (PTRACE_GET_THREAD_AREA): Remove #undef.
2110 (PTRACE_GETHBPREGS): Likewise.
2111 (PTRACE_SETHBPREGS): Likewise.
2112 (ELF_NGREG): Use new struct user_regs_struct.
2113 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2114
af121e37
AZ
21152014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2116
2117 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2118 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2119
834caf06
JM
21202014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2121
2122 [BZ #16958]
2123 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2124 membar to avoid block loads/stores to overlap previous stores.
2125
e184a918
RH
21262014-05-17 Richard Henderson <rth@redhat.com>
2127
2128 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2129 Create the __##syscall_name##_nocancel entry point.
2130 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2131 Remove; let the sysdep-cancel.h code create it.
2132
f56c7a6a
DM
21332014-05-17 David S. Miller <davem@davemloft.net>
2134
2135 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2136 Protect with __USE_GNU.
2137 (TIOCSET_TEMPT): Likewise.
2138 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2139 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2140 these are already provided in bits/ioctl-types.h
2141
f75616b2
RM
21422014-05-16 Roland McGrath <roland@hack.frob.com>
2143
3edeca86
RM
2144 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2145 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2146
f75616b2
RM
2147 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2148 Use wait4 regardless of [__NR_waitpid].
2149
deb0f7f6
MR
21502014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2151
2152 PR libgcc/60166
2153 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2154 (_FP_NANSIGN_Q): Set the quiet bit.
2155
79520f4b
JM
21562014-05-16 Joseph Myers <joseph@codesourcery.com>
2157
2158 * benchtests/Makefile
2159 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2160 not $(common-objpfx)math/libm.so.
2161 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2162 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2163 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2164 $(common-objpfx)dlfcn/libdl.so.
2165 ($(objpfx)tst-audit8): Depend on $(libm), not
2166 $(common-objpfx)math/libm.so.
2167 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2168 not $(common-objpfx)dlfcn/libdl.so.
2169 * math/Makefile
2170 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2171 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2172 [$(build-shared) = yes].
2173 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2174 $(common-objpfx)nptl/libpthread.so.
2175 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2176 $(common-objpfx)math/libm.so$(libm.so-version) or
2177 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2178 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2179 $(common-objpfx)dlfcn/libdl.so.
2180 * setjmp/Makefile (link-libm): Remove variable.
2181 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2182 * stdio-common/Makefile (link-libm): Remove variable.
2183 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2184 * stdlib/Makefile (link-libm): Remove variable.
2185 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2186 ($(objpfx)tst-strtod-round): Likewise.
2187 ($(objpfx)tst-tininess): Likewise.
2188 ($(objpfx)tst-strtod-underflow): Likewise.
2189 ($(objpfx)tst-strtod6): Likewise.
2190 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2191 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2192 $(common-objpfx)dlfcn/libdl.so.
2193
026b0fe4
AZ
21942014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2195
2196 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2197 BSD terminal modes definitions.
2198
def4bcb2
RM
21992014-05-16 Roland McGrath <roland@hack.frob.com>
2200
fe39b021
RM
2201 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2202 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2203
1d1fc46e 2204 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
2205 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2206 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2207 Don't do #include_next.
2208 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2209 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2210 Don't do #include_next.
2211 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2212 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2213 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2214 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2215
c72399fb
AM
22162014-05-16 Allan McRae <allan@archlinux.org>
2217
d51d659d
AM
2218 * po/sv.po: Update Swedish translation from translation project.
2219
c72399fb
AM
2220 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2221 in sed expression.
2222
d0583c40
AJ
22232014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2224
2225 [BZ #16917]
2226 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2227 errno if the TIOCGPTN ioctl fails with an error different than
2228 EINVAL.
2229 * login/tst-ptsname.c: New file.
2230 * login/Makefile (tests): Add tst-ptsname.
2231
d16e6ec7
AJ
2232 [BZ #16943]
2233 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2234 and prlimit64.
2235
cf26a0cb
SP
22362014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2237
2238 [BZ #16849]
2239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2240 herrno to return EAI_AGAIN.
2241
5675da1e
RM
22422014-05-14 Roland McGrath <roland@hack.frob.com>
2243
a5d87b3d
RM
2244 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2245 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2246 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2247 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2248 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2249 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2250 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2251 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2252 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2253 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2254 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2255 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2256 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2257 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2258 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2259 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2260 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2261 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2262 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2263 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2264 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2265 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2266 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2267 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2268 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2269 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2270 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2271 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2272 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2273 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2275 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2277 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2279 Moved ...
2280 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2282 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2284 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2286 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2288 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2290 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2292 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2294 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2296 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2298 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2300 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2302 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2304 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2306 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2308 Moved ...
2309 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2311 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2313 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2315 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2317 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2319 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2321 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2323 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2325 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2327 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2329 Moved ...
2330 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2332 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2333
039890a6
RM
2334 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2335 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2336 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2337 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2338 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2339 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2340 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2341 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2342 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2343 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2344 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2345 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2346 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2347 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2348 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2349 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2350 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2351 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2352 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2353 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2354 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2355 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2356 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2357 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2358 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2359 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2360 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2361 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2362 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2363 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2364 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2365
65c89320
RM
2366 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2367 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2368
348f8e8c
RM
2369 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2370 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2371 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2372 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2373 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2374 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2375 Moved ...
2376 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2377 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2378 Moved ...
2379 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2380 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2381 Moved ...
2382 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2383 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2384 Moved ...
2385 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2386 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2387 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2388 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2389 Moved ...
2390 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2391 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2392 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2393 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2394 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2395 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2396 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2397 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2398 Moved ...
2399 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2400 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2401 Moved ...
2402 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2403 ... here.
2404 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2405 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2406 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2407 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2408 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2409 Moved ...
2410 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2411 ... here.
2412 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2413 Moved ...
2414 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2415 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2416 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2417 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2418 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2419 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2420 Moved ...
2421 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2422 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2423 Moved ...
2424 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2425 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2426 Moved ...
2427 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2428 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2429 Moved ...
2430 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2431 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2432 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2433 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2434 Moved ...
2435 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2436 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2437 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2438 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2439 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2440 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2441 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2442 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2443 Moved ...
2444 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2445 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2446 Moved ...
2447 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2448 ... here.
2449 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2450 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2451 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2452 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2453 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2454 Moved ...
2455 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2456 ... here.
2457 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2458 Moved ...
2459 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2460 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2461 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2462 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2463 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2464 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2465 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2466 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2467 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2468 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2469 Moved ...
2470 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2471 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2472 Moved ...
2473 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2474 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2475 Moved ...
2476 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2477 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2478 Moved ...
2479 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2480 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2481 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2482 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2483 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2484 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2485 Moved ...
2486 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2487 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2488 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2489 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2490 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2491 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2492 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2493 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2494 Moved ...
2495 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2496 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2497 Moved ...
2498 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2499 ... here.
2500 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2501 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2502 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2503 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2504 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2505 Moved ...
2506 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2507 ... here.
2508 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2509 Moved ...
2510 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2511 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2512 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2513 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2514 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2515 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2516 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2517 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2518 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2519 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2520 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2521
5085af05
RM
2522 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2523 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2524
708f0813
RM
2525 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2526 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2527
c96067bc
RM
2528 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2529 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2530 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2531 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2532 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2533 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2534 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2535 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2536 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2537 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2538 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2539 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2540 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2541 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2542 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2543 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2544 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2545 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2546 Moved ...
2547 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2548 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2549 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2550 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2551 Moved ...
2552 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2553 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2554 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2555 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2556 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2557 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2558 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2559 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2560 Moved ...
2561 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2562 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2563 Moved ...
2564 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2565 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2566 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2567 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2568 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2569 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2570 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2571 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2572 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2573 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2574 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2575 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2576 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2577 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2578 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2579 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2580 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2581
ec136444
RM
2582 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2583 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2584 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2585 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2586 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2587
2fbdf533
RM
2588 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2589 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2590 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2591 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2592 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2593 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2594 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2595 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2596 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2597 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2598
4c68138b
RM
2599 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2600 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2601
4eaae765
RM
2602 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2603 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
2604 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2605 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2606 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2607 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2608 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2609 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2610 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2611 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2612 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2613 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2614 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2615 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2616 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2617 Update #include.
2618 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2619 Likewise.
2620 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2621 Likewise.
2622 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2623 Likewise.
2624 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2625 Likewise.
2626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2627 Likewise.
2628 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2629 Likewise.
2630 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2631 Likewise.
2632 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2633 Likewise.
2634 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2635 Likewise.
4ef6befa
RM
2636 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2637 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2638 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2639 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2640 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
2641 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2642 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2643 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2644 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2645 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2646 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2647 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2648 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2649 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2650 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 2651
941d7dfd
RM
2652 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2653 that was previously under [RESET_PID].
2654 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2655 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2656 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2657
1b731c35
RM
2658 * sysdeps/i386/nptl/Implies: New file.
2659 * sysdeps/x86_64/nptl/Implies: New file.
2660 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2661 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2662 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2663 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2664
e2787137
RM
2665 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2666 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2667 (__libc_vfork): New strong alias.
2668 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2669 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2670
2671 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2672 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2673 (__libc_vfork): New strong alias.
2674 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2675 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2676
5675da1e
RM
2677 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2678 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2679 (__libc_vfork): New strong alias.
2680 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2681 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2682 * nptl/pt-vfork.c: New file.
2683 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2684 (libpthread: GLIBC_2.20): New version set (empty).
2685
4f02e2b8
WN
26862014-05-14 Will Newton <will.newton@linaro.org>
2687
2688 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2689 rather than #if.
2690
0bf061d3
JM
26912014-05-14 Joseph Myers <joseph@codesourcery.com>
2692
1a84c3d6
JM
2693 [BZ #16564]
2694 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2695 arguments with exponent 65 or above.
2696 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2697 arguments 0x1p113L or above.
2698 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2699 to arguments 0x1p107L or above.
2700 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2701 positive arguments with exponent 65 or above.
2702 * math/auto-libm-test-in: Add more tests of log1p.
2703 * math/auto-libm-test-out: Regenerated.
2704
01dbacd2
JM
2705 [BZ #16928]
2706 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2707 non-finite arguments is +0.
2708 * math/s_cacosf.c (__cacosf): Likewise.
2709 * math/s_cacosl.c (__cacosl): Likewise.
2710 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2711 * sysdeps/i386/fpu/libm-test-ulps: Update.
2712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2713
913d03c8
JM
2714 [BZ #16927]
2715 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2716 value.
2717 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2718 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2719 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2720 for explicit high bit of mantissa when testing for argument equal
2721 to 1.
2722 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2723 * sysdeps/i386/fpu/libm-test-ulps: Update.
2724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2725
0bf061d3
JM
2726 [BZ #16516]
2727 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2728 (__erf): Scale by 16 instead of 8 in potentially underflowing
2729 case. Ensure exception if result actually underflows.
2730 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2731 (__erff): Scale by 16 instead of 8 in potentially underflowing
2732 case. Ensure exception if result actually underflows.
2733 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2734 (efx8): Remove variable.
2735 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2736 case. Ensure exception if result actually underflows.
2737 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2738 (efx8): Remove variable.
2739 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2740 case. Ensure exception if result actually underflows.
2741 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2742 (efx8): Remove variable.
2743 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2744 case. Ensure exception if result actually underflows.
2745 * math/auto-libm-test-in: Add more tests of erf.
2746 * math/auto-libm-test-out: Regenerated.
2747
73ba67cb
AS
27482014-05-14 Andreas Schwab <schwab@suse.de>
2749
3d8c8bff
AS
2750 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2751 Remove code conditionalized on USE___THREAD.
2752
73ba67cb
AS
2753 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2754 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2755 not definedness.
2756
5c521ecd
JM
27572014-05-14 Joseph Myers <joseph@codesourcery.com>
2758
5e7698c6
JM
2759 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2760 Define unconditionally.
2761 (__ASSUME_O_CLOEXEC): Likewise.
2762 (__ASSUME_SOCK_CLOEXEC): Likewise.
2763 (__ASSUME_IN_NONBLOCK): Likewise.
2764 (__ASSUME_PIPE2): Likewise.
2765 (__ASSUME_EVENTFD2): Likewise.
2766 (__ASSUME_SIGNALFD4): Likewise.
2767 (__ASSUME_DUP3): Likewise.
2768 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2769 (__ASSUME_DUP3): Do not define.
2770 (__ASSUME_EVENTFD2): Likewise.
2771 (__ASSUME_IN_NONBLOCK): Likewise.
2772 (__ASSUME_O_CLOEXEC): Likewise.
2773 (__ASSUME_PIPE2): Likewise.
2774 (__ASSUME_SIGNALFD4): Likewise.
2775 (__ASSUME_SOCK_CLOEXEC): Likewise.
2776 (__ASSUME_UTIMES): Undefine.
2777 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2778 (__ASSUME_UTIMES): Do not define.
2779 (__ASSUME_O_CLOEXEC): Likewise.
2780 (__ASSUME_SOCK_CLOEXEC): Likewise.
2781 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2782 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2783 0x020621].
2784 (__ASSUME_PIPE2): Likewise.
2785 (__ASSUME_EVENTFD2): Likewise.
2786 (__ASSUME_SIGNALFD4): Likewise.
2787 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2788 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2789 Do not define.
2790 (__ASSUME_EVENTFD2): Likewise.
2791 (__ASSUME_SIGNALFD4): Likewise.
2792 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2793 (__ASSUME_32BITUIDS): Likewise.
2794 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2795 (__ASSUME_IPC64): Likewise.
2796 (__ASSUME_ST_INO_64_BIT): Likewise.
2797 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2798 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2799 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2800 (__ASSUME_UTIMES): Do not define.
2801 (__ASSUME_PSELECT): Likewise.
2802 (__ASSUME_PPOLL): Likewise.
2803 (__ASSUME_O_CLOEXEC): Likewise.
2804 (__ASSUME_SOCK_CLOEXEC): Likewise.
2805 (__ASSUME_IN_NONBLOCK): Likewise.
2806 (__ASSUME_PIPE2): Likewise.
2807 (__ASSUME_EVENTFD2): Likewise.
2808 (__ASSUME_SIGNALFD4): Likewise.
2809 (__ASSUME_DUP3): Likewise.
2810 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2811 (__ASSUME_UTIMES): Likewise.
2812 (__ASSUME_O_CLOEXEC): Likewise.
2813 (__ASSUME_SOCK_CLOEXEC): Likewise.
2814 (__ASSUME_IN_NONBLOCK): Likewise.
2815 (__ASSUME_PIPE2): Likewise.
2816 (__ASSUME_EVENTFD2): Likewise.
2817 (__ASSUME_SIGNALFD4): Likewise.
2818 (__ASSUME_DUP3): Likewise.
2819 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2820 (__ASSUME_UTIMES): Likewise.
2821 (__ASSUME_O_CLOEXEC): Likewise.
2822 (__ASSUME_SOCK_CLOEXEC): Likewise.
2823 (__ASSUME_IN_NONBLOCK): Likewise.
2824 (__ASSUME_PIPE2): Likewise.
2825 (__ASSUME_EVENTFD2): Likewise.
2826 (__ASSUME_SIGNALFD4): Likewise.
2827 (__ASSUME_DUP3): Likewise.
2828 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2829 Likewise.
2830 (__ASSUME_UTIMES): Likewise.
2831 (__ASSUME_EVENTFD2): Likewise.
2832 (__ASSUME_SIGNALFD4): Likewise.
2833 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2834 (__ASSUME_O_CLOEXEC): Likewise.
2835 (__ASSUME_SOCK_CLOEXEC): Likewise.
2836 (__ASSUME_IN_NONBLOCK): Likewise.
2837 (__ASSUME_PIPE2): Likewise.
2838 (__ASSUME_EVENTFD2): Likewise.
2839 (__ASSUME_SIGNALFD4): Likewise.
2840 (__ASSUME_DUP3): Likewise.
2841 (__ASSUME_UTIMES): Undefine.
2842
5c521ecd
JM
2843 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2844 feclearexcept. Remove symbol versioning code.
2845 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2846 symbol versioning code.
2847 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2848 symbol versioning code.
2849 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2850 feupdateenv. Remove symbol versioning code.
2851 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2852 fegetexceptflag. Remove symbol versioning code.
2853 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2854 fesetexceptflag. Remove symbol versioning code.
2855 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2856 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2857 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2858 (__posix_fadvise64_l32): Remove prototype.
2859 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2860 code.
2861
5da9dfad
RM
28622014-05-13 Roland McGrath <roland@hack.frob.com>
2863
2864 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2865 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2866 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2867 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2868
893b4f37
SK
28692014-05-13 Sami Kerola <kerolasa@iki.fi>
2870
2871 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2872 current working directory
2873
e0db6517
RM
28742014-05-13 Roland McGrath <roland@hack.frob.com>
2875
58aa195d
RM
2876 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2877 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2878 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2879 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2880 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2881 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2882 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2883 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2884 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2885 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2886 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2887 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2888 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2889 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2890 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2891 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2892 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2893 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2894 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2895 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2896 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2897 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2898 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2899 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2900 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2901 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2902 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2903 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2904 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2905 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2906 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2907 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2908 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2909 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2910 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2911 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2912 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2913 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2914 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2915 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2916 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2917 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2918
8c6d01f0
RM
2919 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2920 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2921
2922 * sysdeps/unix/sysv/linux/arm/Makefile
2923 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2924 Add rt-aeabi_unwind_cpp_pr1.
2925 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2926 Add nptl-aeabi_unwind_cpp_pr1.
2927 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2928 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2929 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2930 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2931 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2932 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2933
2934 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2935 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2936 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2937 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2938
bba6da4e
RM
2939 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2940 Deconditionalize the code that was previously under [RESET_PID].
2941 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2942
e0db6517
RM
2943 * sysdeps/generic/exit-thread.h: New file.
2944 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2945 * include/unistd.h (__exit_thread): Remove declaration.
2946 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2947 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2948 * csu/libc-start.c: Include <exit-thread.h>.
2949 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2950 * nptl/pthread_create.c: Include <exit-thread.h>.
2951 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2952 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2953 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2954 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2955 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2956 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2957 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2958 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2959 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2960 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2961 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2962 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2963 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2964 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2965 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2966 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2967 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2968
01eb16fd
AS
29692014-05-13 Andreas Schwab <schwab@suse.de>
2970
2971 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2972
637461d9
JM
29732014-05-12 Joseph Myers <joseph@codesourcery.com>
2974
2975 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2976 (__ASSUME_UTIMES): Do not condition on kernel version.
2977 (__ASSUME_PSELECT): Define unconditionally.
2978 (__ASSUME_PPOLL): Likewise.
2979 (__ASSUME_ATFCTS): Likewise.
2980 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2981 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2982 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2983 (__ASSUME_UTIMENSAT): Define unconditionally.
2984 (__ASSUME_PRIVATE_FUTEX): Likewise.
2985 (__ASSUME_FALLOCATE): Likewise.
2986 (__ASSUME_O_CLOEXEC): Likewise.
2987 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2988 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2989 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2990 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2991 (__ASSUME_IN_NONBLOCK): Likewise.
2992 (__ASSUME_PIPE2): Likewise.
2993 (__ASSUME_EVENTFD2): Likewise.
2994 (__ASSUME_SIGNALFD4): Likewise.
2995 (__ASSUME_DUP3): Likewise.
2996 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2997 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2998 (__ASSUME_AT_RANDOM): Likewise.
2999 (__ASSUME_PREADV): Likewise.
3000 (__ASSUME_PWRITEV): Likewise.
3001 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3002 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3003 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3004 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3005 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3006 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3007 (__ASSUME_O_CLOEXEC): Define unconditionally.
3008 (__ASSUME_PSELECT): Do not undefine conditionally.
3009 (__ASSUME_PPOLL): Likewise.
3010 (__ASSUME_ATFCTS): Likewise.
3011 (__ASSUME_SET_ROBUST_LIST): Likewise.
3012 (__ASSUME_UTIMENSAT): Likewise.
3013 (__ASSUME_FDATASYNC): Define unconditionally.
3014 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3015 (__ASSUME_SIGFRAME_V2): Likewise.
3016 )__ASSUME_EVENTFD2): Likewise.
3017 (__ASSUME_SIGNALFD4): Likewise.
3018 (__ASSUME_PSELECT): Do not undefine conditionally.
3019 (__ASSUME_PPOLL): Likewise.
3020 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3021 (__ASSUME_PSELECT): Define unconditionally.
3022 (__ASSUME_PPOLL): Likewise.
3023 (__ASSUME_O_CLOEXEC): Likewise.
3024 (__ASSUME_SOCK_CLOEXEC): Likewise.
3025 (__ASSUME_IN_NONBLOCK): Likewise.
3026 (__ASSUME_PIPE2): Likewise.
3027 (__ASSUME_EVENTFD2): Likewise.
3028 (__ASSUME_SIGNALFD4): Likewise.
3029 (__ASSUME_DUP3): Likewise.
3030 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3031 (__ASSUME_O_CLOEXEC): Likewise.
3032 (__ASSUME_SOCK_CLOEXEC): Likewise.
3033 (__ASSUME_IN_NONBLOCK): Likewise.
3034 (__ASSUME_PIPE2): Likewise.
3035 (__ASSUME_EVENTFD2): Likewise.
3036 (__ASSUME_SIGNALFD4): Likewise.
3037 (__ASSUME_DUP3): Likewise.
3038 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3039 (__ASSUME_EVENTFD2): Likewise.
3040 (__ASSUME_SIGNALFD4): Likewise.
3041 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3042
315eb1d8
AS
30432014-05-12 Andreas Schwab <schwab@suse.de>
3044
3045 [BZ #16932]
3046 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3047 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3048 than maximum RPC packet size.
3049 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3050 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3051 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3052 (_nss_nis_getservbyport_r): Likewise.
3053
91df99f7
WN
30542014-05-12 Will Newton <will.newton@linaro.org>
3055
3056 * malloc/Makefile (tests): Add tst-mallopt.
3057 * malloc/tst-mallopt.c: New file.
3058
0a982a29
RM
30592014-05-09 Roland McGrath <roland@hack.frob.com>
3060
3061 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3062 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3063
0ded08a5
AZ
30642014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3065
3066 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3067 (tst-tlsmod6.so): Likewise.
3068
55d4d550
RM
30692014-05-09 Roland McGrath <roland@hack.frob.com>
3070
3071 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3072
77d08aca
JM
30732014-05-09 Joseph Myers <joseph@codesourcery.com>
3074
3075 [BZ #16064]
3076 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3077 and <dl-procinfo.h>.
3078 (__fegetenv): Save SSE state in envp->__eip if supported.
3079 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3080 envp->__eip if supported.
3081 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3082 and <dl-procinfo.h>.
3083 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3084 __data_offset and __data_selector in environment to 0. Set SSE
3085 state if supported.
3086 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3087 test-fenv-sse.
3088 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3089 -mfpmath=sse.
3090 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3091
28162f4d
WN
30922014-05-09 Will Newton <will.newton@linaro.org>
3093
3094 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3095 and libc_relro_required for ARM.
3096 * sysdeps/arm/preconfigure: Regenerate.
3097
5a414ff7
DV
30982014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3099 Stefan Liebler <stli@linux.vnet.ibm.com>
3100
3101 * config.make.in (enable-lock-elision): New Makefile variable.
3102 * configure.ac: Likewise.
3103 * configure: Regenerate.
3104 * sysdeps/s390/configure.ac:
3105 Add check for gcc transactions support.
3106 * sysdeps/s390/configure: Regenerate.
3107 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3108 Build elision files if enabled.
3109 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3110 Add lock elision support for s390.
3111 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3112 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3113 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3114 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3115 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3116 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3117 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3118 Likewise.
3119 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3120 Likewise.
3121 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3122 Likewise.
3123 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3124 Likewise.
3125 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3126 (__lll_timedlock_elision, __lll_lock_elision)
3127 (__lll_unlock_elision, __lll_trylock_elision)
3128 (lll_timedlock_elision, lll_lock_elision)
3129 (lll_unlock_elision, lll_trylock_elision): Add.
3130 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3131 (pthread_mutex_t): Add lock elision support for s390.
3132
1a2f40e5
W
31332014-05-14 Wilco <wdijkstr@arm.com>
3134
3135 * sysdeps/arm/fclrexcpt.c: Cleanup.
3136 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3137 * sysdeps/arm/feenablxcpt.c: Cleanup.
3138 * sysdeps/arm/fegetenv.c: Cleanup.
3139 * sysdeps/arm/fegetexcept.c: Cleanup.
3140 * sysdeps/arm/fegetround.c: Cleanup.
3141 * sysdeps/arm/feholdexcpt.c: Cleanup.
3142 * sysdeps/arm/fesetenv.c: Cleanup.
3143 * sysdeps/arm/fesetround.c: Cleanup.
3144 * sysdeps/arm/feupdateenv.c: Cleanup.
3145 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3146 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3147 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3148 * sysdeps/arm/ftestexcept.c: Cleanup.
3149 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3150 * sysdeps/arm/setfpucw.c: Cleanup.
3151
f63c86fe
WN
31522014-05-09 Will Newton <will.newton@linaro.org>
3153
3154 * sysdeps/arm/armv7/strcmp.S: New file.
3155 * NEWS: Mention addition of ARMv7 optimized strcmp.
3156
7a1a51b5
RM
31572014-05-08 Roland McGrath <roland@hack.frob.com>
3158
95afbbe5
RM
3159 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3160 look for %.ac rather than %.in.
3161
3162 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3163 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3164 * sysdeps/mach/hurd/configure: Regenerated.
3165 * sysdeps/unix/sysv/linux/configure: Regenerated.
3166
7a1a51b5
RM
3167 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3168
5057ad3b
SE
31692014-05-07 Steve Ellcey <sellcey@mips.com>
3170
3171 [BZ# 16922]
3172 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3173 (LONG_SUB): Ditto.
3174 (PTR_SUB): Ditto.
3175
8dc97517
AS
31762014-05-07 Andreas Schwab <schwab@suse.de>
3177
3178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3179 when skipping over non-matching result from nscd.
3180
ce0c5b8f
OB
31812014-05-07 Ondřej Bílka <neleai@seznam.cz>
3182
3183 [BZ #16876]
3184 * nptl/sockperf.c (client): Check socket return value.
8dc97517 3185
a1189263
OB
3186 [BZ #16877]
3187 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3188 nscd security class.
ce0c5b8f 3189
0f58d252
RM
31902014-05-06 Roland McGrath <roland@hack.frob.com>
3191
3192 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3193 * sysdeps/arm/unwind.h: ... here.
3194
83df9ad0
AJ
31952014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3196
ce0c5b8f
OB
3197 [BZ# 16916]
3198 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3199 Define.
83df9ad0 3200
f360f94a
VR
32012014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3202
3203 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3204 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3205 multiarch strncpy for PPC64.
3206 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3207 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3208 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3209 multiarch optimizations.
3210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3211 (__libc_ifunc_impl_list): Likewise.
3212 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3213 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3214 multiarch stpncpy for PPC64.
3215 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3216 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3217
978a41c3
AS
32182014-05-06 Andreas Schwab <schwab@suse.de>
3219
3220 [BZ #16912]
3221 * gmon/mcount.c (_MCOUNT_DECL): Use
3222 atomic_compare_and_exchange_bool_acq instead of
3223 catomic_compare_and_exchange_bool_acq.
3224
eb1ed03d
RM
32252014-05-05 Roland McGrath <roland@hack.frob.com>
3226
fe658845
RM
3227 * elf/Makefile (others, install-bin): Remove pldd.
3228 (pldd-modules): Variable removed.
3229 ($(objpfx)pldd): Target removed.
3230 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3231 (others, install-bin): Append pldd here.
3232 ($(objpfx)pldd): New target.
3233
eb1ed03d
RM
3234 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3235 to 0, so the first #if test emitted later doesn't see it undefined.
3236 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3237 * sysdeps/gnu/errlist.c: Regenerated.
3238
19c4bec0
AZ
32392014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3240
3241 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3242 [libc_hidden_builtin_def]: Define to empty value.
3243 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3244 [libc_hidden_builtin_def]: Likewise.
3245 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3246 [libc_hidden_builtin_def]: Likewise.
3247 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3248 [libc_hidden_builtin_def]: Likewise.
3249 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3250 __redirect_memcpy and define ifunc as default hidden symbol.
3251 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3252 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3253
7776e669
AC
32542014-05-04 Adam Conrad <adconrad@0c3.net>
3255
3256 * locale/iso-4217.def: Reintroduce XDR currency.
3257
d69aeb12
AM
32582014-05-04 Allan McRae <allan@archlinux.org>
3259
3260 * po/eo.po: Update Esperanto translation from translation project.
3261
8f1df5cf
CD
32622014-05-02 Carlos O'Donell <carlos@redhat.com>
3263
3264 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3265 and FEATURE_INDEX_MAX to 1.
3266 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3267
13e402e7
SE
32682014-05-01 Steve Ellcey <sellcey@mips.com>
3269
3270 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3271 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3272 * iconvdata/big5.c (ONE_DIRECTION): Define.
3273 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3274 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3275 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3276 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3277 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3278 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3279 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3280 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3281 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3282 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3283 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3284 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3285 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3286 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3287 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3288 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3289 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3290 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3291 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3292 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3293 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3294 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3295 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3296 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3297 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3298 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3299 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3300 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3301 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3302 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3303 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3304 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3305 * iconvdata/johab.c (ONE_DIRECTION): Define.
3306 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3307 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3308 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3309 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3310 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3311 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3312 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3313 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3314 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3315 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3316
c727f032
RM
33172014-05-01 Roland McGrath <roland@hack.frob.com>
3318
8f2f08d0
RM
3319 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3320 (_IO_JUMPS_OFFSET): Define to 0.
3321
c727f032
RM
3322 * nptl/sysdeps/pthread/bits/libc-lock.h
3323 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3324 (__libc_lock_define_initialized_recursive): Always define using
3325 initializer. Modern compilers treat uninitialized (implicit zero) and
3326 explicit zero initializers the same (i.e. put the datum in bss).
3327
a849e800
AS
33282014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3329
3330 * nscd/nscd-client.h: Include <string.h>.
3331
5331255b
DM
33322014-05-01 David S. Miller <davem@davemloft.net>
3333
3334 [BZ #16885]
3335 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3336 multiple zero bytes exist at the end of a string.
3337 Reported by Aurelien Jarno <aurelien@aurel32.net>
3338
3339 * string/test-strcmp.c (check): Add explicit test for situations where
3340 there are multiple zero bytes after the first.
3341
4fdfe821
AS
33422014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3343
3344 [BZ #16890]
3345 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3346 when compiling wprintf.
3347 * stdio-common/tstdiomisc.c (t3): New function.
3348 (main): Call it.
3349
0cdddc25
SE
33502014-05-01 Steve Ellcey <sellcey@mips.com>
3351
3352 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3353 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3354 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3355 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3356
6426d77e
SE
33572014-05-01 Steve Ellcey <sellcey@mips.com>
3358
3359 * stdlib/longlong.h: Updated from GCC.
3360
6d96f5e4
WN
33612014-05-01 Will Newton <will.newton@linaro.org>
3362 Bernard Ogden <bernie.ogden@linaro.org>
3363
7470db0c
WN
3364 * NEWS: Update fixed bug list.
3365
6d96f5e4
WN
3366 [BZ #15119]
3367 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3368
211d653c
DM
33692014-04-30 David S. Miller <davem@davemloft.net>
3370
4fa262fa
DM
3371 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3372 (libc_feholdexcept_setround_sparc_ctx): New function.
3373 (libc_fesetenv_sparc_ctx): Likewise.
3374 (libc_feupdateenv_sparc_ctx): Likewise.
3375 (libc_feholdsetround_sparc_ctx): Likewise.
3376 (libc_feholdexcept_setround_ctx): Define.
3377 (libc_feholdexcept_setroundf_ctx): Likewise.
3378 (libc_feholdexcept_setroundl_ctx): Likewise.
3379 (libc_fesetenv_ctx): Likewise.
3380 (libc_fesetenvf_ctx): Likewise.
3381 (libc_fesetenvl_ctx): Likewise.
3382 (libc_feupdateenv_ctx): Likewise.
3383 (libc_feupdateenvf_ctx): Likewise.
3384 (libc_feupdateenvl_ctx): Likewise.
3385 (libc_feresetround_ctx): Likewise.
3386 (libc_feresetroundf_ctx): Likewise.
3387 (libc_feresetroundl_ctx): Likewise.
3388 (libc_feholdsetround_ctx): Likewise.
3389 (libc_feholdsetroundf_ctx): Likewise.
3390 (libc_feholdsetroundl_ctx): Likewise.
3391
1d3d93ef
DM
3392 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3393 with __USE_GNU instead of XOPEN cpp guards.
3394
8aa583c3
DM
3395 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3396 0.
3397
211d653c
DM
3398 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3399 with XOPEN cpp guards.
3400
60c8f1f6
JB
34012014-04-30 Julian Brown <julian@codesourcery.com>
3402
3403 [BZ #16888]
3404 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3405 handling.
3406
9a461d46
JM
34072014-04-30 Joseph Myers <joseph@codesourcery.com>
3408
d0f5b3f8
JM
3409 [BZ #9894]
3410 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3411 Change to 2.6.32.
3412 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3413 * sysdeps/unix/sysv/linux/configure: Regenerated.
3414 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3415 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3416 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3417 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3418 * README: Update reference to required Linux kernel version.
3419 * manual/install.texi (Linux): Update reference to required Linux
3420 kernel headers version.
3421 * INSTALL: Regenerated.
3422
9a461d46
JM
3423 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3424 header inclusion.
3425 [POSIX] (limits.h): Likewise.
3426 [POSIX] (math.h): Likewise.
3427 [POSIX] (sys/wait.h): Likewise.
3428 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3429 function.
3430 [POSIX] (stddef.h): Do not allow header inclusion.
3431
1775babf
AZ
34322014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3433
57f41c40 3434 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 3435
8f630cca
YY
34362014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3437
3438 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3439 Return immediately after lll_futex_wake.
3440
1cdeb237
SP
34412014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3442
bc8f194c
SP
3443 [BZ #16791]
3444 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3445 structure.
3446 (datahead_init_pos): Call datahead_init_common early.
3447 (datahead_init_neg): Likewise.
3448
1cdeb237
SP
3449 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3450 datahead_init_neg): New functions.
3451 * nscd/aicache.c (addhstaiX): Use them.
3452 * nscd/grpcache.c (cache_addgr): Likewise.
3453 * nscd/hstcache.c (cache_addhst): Likewise.
3454 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3455 * nscd/netgroupcache.c (do_notfound): Likewise.
3456 (addgetnetgrentX): Likewise.
3457 (addinnetgrX): Likewise.
3458 * nscd/pwdcache.c (cache_addpw): Likewise.
3459 * nscd/servicescache.c (cache_addserv): Likewise.
3460
16b293a7
SP
34612014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3462 Atsushi Onoe <atsushi@onoe.org>
3463
3464 [BZ #14308]
3465 [BZ #12994]
3466 [BZ #13651]
3467 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3468 one response is valid.
3469 * resolv/res_send.c (send_dg): Check for validity of other
3470 response if the current response is a referral.
3471
a28a9b94
SE
34722014-04-29 Steve Ellcey <sellcey@mips.com>
3473
3474 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3475
2ca180e9
SL
34762014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3477
3478 [BZ #16823]
3479 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3480 Always divide by positive zero when computing -Inf result.
3481 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3482 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3483
18f2945a
AZ
34842014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3485
3486 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3487 FPSCR if value do not change.
3488 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3489 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3490 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3491 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3492 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3493 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3494 function.
3495
5abebba4
CD
34962014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3497
3498 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3499 * sysdeps/unix/sysv/linux/hppa: Move directory from
3500 ports/systeps/unix/sysv/linux/hppa.
3501 * README: Update listing for hppa-*-linux-gnu.
3502
f7ed60c2
OB
35032014-04-28 Ondřej Bílka <neleai@seznam.cz>
3504
fff763a5
OB
3505 [BZ #16754]
3506 * manual/stdio.texi (Hook functions): Fix types of stream hook
3507 functions.
f7ed60c2
OB
3508 [BZ #16854]
3509 * socket/sys/socket.h: Fix typo in comment.
3510
df639d73
WD
35112014-04-28 Wilco <wdijkstr@arm.com>
3512
f7ed60c2 3513 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
3514 * sysdeps/arm/math_private.h: New file.
3515 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3516
48332d82
L
35172014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3518
3519 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3520 with __int128_t.
3521 (La_x86_64_retval): Likewise.
3522
e5e0d9a4
IB
35232014-04-24 Ian Bolton <ian.bolton@arm.com>
3524
3525 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3526 fpsr if value didn't change.
3527 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3528 to fpcr if value didn't change.
3529 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3530 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3531 fpsr or fpcr if value didn't change.
3532 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3533 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3534 fpcr if value didn't change.
3535 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3536 to fpsr if value didn't change.
3537
bacc75f7
SP
35382014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3539
3540 * nptl/tst-sem3.c: Use test-skeleton.c
3541 (main): Rename to do_test. Use return instead of
3542 exit.
3543 * nptl/tst-sem4.c: Use test-skeleton.c
3544 (main): Rename to do_test.
3545
a059d359
DM
35462014-04-22 David S. Miller <davem@davemloft.net>
3547
3548 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3549 (struct sigaction): New struct member __glibc_reserved0, change
3550 type of sa_flags to int.
3551
ea6c92f3
YZ
35522014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3553
3554 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3555 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3556
766c4a36
SP
35572014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3558
3559 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3560 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3561
140cc7ab
VK
35622014-04-22 Will Newton <will.newton@linaro.org>
3563 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3564
3565 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3566 (__longjmp): Add longjmp and longjmp_target SystemTap
3567 probes.
3568 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3569 (__sigsetjmp): Add setjmp SystemTap probe.
3570
c54e5cf7
CD
35712014-04-17 Carlos O'Donell <carlos@redhat.com>
3572
3573 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3574 match manual order.
3575
75ffb047
AZ
35762014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3577
3578 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3579
2cd925f7
AZ
3580 * sysdeps/powerpc/fpu/fenv_private.h
3581 (libc_feholdexcept_setroundl_ctx): Define to
3582 libc_feholdexcept_setround_ppc_ctx.
3583 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3584 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3585 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3586 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3587
39e6cd8d
IB
35882014-04-17 Ian Bolton <ian.bolton@arm.com>
3589
3590 * sysdeps/aarch64/math-tests.h: New file.
3591
f9281df9
SY
35922014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3593
3594 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3595 New.
3596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3597 Check and set bit_AVX2_Usable.
3598 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3599 macro.
3600 (bit_AVX2): Likewise.
3601 (index_AVX2_Usable): Likewise.
3602 (CPUID_AVX2): Likewise.
3603 (HAS_AVX2): Likewise.
3604
37d35007
WN
36052014-04-17 Will Newton <will.newton@linaro.org>
3606
7c677662
WN
3607 * manual/setjmp.texi (System V contexts): Add note that
3608 calling setcontext on a context created by a call to a
3609 signal handler is undefined. Update text to note that
3610 setcontext from a signal handler is possible but not
3611 recommended.
3612
37d35007 3613 [BZ #16629]
e04a4e9d
WN
3614 * stdlib/tst-setcontext.c: Include signal.h.
3615 (main): Check that the signal stack before and
3616 after swapcontext is the same.
3617
37d35007
WN
3618 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3619 Re-implement to restore registers in user code and avoid
3620 rt_sigreturn system call.
3621
423a7160
W
36222014-04-17 Wilco <wdijkstr@arm.com>
3623
3624 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3625 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3626 * math/test-fenv.c: Skip exception trap tests on targets which only
3627 support non-stop mode.
3628
bc93ab29
IB
36292014-04-17 Ian Bolton <ian.bolton@arm.com>
3630 Wilco Dijkstra <wilco.dijkstra@arm.com>
3631
3632 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3633 (libc_feholdsetround_aarch64_ctx)
3634 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3635 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3636 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3637 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3638 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3639 (libc_feresetround_noexl_ctx): Define.
3640
95fc5fa3
RH
36412014-04-16 Richard Henderson <rth@redhat.com>
3642
ddb04724
RH
3643 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3644
d77c0899
RH
3645 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3646 unwind tables.
3647
a3df56fc
RH
3648 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3649 const from the non-libc, non-ldso copy.
3650
95fc5fa3
RH
3651 * sysdeps/alpha/libm-test-ulps: Regenerate.
3652
7e0b6763
IB
36532014-04-16 Ian Bolton <ian.bolton@arm.com>
3654 Wilco Dijkstra <wilco.dijkstra@arm.com>
3655
3656 * sysdeps/aarch64/fpu/math_private.h: New file.
3657
a9ea2e0c
MS
36582014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3659
3660 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3661
ea8ba7cd
IZ
36622014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3663
3664 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3665 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3667 Intel MPX bound registers before _dl_profile_fixup.
3668 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3669 registers after _dl_profile_fixup. Save and restore bound
3670 registers bnd0/bnd1 when calling _dl_call_pltexit.
3671 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3672 (LR_BND_OFFSET): Likewise.
3673 (LRV_BND0_OFFSET): Likewise.
3674 (LRV_BND1_OFFSET): Likewise.
3675
9f2a4fbc
ST
36762014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3677
3678 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3679 to...
3680 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
3681 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3682 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3683 fields.
9f2a4fbc 3684
fd15a59b
ST
36852014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3686
3687 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3688
f19dfa0a
SL
36892014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3690
3691 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3692
4fa8bc3b
SL
36932014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3694
3695 [BZ #14770]
3696 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3697 * sysdeps/s390/configure: Regenerate.
3698
8ea587db
SL
3699 [BZ #16824]
3700 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3701 Set round-to-nearest internally to reduce error accumulation.
3702
aa5f0ff1
AM
37032014-04-16 Alan Modra <amodra@gmail.com>
3704
3705 [BZ #16740]
3706 [BZ #16619]
3707 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3708 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 3709 * NEWS: Update fixed bug list.
aa5f0ff1 3710
bb9c256f
SP
37112014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3712
3713 * benchtests/Makefile: Depend on libraries in build directory.
3714 (bench-math): Separate out math tests.
3715 (bench-pthread): Separate out pthread tests.
3716 (bench): Include math and pthread tests.
3717
f737dfd0
CD
37182014-04-14 Carlos O'Donell <carlos@redhat.com>
3719
3720 [BZ #16831]
3721 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3722 _dl_debug_initialize.
3723
0699f766
CD
3724 * configure.ac: Remove SELinux header check.
3725 * configure: Regenerate.
3726 * nscd/selinux.c (perms): Array of const char* to permission names.
3727 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3728 default policy. Call string_to_security_class and string_to_av_perm to
3729 translate strings. Enforce default policy and call avs_has_perm with
3730 results of translated strings.
3731
809bd45f
DM
37322014-04-13 David S. Miller <davem@davemloft.net>
3733
3734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3735
89e691f2
AM
37362014-04-12 Allan McRae <allan@archlinux.org>
3737
3738 [BZ #16838]
3739 * manual/string.texi (Collation Functions): Fix qsort argument
3740 order in example.
3741 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3742
9c9daaeb
CM
37432014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3744
3745 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3746 Make the test a no-op if there are no exceptions defined.
3747
95561fb9
PP
37482014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3749
fe8d072c 3750 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
3751 enable-hardcoded-path-in-tests
3752
970c602a
WN
37532014-04-11 Will Newton <will.newton@linaro.org>
3754
3755 * benchtests/Makefile (extra-objs): Add json-lib.o.
3756 (bench-func): Tidy up JSON output.
3757 * benchtests/bench-skeleton.c: Include json-lib.h.
3758 (main): Use JSON library functions to do output of
3759 benchmark results.
3760 * benchtests/bench-timing-type.c (main): Output the
3761 timing type simply, leaving formatting to the user.
3762 * benchtests/json-lib.c: New file.
3763 * benchtests/json-lib.h: Likewise.
3764
36875b06
TR
37652014-04-11 Torvald Riegel <triegel@redhat.com>
3766
3767 [BZ #15215]
3768 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3769 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3770 memory barriers. Add comments.
3771 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3772 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3773 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3774 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3775 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3776 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3777
579db35a
SL
37782014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3779
3780 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3781 * sysdeps/s390/s390-64/configure.ac: ... this ...
3782 * sysdeps/s390/configure.ac: ... to here.
3783 * sysdeps/s390/s390-32/configure: Delete file.
3784 * sysdeps/s390/s390-64/configure: Delete file.
3785 * sysdeps/s390/configure: Regenerate.
3786
c12e9f37
JAPH
37872014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3788
3789 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3790
439bda32
WN
37912014-04-11 Will Newton <will.newton@linaro.org>
3792
3793 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3794 to zero if it is not defined elsewhere. (mtrim): Test
3795 the value of MALLOC_DEBUG with #if rather than #ifdef.
3796
6a5d6ea1
TR
37972014-04-10 Torvald Riegel <triegel@redhat.com>
3798
3799 * benchtests/pthread_once-inputs: New file.
3800 * benchtests/pthread_once-source.c: New file.
3801 * benchtests/README: Update documentation.
3802
a4c75cfd
IZ
38032014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3804 H.J. Lu <hongjiu.lu@intel.com>
3805
3806 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3807 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3808 * sysdeps/x86_64/configure: Regenerated.
3809 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3810 macro.
3811 (REGISTER_SAVE_RAX): Likewise.
3812 (REGISTER_SAVE_RCX): Likewise.
3813 (REGISTER_SAVE_RDX): Likewise.
3814 (REGISTER_SAVE_RSI): Likewise.
3815 (REGISTER_SAVE_RDI): Likewise.
3816 (REGISTER_SAVE_R8): Likewise.
3817 (REGISTER_SAVE_R9): Likewise.
3818 (REGISTER_SAVE_BND0): Likewise.
3819 (REGISTER_SAVE_BND1): Likewise.
3820 (REGISTER_SAVE_BND2): Likewise.
3821 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3822 bound registers when calling _dl_fixup.
3823
27822ce6
AZ
38242014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3825
3826 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
3827 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3828 of its definition.
27822ce6
AZ
3829 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3830 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3831 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3832 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3833 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3834 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3835 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3836
a88ddc90
PTB
38372014-04-09 Peter Brett <peter@peter-b.co.uk>
3838
3839 [BZ #15514]
3840 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3841 pathconf(_PC_NAME_MAX).
3842
01f8eac2
AZ
38432014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3844
3845 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3846 Remove macro usage.
3847 (__PTHREAD_SPINS): Move definition to ...
3848 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3849 (__PTHREAD_SPINS): ... here.
3850 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3851 (__PTHREAD_SPIN): Likewise.
3852 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3853 (__PTHREAD_SPIN): Likewise.
3854 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3855 (__PTHREAD_SPIN): Likewise.
3856 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3857 (__PTHREAD_SPIN): Likewise.
3858 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3859 (__PTHREAD_SPIN): Likewise.
3860 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3861 (__PTHREAD_SPIN): Likewise.
3862 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3863 (__PTHREAD_SPIN): Likewise.
3864 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3865 (__PTHREAD_SPIN): Likewise.
3866 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3867 (__PTHREAD_SPIN): Likewise.
3868 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3869 (__PTHREAD_SPIN): Likewise.
3870 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3871 (__PTHREAD_SPIN): Likewise.
3872 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3873 (__PTHREAD_SPIN): Likewise.
3874
de21c33c
AZ
3875 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3876 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3877 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3878 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3879 imply folder.
3880 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3881 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3882 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3883 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3884 correct imply path.
3885 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3886 strlen symbol for non multi-arch builds.
3887 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3888 missing hidden_def and weak_alias.
3889
862c472e
CD
38902014-04-08 Carlos O'Donell <carlos@redhat.com>
3891
3892 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3893
8667f90e
WN
38942014-04-07 Will Newton <will.newton@linaro.org>
3895
3896 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3897 and contents. [!_LIBC] Remove #ifndef and contents.
3898 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3899 * string/memccpy.c (__memccpy): Use ANSI prototype.
3900 * string/memfrob.c (memfrob): Likewise.
3901 * string/strcoll.c (STRCOLL): Likewise.
3902 * string/strlen.c (strlen): Likewise.
3903 * string/strtok.c (STRTOK): Likewise.
3904 * string/strcat.c: Remove unused #include of memcopy.h.
3905 (strcat): Use ANSI prototype.
3906 * string/strchr.c: Remove unused #include of memcopy.h.
3907 (strchr): Use ANSI prototype.
3908 * string/strcmp.c: Remove unused #include of memcopy.h.
3909 (strcmp): Use ANSI prototype.
3910 * string/strcpy.c: Remove unused #include of memcopy.h.
3911 (strcpy): Use ANSI prototype.
3912
7ffa9423
AZ
39132014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3914
3915 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3916 * config.make.in (config-extra-cppflags): Set it from
3917 libc_extra_cppflags.
3918 * configure.ac (libc_extra_cflags): Make it accumulate over
3919 configure fragments.
3920 (libc_extra_cppflags): New flag.
3921 * configure. Regenerate.
3922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
3923 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3924 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
3925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3926
8bd70862
AZ
3927 [BZ #16815]
3928 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3929 result for FE_DOWNWARD rounding mode.
3930 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3931 Likewise.
3932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3933
d42f3448
CM
39342014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3935
3936 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3937 in function argument name.
3938
1c21d115
DS
39392014-04-03 David Svoboda <svoboda@cert.org>
3940
3941 [BZ #5666]
3942 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3943 explicitly.
3944
fcccd512
RM
39452014-04-03 Roland McGrath <roland@hack.frob.com>
3946
3947 * elf/dl-unmap-segments.h: New file.
3948 * sysdeps/generic/ldsodefs.h
3949 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3950 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3951 * elf/dl-fptr.c: Likewise.
3952 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3953 * sysdeps/aarch64/tlsdesc.c: Likewise.
3954 * sysdeps/arm/tlsdesc.c: Likewise.
3955 * sysdeps/i386/tlsdesc.c: Likewise.
3956 * sysdeps/tile/dl-runtime.c: Likewise.
3957 * sysdeps/x86_64/tlsdesc.c: Likewise.
3958 * elf/dl-load.h: New file.
3959 * elf/dl-load.c: Include it.
3960 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3961 Macros moved to dl-load.h.
3962 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3963 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3964 Use _dl_unmap_segments in place of __munmap.
3965 Break out segment-mapping loop into ...
3966 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3967
f6488e2b
WN
39682014-04-03 Will Newton <will.newton@linaro.org>
3969
3970 * elf/dl-lookup.c (do_lookup_x): Remove comment
3971 referring to nested function and move variable
3972 declarations down to before first use.
3973
6f05bafe
JM
39742014-04-02 Joseph Myers <joseph@codesourcery.com>
3975
a84e78c8
JM
3976 [BZ #16799]
3977 [BZ #16800]
3978 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3979 with 0 numerator.
3980 * math/s_catanf.c (__catanf): Likewise.
3981 * math/s_catanh.c (__catanh): Likewise.
3982 * math/s_catanhf.c (__catanhf): Likewise.
3983 * math/s_catanhl.c (__catanhl): Likewise.
3984 * math/s_catanl.c (__catanl): Likewise.
3985 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3986 by positive zero when computing -Inf result.
3987 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3988 (catanh_test): Likewise.
3989 * sysdeps/i386/fpu/libm-test-ulps: Update.
3990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3991
6f05bafe
JM
3992 [BZ #16789]
3993 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3994 instead of using underflowing value in computing result.
3995 * math/s_clog10.c (__clog10): Likewise.
3996 * math/s_clog10f.c (__clog10f): Likewise.
3997 * math/s_clog10l.c (__clog10l): Likewise.
3998 * math/s_clogf.c (__clogf): Likewise.
3999 * math/s_clogl.c (__clogl): Likewise.
4000 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4001 (clog10_test): Likewise.
4002 * sysdeps/i386/fpu/libm-test-ulps: Update.
4003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4004
b0abbc21
AM
40052014-04-02 Alan Modra <amodra@gmail.com>
4006
4007 [BZ #16739]
4008 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4009 output when value is near a power of two. Use int64_t for lx and
4010 remove casts. Use decimal rather than hex exponent constants.
4011 Don't use long double multiplication when double will suffice.
4012 * math/libm-test.inc (nextafter_test_data): Add tests.
4013 * NEWS: Add 16739 and 16786 to bug list.
4014
af6b1797
AM
4015 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4016
483818d7
AM
4017 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4018
f6c55796
WN
40192014-04-01 Will Newton <will.newton@linaro.org>
4020
4021 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4022 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4023
13f7fe35
FW
40242014-04-01 Florian Weimer <fweimer@redhat.com>
4025
4026 [BZ #13347]
4027 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4028 * nptl/tst-setuid2.c: New file.
4029 * nptl/Makefile (xtests): Add tst-setuid2.
4030
c859b32e
AM
40312014-04-01 Alan Modra <amodra@gmail.com>
4032
4033 [BZ #16786]
4034 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4035
54fa2475
JM
40362014-03-31 Joseph Myers <joseph@codesourcery.com>
4037
8795b4a4
JM
4038 [BZ #6803]
4039 [BZ #6804]
4040 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4041 set errno as appropriate.
4042 * math/w_scalbf.c (__scalbf): Likewise.
4043 * math/w_scalbl.c (__scalbl): Likewise.
4044 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4045 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4046 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4047 Add more NaN tests.
4048
54fa2475
JM
4049 [BZ #16349]
4050 * math/w_atan2.c: Include <errno.h>.
4051 (__atan2): Set errno for result underflowing to zero.
4052 * math/w_atan2f.c: Include <errno.h>.
4053 (__atan2f): Set errno for result underflowing to zero.
4054 * math/w_atan2l.c: Include <errno.h>.
4055 (__atan2l): Set errno for result underflowing to zero.
4056 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4057 tests.
4058 * math/auto-libm-test-out: Regenerated.
4059
757d9dd5
AZ
40602014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4061
4062 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4063 Encode instruction correctly in little endian.
4064 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4065 Likewise.
4066 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4067 Likewise.
4068 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4069 Likewise.
4070 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4071 Likewise.
4072
d7a68734
JM
40732014-03-31 Joseph Myers <joseph@codesourcery.com>
4074
47c5adeb
JM
4075 [BZ #9894]
4076 * sysdeps/unix/sysv/linux/kernel-features.h
4077 [__sparc__ && !__arch64__ && !__sparc_v9__]
4078 (__ASSUME_SET_ROBUST_LIST): Do not define.
4079 [__sparc__ && !__arch64__ && !__sparc_v9__]
4080 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4081 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4082 Likewise.
4083 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4084 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4085 (__ASSUME_REQUEUE_PI): Likewise.
4086 (__ASSUME_SET_ROBUST_LIST): Likewise.
4087 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4088 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4089 Undefine.
4090 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4091 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4092 Likewise.
4093 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4094 Likewise.
4095 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4096 Likewise.
4097 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4098 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4099 Undefine.
4100 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4101 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4102 Likewise.
4103
d7a68734
JM
4104 [BZ #16648]
4105 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4106 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4107 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4108
c760f5c2
WN
41092014-03-31 Will Newton <will.newton@linaro.org>
4110
4111 * benchtests/Makefile (bench): Add ffs and ffsll to list
4112 of tests.
4113 * benchtests/ffs-inputs: New file.
4114 * benchtests/ffsll-inputs: Likewise.
4115
ea6029b1
JM
41162014-03-29 Joseph Myers <joseph@codesourcery.com>
4117
4118 [BZ #16770]
4119 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4120 too large before casting to int.
4121 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4122 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4123 * math/libm-test.inc (scalb_test_data): Add more tests.
4124
cf806aff
SP
41252014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4126
56737508
SP
4127 * benchtests/Makefile (DETAILED_OPT): New make option.
4128 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4129 set.
4130 * benchtests/bench-skeleton.c: Include stdbool.h.
4131 (main): Store and print timings per input.
4132 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4133 member to each argument value.
4134 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4135 (_print_arg_data): Initialize per-input timing to 0.
4136
cb5e4aad
SP
4137 * benchtests/Makefile (timing-type): New binary.
4138 (bench-clean): Also remove bench-timing-type.
4139 (bench): New target for timing-type.
4140 (bench-func): Print output in JSON format.
4141 * benchtests/bench-skeleton.c (main): Print output in JSON
4142 format.
4143 * benchtests/bench-timing-type.c: New file.
4144 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4145 (TIMING_PRINT_STATS): Remove.
4146 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4147 name separately.
4148
cf806aff
SP
4149 * benchtests/bench-modf.c: Remove.
4150 * benchtests/modf-inputs: New inputs file.
4151
289e0779
JM
41522014-03-28 Joseph Myers <joseph@codesourcery.com>
4153
4154 [BZ #16362]
4155 * math/s_clog10.c (M_PI_LOG10E): New macro.
4156 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4157 imaginary parts are 0.
4158 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4159 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4160 imaginary parts are 0.
4161 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4162 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4163 imaginary parts are 0.
4164 * math/libm-test.inc (clog10_test_data): Update expected results
4165 for when real and imaginary parts are 0.
4166
277ae3f1
PP
41672014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4168
4169 * elf/dl-load.c: Finish conversion of __builtin_expect into
4170 __glibc_{un}likely.
4171
03a7091f
JM
41722014-03-27 Joseph Myers <joseph@codesourcery.com>
4173
4174 [BZ #16348]
4175 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4176 1+x for argument with exponent below -67.
4177 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4178 Likewise.
4179 * math/auto-libm-test-in: Add more tests of exp.
4180 * math/auto-libm-test-out: Regenerated.
4181
ea7d8b95
SP
41822014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4183
dd3022d7
SP
4184 [BZ #16759]
4185 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4186 (nscd_getnetgrent): Use it.
4187
ea7d8b95
SP
4188 [BZ #16760]
4189 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4190 of stpcpy.
4191
df5b85da
AK
41922014-03-27 Andi Kleen <ak@linux.intel.com>
4193
57f41c40
AS
4194 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4195 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4196 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4197 (lll_robust_unlock): Remove out of line section. Use cfi
4198 intrinsics.
df5b85da 4199 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
4200 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4201 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4202 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4203 (lll_robust_unlock): Remove out of line section. Use cfi
4204 intrinsics.
df5b85da
AK
4205 (LLL_STUB_UNWIND_INFO*): Remove.
4206
fbd6b5a4
SP
42072014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4208
4209 [BZ #16758]
4210 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4211 blank values.
4212
1b26b855
PP
42132014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4214
4215 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4216
9be36fb8
JM
42172014-03-26 Joseph Myers <joseph@codesourcery.com>
4218
4219 [BZ #16198]
4220 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4221 fnstenv.
4222 * math/test-fenv-preserve.c: New file.
4223 * math/Makefile (tests): Add test-fenv-preserve.
4224
60a2f3c1
WN
42252014-03-26 Will Newton <will.newton@linaro.org>
4226
4227 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4228
a5e5f1e2
RM
42292014-03-25 Roland McGrath <roland@hack.frob.com>
4230
4231 * scripts/versionlist.awk: Partition the version sets and emit all
4232 GLIBC_* (sorted) before all others (sorted).
4233
00f4012a
JM
42342014-03-25 Joseph Myers <joseph@codesourcery.com>
4235
4236 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4237 GLIBC_2.2.5 version.
4238
7bc5a741
AZ
42392014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4240
4241 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4242 calls.
4243
7578473b
AZ
4244 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4245 previous change.
4246
f3f1dab3
AZ
4247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4248
6da36183
AS
42492014-03-25 Andreas Schwab <schwab@suse.de>
4250
4251 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4252 label to be used after in6ailist is initialized.
4253
f3f1dab3 42542014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 4255
7578473b 4256 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
4257 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4258
046651c1
JM
42592014-03-25 Joseph Myers <joseph@codesourcery.com>
4260
4261 [BZ #16357]
4262 [BZ #16599]
4263 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4264 min_plus_half.
4265 (fp_formats): Update initializers.
4266 (init_fp_formats): Initialize new field.
4267 (output_for_one_input_case): Allow underflow for results up to
4268 min_plus_half.
4269 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4270 * math/auto-libm-test-in: Don't mark some underflows from asin and
4271 atanh as spurious.
4272 * math/auto-libm-test-out: Regenerated.
4273 * sysdeps/i386/fpu/libm-test-ulps: Update.
4274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4275
003e49ed
AS
42762014-03-25 Andreas Schwab <schwab@suse.de>
4277
4278 * libio/Makefile (tst-ftell-partial-wide-ENV)
4279 (tst-ftell-active-handler-ENV): Define.
4280
de031874
SL
42812014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4282
4283 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4284
55a81e3b
PP
42852014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4286
4287 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4288
f3426898
JM
42892014-03-24 Joseph Myers <joseph@codesourcery.com>
4290
4291 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4292 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4293 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4294
a42faf59
PP
42952014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4296
4297 [BZ #16634]
a42faf59 4298 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
4299 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4300 (open_path): Change from boolean 'secure' to complete flag 'mode'
4301 (_dl_map_object): Adjust.
a42faf59
PP
4302 * elf/Makefile (tests): Add tst-dlopen-aout.
4303 * elf/tst-dlopen-aout.c: New test.
4304
50936127
SL
43052014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4306
4307 [BZ #16714]
4308 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4309 (struct stat): Rename member pad0 to __glibc_reserved0.
4310
26011b5c
SL
4311 [BZ #16712]
4312 * sysdeps/s390/s390-32/bits/wordsize.h
4313 (__WORDSIZE32_SIZE_ULONG): New define.
4314 * sysdeps/s390/s390-64/bits/wordsize.h
4315 (__WORDSIZE32_SIZE_ULONG): Likewise.
4316 * sysdeps/generic/stdint.h (SIZE_MAX):
4317 Define as UL if __WORDSIZE32_SIZE_ULONG.
4318
a2d86bf1
SL
4319 [BZ #16713]
4320 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4321 (__glibc_reserved0): New variable.
4322 (sa_flags): Change type to int.
4323
78b6eebc
SL
4324 * posix/Makefile (before-compile): Use += before-compile instead
4325 of a :=.
4326
f1399b5a
SL
4327 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4328 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4329
a071766e
AS
43302014-03-20 Andreas Schwab <schwab@suse.de>
4331
4332 [BZ #16743]
4333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4334 non-matching result from nscd.
4335
27c673b8
SP
43362014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4337
4338 * scripts/bench.py: Moved to ...
4339 * benchtests/scripts/bench.py: ... here.
4340 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4341
44152e4b
AS
43422014-03-24 Andreas Schwab <schwab@suse.de>
4343
4344 [BZ #16002]
4345 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4346 alloca_account and account alloca use for struct in6ailist.
4347
b376a11a
JM
43482014-03-24 Joseph Myers <joseph@codesourcery.com>
4349
4350 [BZ #16284]
4351 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4352 rounding mode to recompute results that overflow to infinity or
4353 underflow to zero.
4354 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4355 bug 16284.
4356 * math/auto-libm-test-out: Regenerated.
4357 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4358 (ccosh_test): Likewise.
4359 (csin_test_data): Use plus_oflow.
4360 (csin_test): Use ALL_RM_TEST.
4361 (csinh_test_data): Use plus_oflow.
4362 (csinh_test): Use ALL_RM_TEST.
4363 * sysdeps/i386/fpu/libm-test-ulps: Update.
4364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4365
f7be7376
JM
43662014-03-21 Joseph Myers <joseph@codesourcery.com>
4367
1ca2d03e
JM
4368 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4369 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4370 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4371
f7be7376
JM
4372 [BZ #16731]
4373 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4374 when x - 1 is zero.
4375 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4376 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4377 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4378 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4379 argument is 1.
4380 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4381 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4382 zero.
4383 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4384 * sysdeps/i386/fpu/libm-test-ulps: Update.
4385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4386
fdf4534d
SP
43872014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4388
df26ea53
SP
4389 * scripts/bench.pl: Remove file.
4390 * scripts/bench.py: New benchmark script.
4391 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4392 * benchtests/README: Mention python dependency.
4393 * scripts/pylintrc: New file.
4394 * scripts/pylint: New file.
4395
fdf4534d
SP
4396 * bits/mathdef.h: Use #ifdef instead of #if.
4397 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4398 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4399 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4400 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4401 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4402 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4403
6f23d093
AZ
44042014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4405 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4406
4407 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4408 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4409 and strpbrk-ppc64 objects.
4410 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4411 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4412 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4413 multiarch strpbrk for POWER7.
4414 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4415 multiarch strpbrk for PPC64.
4416 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4417 ifunc selector.
4418 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4419 strpbrk for POWER7.
4420
8c92dfff
JM
44212014-03-20 Joseph Myers <joseph@codesourcery.com>
4422
4423 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4424 (atan_test): Likewise.
4425 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4426 (atanh_test): Use ALL_RM_TEST.
4427 (atan2_test_data): Likewise.
4428 (cabs_test): Likewise.
4429 (cacosh_test): Likewise.
4430 (carg_test): Likewise.
4431 (casin_test): Likewise.
4432 (casinh_test): Likewise.
4433 (cbrt_test): Likewise.
4434 (csqrt_test): Likewise.
4435 (erf_test): Likewise.
4436 (erfc_test): Likewise.
4437 (pow10_test): Likewise.
4438 (exp2_test): Likewise.
4439 (hypot_test): Likewise.
4440 (j0_test): Likewise.
4441 (j1_test): Likewise.
4442 (lgamma_test): Likewise.
4443 (gamma_test): Likewise.
4444 (sincos_test): Likewise.
4445 (tanh_test): Likewise.
4446 (y0_test): Likewise.
4447 (y1_test): Likewise.
4448 * sysdeps/i386/fpu/libm-test-ulps: Update.
4449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4450
6eaf95cb
AZ
44512014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4452
a387428c
SP
4453 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
4455 and strcspn-ppc64 objects.
4456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4457 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4458 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4459 multiarch strcspn for POWER7.
4460 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4461 multiarch strcspn for PPC64.
4462 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4463 ifunc selector.
4464 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4465 strcspn for POWER7.
4466
ae3a5dff
JM
44672014-03-20 Joseph Myers <joseph@codesourcery.com>
4468
4469 * math/gen-libm-test.pl (generate_testfile): Expect only function
4470 name as argument to AUTO_TESTS_* and pass results for all rounding
4471 modes to parse_args.
4472 (parse_auto_input): Separate inputs of automatic tests from
4473 outputs before storing in %auto_tests.
4474 * math/libm-test.inc (acos_test_data): Update call to
4475 AUTO_TESTS_f_f.
4476 (acos_test): Use ALL_RM_TEST.
4477 (acos_tonearest_test_data): Remove.
4478 (acos_test_tonearest): Likewise.
4479 (acos_towardzero_test_data): Likewise.
4480 (acos_test_towardzero): Likewise.
4481 (acos_downward_test_data): Likewise.
4482 (acos_test_downward): Likewise.
4483 (acos_upward_test_data): Likewise.
4484 (acos_test_upward): Likewise.
4485 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4486 (asin_test_data): Likewise.
4487 (asin_test): Use ALL_RM_TEST.
4488 (asin_tonearest_test_data): Remove.
4489 (asin_test_tonearest): Likewise.
4490 (asin_towardzero_test_data): Likewise.
4491 (asin_test_towardzero): Likewise.
4492 (asin_downward_test_data): Likewise.
4493 (asin_test_downward): Likewise.
4494 (asin_upward_test_data): Likewise.
4495 (asin_test_upward): Likewise.
4496 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4497 (atan_test_data): Likewise.
4498 (atanh_test_data): Likewise.
4499 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4500 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4501 (carg_test_data): Likewise.
4502 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4503 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4504 (ccosh_test_data): Likewise.
4505 (cexp_test_data): Likewise.
4506 (clog_test_data): Likewise.
4507 (clog10_test_data): Likewise.
4508 (cos_test_data): Update call to AUTO_TESTS_f_f.
4509 (cos_test): Use ALL_RM_TEST.
4510 (cos_tonearest_test_data): Remove.
4511 (cos_test_tonearest): Likewise.
4512 (cos_towardzero_test_data): Likewise.
4513 (cos_test_towardzero): Likewise.
4514 (cos_downward_test_data): Likewise.
4515 (cos_test_downward): Likewise.
4516 (cos_upward_test_data): Likewise.
4517 (cos_test_upward): Likewise.
4518 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4519 (cosh_test): Use ALL_RM_TEST.
4520 (cosh_tonearest_test_data): Remove.
4521 (cosh_test_tonearest): Likewise.
4522 (cosh_towardzero_test_data): Likewise.
4523 (cosh_test_towardzero): Likewise.
4524 (cosh_downward_test_data): Likewise.
4525 (cosh_test_downward): Likewise.
4526 (cosh_upward_test_data): Likewise.
4527 (cosh_test_upward): Likewise.
4528 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4529 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4530 (ctan_test_data): Likewise.
4531 (ctan_test): Use ALL_RM_TEST.
4532 (ctan_tonearest_test_data): Remove.
4533 (ctan_test_tonearest): Likewise.
4534 (ctan_towardzero_test_data): Likewise.
4535 (ctan_test_towardzero): Likewise.
4536 (ctan_downward_test_data): Likewise.
4537 (ctan_test_downward): Likewise.
4538 (ctan_upward_test_data): Likewise.
4539 (ctan_test_upward): Likewise.
4540 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4541 (ctanh_test): Use ALL_RM_TEST.
4542 (ctanh_tonearest_test_data): Remove.
4543 (ctanh_test_tonearest): Likewise.
4544 (ctanh_towardzero_test_data): Likewise.
4545 (ctanh_test_towardzero): Likewise.
4546 (ctanh_downward_test_data): Likewise.
4547 (ctanh_test_downward): Likewise.
4548 (ctanh_upward_test_data): Likewise.
4549 (ctanh_test_upward): Likewise.
4550 (erf_test_data): Update call to AUTO_TESTS_f_f.
4551 (erfc_test_data): Likewise.
4552 (exp_test_data): Likewise.
4553 (exp_test): Use ALL_RM_TEST.
4554 (exp_tonearest_test_data): Remove.
4555 (exp_test_tonearest): Likewise.
4556 (exp_towardzero_test_data): Likewise.
4557 (exp_test_towardzero): Likewise.
4558 (exp_downward_test_data): Likewise.
4559 (exp_test_downward): Likewise.
4560 (exp_upward_test_data): Likewise.
4561 (exp_test_upward): Likewise.
4562 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4563 (exp10_test): Use ALL_RM_TEST.
4564 (exp10_tonearest_test_data): Remove.
4565 (exp10_test_tonearest): Likewise.
4566 (exp10_towardzero_test_data): Likewise.
4567 (exp10_test_towardzero): Likewise.
4568 (exp10_downward_test_data): Likewise.
4569 (exp10_test_downward): Likewise.
4570 (exp10_upward_test_data): Likewise.
4571 (exp10_test_upward): Likewise.
4572 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4573 (expm1_test_data): Likewise.
4574 (expm1_test): Use ALL_RM_TEST.
4575 (expm1_tonearest_test_data): Remove.
4576 (expm1_test_tonearest): Likewise.
4577 (expm1_towardzero_test_data): Likewise.
4578 (expm1_test_towardzero): Likewise.
4579 (expm1_downward_test_data): Likewise.
4580 (expm1_test_downward): Likewise.
4581 (expm1_upward_test_data): Likewise.
4582 (expm1_test_upward): Likewise.
4583 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4584 (fma_test): Use ALL_RM_TEST.
4585 (fma_towardzero_test_data): Remove.
4586 (fma_test_towardzero): Likewise.
4587 (fma_downward_test_data): Likewise.
4588 (fma_test_downward): Likewise.
4589 (fma_upward_test_data): Likewise.
4590 (fma_test_upward): Likewise.
4591 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4592 (j0_test_data): Update call to AUTO_TESTS_f_f.
4593 (j1_test_data): Likewise.
4594 (jn_test_data): Update call to AUTO_TESTS_if_f.
4595 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4596 (log_test_data): Update call to AUTO_TESTS_f_f.
4597 (log10_test_data): Likewise.
4598 (log1p_test_data): Likewise.
4599 (log2_test_data): Likewise.
4600 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4601 (pow_tonearest_test_data): Likewise.
4602 (sin_test_data): Update call to AUTO_TESTS_f_f.
4603 (sin_test): Use ALL_RM_TEST.
4604 (sin_tonearest_test_data): Remove.
4605 (sin_test_tonearest): Likewise.
4606 (sin_towardzero_test_data): Likewise.
4607 (sin_test_towardzero): Likewise.
4608 (sin_downward_test_data): Likewise.
4609 (sin_test_downward): Likewise.
4610 (sin_upward_test_data): Likewise.
4611 (sin_test_upward): Likewise.
4612 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4613 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4614 (sinh_test): Use ALL_RM_TEST.
4615 (sinh_tonearest_test_data): Remove.
4616 (sinh_test_tonearest): Likewise.
4617 (sinh_towardzero_test_data): Likewise.
4618 (sinh_test_towardzero): Likewise.
4619 (sinh_downward_test_data): Likewise.
4620 (sinh_test_downward): Likewise.
4621 (sinh_upward_test_data): Likewise.
4622 (sinh_test_upward): Likewise.
4623 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4624 (sqrt_test): Use ALL_RM_TEST.
4625 (sqrt_tonearest_test_data): Remove.
4626 (sqrt_test_tonearest): Likewise.
4627 (sqrt_towardzero_test_data): Likewise.
4628 (sqrt_test_towardzero): Likewise.
4629 (sqrt_downward_test_data): Likewise.
4630 (sqrt_test_downward): Likewise.
4631 (sqrt_upward_test_data): Likewise.
4632 (sqrt_test_upward): Likewise.
4633 (tan_test_data): Update call to AUTO_TESTS_f_f.
4634 (tan_test): Use ALL_RM_TEST.
4635 (tan_tonearest_test_data): Remove.
4636 (tan_test_tonearest): Likewise.
4637 (tan_towardzero_test_data): Likewise.
4638 (tan_test_towardzero): Likewise.
4639 (tan_downward_test_data): Likewise.
4640 (tan_test_downward): Likewise.
4641 (tan_upward_test_data): Likewise.
4642 (tan_test_upward): Likewise.
4643 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4644 (tgamma_test_data): Likewise.
4645 (y0_test_data): Likewise.
4646 (y1_test_data): Likewise.
4647 (yn_test_data): Update call to AUTO_TESTS_if_f.
4648 (main): Do not call removed functions.
4649
d71aeee8
JM
46502014-03-19 Joseph Myers <joseph@codesourcery.com>
4651
4652 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4653 (ldexp_test_data): Remove.
4654 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4655 scalbn_test_data.
4656 (scalb_test): Use ALL_RM_TEST.
4657
baaf1ded
AS
46582014-03-19 Andreas Schwab <schwab@suse.de>
4659
4660 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4661
b1115e91
JM
46622014-03-19 Joseph Myers <joseph@codesourcery.com>
4663
4664 [BZ #16649]
4665 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4666 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4667 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4668 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4669 (__ASSUME_PREADV): Undefine.
4670 (__ASSUME_PWRITEV): Likewise.
4671
0283ecca
RM
46722014-03-18 Roland McGrath <roland@hack.frob.com>
4673
7d375303
RM
4674 * bits/mman-linux.h: Add comment about non-Linux use.
4675 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4676 bits/mman-linux.h resting place.
4677
0283ecca
RM
4678 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4679 * bits/mman-linux.h: ... here.
4680
aebe1003
AZ
46812014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4682
4683 * conform/conformtest.pl: Add standard definition when calling C
4684 preprocessor on data files.
4685 (checknamespace): Remove unused variable.
4686
b29b6bb8
JM
46872014-03-18 Joseph Myers <joseph@codesourcery.com>
4688
4689 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4690 minus_oflow, plus_uflow and minus_uflow in expected results.
4691 * math/libm-test.inc (scalbn_test_data): Add more tests of
4692 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4693 minus_uflow.
4694 (scalbn_test): Use ALL_RM_TEST.
4695 (scalbln_test_data): Add more tests of negative arguments. Use
4696 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4697 (scalbln_test): Use ALL_RM_TEST.
4698
c8f8fa15
RM
46992014-03-18 Roland McGrath <roland@hack.frob.com>
4700
4701 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4702
fede7a5f
WN
47032014-03-18 Will Newton <will.newton@linaro.org>
4704
4705 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4706 inaccurate comment.
4707
80cf0a58
JM
47082014-03-18 Joseph Myers <joseph@codesourcery.com>
4709
4710 * Makerules [!subdir] (check-abi): Exit with error status if a
4711 test failed.
4712
b3620862
JM
47132014-03-17 Joseph Myers <joseph@codesourcery.com>
4714
4715 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4716 for rint. Include results for all rounding modes.
4717 (nearbyint_test): Use ALL_RM_TEST.
4718 (rint_test_data): Include all tests used for nearbyint.
4719
788bba36
WN
47202014-03-17 Will Newton <will.newton@linaro.org>
4721
04ec140a
WN
4722 * nptl/sysdeps/pthread/pthread.h: Revert previous
4723 change.
4724
7579d8d5
WN
4725 * sysdeps/generic/ldsodefs.h: Revert previous
4726 change.
4727
c15cf13a
WN
4728 * libio/genops.c: Revert previous change.
4729 * libio/libioP.h: Likewise.
4730 * stdio-common/vfprintf.c: Likewise.
4731
d0ac1324
WN
4732 * sysdeps/generic/math_private.h: Revert previous
4733 change.
4734
9290130a
WN
4735 * sysdeps/generic/math_private.h: Check whether
4736 HAVE_RM_CTX is defined with #ifdef rather
4737 than #if.
4738
afb466fc
WN
4739 * argp/argp-fmtstream.h: Check whether
4740 __STRICT_ANSI__ is defined with #ifdef rather
4741 than #if.
4742 * argp/argp.h: Likewise.
4743
f7efd7c3
WN
4744 * libio/genops.c: Check whether
4745 _IO_JUMPS_OFFSET is defined with #ifdef rather
4746 than #if.
4747 * libio/libioP.h: Likewise.
4748 * stdio-common/vfprintf.c: Likewise.
4749
53f1bed3
WN
4750 * sysdeps/generic/ldsodefs.h: Check whether
4751 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4752 than #if.
4753
788bba36
WN
4754 * nptl/sysdeps/pthread/pthread.h: Check
4755 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4756 its value.
4757
fcd89ebe
SP
47582014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4759
ae42bbc5
SP
4760 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4761 setting O_APPEND.
4762 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4763 test case.
4764
ea33158c
SP
4765 [BZ #16680]
4766 * libio/fileops.c (_IO_file_open): Seek to end of file but
4767 don't cache the offset.
4768 (get_file_offset): Remove function.
4769 (do_ftell): Use cached offset when available.
4770 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4771 don't cache the offset.
4772 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4773 case.
4774 (do_one_test): Call it.
4775 (do_ftell_test): Fix up expected old offset for a+ mode.
4776 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4777 available.
4778
b1dbb426
SP
4779 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4780 up test status with function return status.
4781 (do_write_test): Likewise.
4782 (do_append_test): Likewise.
4783
fcd89ebe
SP
4784 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4785 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4786 Remove.
4787
9962a2d3
JM
47882014-03-17 Joseph Myers <joseph@codesourcery.com>
4789
4790 * math/gen-libm-test.pl (parse_args): Handle results specified for
4791 each rounding mode separately.
4792 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4793 tests and results from lrint_tonearest_test_data,
4794 lrint_towardzero_test_data, lrint_downward_test_data and
4795 lrint_upward_test_data.
4796 (lrint_test): Use ALL_RM_TEST.
4797 (lrint_tonearest_test_data): Remove.
4798 (lrint_test_tonearest): Likewise.
4799 (lrint_towardzero_test_data): Likewise.
4800 (lrint_test_towardzero): Likewise.
4801 (lrint_downward_test_data): Likewise.
4802 (lrint_test_downward): Likewise.
4803 (lrint_upward_test_data): Likewise.
4804 (lrint_test_upward): Likewise.
4805 (llrint_test_data): Merge in per-rounding-mode tests and results
4806 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4807 llrint_downward_test_data and llrint_upward_test_data.
4808 (llrint_test): Use ALL_RM_TEST.
4809 (llrint_tonearest_test_data): Remove.
4810 (llrint_test_tonearest): Likewise.
4811 (llrint_towardzero_test_data): Likewise.
4812 (llrint_test_towardzero): Likewise.
4813 (llrint_downward_test_data): Likewise.
4814 (llrint_test_downward): Likewise.
4815 (llrint_upward_test_data): Likewise.
4816 (llrint_test_upward): Likewise.
4817 (rint_test_data): Merge in per-rounding-mode tests and results
4818 from rint_tonearest_test_data, rint_towardzero_test_data,
4819 rint_downward_test_data and rint_upward_test_data. Add
4820 per-rounding-mode results for tests not in those arrays.
4821 (rint_test): Use ALL_RM_TEST.
4822 (rint_tonearest_test_data): Remove.
4823 (rint_test_tonearest): Likewise.
4824 (rint_towardzero_test_data): Likewise.
4825 (rint_test_towardzero): Likewise.
4826 (rint_downward_test_data): Likewise.
4827 (rint_test_downward): Likewise.
4828 (rint_upward_test_data): Likewise.
4829 (rint_test_upward): Likewise.
4830 (main): Don't call removed functions.
4831
5006148e
RM
48322014-03-14 Roland McGrath <roland@hack.frob.com>
4833
4834 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4835 "Compiled on ..." crapola. It is anti-useful.
4836
d6fe5e58
JM
48372014-03-14 Joseph Myers <joseph@codesourcery.com>
4838
4839 * scripts/evaluate-test.sh: Handle fourth argument to determine
4840 whether test run should stop on failure.
4841 * Makeconfig (stop-on-test-failure): New variable.
4842 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4843 $(stop-on-test-failure).
4844 * Makefile (tests): Give a summary of results from testing and
4845 exit with failure status if they include an ERROR or FAIL.
4846 (xtests): Likewise.
4847 * manual/install.texi (Configuring and compiling): Mention
4848 stop-on-test-failure=y.
4849 * INSTALL: Regenerated.
4850
498a2233
RM
48512014-03-14 Roland McGrath <roland@hack.frob.com>
4852
22dbc19d
RM
4853 * scripts/versionlist.awk: New file.
4854 * Makerules [$(build-shared) = yes]
4855 (postclean-generated): Add Versions.def, not Versions.def.v and
4856 Versions.def.v.i.
4857 ($(common-objpfx)Versions.def.v.i): Target removed.
4858 ($(common-objpfx)Versions.def): New target.
4859 ($(common-objpfx)Versions.all): Depend on that rather that
4860 $(common-objpfx)Versions.def.v.
4861 * Versions.def: File removed.
4862
498a2233
RM
4863 * Makeconfig (+gccwarn): Add -Wundef.
4864 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4865 a dl-sysdep.h breaking its contract.
4866 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4867 * include/stackinfo.h: New file.
4868 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4869 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4870 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4871 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4872 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4873 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4874 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4875 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4876 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4877 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4878 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4879 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4880 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4881 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4882 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4883
c7de5025
AZ
48842014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4885
4886 [BZ #16707]
4887 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4888 implementation.
4889 * math/libm-test.inc (round_test_data): Add more tests.
4890
98fb27a3
AZ
4891 [BZ #16706]
4892 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4893 implementation.
4894 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4895
374f7f61
AZ
4896 [BZ #16701]
4897 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4898 implementation.
4899 * math/libm-test.inc (ceil_test_data): Add more tests.
4900
4655c291
AZ
4901 * math/libm-test.inc (trunc_test_data): Add more tests related to
4902 BZ#16414.
4903
d7329d4b
RM
49042014-03-14 Roland McGrath <roland@hack.frob.com>
4905
4906 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4907 with #if rather than #ifdef.
4908 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4909
aa4de9ce
L
49102014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4911
4912 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4913 first. Disable AVX-512 GCC support if assembler doesn't support
4914 it.
4915 * sysdeps/x86_64/configure: Regenerated.
4916
2e03fae7
CD
49172014-03-13 Carlos O'Donell <carlos@redhat.com>
4918
4919 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4920 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4921 (__old_pthread_attr_setstack): Likewise.
4922 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4923 [!_STACK_GROWS_DOWN]: Likewise.
4924
43ca83ec
MF
49252014-03-13 Mike Frysinger <vapier@gentoo.org>
4926
4927 * config.make.in (have-bash2): Delete.
4928 * configure.ac (libc_cv_have_bash2): Delete.
4929 * configure: Regenerate.
4930 * elf/Makefile (common-ldd-rewrite): Rename to ...
4931 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4932 (sh-ldd-rewrite): Delete.
4933 (bash-ldd-rewrite): Delete.
4934 (have-bash2): Delete checks.
57f41c40
AS
4935 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4936 ldd-rewrite.
c66e48b4
MF
4937
4938 * config.make.in (have-ksh): Delete.
4939 (KSH): Delete.
4940 * configure.ac (libc_cv_have_ksh): Delete.
4941 * configure: Regenerate.
4942
b93834ef
MF
4943 * elf/Makefile: Delete $(have-ksh) check.
4944 ($(objpfx)sotruss): Change KSH to BASH.
4945 * elf/sotruss.ksh: Rename to ...
4946 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4947 function style to match POSIX. Drop ksh vim mode setting.
4948
f3a4632a
MF
4949 * manual/time.texi (Specifying the Time Zone with TZ): Change
4950 Tuesday to Thursday.
4951
5896c8bd
MF
4952 * debug/tst-longjmp_chk2.c: Update header comment.
4953 (stackoverflow_handler): Add comment. Call assert on pass value.
4954
2d63a517
IZ
49552014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4956
4957 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4958 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4959 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4960 (La_x86_64_vector): Add zmm.
4961 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4962 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4963 ($(objpfx)tst-audit10): New target.
4964 ($(objpfx)tst-audit10.out): Likewise.
4965 (tst-audit10-ENV): New.
4966 (AVX512-CFLAGS): Likewise.
4967 (CFLAGS-tst-audit10.c): Likewise.
4968 (CFLAGS-tst-auditmod10a.c): Likewise.
4969 (CFLAGS-tst-auditmod10b.c): Likewise.
4970 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4971 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4972 * sysdeps/x86_64/configure: Regenerated.
4973 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4974 AVX-512 zmm register support.
4975 (_dl_x86_64_save_sse): Likewise.
4976 (_dl_x86_64_restore_sse): Likewise.
4977 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4978 size vector registers.
4979 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4980 (ZMM_SIZE): Likewise.
4981 * sysdeps/x86_64/tst-audit10.c: New file.
4982 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4983 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4984
44c4e5d5
RM
49852014-03-13 Roland McGrath <roland@hack.frob.com>
4986
4987 * configure.ac (HAVE_EHDR_START): New check.
4988 * configure: Regenerated.
4989 * config.h.in (HAVE_EHDR_START): New #undef.
4990 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4991 assuming the lowest-addressed segment maps the start of the file.
4992
acd6e389
JM
49932014-03-13 Joseph Myers <joseph@codesourcery.com>
4994
4995 * INSTALL: Regenerated.
4996
6f918f36
WN
49972014-03-13 Will Newton <will.newton@linaro.org>
4998
4999 * manual/setjmp.texi (System V contexts): Improve
5000 clarity and grammar of documentation.
5001
798212a0
PP
50022014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5003
5004 [BZ #16381]
798212a0 5005 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 5006 (tests-pie): Add tst-pie2.
798212a0
PP
5007 * elf/tst-pie2.c: New file.
5008 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5009 for ET_EXEC.
5010 * elf/rtld.c (map_doit): Load executable as lt_executable.
5011 (dl_main): Likewise.
5012
abe6d90c
JM
50132014-03-12 Joseph Myers <joseph@codesourcery.com>
5014
5015 [BZ #16642]
5016 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5017 (__ASSUME_PSELECT): Undefine.
5018
dd3946c6
AZ
50192014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5020
5021 [BZ #16689]
5022 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5023 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5024 static build.
5025 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5026 selector for static builds.
5027
c44496df
SP
50282014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5029
5030 [BZ #16695]
5031 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5032 key in the buffer.
5033
27c7220a
AZ
50342014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5035
57f41c40
AS
5036 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5037 IFUNC selector for static builds.
27c7220a 5038
600fa361
JM
50392014-03-11 Joseph Myers <joseph@codesourcery.com>
5040
76c96cf7
JM
5041 * sysdeps/mips/math_private.h [__mips_hard_float]
5042 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5043 libc_feresetround_mips_ctx.
5044 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5045 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5046 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5047
600fa361
JM
5048 [BZ #16677]
5049 * math/s_nextafter.c (__nextafter): Do not return value from
5050 overflowing computation.
5051 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5052 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5053 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5054 Likewise.
5055 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5056 Likewise.
5057 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5058 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5059
d7706c32
RM
50602014-03-11 Roland McGrath <roland@hack.frob.com>
5061
5062 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5063 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5064 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5065 the new mov targetting sp.
5066
4facea47
AZ
50672014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5068
5069 [BZ #16683]
5070 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5071 Define it for static builds as well.
5072 (NO_BZERO_IMPL): Likewise.
5073
e65caf1f
VR
50742014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5075
5076 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5077 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5078 multiarch strspn for PPC64.
5079 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5080 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5082 (__libc_ifunc_impl_list): Likewise.
5083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5084 multiarch optimizations
5085 * string/strspn.c (strspn): Using macro to redefine symbol name.
5086
ba9cc071
AZ
50872014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5088 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5089
5090 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5091 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5092 multiarch strncat for PPC64.
5093 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5094 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5096 (__libc_ifunc_impl_list): Likewise.
5097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5098 multiarch optimizations
5099
8b4ff974
SP
51002014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5101
5102 [BZ #16639]
5103 * nscd/nscd.service: Make service type forking.
5104
54b46a4b
AZ
51052014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5106
5107 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5108 sign in non default rounding modes.
5109 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5110
e9996ef7
JM
51112014-03-08 Joseph Myers <joseph@codesourcery.com>
5112
5113 * math/libm-test.inc (ALL_RM_TEST): New macro.
5114 (ceil_test): Use ALL_RM_TEST.
5115 (cimag_test): Likewise.
5116 (conj_test): Likewise.
5117 (copysign_test): Likewise.
5118 (cproj_test): Likewise.
5119 (creal_test): Likewise.
5120 (fabs_test): Likewise.
5121 (floor_test): Likewise.
5122 (fmax_test): Likewise.
5123 (fmin_test): Likewise.
5124 (fmod_test): Likewise.
5125 (fpclassify_test): Likewise.
5126 (frexp_test): Likewise.
5127 (ilogb_test): Likewise.
5128 (isfinite_test): Likewise.
5129 (finite_test): Likewise.
5130 (isgreater_test): Likewise.
5131 (isgreaterequal_test): Likewise.
5132 (isinf_test): Likewise.
5133 (isless_test): Likewise.
5134 (islessequal_test): Likewise.
5135 (islessgreater_test): Likewise.
5136 (isnan_test): Likewise.
5137 (isnormal_test): Likewise.
5138 (issignaling_test): Likewise.
5139 (isunordered_test): Likewise.
5140 (logb_test): Likewise.
5141 (logb_downward_test_data): Remove.
5142 (logb_test_downward): Likewise.
5143 (lround_test): Use ALL_RM_TEST.
5144 (llround_test): Likewise.
5145 (modf_test): Likewise.
5146 (nexttoward_test): Likewise.
5147 (remainder_test): Likewise.
5148 (drem_test): Likewise.
5149 (remainder_tonearest_test_data): Likewise.
5150 (remainder_test_tonearest): Likewise.
5151 (drem_test_tonearest): Likewise.
5152 (remainder_towardzero_test_data): Likewise.
5153 (remainder_test_towardzero): Likewise.
5154 (drem_test_towardzero): Likewise.
5155 (remainder_downward_test_data): Likewise.
5156 (remainder_test_downward): Likewise.
5157 (drem_test_downward): Likewise.
5158 (remainder_upward_test_data): Likewise.
5159 (remainder_test_upward): Likewise.
5160 (drem_test_upward): Likewise.
5161 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5162 (round_test): Use ALL_RM_TEST.
5163 (signbit_test): Likewise.
5164 (trunc_test): Likewise.
5165 (significand_test): Likewise.
5166 (main): Don't call removed functions.
5167
bc61d27c
JM
51682014-03-07 Joseph Myers <joseph@codesourcery.com>
5169
5c780849
JM
5170 [BZ #16674]
5171 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5172 || __USE_XOPEN2K8].
5173 (ILL_ILLOPN): Likewise.
5174 (ILL_ILLADR): Likewise.
5175 (ILL_ILLTRP): Likewise.
5176 (ILL_PRVOPC): Likewise.
5177 (ILL_PRVREG): Likewise.
5178 (ILL_COPROC): Likewise.
5179 (ILL_BADSTK): Likewise.
5180 (FPE_INTDIV): Likewise.
5181 (FPE_INTOVF): Likewise.
5182 (FPE_FLTDIV): Likewise.
5183 (FPE_FLTOVF): Likewise.
5184 (FPE_FLTUND): Likewise.
5185 (FPE_FLTRES): Likewise.
5186 (FPE_FLTINV): Likewise.
5187 (FPE_FLTSUB): Likewise.
5188 (SEGV_MAPERR): Likewise.
5189 (SEGV_ACCERR): Likewise.
5190 (BUS_ADRALN): Likewise.
5191 (BUS_ADRERR): Likewise.
5192 (BUS_OBJERR): Likewise.
5193 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5194 (TRAP_TRACE): Likewise.
5195 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5196 __USE_XOPEN2K8].
5197 (CLD_KILLED): Likewise.
5198 (CLD_DUMPED): Likewise.
5199 (CLD_TRAPPED): Likewise.
5200 (CLD_STOPPED): Likewise.
5201 (CLD_CONTINUED): Likewise.
5202 (POLL_IN): Likewise.
5203 (POLL_OUT): Likewise.
5204 (POLL_MSG): Likewise.
5205 (POLL_ERR): Likewise.
5206 (POLL_PRI): Likewise.
5207 (POLL_HUP): Likewise.
5208 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5209 Likewise.
5210 (ILL_ILLOPN): Likewise.
5211 (ILL_ILLADR): Likewise.
5212 (ILL_ILLTRP): Likewise.
5213 (ILL_PRVOPC): Likewise.
5214 (ILL_PRVREG): Likewise.
5215 (ILL_COPROC): Likewise.
5216 (ILL_BADSTK): Likewise.
5217 (FPE_INTDIV): Likewise.
5218 (FPE_INTOVF): Likewise.
5219 (FPE_FLTDIV): Likewise.
5220 (FPE_FLTOVF): Likewise.
5221 (FPE_FLTUND): Likewise.
5222 (FPE_FLTRES): Likewise.
5223 (FPE_FLTINV): Likewise.
5224 (FPE_FLTSUB): Likewise.
5225 (SEGV_MAPERR): Likewise.
5226 (SEGV_ACCERR): Likewise.
5227 (BUS_ADRALN): Likewise.
5228 (BUS_ADRERR): Likewise.
5229 (BUS_OBJERR): Likewise.
5230 (BUS_MCEERR_AR): Likewise.
5231 (BUS_MCEERR_AO): Likewise.
5232 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5233 (TRAP_TRACE): Likewise.
5234 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5235 __USE_XOPEN2K8].
5236 (CLD_KILLED): Likewise.
5237 (CLD_DUMPED): Likewise.
5238 (CLD_TRAPPED): Likewise.
5239 (CLD_STOPPED): Likewise.
5240 (CLD_CONTINUED): Likewise.
5241 (POLL_IN): Likewise.
5242 (POLL_OUT): Likewise.
5243 (POLL_MSG): Likewise.
5244 (POLL_ERR): Likewise.
5245 (POLL_PRI): Likewise.
5246 (POLL_HUP): Likewise.
5247 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5248 (ILL_ILLOPN): Likewise.
5249 (ILL_ILLADR): Likewise.
5250 (ILL_ILLTRP): Likewise.
5251 (ILL_PRVOPC): Likewise.
5252 (ILL_PRVREG): Likewise.
5253 (ILL_COPROC): Likewise.
5254 (ILL_BADSTK): Likewise.
5255 (FPE_INTDIV): Likewise.
5256 (FPE_INTOVF): Likewise.
5257 (FPE_FLTDIV): Likewise.
5258 (FPE_FLTOVF): Likewise.
5259 (FPE_FLTUND): Likewise.
5260 (FPE_FLTRES): Likewise.
5261 (FPE_FLTINV): Likewise.
5262 (FPE_FLTSUB): Likewise.
5263 (SEGV_MAPERR): Likewise.
5264 (SEGV_ACCERR): Likewise.
5265 (BUS_ADRALN): Likewise.
5266 (BUS_ADRERR): Likewise.
5267 (BUS_OBJERR): Likewise.
5268 (BUS_MCEERR_AR): Likewise.
5269 (BUS_MCEERR_AO): Likewise.
5270 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5271 (TRAP_TRACE): Likewise.
5272 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5273 __USE_XOPEN2K8].
5274 (CLD_KILLED): Likewise.
5275 (CLD_DUMPED): Likewise.
5276 (CLD_TRAPPED): Likewise.
5277 (CLD_STOPPED): Likewise.
5278 (CLD_CONTINUED): Likewise.
5279 (POLL_IN): Likewise.
5280 (POLL_OUT): Likewise.
5281 (POLL_MSG): Likewise.
5282 (POLL_ERR): Likewise.
5283 (POLL_PRI): Likewise.
5284 (POLL_HUP): Likewise.
5285 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5286 Likewise.
5287 (ILL_ILLOPN): Likewise.
5288 (ILL_ILLADR): Likewise.
5289 (ILL_ILLTRP): Likewise.
5290 (ILL_PRVOPC): Likewise.
5291 (ILL_PRVREG): Likewise.
5292 (ILL_COPROC): Likewise.
5293 (ILL_BADSTK): Likewise.
5294 (ILL_BADIADDR): Likewise.
5295 (ILL_BREAK): Likewise.
5296 (FPE_INTDIV): Likewise.
5297 (FPE_INTOVF): Likewise.
5298 (FPE_FLTDIV): Likewise.
5299 (FPE_FLTOVF): Likewise.
5300 (FPE_FLTUND): Likewise.
5301 (FPE_FLTRES): Likewise.
5302 (FPE_FLTINV): Likewise.
5303 (FPE_FLTSUB): Likewise.
5304 (FPE_DECOVF): Likewise.
5305 (FPE_DECDIV): Likewise.
5306 (FPE_DECERR): Likewise.
5307 (FPE_INVASC): Likewise.
5308 (FPE_INVDEC): Likewise.
5309 (SEGV_MAPERR): Likewise.
5310 (SEGV_ACCERR): Likewise.
5311 (SEGV_PSTKOVF): Likewise.
5312 (BUS_ADRALN): Likewise.
5313 (BUS_ADRERR): Likewise.
5314 (BUS_OBJERR): Likewise.
5315 (BUS_MCEERR_AR): Likewise.
5316 (BUS_MCEERR_AO): Likewise.
5317 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5318 (TRAP_TRACE): Likewise.
5319 (TRAP_BRANCH): Likewise.
5320 (TRAP_HWBKPT): Likewise.
5321 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5322 __USE_XOPEN2K8].
5323 (CLD_KILLED): Likewise.
5324 (CLD_DUMPED): Likewise.
5325 (CLD_TRAPPED): Likewise.
5326 (CLD_STOPPED): Likewise.
5327 (CLD_CONTINUED): Likewise.
5328 (POLL_IN): Likewise.
5329 (POLL_OUT): Likewise.
5330 (POLL_MSG): Likewise.
5331 (POLL_ERR): Likewise.
5332 (POLL_PRI): Likewise.
5333 (POLL_HUP): Likewise.
5334 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5335 (ILL_ILLOPN): Likewise.
5336 (ILL_ILLADR): Likewise.
5337 (ILL_ILLTRP): Likewise.
5338 (ILL_PRVOPC): Likewise.
5339 (ILL_PRVREG): Likewise.
5340 (ILL_COPROC): Likewise.
5341 (ILL_BADSTK): Likewise.
5342 (FPE_INTDIV): Likewise.
5343 (FPE_INTOVF): Likewise.
5344 (FPE_FLTDIV): Likewise.
5345 (FPE_FLTOVF): Likewise.
5346 (FPE_FLTUND): Likewise.
5347 (FPE_FLTRES): Likewise.
5348 (FPE_FLTINV): Likewise.
5349 (FPE_FLTSUB): Likewise.
5350 (SEGV_MAPERR): Likewise.
5351 (SEGV_ACCERR): Likewise.
5352 (BUS_ADRALN): Likewise.
5353 (BUS_ADRERR): Likewise.
5354 (BUS_OBJERR): Likewise.
5355 (BUS_MCEERR_AR): Likewise.
5356 (BUS_MCEERR_AO): Likewise.
5357 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5358 (TRAP_TRACE): Likewise.
5359 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5360 __USE_XOPEN2K8].
5361 (CLD_KILLED): Likewise.
5362 (CLD_DUMPED): Likewise.
5363 (CLD_TRAPPED): Likewise.
5364 (CLD_STOPPED): Likewise.
5365 (CLD_CONTINUED): Likewise.
5366 (POLL_IN): Likewise.
5367 (POLL_OUT): Likewise.
5368 (POLL_MSG): Likewise.
5369 (POLL_ERR): Likewise.
5370 (POLL_PRI): Likewise.
5371 (POLL_HUP): Likewise.
5372 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5373 (ILL_ILLOPN): Likewise.
5374 (ILL_ILLADR): Likewise.
5375 (ILL_ILLTRP): Likewise.
5376 (ILL_PRVOPC): Likewise.
5377 (ILL_PRVREG): Likewise.
5378 (ILL_COPROC): Likewise.
5379 (ILL_BADSTK): Likewise.
5380 (FPE_INTDIV): Likewise.
5381 (FPE_INTOVF): Likewise.
5382 (FPE_FLTDIV): Likewise.
5383 (FPE_FLTOVF): Likewise.
5384 (FPE_FLTUND): Likewise.
5385 (FPE_FLTRES): Likewise.
5386 (FPE_FLTINV): Likewise.
5387 (FPE_FLTSUB): Likewise.
5388 (SEGV_MAPERR): Likewise.
5389 (SEGV_ACCERR): Likewise.
5390 (BUS_ADRALN): Likewise.
5391 (BUS_ADRERR): Likewise.
5392 (BUS_OBJERR): Likewise.
5393 (BUS_MCEERR_AR): Likewise.
5394 (BUS_MCEERR_AO): Likewise.
5395 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5396 (TRAP_TRACE): Likewise.
5397 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5398 __USE_XOPEN2K8].
5399 (CLD_KILLED): Likewise.
5400 (CLD_DUMPED): Likewise.
5401 (CLD_TRAPPED): Likewise.
5402 (CLD_STOPPED): Likewise.
5403 (CLD_CONTINUED): Likewise.
5404 (POLL_IN): Likewise.
5405 (POLL_OUT): Likewise.
5406 (POLL_MSG): Likewise.
5407 (POLL_ERR): Likewise.
5408 (POLL_PRI): Likewise.
5409 (POLL_HUP): Likewise.
5410 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5411 (ILL_ILLOPN): Likewise.
5412 (ILL_ILLADR): Likewise.
5413 (ILL_ILLTRP): Likewise.
5414 (ILL_PRVOPC): Likewise.
5415 (ILL_PRVREG): Likewise.
5416 (ILL_COPROC): Likewise.
5417 (ILL_BADSTK): Likewise.
5418 (FPE_INTDIV): Likewise.
5419 (FPE_INTOVF): Likewise.
5420 (FPE_FLTDIV): Likewise.
5421 (FPE_FLTOVF): Likewise.
5422 (FPE_FLTUND): Likewise.
5423 (FPE_FLTRES): Likewise.
5424 (FPE_FLTINV): Likewise.
5425 (FPE_FLTSUB): Likewise.
5426 (SEGV_MAPERR): Likewise.
5427 (SEGV_ACCERR): Likewise.
5428 (BUS_ADRALN): Likewise.
5429 (BUS_ADRERR): Likewise.
5430 (BUS_OBJERR): Likewise.
5431 (BUS_MCEERR_AR): Likewise.
5432 (BUS_MCEERR_AO): Likewise.
5433 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5434 (TRAP_TRACE): Likewise.
5435 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5436 __USE_XOPEN2K8].
5437 (CLD_KILLED): Likewise.
5438 (CLD_DUMPED): Likewise.
5439 (CLD_TRAPPED): Likewise.
5440 (CLD_STOPPED): Likewise.
5441 (CLD_CONTINUED): Likewise.
5442 (POLL_IN): Likewise.
5443 (POLL_OUT): Likewise.
5444 (POLL_MSG): Likewise.
5445 (POLL_ERR): Likewise.
5446 (POLL_PRI): Likewise.
5447 (POLL_HUP): Likewise.
5448 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5449 (ILL_ILLOPN): Likewise.
5450 (ILL_ILLADR): Likewise.
5451 (ILL_ILLTRP): Likewise.
5452 (ILL_PRVOPC): Likewise.
5453 (ILL_PRVREG): Likewise.
5454 (ILL_COPROC): Likewise.
5455 (ILL_BADSTK): Likewise.
5456 (ILL_DBLFLT): Likewise.
5457 (ILL_HARDWALL): Likewise.
5458 (FPE_INTDIV): Likewise.
5459 (FPE_INTOVF): Likewise.
5460 (FPE_FLTDIV): Likewise.
5461 (FPE_FLTOVF): Likewise.
5462 (FPE_FLTUND): Likewise.
5463 (FPE_FLTRES): Likewise.
5464 (FPE_FLTINV): Likewise.
5465 (FPE_FLTSUB): Likewise.
5466 (SEGV_MAPERR): Likewise.
5467 (SEGV_ACCERR): Likewise.
5468 (BUS_ADRALN): Likewise.
5469 (BUS_ADRERR): Likewise.
5470 (BUS_OBJERR): Likewise.
5471 (BUS_MCEERR_AR): Likewise.
5472 (BUS_MCEERR_AO): Likewise.
5473 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5474 (TRAP_TRACE): Likewise.
5475 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5476 __USE_XOPEN2K8].
5477 (CLD_KILLED): Likewise.
5478 (CLD_DUMPED): Likewise.
5479 (CLD_TRAPPED): Likewise.
5480 (CLD_STOPPED): Likewise.
5481 (CLD_CONTINUED): Likewise.
5482 (POLL_IN): Likewise.
5483 (POLL_OUT): Likewise.
5484 (POLL_MSG): Likewise.
5485 (POLL_ERR): Likewise.
5486 (POLL_PRI): Likewise.
5487 (POLL_HUP): Likewise.
5488 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5489 (ILL_ILLOPN): Likewise.
5490 (ILL_ILLADR): Likewise.
5491 (ILL_ILLTRP): Likewise.
5492 (ILL_PRVOPC): Likewise.
5493 (ILL_PRVREG): Likewise.
5494 (ILL_COPROC): Likewise.
5495 (ILL_BADSTK): Likewise.
5496 (FPE_INTDIV): Likewise.
5497 (FPE_INTOVF): Likewise.
5498 (FPE_FLTDIV): Likewise.
5499 (FPE_FLTOVF): Likewise.
5500 (FPE_FLTUND): Likewise.
5501 (FPE_FLTRES): Likewise.
5502 (FPE_FLTINV): Likewise.
5503 (FPE_FLTSUB): Likewise.
5504 (SEGV_MAPERR): Likewise.
5505 (SEGV_ACCERR): Likewise.
5506 (BUS_ADRALN): Likewise.
5507 (BUS_ADRERR): Likewise.
5508 (BUS_OBJERR): Likewise.
5509 (BUS_MCEERR_AR): Likewise.
5510 (BUS_MCEERR_AO): Likewise.
5511 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5512 (TRAP_TRACE): Likewise.
5513 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5514 __USE_XOPEN2K8].
5515 (CLD_KILLED): Likewise.
5516 (CLD_DUMPED): Likewise.
5517 (CLD_TRAPPED): Likewise.
5518 (CLD_STOPPED): Likewise.
5519 (CLD_CONTINUED): Likewise.
5520 (POLL_IN): Likewise.
5521 (POLL_OUT): Likewise.
5522 (POLL_MSG): Likewise.
5523 (POLL_ERR): Likewise.
5524 (POLL_PRI): Likewise.
5525 (POLL_HUP): Likewise.
5526 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5527 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5528
bc61d27c
JM
5529 [BZ #16670]
5530 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5531 before #include of <time.h>.
5532 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5533 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5534 (test-xfail-UNIX98/sched.h/conform): Likewise.
5535
302949e2
MS
55362014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5537
5538 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5539 error absence of trapping exception support.
5540 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5541
a00f522a
JM
55422014-03-07 Joseph Myers <joseph@codesourcery.com>
5543
6f99f280
JM
5544 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5545 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5546 * timezone/Makefile (testdata): Move definition above include of
5547 Rules.
5548 (test-zones): New variable.
5549 (tests-special): Add zone files.
5550 (build-testdata): Use $(evaluate-test).
5551
0b20a9e8
JM
5552 * elf/Makefile (tests-special): Rename tests to end with .out.
5553 ($(objpfx)noload-mem): Likewise.
5554 ($(objpfx)tst-leaks1-mem): Likewise.
5555 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5556 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5557 $(objpfx)test-iconvconfig.out.
5558 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5559 set -e inside subshell and redirect output to file.
5560 * iconvdata/Makefile (generated): Rename tests to end with .out.
5561 Correct type.
5562 (tests-special): Rename tests to end with .out.
5563 ($(objpfx)mtrace-tst-loading): Likewise.
5564 * intl/Makefile (generated): Likewise.
5565 (tests-special): Likewise.
5566 ($(objpfx)mtrace-tst-gettext): Likewise.
5567 * misc/Makefile (generated): Likewise.
5568 (tests-special): Likewise.
5569 ($(objpfx)tst-error1-mem): Likewise.
5570 * nptl/Makefile (tests-special): Likewise.
5571 ($(objpfx)tst-stack3-mem): Likewise.
5572 (generated): Likewise.
5573 * posix/Makefile (generated): Likewise.
5574 (tests-special): Likewise.
5575 (xtests-special): Likewise.
5576 ($(objpfx)tst-fnmatch-mem): Likewise.
5577 ($(objpfx)bug-regex2-mem): Likewise.
5578 ($(objpfx)bug-regex14-mem): Likewise.
5579 ($(objpfx)bug-regex21-mem): Likewise.
5580 ($(objpfx)bug-regex31-mem): Likewise.
5581 ($(objpfx)tst-vfork3-mem): Likewise.
5582 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5583 ($(objpfx)tst-pcre-mem): Likewise.
5584 ($(objpfx)tst-boost-mem): Likewise.
5585 ($(objpfx)bug-ga2-mem): Likewise.
5586 ($(objpfx)bug-glob2-mem): Likewise.
5587 * resolv/Makefile (generate): Likewise.
5588 (tests-special): Likewise.
5589 (xtests-special): Likewise.
5590 (generated): Likewise.
5591 ($(objpfx)mtrace-tst-leaks): Likewise.
5592 ($(objpfx)mtrace-tst-leaks2): Likewise.
5593
265d52ab
JM
5594 * scripts/merge-test-results.sh: New file.
5595 * Makefile (tests-special-notdir): New variable.
5596 (tests): Run merge-test-results.sh.
5597 (xtests): Likewise.
5598 * Rules (tests-special-notdir): New variable.
5599 (xtests-special-notdir): Likewise.
5600 (tests): Run merge-test-results.sh
5601 (xtests): Likewise.
5602
54ee292d
JM
5603 * Makeconfig (test-xfail-name): New variable.
5604 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5605 compute variable name for expected failures.
5606 * conform/Makefile (conformtest-headers-data): New variable.
5607 (conformtest-standards): Likewise.
5608 (conformtest-headers-ISO): Likewise.
5609 (conformtest-headers-ISO99): Likewise.
5610 (conformtest-headers-ISO11): Likewise.
5611 (conformtest-headers-POSIX): Likewise.
5612 (conformtest-headers-XPG3): Likewise.
5613 (conformtest-headers-XPG4): Likewise.
5614 (conformtest-headers-UNIX98): Likewise.
5615 (conformtest-headers-XOPEN2K): Likewise.
5616 (conformtest-headers-POSIX2008): Likewise.
5617 (conformtest-headers-XOPEN2K8): Likewise.
5618 (conformtest-header-list-base): Likewise.
5619 (conformtest-header-list-tests): Likewise.
5620 (conformtest-header-base): Likewise.
5621 (conformtest-header-tests): Likewise.
5622 (tests-special): Add $(conformtest-header-list-tests). If
5623 [$(fast-check) && !$(cross-compiling)], add
5624 $(conformtest-header-tests) instead of
5625 $(objpfx)run-conformtest.out.
5626 (generated): Add $(conformtest-header-list-base). If
5627 [$(fast-check) && !$(cross-compiling)], add
5628 $(conformtest-header-base). Remove previous setting.
5629 ($(conformtest-header-list-tests)): New target.
5630 (test-xfail-run-conformtest): Remove variable.
5631 ($(objpfx)run-conformtest.out): Remove target.
5632 (test-xfail-ISO11/complex.h/conform): New variable.
5633 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5634 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5635 (test-xfail-XPG3/varargs.h/conform): Likewise.
5636 (test-xfail-XPG4/varargs.h/conform): Likewise.
5637 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5638 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5639 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5640 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5641 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5642 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5643 (test-xfail-XPG3/ftw.h/conform): Likewise.
5644 (test-xfail-XPG3/grp.h/conform): Likewise.
5645 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5646 (test-xfail-XPG3/limits.h/conform): Likewise.
5647 (test-xfail-XPG3/pwd.h/conform): Likewise.
5648 (test-xfail-XPG3/search.h/conform): Likewise.
5649 (test-xfail-XPG3/signal.h/conform): Likewise.
5650 (test-xfail-XPG3/stdio.h/conform): Likewise.
5651 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5652 (test-xfail-XPG3/string.h/conform): Likewise.
5653 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5654 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5655 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5656 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5657 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5658 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5659 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5660 (test-xfail-XPG3/termios.h/conform): Likewise.
5661 (test-xfail-XPG3/time.h/conform): Likewise.
5662 (test-xfail-XPG3/unistd.h/conform): Likewise.
5663 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5664 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5665 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5666 (test-xfail-XPG4/netdb.h/conform): Likewise.
5667 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5668 (test-xfail-XPG4/signal.h/conform): Likewise.
5669 (test-xfail-XPG4/stdio.h/conform): Likewise.
5670 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5671 (test-xfail-XPG4/stropts.h/conform): Likewise.
5672 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5673 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5674 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5675 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5676 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5677 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5678 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5679 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5680 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5681 (test-xfail-XPG4/termios.h/conform): Likewise.
5682 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5683 (test-xfail-XPG4/unistd.h/conform): Likewise.
5684 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5685 (test-xfail-POSIX/sched.h/conform): Likewise.
5686 (test-xfail-POSIX/signal.h/conform): Likewise.
5687 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5688 (test-xfail-POSIX/tar.h/conform): Likewise.
5689 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5690 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5691 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5692 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5693 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5694 (test-xfail-UNIX98/sched.h/conform): Likewise.
5695 (test-xfail-UNIX98/signal.h/conform): Likewise.
5696 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5697 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5698 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5699 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5700 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5701 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5702 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5703 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5704 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5705 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5706 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5707 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5708 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5709 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5710 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5711 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5712 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5713 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5714 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5715 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5716 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5717 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5718 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5719 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5720 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5721 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5722 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5723 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5724 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5725 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5726 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5727 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5728 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5729 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5730 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5731 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5732 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5733 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5734 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5735 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5736 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5737 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5738 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5739 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5740 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5741 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5742 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5743 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5744 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5745 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5746 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5747 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5748 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5749 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5750 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5751 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5752 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5753 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5754 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5755 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5756 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5757 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5758 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5759 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5760 (conformtest-cc-flags): Likewise.
5761 ($(conformtest-header-tests): New target.
5762 * conform/check-header-lists.sh: New file.
5763 * conform/run-conformtest.sh: Remove.
5764
a00f522a
JM
5765 * conform/conformtest.pl: Allow ' and \ in values given for
5766 constants.
5767 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5768 inclusion.
5769 [POSIX] (sys/types.h): Likewise.
5770 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5771 inclusion.
5772 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5773 inclusion.
5774 * conform/data/signal.h-data (SIGIO): Remove expectation.
5775 [XPG3] (SIGBUS): Do not expect.
5776 [POSIX || XPG3] (SIGPOLL): Likewise.
5777 [POSIX || XPG3] (SIGPROF): Likewise.
5778 [POSIX || XPG3] (SIGSYS): Likewise.
5779 [XPG3] (SIGTRAP): Likewise.
5780 [POSIX || XPG3] (SIGURG): Likewise.
5781 [POSIX || XPG3] (SIGVTALRM): Likewise.
5782 [POSIX || XPG3] (SIGXCPU): Likewise.
5783 [POSIX || XPG3] (SIGXFSZ): Likewise.
5784 [POSIX] (SA_SIGINFO): Expect.
5785 [XPG3] (siginfo_t): Do not expect type or contents.
5786 [POSIX] (si_pid): Do not expect element.
5787 [POSIX] (si_uid): Likewise.
5788 [POSIX] (si_addr): Likewise.
5789 [POSIX] (si_status): Likewise.
5790 [POSIX] (si_band): Likewise.
5791 [XPG4] (si_value): Likewise.
5792 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5793 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5794 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5795 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5796 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5797 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5798 [POSIX || XPG3] (ILL_COPROC): Likewise.
5799 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5800 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5801 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5802 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5803 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5804 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5805 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5806 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5807 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5808 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5809 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5810 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5811 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5812 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5813 [POSIX || XPG3] (CLD_EXITED): Likewise.
5814 [POSIX || XPG3] (CLD_KILLED): Likewise.
5815 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5816 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5817 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5818 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5819 [POSIX || XPG3] (POLL_IN): Likewise.
5820 [POSIX || XPG3] (POLL_OUT): Likewise.
5821 [POSIX || XPG3] (POLL_MSG): Likewise.
5822 [POSIX || XPG3] (POLL_ERR): Likewise.
5823 [POSIX || XPG3] (POLL_PRI): Likewise.
5824 [POSIX || XPG3] (POLL_HUP): Likewise.
5825 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5826 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5827 (SIG*): Do not allow.
5828 [XPG3] (si_*): Likewise.
5829 [XPG3] (SI_*): Likewise.
5830 [XPG3 || XPG4] (sigev_*): Likewise.
5831 [XPG3 || XPG4] (SIGEV_*): Likewise.
5832 [XPG3 || XPG4] (sival_*): Likewise.
5833 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5834 [POSIX || XPG3] (BUS_*): Likewise.
5835 [POSIX || XPG3] (CLD_*): Likewise.
5836 [POSIX || XPG3] (FPE_*): Likewise.
5837 [POSIX || XPG3] (ILL_*): Likewise.
5838 [POSIX || XPG3] (POLL_*): Likewise.
5839 [POSIX || XPG3] (SEGV_*): Likewise.
5840 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5841 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5842 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5843 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5844 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5845 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5846 Specify type and value.
5847 (TVERSLEN): Likewise.
5848 (REGTYPE): Likewise.
5849 (AREGTYPE): Likewise.
5850 (LNKTYPE): Likewise.
5851 (SYMTYPE): Likewise.
5852 (CHRTYPE): Likewise.
5853 (BLKTYPE): Likewise.
5854 (DIRTYPE): Likewise.
5855 (FIFOTYPE): Likewise.
5856 (CONTTYPE): Likewise.
5857 (TSUID): Likewise.
5858 (TSGID): Likewise.
5859 (TSVTX): Likewise.
5860 (TUREAD): Likewise.
5861 (TUWRITE): Likewise.
5862 (TUEXEC): Likewise.
5863 (TGREAD): Likewise.
5864 (TGWRITE): Likewise.
5865 (TGEXEC): Likewise.
5866 (TOREAD): Likewise.
5867 (TOWRITE): Likewise.
5868 (TOEXEC): Likewise.
5869 [POSIX] (TSVTX): Expect constant.
5870
aa97dee1
JM
58712014-03-06 Joseph Myers <joseph@codesourcery.com>
5872
f214606a
JM
5873 * Makefile (tests): Change dependencies to ....
5874 (tests-special): ... additions to this variable.
5875 (tests): Depend on $(tests-special).
5876 * Makerules (check-abi-list): New variable.
5877 (check-abi): Depend on $(check-abi-list).
5878 [$(subdir) = elf] (tests-special): Add
5879 $(objpfx)check-abi-libc.out.
5880 [$(build-shared) = yes && subdir] (tests-special): Add
5881 $(check-abi-list).
5882 [$(build-shared) = yes && subdir] (tests): Do not depend on
5883 check-abi.
5884 * Rules (tests): Depend on $(tests-special).
5885 (xtests): Depend on $(xtests-special).
5886 * catgets/Makefile (tests): Change dependencies to ....
5887 (tests-special): ... additions to this variable.
5888 * conform/Makefile (tests): Change dependencies to ....
5889 (tests-special): ... additions to this variable.
5890 * elf/Makefile (tests): Change dependencies to ....
5891 (tests-special): ... additions to this variable.
5892 * grp/Makefile (tests): Change dependencies to ....
5893 (tests-special): ... additions to this variable.
5894 * iconv/Makefile (xtests): Change dependencies to ....
5895 (xtests-special): ... additions to this variable.
5896 * iconvdata/Makefile (tests): Change dependencies to ....
5897 (tests-special): ... additions to this variable.
5898 * intl/Makefile (tests): Change dependencies to ....
5899 (tests-special): ... additions to this variable. Also add
5900 $(objpfx)tst-gettext.out.
5901 * io/Makefile (tests): Change dependencies to ....
5902 (tests-special): ... additions to this variable.
5903 * libio/Makefile (tests): Change dependencies to ....
5904 (tests-special): ... additions to this variable.
5905 * malloc/Makefile (tests): Change dependencies to ....
5906 (tests-special): ... additions to this variable.
5907 * misc/Makefile (tests): Change dependencies to ....
5908 (tests-special): ... additions to this variable.
5909 * nptl/Makefile (tests): Change dependencies to ....
5910 (tests-special): ... additions to this variable.
5911 * nptl_db/Makefile (tests): Change dependencies to ....
5912 (tests-special): ... additions to this variable.
5913 * posix/Makefile (tests): Change dependencies to ....
5914 (tests-special): ... additions to this variable.
5915 (xtests): Change dependencies to ....
5916 (xtests-special): ... additions to this variable.
5917 * resolv/Makefile (tests): Change dependencies to ....
5918 (tests-special): ... additions to this variable.
5919 (xtests): Change dependencies to ....
5920 (xtests-special): ... additions to this variable.
5921 * stdio-common/Makefile (tests): Change dependencies to ....
5922 (tests-special): ... additions to this variable.
5923 (do-tst-unbputc): Remove target.
5924 (do-tst-printf): Likewise.
5925 * stdlib/Makefile (tests): Change dependencies to ....
5926 (tests-special): ... additions to this variable.
5927 * string/Makefile (tests): Change dependencies to ....
5928 (tests-special): ... additions to this variable.
5929 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5930 (tests-special): ... additions to this variable.
5931
81700b53
JM
5932 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5933 whole file.
5934 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5935 whole file.
5936 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5937 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5938
2ea18461
JM
5939 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5940 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5941 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5942 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5943 * conform/data/libgen.h-data [XPG3]: Likewise.
5944 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5945 * conform/data/ndbm.h-data [XPG3]: Likewise.
5946 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5947 * conform/data/netdb.h-data [XPG3]: Likewise.
5948 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5949 * conform/data/poll.h-data [XPG3]: Likewise.
5950 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5951 * conform/data/strings.h-data [XPG3]: Likewise.
5952 * conform/data/stropts.h-data [XPG3]: Likewise.
5953 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5954 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5955 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5956 Likewise.
5957 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5958 * conform/data/sys/time.h-data [XPG3]: Likewise.
5959 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5960 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5961 * conform/data/sys/un.h-data [XPG3]: Likewise.
5962 * conform/data/syslog.h-data [XPG3]: Likewise.
5963 * conform/data/ucontext.h-data [XPG3]: Likewise.
5964 * conform/data/utmpx.h-data [XPG3]: Likewise.
5965 * conform/data/varargs.h-data [UNIX98]: Enable file.
5966
355bc986
JM
5967 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5968
215db402
JM
5969 * math/libm-test.inc (struct test_f_f_data): Move expected results
5970 into structure for each rounding mode.
5971 (struct test_ff_f_data): Likewise.
5972 (struct test_ff_f_data_nexttoward): Likewise.
5973 (struct test_fi_f_data): Likewise.
5974 (struct test_fl_f_data): Likewise.
5975 (struct test_if_f_data): Likewise.
5976 (struct test_fff_f_data): Likewise.
5977 (struct test_c_f_data): Likewise.
5978 (struct test_f_f1_data): Likewise.
5979 (struct test_fF_f1_data): Likewise.
5980 (struct test_ffI_f1_data): Likewise.
5981 (struct test_c_c_data): Likewise.
5982 (struct test_cc_c_data): Likewise.
5983 (struct test_f_i_data): Likewise.
5984 (struct test_ff_i_data): Likewise.
5985 (struct test_f_l_data): Likewise.
5986 (struct test_f_L_data): Likewise.
5987 (struct test_fFF_11_data): Likewise.
5988 (RM_): New macro.
5989 (RM_FE_DOWNWARD): Likewise.
5990 (RM_FE_TONEAREST): Likewise.
5991 (RM_FE_TOWARDZERO): Likewise.
5992 (RM_FE_UPWARD): Likewise.
5993 (RUN_TEST_LOOP_f_f): Update references to expected results.
5994 (RUN_TEST_LOOP_2_f): Likewise.
5995 (RUN_TEST_LOOP_fff_f): Likewise.
5996 (RUN_TEST_LOOP_c_f): Likewise.
5997 (RUN_TEST_LOOP_f_f1): Likewise.
5998 (RUN_TEST_LOOP_fF_f1): Likewise.
5999 (RUN_TEST_LOOP_fI_f1): Likewise.
6000 (RUN_TEST_LOOP_ffI_f1): Likewise.
6001 (RUN_TEST_LOOP_c_c): Likewise.
6002 (RUN_TEST_LOOP_cc_c): Likewise.
6003 (RUN_TEST_LOOP_f_i): Likewise.
6004 (RUN_TEST_LOOP_f_i_tg): Likewise.
6005 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6006 (RUN_TEST_LOOP_f_b): Likewise.
6007 (RUN_TEST_LOOP_f_b_tg): Likewise.
6008 (RUN_TEST_LOOP_f_l): Likewise.
6009 (RUN_TEST_LOOP_f_L): Likewise.
6010 (RUN_TEST_LOOP_fFF_11): Likewise.
6011 * math/gen-libm-test.pl (parse_args): Output four copies of
6012 expected results for each test.
6013
67737b8f
JM
6014 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6015 (__ASSUME_UTIMES): Remove.
6016 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6017 (__ASSUME_UTIMES): Likewise.
6018
aa97dee1
JM
6019 * math/gen-auto-libm-tests.c: Update comment on output format.
6020 (output_for_one_input_case): Generate before-rounding and
6021 after-rounding information as conditions on output flags not
6022 floating-point format.
6023 * math/auto-libm-test-out: Regenerated.
6024 * math/gen-libm-test.pl (cond_value): New function.
6025 (or_cond_value): Use cond_value.
6026 (generate_testfile): Handle conditional exceptions.
6027
e6b6a857
JM
60282014-03-05 Joseph Myers <joseph@codesourcery.com>
6029
2f0a0f44
JM
6030 * math/libm-test.inc (max_valid_error): New variable.
6031 (init_max_error): Take new argument specifying whether function
6032 results are exactly determined. Set max_valid_error and bound
6033 other variables for errors based on this argument.
6034 (set_max_error): Do not record results above max_valid_error.
6035 (check_float_internal): Only accept errors of up to 0.5ulps if
6036 also at most max_valid_error.
6037 (START): Take new argument EXACT and pass it to init_max_error.
6038 (acos_test): Update call to START.
6039 (acos_test_tonearest): Likewise.
6040 (acos_test_towardzero): Likewise.
6041 (acos_test_downward): Likewise.
6042 (acos_test_upward): Likewise.
6043 (acosh_test): Likewise.
6044 (asin_test): Likewise.
6045 (asin_test_tonearest): Likewise.
6046 (asin_test_towardzero): Likewise.
6047 (asin_test_downward): Likewise.
6048 (asin_test_upward): Likewise.
6049 (asinh_test): Likewise.
6050 (atan_test): Likewise.
6051 (atanh_test): Likewise.
6052 (atan2_test): Likewise.
6053 (cabs_test): Likewise.
6054 (cacos_test): Likewise.
6055 (cacosh_test): Likewise.
6056 (carg_test): Likewise.
6057 (casin_test): Likewise.
6058 (casinh_test): Likewise.
6059 (catan_test): Likewise.
6060 (catanh_test): Likewise.
6061 (cbrt_test): Likewise.
6062 (ccos_test): Likewise.
6063 (ccosh_test): Likewise.
6064 (ceil_test): Likewise.
6065 (cexp_test): Likewise.
6066 (cimag_test): Likewise.
6067 (clog_test): Likewise.
6068 (clog10_test): Likewise.
6069 (conj_test): Likewise.
6070 (copysign_test): Likewise.
6071 (cos_test): Likewise.
6072 (cos_test_tonearest): Likewise.
6073 (cos_test_towardzero): Likewise.
6074 (cos_test_downward): Likewise.
6075 (cos_test_upward): Likewise.
6076 (cosh_test): Likewise.
6077 (cosh_test_tonearest): Likewise.
6078 (cosh_test_towardzero): Likewise.
6079 (cosh_test_downward): Likewise.
6080 (cosh_test_upward): Likewise.
6081 (cpow_test): Likewise.
6082 (cproj_test): Likewise.
6083 (creal_test): Likewise.
6084 (csin_test): Likewise.
6085 (csinh_test): Likewise.
6086 (csqrt_test): Likewise.
6087 (ctan_test): Likewise.
6088 (ctan_test_tonearest): Likewise.
6089 (ctan_test_towardzero): Likewise.
6090 (ctan_test_downward): Likewise.
6091 (ctan_test_upward): Likewise.
6092 (ctanh_test): Likewise.
6093 (ctanh_test_tonearest): Likewise.
6094 (ctanh_test_towardzero): Likewise.
6095 (ctanh_test_downward): Likewise.
6096 (ctanh_test_upward): Likewise.
6097 (erf_test): Likewise.
6098 (erfc_test): Likewise.
6099 (exp_test): Likewise.
6100 (exp_test_tonearest): Likewise.
6101 (exp_test_towardzero): Likewise.
6102 (exp_test_downward): Likewise.
6103 (exp_test_upward): Likewise.
6104 (exp10_test): Likewise.
6105 (exp10_test_tonearest): Likewise.
6106 (exp10_test_towardzero): Likewise.
6107 (exp10_test_downward): Likewise.
6108 (exp10_test_upward): Likewise.
6109 (pow10_test): Likewise.
6110 (exp2_test): Likewise.
6111 (expm1_test): Likewise.
6112 (expm1_test_tonearest): Likewise.
6113 (expm1_test_towardzero): Likewise.
6114 (expm1_test_downward): Likewise.
6115 (expm1_test_upward): Likewise.
6116 (fabs_test): Likewise.
6117 (fdim_test): Likewise.
6118 (floor_test): Likewise.
6119 (fma_test): Likewise.
6120 (fma_test_towardzero): Likewise.
6121 (fma_test_downward): Likewise.
6122 (fma_test_upward): Likewise.
6123 (fmax_test): Likewise.
6124 (fmin_test): Likewise.
6125 (fmod_test): Likewise.
6126 (fpclassify_test): Likewise.
6127 (frexp_test): Likewise.
6128 (hypot_test): Likewise.
6129 (ilogb_test): Likewise.
6130 (isfinite_test): Likewise.
6131 (finite_test): Likewise.
6132 (isgreater_test): Likewise.
6133 (isgreaterequal_test): Likewise.
6134 (isinf_test): Likewise.
6135 (isless_test): Likewise.
6136 (islessequal_test): Likewise.
6137 (islessgreater_test): Likewise.
6138 (isnan_test): Likewise.
6139 (isnormal_test): Likewise.
6140 (issignaling_test): Likewise.
6141 (isunordered_test): Likewise.
6142 (j0_test): Likewise.
6143 (j1_test): Likewise.
6144 (jn_test): Likewise.
6145 (ldexp_test): Likewise.
6146 (lgamma_test): Likewise.
6147 (gamma_test): Likewise.
6148 (lrint_test): Likewise.
6149 (lrint_test_tonearest): Likewise.
6150 (lrint_test_towardzero): Likewise.
6151 (lrint_test_downward): Likewise.
6152 (lrint_test_upward): Likewise.
6153 (llrint_test): Likewise.
6154 (llrint_test_tonearest): Likewise.
6155 (llrint_test_towardzero): Likewise.
6156 (llrint_test_downward): Likewise.
6157 (llrint_test_upward): Likewise.
6158 (log_test): Likewise.
6159 (log10_test): Likewise.
6160 (log1p_test): Likewise.
6161 (log2_test): Likewise.
6162 (logb_test): Likewise.
6163 (logb_test_downward): Likewise.
6164 (lround_test): Likewise.
6165 (llround_test): Likewise.
6166 (modf_test): Likewise.
6167 (nearbyint_test): Likewise.
6168 (nextafter_test): Likewise.
6169 (nexttoward_test): Likewise.
6170 (pow_test): Likewise.
6171 (pow_test_tonearest): Likewise.
6172 (pow_test_towardzero): Likewise.
6173 (pow_test_downward): Likewise.
6174 (pow_test_upward): Likewise.
6175 (remainder_test): Likewise.
6176 (drem_test): Likewise.
6177 (remainder_test_tonearest): Likewise.
6178 (drem_test_tonearest): Likewise.
6179 (remainder_test_towardzero): Likewise.
6180 (drem_test_towardzero): Likewise.
6181 (remainder_test_downward): Likewise.
6182 (drem_test_downward): Likewise.
6183 (remainder_test_upward): Likewise.
6184 (drem_test_upward): Likewise.
6185 (remquo_test): Likewise.
6186 (rint_test): Likewise.
6187 (rint_test_tonearest): Likewise.
6188 (rint_test_towardzero): Likewise.
6189 (rint_test_downward): Likewise.
6190 (rint_test_upward): Likewise.
6191 (round_test): Likewise.
6192 (scalb_test): Likewise.
6193 (scalbn_test): Likewise.
6194 (scalbln_test): Likewise.
6195 (signbit_test): Likewise.
6196 (sin_test): Likewise.
6197 (sin_test_tonearest): Likewise.
6198 (sin_test_towardzero): Likewise.
6199 (sin_test_downward): Likewise.
6200 (sin_test_upward): Likewise.
6201 (sincos_test): Likewise.
6202 (sinh_test): Likewise.
6203 (sinh_test_tonearest): Likewise.
6204 (sinh_test_towardzero): Likewise.
6205 (sinh_test_downward): Likewise.
6206 (sinh_test_upward): Likewise.
6207 (sqrt_test): Likewise.
6208 (sqrt_test_tonearest): Likewise.
6209 (sqrt_test_towardzero): Likewise.
6210 (sqrt_test_downward): Likewise.
6211 (sqrt_test_upward): Likewise.
6212 (tan_test): Likewise.
6213 (tan_test_tonearest): Likewise.
6214 (tan_test_towardzero): Likewise.
6215 (tan_test_downward): Likewise.
6216 (tan_test_upward): Likewise.
6217 (tanh_test): Likewise.
6218 (tgamma_test): Likewise.
6219 (trunc_test): Likewise.
6220 (y0_test): Likewise.
6221 (y1_test): Likewise.
6222 (yn_test): Likewise.
6223 (significand_test): Likewise.
6224
e6b6a857
JM
6225 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6226 individual tests in comment.
6227 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6228 (prev_max_error): New variable.
6229 (prev_real_max_error): Likewise.
6230 (prev_imag_max_error): Likewise.
6231 (compare_ulp_data): Don't refer to test names in comment.
6232 (find_test_ulps): Remove function.
6233 (find_function_ulps): Likewise.
6234 (find_complex_function_ulps): Likewise.
6235 (init_max_error): Take function name as argument. Look up ulps
6236 for that function.
6237 (print_ulps): Remove function.
6238 (print_max_error): Use prev_max_error instead of calling
6239 find_function_ulps.
6240 (print_complex_max_error): Use prev_real_max_error and
6241 prev_imag_max_error instead of calling find_complex_function_ulps.
6242 (check_float_internal): Take max_ulp parameter instead of calling
6243 find_test_ulps. Don't call print_ulps.
6244 (check_float): Update call to check_float_internal.
6245 (check_complex): Update calls to check_float_internal.
6246 (START): Pass argument to init_max_error.
6247 * math/gen-libm-test.pl (%results): Don't include "kind"
6248 information.
6249 (parse_ulps): Don't handle ulps of individual tests.
6250 (print_ulps_file): Likewise.
6251 (output_ulps): Likewise.
6252 * math/README.libm-test: Update.
6253 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6254 individual tests.
6255 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6256 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6257 * sysdeps/arm/libm-test-ulps: Likewise.
6258 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6259 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6260 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6261 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6262 * sysdeps/microblaze/libm-test-ulps: Likewise.
6263 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6264 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6265 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6266 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6267 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6268 * sysdeps/sh/libm-test-ulps: Likewise.
6269 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6270 * sysdeps/tile/libm-test-ulps: Likewise.
6271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6272
45adef3c
JM
62732014-03-04 Joseph Myers <joseph@codesourcery.com>
6274
6275 * math/libm-test.inc (print_complex_max_error): Check separately
6276 whether real and imaginary errors are within allowed range and
6277 pass 0 to print_complex_function_ulps instead of value within
6278 allowed range.
6279
000232b9
SP
62802014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6281
d4b17258
SP
6282 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6283 formatting.
6284 (get_handles_fopen): Likewise.
6285 (do_write_test): Likewise.
6286
091eff71
SP
6287 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6288
fa3cd248
SP
6289 * libio/fileops.c (do_ftell): Use cached offset when
6290 available.
6291 * libio/iofwide.c (do_ftell_wide): Likewise.
6292 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6293 _IO_file_attach.
6294 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6295
000232b9
SP
6296 [BZ #16532]
6297 * libio/libioP.h (get_file_offset): New function.
6298 * libio/fileops.c (get_file_offset): Likewise.
6299 (do_ftell): Likewise.
6300 (_IO_new_file_seekoff): Split out ftell logic.
6301 * libio/wfileops.c (do_ftell_wide): Likewise.
6302 (_IO_wfile_seekoff): Split out ftell logic.
6303 * libio/tst-ftell-active-handler.c: New test case.
6304 * libio/Makefile (tests): Add it.
6305
116f4d1a
RM
63062014-03-03 Roland McGrath <roland@hack.frob.com>
6307
6308 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6309 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6310
532a6035
SP
63112014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6312
6313 [BZ #16639]
6314 * nscd/connections.c (nscd_init): Call do_exit.
6315 (start_threads): Call do_exit and notify_parent.
6316 (begin_drop_privileges): Call do_exit.
6317 (finish_drop_privileges): Likewise.
6318 * nscd/selinux.c (preserve_capabilities): Likewise.
6319 (install_real_capabilities): Likewise.
6320 (nscd_selinux_enabled): Likewise.
6321 (avc_create_thread): Likewise.
6322 (avc_alloc_lock): Likewise.
6323 (nscd_avc_init): Likewise.
6324 * nscd/nscd.c (parent_fd): New static variable.
6325 (main): Create a pipe between parent and child processes.
6326 Skip closing parent_fd.
6327 (monitor_child): New function.
6328 (do_exit): Likewise.
6329 (notify_parent): Likewise.
6330 * nscd/nscd.h (notify_parent): Likewise.
6331 (do_exit): Likewise.
6332
d6285c9f
CD
63332014-03-03 Carlos O'Donell <carlos@redhat.com>
6334
6335 * malloc/malloc.c (__libc_calloc): Revert last change.
6336
2b85d2a0
AZ
63372014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6338
6339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6340
c7debbdf
RS
63412014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6342
6343 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6345 implementation.
6346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6347 (__libc_ifunc_impl_list): Likewise.
6348 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6349 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6350 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6351 * string/strrchr.c: Define STRRCHR.
6352
235eed86
OB
63532014-02-28 Ondřej Bílka <neleai@seznam.cz>
6354
6355 * benchtest/bench-strtok.c (simple_strtok): Delete.
6356 (strtok_string): Use as benchmark.
6357 * string/strtok (STRTOK): New macro.
6358
8e25d1e7
CD
63592014-02-28 Carlos O'Donell <carlos@redhat.com>
6360
ef563f92
CD
6361 * manual/threads.texi: Add header and standard comments to all
6362 functions.
6363
8e25d1e7
CD
6364 * elf/dl-lookup.c (check_match): New function.
6365 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6366 (do_lookup_x): Remove nested function check_match. Use non-nested
6367 function check_match.
6368
ff71cc37
RM
63692014-02-28 Roland McGrath <roland@hack.frob.com>
6370
f08e9a26
RM
6371 * csu/Makefile (generated, before-compile): Use += rather than =.
6372 * catgets/Makefile (generated, generated-dirs): Likewise.
6373 * debug/Makefile (generated): Likewise.
6374 * dlfcn/Makefile (generated): Likewise.
6375 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6376 * iconvdata/Makefile (before-compile, generated): Likewise.
6377 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6378 * libio/Makefile (generated): Likewise.
6379 * malloc/Makefile (generated): Likewise.
6380 * manual/Makefile (generated, generated-dirs): Likewise.
6381 * misc/Makefile (generated): Likewise.
6382 * posix/Makefile (generated): Likewise.
6383 * resolv/Makefile (generated): Likewise.
6384 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6385 * timezone/Makefile (generated, generated-dirs): Likewise.
6386
ff71cc37
RM
6387 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6388
fe13a20c
AZ
63892014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6390
57f41c40
AS
6391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6392 power8 implementation.
6393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6394 file: POWER8 llround ifunc implementation.
6395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6396 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
6397 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6398 POWER8 llround implementation.
6399
57f41c40
AS
6400 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6401 power8 implementation.
6402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6403 file: POWER8 llrint ifunc implementation.
6404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6405 Add POWER8 implementation.
1ad8950a
AZ
6406 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6407 POWER8 llrint implementation.
6408
57f41c40
AS
6409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6410 power8 implementation.
6411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6412 file: POWER8 finite ifunc implementation.
6413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6414 Add POWER8 implementation.
cac626d6
AZ
6415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6416 Likewise.
6417 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6418 POWER8 finite implementation.
6419 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6420
57f41c40
AS
6421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6422 power8 implementation.
6423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6424 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
6425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6426 POWER8 implementation.
6427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6428 Likewise.
57f41c40
AS
6429 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6430 isinf implementation.
4393fc11
AZ
6431 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6432
57f41c40
AS
6433 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6434 (INIT_ARCH): Add hwcap2 initialization.
6435 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6436 power8 implementation.
6437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6438 file: POWER8 isnan ifunc implementation.
487972ae
AZ
6439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6440 POWER8 implementation.
6441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6442 Likewise.
57f41c40
AS
6443 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6444 isnan implementation.
487972ae
AZ
6445 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6446
7d92b787
JY
64472014-02-27 Joey Ye <joey.ye@arm.com>
6448
6449 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6450 (_FP_NANFRAC_Q): Set to zero.
6451
1cadc858
SP
64522014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6453
6454 [BZ #16623]
6455 * math/auto-libm-test-in: New test inputs.
6456 * math/auto-libm-test-out: Regenerate.
6457 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6458 and DA.
6459 (__cos): Likewise.
6460 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6461
f8c17e79
JM
64622014-02-27 Joseph Myers <joseph@codesourcery.com>
6463
6464 * scripts/evaluate-test.sh: Take new argument indicating whether
6465 failure is expected.
6466 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6467 indicating whether failure is expected.
6468 * conform/Makefile (test-xfail-run-conformtest): New variable.
6469 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6470 level.
6471 * posix/Makefile (test-xfail-annexc): New variable.
6472 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6473
a5f891ac
JM
64742014-02-26 Joseph Myers <joseph@codesourcery.com>
6475
6476 * argp/Makefile: Include Makeconfig immediately after defining
6477 subdir.
6478 * assert/Makefile: Likewise.
6479 * benchtests/Makefile: Likewise.
6480 * catgets/Makefile: Likewise.
6481 * conform/Makefile: Likewise.
6482 * crypt/Makefile: Likewise.
6483 * csu/Makefile: Likewise.
6484 (all): Remove target.
6485 * ctype/Makefile: Include Makeconfig immediately after defining
6486 subdir.
6487 * debug/Makefile: Likewise.
6488 * dirent/Makefile: Likewise.
6489 * dlfcn/Makefile: Likewise.
6490 * gmon/Makefile: Likewise.
6491 * gnulib/Makefile: Likewise.
6492 * grp/Makefile: Likewise.
6493 * gshadow/Makefile: Likewise.
6494 * hesiod/Makefile: Likewise.
6495 * hurd/Makefile: Likewise.
6496 (all): Remove target.
6497 * iconvdata/Makefile: Include Makeconfig immediately after
6498 defining subdir.
6499 * inet/Makefile: Likewise.
6500 * intl/Makefile: Likewise.
6501 * io/Makefile: Likewise.
6502 * libio/Makefile: Likewise.
6503 (all): Remove target.
6504 * locale/Makefile: Include Makeconfig immediately after defining
6505 subdir.
6506 * login/Makefile: Likewise.
6507 * mach/Makefile: Likewise.
6508 (all): Remove target.
6509 * malloc/Makefile: Include Makeconfig immediately after defining
6510 subdir.
6511 (all): Remove target.
6512 * manual/Makefile: Include Makeconfig immediately after defining
6513 subdir.
6514 * math/Makefile: Likewise.
6515 * misc/Makefile: Likewise.
6516 * nis/Makefile: Likewise.
6517 * nss/Makefile: Likewise.
6518 * po/Makefile: Likewise.
6519 (all): Remove target.
6520 * posix/Makefile: Include Makeconfig immediately after defining
6521 subdir.
6522 * pwd/Makefile: Likewise.
6523 * resolv/Makefile: Likewise.
6524 * resource/Makefile: Likewise.
6525 * rt/Makefile: Likewise.
6526 * setjmp/Makefile: Likewise.
6527 * shadow/Makefile: Likewise.
6528 * signal/Makefile: Likewise.
6529 * socket/Makefile: Likewise.
6530 * soft-fp/Makefile: Likewise.
6531 * stdio-common/Makefile: Likewise.
6532 * stdlib/Makefile: Likewise.
6533 * streams/Makefile: Likewise.
6534 * string/Makefile: Likewise.
6535 * sunrpc/Makefile: Likewise.
6536 (all): Remove target.
6537 * sysvipc/Makefile: Include Makeconfig immediately after defining
6538 subdir.
6539 * termios/Makefile: Likewise.
6540 * time/Makefile: Likewise.
6541 * timezone/Makefile: Likewise.
6542 (all): Remove target.
6543 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6544 subdir.
6545 * wctype/Makefile: Likewise.
6546
5b456e9d
SE
65472014-02-26 Steve Ellcey <sellcey@mips.com>
6548
6549 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6550 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6551 (libc_feholdexcept_setround_mips): Ditto.
6552 (libc_feholdsetround): New.
6553 (libc_feholdsetroundf): New.
6554 (libc_feholdsetroundl): New.
6555 (libc_feupdateenv_test_mips): New.
6556 (libc_feupdateenv_test): New.
6557 (libc_feupdateenv_testf): New.
6558 (libc_feupdateenv_testl): New.
6559 (libc_feresetround): New.
6560 (libc_feresetroundf): New.
6561 (libc_feresetroundl): New.
6562 (libc_fetestexcept_mips): New.
6563 (libc_fetestexcept): New.
6564 (libc_fetestexceptf): New.
6565 (libc_fetestexceptl): New.
6566 (HAVE_RM_CTX): New.
6567 (libc_feholdexcept_setround_mips_ctx): New.
6568 (libc_feholdexcept_setround_ctx): New.
6569 (libc_feholdexcept_setroundf_ctx): New.
6570 (libc_feholdexcept_setroundl_ctx): New.
6571 (libc_fesetenv_mips_ctx): New.
6572 (libc_fesetenv_ctx): New.
6573 (libc_fesetenv_ctxf): New.
6574 (libc_fesetenv_ctxl): New.
6575 (libc_feupdateenv_mips_ctx): New.
6576 (libc_feupdateenv_ctx): New.
6577 (libc_feupdateenvf_ctx): New.
6578 (libc_feupdateenvl_ctx): New.
6579 (libc_feholdsetround_mips_ctx): New.
6580 (libc_feholdsetround_ctx): New.
6581 (libc_feholdsetroundf_ctx): New.
6582 (libc_feholdsetroundl_ctx): New.
6583 (libc_feresetround_mips_ctx): New.
6584 (libc_feresetround_ctx): New.
6585 (libc_feresetroundf_ctx): New.
6586 (libc_feresetroundl_ctx): New.
6587
085d0e35
CD
65882014-02-26 Carlos O'Donell <carlos@redhat.com>
6589
f067bf1f
CD
6590 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6591
085d0e35
CD
6592 * manual/ipc.texi: New file.
6593 * manual/Makefile (chapters): Add ipc.
6594 * manual/job.texi: Add "Inter-Process Communication" to next.
6595 * manual/process.texi: Add "Inter-Process Communication" to prev.
6596
86e58c08
AZ
65972014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6598
6599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6600
4248f0da
OB
66012014-02-26 Ondřej Bílka <neleai@seznam.cz>
6602
6603 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6604
cf822e3c
OB
6605 * manual/arith.texi: Fix spaces after sentences.
6606 * manual/charset.texi: Likewise.
6607 * manual/errno.texi: Likewise.
6608 * manual/install.texi: Likewise.
6609 * manual/llio.texi: Likewise.
6610 * manual/locale.texi: Likewise.
6611 * manual/maint.texi: Likewise.
6612 * manual/math.texi: Likewise.
6613 * manual/memory.texi: Likewise.
6614 * manual/message.texi: Likewise.
6615 * manual/probes.texi: Likewise.
6616 * manual/resource.texi: Likewise.
6617 * manual/signal.texi: Likewise.
6618 * manual/socket.texi: Likewise.
6619 * manual/stdio.texi: Likewise.
6620 * manual/string.texi: Likewise.
6621 * manual/time.texi: Likewise.
6622 * manual/users.texi: Likewise.
6623
ade40b10
CD
66242014-02-25 Carlos O'Donell <carlos@redhat.com>
6625
6626 [BZ #16632]
6627 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6628 _DEFAULT_SOURCE is defined.
6629
d0503676
CD
66302014-02-25 Ulrich Drepper <drepper@gmail.com>
6631 Carlos O'Donell <carlos@redhat.com>
6632
6633 [BZ #16613]
6634 * elf/dl-tls.c (_dl_count_modids): New function.
6635 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6636 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6637 audit library and increment generation counter.
6638 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6639 * elf/tst-audit9.c: New file.
6640 * elf/tst-auditmod9a.c: New file.
6641 * elf/tst-auditmod9b.c: New file.
6642 * elf/Makefile: Add rules to build and run tst-audit9.
6643
4cbf380c
FW
66442014-02-25 Florian Weimer <fweimer@redhat.com>
6645
6646 [BZ #15347]
6647 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6648
80a56cc3
WN
66492014-02-25 Will Newton <will.newton@linaro.org>
6650
6651 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6652 (__longjmp): Restore sp and lr before restoring callee
6653 saved registers. Add longjmp and longjmp_target
6654 SystemTap probe point.
6655 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6656 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6657 Define to zero to match jmpbuf layout.
6658 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6659 (__sigsetjmp): Save sp and lr before saving callee
6660 saved registers. Add setjmp SystemTap probe point.
6661
3ea0f74e
SL
66622014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6663
6664 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6665
b04acb26
AS
66662014-02-24 Andreas Schwab <schwab@suse.de>
6667
6668 [BZ #15804]
6669 * elf/pldd.c (wait_for_ptrace_stop): New function.
6670 (main): Call it after attaching.
6671
098ad55c
RM
66722014-02-22 Roland McGrath <roland@hack.frob.com>
6673
d4ec6ae1
RM
6674 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6675 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6676 Versions files is now verboten.
6677 * hurd/Versions (libc: GLIBC_2.0):
6678 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6679 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6680 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6681 * mach/Versions: Likewise.
6682
098ad55c
RM
6683 * csu/Versions: Remove unused %include.
6684 * resolv/Versions: Likewise.
6685
acd7f096
JM
66862014-02-21 Joseph Myers <joseph@codesourcery.com>
6687
f0881698
JM
6688 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6689 ($(objpfx)check-local-headers.out): Likewise.
6690 ($(objpfx)begin-end-check.out): Likewise.
6691 * Makerules (check-abi-%.out): Likewise.
6692 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6693 ($(objpfx)test2.cat): Likewise.
6694 ($(objpfx)de/libc.cat): Likewise.
6695 ($(objpfx)test-gencat.out): Likewise.
6696 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6697 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6698 ($(objpfx)noload-mem): Likewise.
6699 ($(objpfx)tst-pathopt.out): Likewise.
6700 ($(objpfx)tst-rtld-load-self.out): Likewise.
6701 ($(objpfx)tst-array1-cmp.out): Likewise.
6702 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6703 ($(objpfx)tst-array2-cmp.out): Likewise.
6704 ($(objpfx)tst-array3-cmp.out): Likewise.
6705 ($(objpfx)tst-array4-cmp.out): Likewise.
6706 ($(objpfx)tst-array5-cmp.out): Likewise.
6707 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6708 ($(objpfx)check-textrel.out): Likewise.
6709 ($(objpfx)check-execstack.out): Likewise.
6710 ($(objpfx)check-localplt.out): Likewise.
6711 ($(objpfx)order2-cmp.out): Likewise.
6712 ($(objpfx)tst-leaks1-mem): Likewise.
6713 ($(objpfx)tst-leaks1-static-mem): Likewise.
6714 ($(objpfx)tst-initorder-cmp.out): Likewise.
6715 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6716 ($(objpfx)tst-unused-dep.out): Likewise.
6717 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6718 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6719 * iconv/Makefile (test-iconvconfig): Likewise.
6720 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6721 ($(objpfx)iconv-test.out): Likewise.
6722 ($(objpfx)tst-tables.out): Likewise.
6723 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6724 ($(objpfx)tst-gettext.out): Likewise.
6725 ($(objpfx)tst-translit.out): Likewise.
6726 ($(objpfx)tst-gettext2.out): Likewise.
6727 ($(objpfx)tst-gettext4.out): Likewise.
6728 ($(objpfx)tst-gettext6.out): Likewise.
6729 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6730 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6731 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6732 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6733 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6734 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6735 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6736 ($(objpfx)wordexp-tst.out): Likewise.
6737 ($(objpfx)annexc.out): Likewise.
6738 ($(objpfx)tst-fnmatch-mem): Likewise.
6739 ($(objpfx)bug-regex2-mem): Likewise.
6740 ($(objpfx)bug-regex14-mem): Likewise.
6741 ($(objpfx)bug-regex21-mem): Likewise.
6742 ($(objpfx)bug-regex31-mem): Likewise.
6743 ($(objpfx)tst-vfork3-mem): Likewise.
6744 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6745 ($(objpfx)tst-pcre-mem): Likewise.
6746 ($(objpfx)tst-boost-mem): Likewise.
6747 ($(objpfx)tst-getconf.out): Likewise.
6748 ($(objpfx)bug-ga2-mem): Likewise.
6749 ($(objpfx)bug-glob2-mem): Likewise.
6750 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6751 ($(objpfx)mtrace-tst-leaks2): Likewise.
6752 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6753 ($(objpfx)tst-printf.out): Likewise.
6754 ($(objpfx)tst-setvbuf1.out): Likewise.
6755 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6756 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6757 ($(objpfx)tst-fmtmsg.out): Likewise.
6758 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6759 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6760
acd7f096
JM
6761 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6762 * bits/sigaction.h [__USE_MISC]: Likewise.
6763 * bits/waitstatus.h: Update #endif comments.
6764 * ctype/ctype.h: Likewise.
6765 * dirent/dirent.h: Likewise.
6766 [__USE_MISC]: Remove redundant conditionals.
6767 * grp/grp.h: Update #endif comments.
6768 [__USE_GNU]: Remove redundant conditionals.
6769 [__USE_MISC]: Likewise.
6770 * inet/netinet/in.h [__USE_GNU]: Likewise.
6771 * io/sys/stat.h [__USE_MISC]: Likewise.
6772 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6773 * libio/bits/stdio.h: Update #endif comments.
6774 [__USE_MISC]: Remove redundant conditionals.
6775 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6776 * libio/stdio.h: Update #endif comments.
6777 [__USE_MISC]: Remove redundant conditionals.
6778 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6779 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6780 * math/math.h: Update #else and #endif comments.
6781 [__USE_MISC]: Remove redundant conditionals.
6782 * misc/sys/uio.h: Update #endif comments.
6783 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6784 * posix/glob.h [__USE_MISC]: Likewise.
6785 * posix/sys/types.h: Update #endif comments.
6786 [__USE_MISC]: Remove redundant conditionals.
6787 * posix/sys/wait.h: Update #endif comments.
6788 [__USE_MISC]: Remove redundant conditionals.
6789 * posix/unistd.h: Update #endif comments.
6790 [__USE_MISC]: Remove redundant conditionals.
6791 * pwd/pwd.h [__USE_GNU]: Likewise.
6792 [__USE_MISC]: Likewise.
6793 * resolv/netdb.h [__USE_GNU]: Likewise.
6794 * signal/signal.h: Update #endif comments.
6795 [__USE_MISC]: Remove redundant conditionals.
6796 * stdlib/stdlib.h: Update #else and #endif comments.
6797 [__USE_MISC]: Remove redundant conditionals.
6798 [__USE_GNU]: Likewise.
6799 * string/bits/string2.h [__USE_MISC]: Likewise.
6800 * string/string.h: Update #endif comments.
6801 [__USE_MISC]: Remove redundant conditionals.
6802 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6803 Likewise.
6804 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6805 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6806 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6807 Likewise.
6808 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6809 Likewise.
6810 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6811 comments.
6812 [__USE_MISC]: Remove redundant conditionals.
6813 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6814 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6815 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6816 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6817 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6818 Likewise.
6819 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6820 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6821 Likewise.
6822 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6823 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6824 Likewise.
6825 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6826 Likewise.
6827 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6828 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6829 Likewise.
6830 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6831 Likewise.
6832 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6833 * sysdeps/x86/bits/string.h: Update #endif comments.
6834 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6835 conditionals.
6836 * time/sys/time.h: Update #endif comments.
6837 * time/time.h: Likewise.
6838 [__USE_MISC]: Remove redundant conditionals.
6839
a5d82e4e
YG
68402014-02-21 Yury Gribov <y.gribov@samsung.com>
6841
6842 [BZ #16600]
6843 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6844
9a80491d
AS
68452014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6846
6847 * Versions.def (librt): Add GLIBC_2.17.
6848
105fa381
AC
68492014-02-21 Adam Conrad <adconrad@0c3.net>
6850
6851 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6852 synonym for _SYS_AUXV_H to allow direct inclusion.
6853 * sysdeps/sparc/bits/hwcap.h: Likewise.
6854 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6855 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6856 * sysdeps/sparc/sysdep.h: Likewise.
6857
b8cd1c4e
SP
68582014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6859
6860 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6861
bd939d23
RS
68622014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6863
6864 * benchtests/bench-strrchr.c: Print length instead of position.
6865
5d7b57ca
JM
68662014-02-20 Joseph Myers <joseph@codesourcery.com>
6867
bc688c10
JM
6868 [BZ #16611]
6869 * sysdeps/unix/sysv/linux/kernel-features.h
6870 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6871 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6872 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6873 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6874 Likewise.
6875 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6876 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6877 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6878 (__ASSUME_SENDMMSG): Define instead of using previous
6879 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6880 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6881 (__ASSUME_SENDMMSG_SYSCALL): Define.
6882 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6883 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6884 Likewise.
6885 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6886 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6887 Likewise.
6888 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6889 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6890 Likewise.
6891 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6892 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6893 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6894 [__ASSUME_SENDMMSG]: Change conditionals to
6895 [__ASSUME_SENDMMSG_SOCKETCALL].
6896 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6897 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6898 Define.
6899 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6900 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6901 Likewise.
6902 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6903 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6904 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6905 [!__ASSUME_SENDMMSG]: Change conditional to
6906 [!__ASSUME_SENDMMSG_SOCKETCALL].
6907 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6908 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6909 Define.
6910
0e31b18c
JM
6911 [BZ #16610]
6912 * sysdeps/unix/sysv/linux/kernel-features.h
6913 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6914 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6915 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6916 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6917 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6918 [__i386__ || __sparc__]
6919 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6920 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6921 (__ASSUME_RECVMMSG): Define instead of using previous
6922 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6923 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6924 (__ASSUME_RECVMMSG_SYSCALL): Define.
6925 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6926 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6927 Likewise.
6928 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6929 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6930 Likewise.
6931 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6932 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6933 Likewise.
6934 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6935 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6936 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6937 [__ASSUME_RECVMMSG]: Change condition to
6938 [__ASSUME_RECVMMSG_SOCKETCALL].
6939 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6940 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6941 Define.
6942 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6943 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6944 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6945 Likewise.
6946 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6947 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6948 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6949 [!__ASSUME_RECVMMSG]: Change condition to
6950 [!__ASSUME_RECVMMSG_SOCKETCALL].
6951 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6952 (__ASSUME_RECVMMSG_SYSCALL): Define.
6953
dd481ccf
JM
6954 [BZ #16609]
6955 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6956 __powerpc__ || __s390__ || __sh__ || __sparc__]
6957 (__ASSUME_SOCKETCALL): Define.
6958 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6959 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6960 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6961 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6962 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6963 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6964 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6965 (__ASSUME_ACCEPT4): Define instead of using previous
6966 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6967 __powerpc__ || __sparc__ || __s390__)] condition.
6968 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6969 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6970 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6971 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6972 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6973 [!__ASSUME_ACCEPT4]: Change condition to
6974 [!__ASSUME_ACCEPT4_SOCKETCALL].
6975 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6976 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6977 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6978 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6979 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6980 __ASSUME_ACCEPT4_SYSCALL.
6981 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6982 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6983 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6984 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6985 __ASSUME_ACCEPT4_SYSCALL.
6986 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6987 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6988 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6989 [__ASSUME_ACCEPT4]: Change condition to
6990 [__ASSUME_ACCEPT4_SOCKETCALL].
6991 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6992 (__ASSUME_SOCKETCALL): Define.
6993 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6994 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6995 (__ASSUME_SOCKETCALL): Define.
6996 (__ASSUME_ACCEPT4): Remove.
6997 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6998 Define.
6999 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7000 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7001 Likewise.
7002 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7003 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7004
5d7b57ca
JM
7005 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7006 macro.
7007 (HWCAP_ARM_LPAE): Likewise.
7008 (HWCAP_ARM_EVTSTRM): Likewise.
7009 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7010 Add vpfd32, lpae and evtstrm.
7011 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7012 Increase to 22.
7013
63689d61
JM
70142014-02-19 Joseph Myers <joseph@codesourcery.com>
7015
7016 * math/auto-libm-test-in: Add tests of clog10.
7017 * math/auto-libm-test-out: Regenerated.
7018 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7019 * sysdeps/i386/fpu/libm-test-ulps: Update.
7020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7021
ab09bf61
AS
70222014-02-18 Andreas Schwab <schwab@suse.de>
7023
7024 [BZ #16574]
7025 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7026 Store non-zero if the second buffer was newly allocated.
7027 (send_dg): Likewise.
7028 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7029 to send_vc and send_dg.
7030 (res_nsend): Pass NULL for ansp2_malloced.
7031 * resolv/res_query.c (__libc_res_nquery): Add parameter
7032 answerp2_malloced and pass it down to __libc_res_nsend.
7033 (res_nquery): Pass additional NULL to __libc_res_nquery.
7034 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7035 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7036 second answer buffer if answerp2_malloced was set.
7037 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7038 (__libc_res_nquerydomain): Add parameter
7039 answerp2_malloced and pass it down to __libc_res_nquery.
7040 (res_nquerydomain): Pass additional NULL to
7041 __libc_res_nquerydomain.
7042 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7043 additional NULL to __libc_res_nsend and __libc_res_nquery.
7044 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7045 additional NULL to __libc_res_nsearch.
7046 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7047 parameter of __libc_res_nsearch to check for separately allocated
7048 second buffer.
7049 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7050 __libc_res_nquery.
7051 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7052 additional NULL to __libc_res_nquery.
7053 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7054 __libc_res_nsearch.
7055 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7056 * include/resolv.h: Update prototypes of __libc_res_nquery,
7057 __libc_res_nsearch, __libc_res_nsend.
7058
a4fb7861
JM
70592014-02-18 Joseph Myers <joseph@codesourcery.com>
7060
c6af2d89
JM
7061 * math/auto-libm-test-in: Add tests of fma.
7062 * math/auto-libm-test-out: Regenerated.
7063 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7064 (fma_towardzero_test_data): Likewise.
7065 (fma_downward_test_data): Likewise.
7066 (fma_upward_test_data): Likewise.
7067 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7068 mpc_mode.
7069 (rounding_modes): Add values for new field.
7070 (func_calc_method): Add value mpfr_fff_f.
7071 (func_calc_desc): Add mpfr_fff_f union field.
7072 (test_function): Add field exact_args.
7073 (FUNC): Add macro argument EXACT_ARGS.
7074 (FUNC_mpfr_f_f): Update call to FUNC.
7075 (FUNC_mpfr_f_f): Likewise.
7076 (FUNC_mpfr_ff_f): Likewise.
7077 (FUNC_mpfr_if_f): Likewise.
7078 (FUNC_mpc_c_f): Likewise.
7079 (FUNC_mpc_c_c): Likewise.
7080 (test_functions): Add fma. Update calls to FUNC.
7081 (handle_input_arg): Add argument exact_args.
7082 (add_test): Update call to handle_input_arg.
7083 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7084 (output_for_one_input_case): Update call to calc_generic_results.
7085 Recalculate exact zero results in each rounding mode.
7086
a4fb7861
JM
7087 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7088 non-negative before setting low bit.
7089 * math/auto-libm-test-in: Mark one asin test possibly having
7090 spurious underflow.
7091 * math/auto-libm-test-out: Regenerated.
7092 * sysdeps/i386/fpu/libm-test-ulps: Update.
7093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7094
ef114eaf
DH
70952014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7096
2b7f4f2c
SP
7097 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7098 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7099 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
7100 * README: Add missing listing for microblaze*-*-linux-gnu.
7101
c70a4b1d
MF
71022014-02-16 Mike Frysinger <vapier@gentoo.org>
7103
7104 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7105 * sysdeps/unix/sysv/linux/ia64: Move directory from
7106 ports/sysdeps/unix/sysv/linux/ia64.
7107 * README: Update listing for ia64-*-linux-gnu.
7108
591aeaf7
TD
71092014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7110 Joseph Myers <joseph@codesourcery.com>
7111
7112 * Makeconfig (test-name): New variable.
7113 (evaluate-test): Likewise.
7114 * Makerules (do-test-clean): Remove .test-result files.
7115 (common-mostlyclean): Likewise.
7116 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7117 * scripts/evaluate-test.sh: New file.
7118
6e89caf1
JM
71192014-02-14 Joseph Myers <joseph@codesourcery.com>
7120
7f98f180
JM
7121 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7122 separate $(objpfx)tst-fopenloc-cmp.out and
7123 $(objpfx)tst-fopenloc-mem.out targets.
7124 (tests): Update dependencies.
7125 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7126 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7127 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7128 (tst-rxspencer-no-utf8-ARGS): New variable.
7129 (tst-rxspencer-no-utf8-ENV): Likewise.
7130 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7131 instead of $(objpfx)tst-rxspencer-mem.
7132 ($(objpfx)tst-rxspencer-mem): Change target to
7133 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7134 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7135 * posix/tst-rxspencer-no-utf8.c: New file.
7136
6e89caf1
JM
7137 * elf/Makefile ($(objpfx)order.out): Remove rule.
7138 [$(run-built-tests) = yes] (tests): Depend on
7139 $(objpfx)order-cmp.out.
7140 ($(objpfx)order-cmp.out): New rule.
7141 [$(run-built-tests) = yes] (tests): Depend on
7142 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7143 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7144 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7145 $(objpfx)tst-array5-static-cmp.out.
7146 ($(objpfx)tst-array1.out): Remove rule.
7147 ($(objpfx)tst-array1-cmp.out): New rule.
7148 ($(objpfx)tst-array1-static.out): Remove rule.
7149 ($(objpfx)tst-array1-static-cmp.out): New rule.
7150 ($(objpfx)tst-array2.out): Remove rule.
7151 ($(objpfx)tst-array2-cmp.out): New rule.
7152 ($(objpfx)tst-array3.out): Remove rule.
7153 ($(objpfx)tst-array3-cmp.out): New rule.
7154 ($(objpfx)tst-array4.out): Remove rule.
7155 ($(objpfx)tst-array4-cmp.out): New rule.
7156 ($(objpfx)tst-array5.out): Remove rule.
7157 ($(objpfx)tst-array5-cmp.out): New rule.
7158 ($(objpfx)tst-array5-static.out): Remove rule.
7159 ($(objpfx)tst-array5-static-cmp.out): New rule.
7160 [$(run-built-tests) = yes] (tests): Depend on
7161 $(objpfx)order2-cmp.out.
7162 ($(objpfx)order2.out): Remove rule.
7163 ($(objpfx)order2-cmp.out): New rule.
7164 ($(objpfx)tst-initorder.out): Remove rule.
7165 [$(run-built-tests) = yes] (tests): Depend on
7166 $(objpfx)tst-initorder-cmp.out.
7167 ($(objpfx)tst-initorder-cmp.out): New rule.
7168 ($(objpfx)tst-initorder2.out): Remove rule.
7169 [$(run-built-tests) = yes] (tests): Depend on
7170 $(objpfx)tst-initorder2-cmp.out.
7171 ($(objpfx)tst-initorder2-cmp.out): New rule.
7172 [$(run-built-tests) = yes] (tests): Depend on
7173 $(objpfx)tst-unused-dep-cmp.out.
7174 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7175 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7176 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7177 on $(objpfx)tst-setvbuf1-cmp.out.
7178 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7179 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7180 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7181 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7182 ($(objpfx)tst-svc.out): Remove rule.
7183 ($(objpfx)tst-svc-cmp.out): New rule.
7184
ed9a38e2
JM
71852014-02-13 Joseph Myers <joseph@codesourcery.com>
7186
7187 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7188 * ctype/ctype.h [__USE_MISC]: Likewise.
7189 * dirent/dirent.h [__USE_MISC]: Likewise.
7190 * grp/grp.h [__USE_MISC]: Likewise.
7191 * io/fcntl.h [__USE_MISC]: Likewise.
7192 * io/sys/stat.h [__USE_MISC]: Likewise.
7193 * libio/stdio.h [__USE_MISC]: Likewise.
7194 * posix/unistd.h [__USE_MISC]: Likewise.
7195 * pwd/pwd.h [__USE_MISC]: Likewise.
7196 * stdlib.h [__USE_MISC]: Likewise.
7197 * string/bits/string2.h [__USE_MISC]: Likewise.
7198 * string/string.h [__USE_MISC]: Likewise.
7199 * time/time.h [__USE_MISC]: Likewise.
7200
d6680619
AS
72012014-02-13 Andreas Schwab <schwab@suse.de>
7202
7203 [BZ #16574]
7204 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7205 second answer buffer if it was separately allocated.
7206
ace614b8
JM
72072014-02-12 Joseph Myers <joseph@codesourcery.com>
7208
743151ae
JM
7209 * sysdeps/mips/math-tests.h: Include <features.h>.
7210 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7211 (ROUNDING_TESTS_long_double): Do not define.
7212 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7213 (EXCEPTION_TESTS_long_double): Likewise.
7214 * sysdeps/mips/mips64/libm-test-ulps: Update.
7215
498afc54
JM
7216 * include/features.h (__USE_BSD): Remove macro definitions.
7217 (__USE_SVID): Likewise.
7218 (_BSD_SOURCE): Likewise.
7219 (_SVID_SOURCE): Likewise.
7220 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7221 from definition of _DEFAULT_SOURCE.
7222 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7223 [_DEFAULT_SOURCE].
7224 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7225 * bits/mman.h [__USE_BSD]: Likewise.
7226 * bits/termios.h [__USE_BSD]: Likewise.
7227 * bits/waitstatus.h [__USE_BSD]: Likewise.
7228 * ctype/ctype.h [__USE_SVID]: Likewise.
7229 * dirent/dirent.h [__USE_BSD]: Likewise.
7230 * grp/grp.h [__USE_SVID]: Likewise.
7231 [__USE_BSD]: Likewise.
7232 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7233 * io/fcntl.h [__USE_BSD]: Likewise.
7234 * io/ftw.h [__USE_BSD]: Likewise.
7235 * io/sys/stat.h [__USE_BSD]: Likewise.
7236 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7237 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7238 * libio/stdio.h [__USE_SVID]: Likewise.
7239 [__USE_BSD]: Likewise.
7240 * math/math.h [__USE_SVID]: Likewise.
7241 [__USE_BSD]: Likewise.
7242 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7243 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7244 * misc/search.h [__USE_SVID]: Likewise.
7245 * misc/sys/mman.h [__USE_BSD]: Likewise.
7246 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7247 * misc/sys/uio.h [__USE_BSD]: Likewise.
7248 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7249 * posix/glob.h [__USE_BSD]: Likewise.
7250 * posix/regex.h [__USE_BSD]: Likewise.
7251 * posix/sys/types.h [__USE_BSD]: Likewise.
7252 [__USE_SVID]: Likewise.
7253 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7254 * posix/sys/wait.h [__USE_BSD]: Likewise.
7255 [__USE_SVID]: Likewise.
7256 * posix/unistd.h [__USE_BSD]: Likewise.
7257 [__USE_SVID]: Likewise.
7258 * pwd/pwd.h [__USE_SVID]: Likewise.
7259 * resolv/netdb.h [__USE_BSD]: Likewise.
7260 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7261 * signal/signal.h [__USE_BSD]: Likewise.
7262 [__USE_SVID]: Likewise.
7263 * socket/sys/socket.h [__USE_BSD]: Likewise.
7264 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7265 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7266 [__USE_SVID]: Likewise.
7267 * string/bits/string2.h [__USE_BSD]: Likewise.
7268 [__USE_SVID]: Likewise.
7269 * string/bits/string3.h [__USE_BSD]: Likewise.
7270 * string/endian.h [__USE_BSD]: Likewise.
7271 * string/string.h [__USE_SVID]: Likewise.
7272 [__USE_BSD]: Likewise.
7273 * string/strings.h [__USE_BSD]: Likewise.
7274 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7275 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7276 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7277 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7278 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7279 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7280 Likewise.
7281 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7282 Likewise.
7283 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7284 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7285 Likewise.
7286 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7287 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7288 Likewise.
7289 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7290 Likewise.
7291 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7292 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7293 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7294 Likewise.
7295 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7296 Likewise.
7297 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7298 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7299 * termios/termios.h [__USE_BSD]: Likewise.
7300 * time/sys/time.h [__USE_BSD]: Likewise.
7301 * time/time.h [__USE_BSD]: Likewise.
7302 [__USE_SVID]: Likewise.
7303
dd7b064c
JM
7304 * Makefile (subdir_targets): Remove subdir_lint.out.
7305
a2c4c199
JM
7306 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7307 (do-tst-printf): Likewise.
7308 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7309 $(objpfx)tst-printf.out.
7310
8756f740
JM
7311 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7312
1b6dd3f1
JM
7313 * Makerules (check-abi-%): Change target to
7314 $(objpfx)check-abi-%.out.
7315 (check-abi target): Update dependencies.
7316 (check-abi-pattern variable): Redirect output of diff to $@.
7317 (check-abi variable): Likewise.
7318 * elf/Makefile (check-abi): Update dependencies.
7319
ace614b8
JM
7320 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7321 unused.
7322 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7323 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7324 subnormal range.
7325 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7326 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7327 value has largest subnormal exponent.
7328 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7329 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7330 * sysdeps/aarch64/soft-fp/sfp-machine.h
7331 (_FP_TININESS_AFTER_ROUNDING): New macro.
7332 * sysdeps/alpha/soft-fp/sfp-machine.h
7333 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7334 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7335 Likewise.
7336 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7337 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7338 * sysdeps/mips/soft-fp/sfp-machine.h
7339 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7340 * sysdeps/powerpc/soft-fp/sfp-machine.h
7341 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7342 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7343 Likewise.
7344 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7345 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7346 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7347 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7348 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7349 Likewise.
7350
fbfdf9cb
DAS
73512014-02-12 Dylan Alex Simon <dylan@dylex.net>
7352
7353 [BZ #16545]
7354 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7355 model 1.
7356
68b7efaa
RH
73572014-02-12 Richard Henderson <rth@redhat.com>
7358
c70a4b1d 7359 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
7360 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7361 * sysdeps/unix/sysv/linux/alpha: Move directory from
7362 ports/sysdeps/unix/sysv/linux/alpha.
7363 * README: Update listing for alpha-*-linux-gnu.
7364
cb4a2928
JM
73652014-02-11 Joseph Myers <joseph@codesourcery.com>
7366
c941736c
JM
7367 * include/features.h: Update comment documenting feature test
7368 macros.
7369 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7370 _DEFAULT_SOURCE.
7371 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7372 (_SVID_SOURCE): Likewise.
7373 (_DEFAULT_SOURCE): Update description of default features.
7374 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7375 with _GNU_SOURCE.
7376 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7377 (S_ISVTX): Likewise.
7378 * manual/math.texi (Mathematical Constants): Likewise.
7379 * manual/signal.texi (Interrupted Primitives): Likewise.
7380 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7381 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7382 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7383 Don't refer to _SVID_SOURCE in warning text.
7384
e8d8d7ec
JM
7385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7386
cb4a2928
JM
7387 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7388 already defined.
7389 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7390 * sysdeps/mips/dl-lookup.c: Remove.
7391 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7392
7e6424e3
AK
73932014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7394
7395 [BZ #16447]
7396 * math/auto-libm-test-in: Add testcase for expl.
7397 * math/auto-libm-test-out: Regenerate.
7398 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7399 calculation of unsafe.
7400 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7401
75eff3fe
MS
74022014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7403
7404 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7405 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7406 ports/sysdeps/unix/sysv/linux/aarch64.
7407 * README: Update listing for aarch64*-*-linux-gnu.
7408
d35f1e80
WN
74092014-02-11 Will Newton <will.newton@linaro.org>
7410
7411 * manual/probes.texi (Mathematical Function Probes): Use
7412 "triggered" instead of "hit".
7413
7b3436d4
WN
7414 * manual/probes.texi (Internal Probes): Add documentation
7415 of setjmp, longjmp and longjmp_target probes.
7416
b4f12ca3
WN
7417 * include/stap-probe.h: Add comment about probe argument
7418 format.
7419
c13a72b7
WN
7420 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7421 definition. (tr_where, tr_freehook, tr_mallochook,
7422 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7423
195b8165
DM
74242014-02-11 David S. Miller <davem@davemloft.net>
7425
7426 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7427 processing int_tests.
7428
2ad7600b
JM
74292014-02-10 Joseph Myers <joseph@codesourcery.com>
7430
7431 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7432 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7433 * sysdeps/unix/sysv/linux/mips: Move directory from
7434 ports/sysdeps/unix/sysv/linux/mips.
7435 * README: Update listing for mips-*-linux-gnu and
7436 mips64-*-linux-gnu.
7437
73588a72
AS
74382014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7439
7440 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7441 * sysdeps/unix/sysv/linux/m68k: Move directory from
7442 ports/sysdeps/unix/sysv/linux/m68k.
7443 * README: Update listing for m68k-*-linux-gnu.
7444
4372980f
CM
74452014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7446
7447 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7448 * sysdeps/unix/sysv/linux/generic: Move directory from
7449 ports/sysdeps/unix/sysv/linux/generic.
7450 * sysdeps/unix/sysv/linux/tile: Move directory from
7451 ports/sysdeps/unix/sysv/linux/tile.
7452 * README: Update listing for tile*-*-linux-gnu.
7453
a1ffb40e
OB
74542014-02-10 Ondřej Bílka <neleai@seznam.cz>
7455
57f41c40
AS
7456 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7457 __builtin_expect.
a1ffb40e
OB
7458 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7459 * catgets/open_catalog.c (__open_catalog): Likewise.
7460 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7461 * debug/confstr_chk.c: Likewise.
7462 * debug/fread_chk.c (__fread_chk): Likewise.
7463 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7464 * debug/getgroups_chk.c: Likewise.
7465 * debug/mbsnrtowcs_chk.c: Likewise.
7466 * debug/mbsrtowcs_chk.c: Likewise.
7467 * debug/mbstowcs_chk.c: Likewise.
7468 * debug/memcpy_chk.c: Likewise.
7469 * debug/memmove_chk.c: Likewise.
7470 * debug/mempcpy_chk.c: Likewise.
7471 * debug/memset_chk.c: Likewise.
7472 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7473 * debug/strcat_chk.c (__strcat_chk): Likewise.
7474 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7475 * debug/strncat_chk.c (__strncat_chk): Likewise.
7476 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7477 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7478 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7479 * debug/wcpncpy_chk.c: Likewise.
7480 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7481 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7482 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7483 * debug/wcsncpy_chk.c: Likewise.
7484 * debug/wcsnrtombs_chk.c: Likewise.
7485 * debug/wcsrtombs_chk.c: Likewise.
7486 * debug/wcstombs_chk.c: Likewise.
7487 * debug/wmemcpy_chk.c: Likewise.
7488 * debug/wmemmove_chk.c: Likewise.
7489 * debug/wmempcpy_chk.c: Likewise.
7490 * debug/wmemset_chk.c: Likewise.
7491 * dirent/scandirat.c (SCANDIRAT): Likewise.
7492 * dlfcn/dladdr1.c (dladdr1): Likewise.
7493 * dlfcn/dladdr.c (dladdr): Likewise.
7494 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7495 * dlfcn/dlerror.c (__dlerror): Likewise.
7496 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7497 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7498 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7499 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7500 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7501 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7502 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7503 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7504 Likewise.
7505 * elf/dl-conflict.c: Likewise.
7506 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7507 * elf/dl-dst.h: Likewise.
7508 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7509 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7510 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7511 * elf/dl-init.c (call_init, _dl_init): Likewise.
7512 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
7513 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7514 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7515 Likewise.
a1ffb40e
OB
7516 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7517 Likewise.
7518 * elf/dl-minimal.c (__libc_memalign): Likewise.
7519 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7520 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7521 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7522 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
7523 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7524 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
7525 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7526 * elf/dl-writev.h (_dl_writev): Likewise.
7527 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
7528 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7529 (dl_main): Likewise.
a1ffb40e
OB
7530 * elf/setup-vdso.h (setup_vdso): Likewise.
7531 * grp/compat-initgroups.c (compat_call): Likewise.
7532 * grp/fgetgrent.c (fgetgrent): Likewise.
7533 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7534 * grp/putgrent.c (putgrent): Likewise.
7535 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7536 Likewise.
7537 * hurd/hurdinit.c: Likewise.
7538 * iconvdata/8bit-gap.c (struct): Likewise.
7539 * iconvdata/ansi_x3.110.c : Likewise.
7540 * iconvdata/big5.c : Likewise.
7541 * iconvdata/big5hkscs.c : Likewise.
7542 * iconvdata/cp1255.c: Likewise.
7543 * iconvdata/cp1258.c : Likewise.
7544 * iconvdata/cp932.c : Likewise.
7545 * iconvdata/euc-cn.c: Likewise.
7546 * iconvdata/euc-jisx0213.c : Likewise.
7547 * iconvdata/euc-jp.c: Likewise.
7548 * iconvdata/euc-jp-ms.c : Likewise.
7549 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7550 * iconvdata/gb18030.c : Likewise.
7551 * iconvdata/gbbig5.c (const): Likewise.
7552 * iconvdata/gbgbk.c: Likewise.
7553 * iconvdata/gbk.c : Likewise.
7554 * iconvdata/ibm1364.c : Likewise.
7555 * iconvdata/ibm930.c : Likewise.
7556 * iconvdata/ibm932.c: Likewise.
7557 * iconvdata/ibm933.c : Likewise.
7558 * iconvdata/ibm935.c : Likewise.
7559 * iconvdata/ibm937.c : Likewise.
7560 * iconvdata/ibm939.c : Likewise.
7561 * iconvdata/ibm943.c: Likewise.
7562 * iconvdata/iso_11548-1.c: Likewise.
7563 * iconvdata/iso-2022-cn.c : Likewise.
7564 * iconvdata/iso-2022-cn-ext.c : Likewise.
7565 * iconvdata/iso-2022-jp-3.c: Likewise.
7566 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7567 * iconvdata/iso-2022-kr.c : Likewise.
7568 * iconvdata/iso646.c (gconv_end): Likewise.
7569 * iconvdata/iso_6937-2.c : Likewise.
7570 * iconvdata/iso_6937.c : Likewise.
7571 * iconvdata/iso8859-1.c: Likewise.
7572 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7573 * iconvdata/shift_jisx0213.c : Likewise.
7574 * iconvdata/sjis.c : Likewise.
7575 * iconvdata/t.61.c : Likewise.
7576 * iconvdata/tcvn5712-1.c : Likewise.
7577 * iconvdata/tscii.c: Likewise.
7578 * iconvdata/uhc.c : Likewise.
7579 * iconvdata/unicode.c (gconv_end): Likewise.
7580 * iconvdata/utf-16.c (gconv_end): Likewise.
7581 * iconvdata/utf-32.c (gconv_end): Likewise.
7582 * iconvdata/utf-7.c (base64): Likewise.
7583 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7584 * iconv/gconv_close.c (__gconv_close): Likewise.
7585 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
7586 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7587 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7588 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7589 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7590 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
7591 * iconv/iconv.c (iconv): Likewise.
7592 * iconv/iconv_close.c: Likewise.
7593 * iconv/loop.c (SINGLE): Likewise.
7594 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7595 * include/atomic.h: Likewise.
7596 * inet/inet6_option.c (option_alloc): Likewise.
7597 * intl/bindtextdom.c (set_binding_values): Likewise.
7598 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7599 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7600 * intl/localealias.c (read_alias_file): Likewise.
7601 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
7602 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7603 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
7604 * libio/fmemopen.c (fmemopen): Likewise.
7605 * libio/iofgets.c (_IO_fgets): Likewise.
7606 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7607 * libio/iofgetws.c (fgetws): Likewise.
7608 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7609 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
7610 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7611 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
7612 * locale/findlocale.c (_nl_find_locale): Likewise.
7613 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7614 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7615 Likewise.
7616 * locale/setlocale.c (setlocale): Likewise.
7617 * login/programs/pt_chown.c (main): Likewise.
7618 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7619 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
7620 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7621 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
7622 * math/e_exp2l.c: Likewise.
7623 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7624 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7625 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7626 * math/s_catan.c (__catan): Likewise.
7627 * math/s_catanf.c (__catanf): Likewise.
7628 * math/s_catanh.c (__catanh): Likewise.
7629 * math/s_catanhf.c (__catanhf): Likewise.
7630 * math/s_catanhl.c (__catanhl): Likewise.
7631 * math/s_catanl.c (__catanl): Likewise.
7632 * math/s_ccosh.c (__ccosh): Likewise.
7633 * math/s_ccoshf.c (__ccoshf): Likewise.
7634 * math/s_ccoshl.c (__ccoshl): Likewise.
7635 * math/s_cexp.c (__cexp): Likewise.
7636 * math/s_cexpf.c (__cexpf): Likewise.
7637 * math/s_cexpl.c (__cexpl): Likewise.
7638 * math/s_clog10.c (__clog10): Likewise.
7639 * math/s_clog10f.c (__clog10f): Likewise.
7640 * math/s_clog10l.c (__clog10l): Likewise.
7641 * math/s_clog.c (__clog): Likewise.
7642 * math/s_clogf.c (__clogf): Likewise.
7643 * math/s_clogl.c (__clogl): Likewise.
7644 * math/s_csin.c (__csin): Likewise.
7645 * math/s_csinf.c (__csinf): Likewise.
7646 * math/s_csinh.c (__csinh): Likewise.
7647 * math/s_csinhf.c (__csinhf): Likewise.
7648 * math/s_csinhl.c (__csinhl): Likewise.
7649 * math/s_csinl.c (__csinl): Likewise.
7650 * math/s_csqrt.c (__csqrt): Likewise.
7651 * math/s_csqrtf.c (__csqrtf): Likewise.
7652 * math/s_csqrtl.c (__csqrtl): Likewise.
7653 * math/s_ctan.c (__ctan): Likewise.
7654 * math/s_ctanf.c (__ctanf): Likewise.
7655 * math/s_ctanh.c (__ctanh): Likewise.
7656 * math/s_ctanhf.c (__ctanhf): Likewise.
7657 * math/s_ctanhl.c (__ctanhl): Likewise.
7658 * math/s_ctanl.c (__ctanl): Likewise.
7659 * math/w_pow.c: Likewise.
7660 * math/w_powf.c: Likewise.
7661 * math/w_powl.c: Likewise.
7662 * math/w_scalb.c (sysv_scalb): Likewise.
7663 * math/w_scalbf.c (sysv_scalbf): Likewise.
7664 * math/w_scalbl.c (sysv_scalbl): Likewise.
7665 * misc/error.c (error_tail): Likewise.
7666 * misc/pselect.c (__pselect): Likewise.
7667 * nis/nis_callback.c (__nis_create_callback): Likewise.
7668 * nis/nis_call.c (__nisfind_server): Likewise.
7669 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7670 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7671 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7672 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7673 * nis/nis_lookup.c (nis_lookup): Likewise.
7674 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
7675 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7676 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 7677 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
7678 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7679 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7680 * nis/nss_compat/compat-initgroups.c (add_group)
7681 (internal_getgrent_r): Likewise.
7682 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7683 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7684 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7685 (internal_getspnam_r): Likewise.
7686 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7687 (_nss_nis_getaliasbyname_r): Likewise.
7688 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7689 (_nss_nis_getntohost_r): Likewise.
7690 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7691 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7692 (_nss_nis_getgrgid_r): Likewise.
7693 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7694 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7695 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7696 (_nss_nis_gethostbyname4_r): Likewise.
7697 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7698 (initgroups_netid): Likewise.
a1ffb40e 7699 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
7700 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7701 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7702 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7703 (_nss_nis_getprotobynumber_r): Likewise.
7704 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7705 (_nss_nis_getsecretkey): Likewise.
7706 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7707 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7708 (_nss_nis_getpwuid_r): Likewise.
7709 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7710 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7711 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7712 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7713 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7714 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
7715 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7716 Likewise.
57f41c40
AS
7717 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7718 (_nss_nisplus_getntohost_r): Likewise.
7719 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7720 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7721 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7722 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 7723 Likewise.
57f41c40
AS
7724 * nis/nss_nisplus/nisplus-initgroups.c
7725 (_nss_nisplus_initgroups_dyn): Likewise.
7726 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7727 (_nss_nisplus_getnetbyaddr_r): Likewise.
7728 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7729 (_nss_nisplus_getprotobynumber_r): Likewise.
7730 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7731 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
7732 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7733 Likewise.
57f41c40
AS
7734 * nis/nss_nisplus/nisplus-service.c
7735 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7736 (_nss_nisplus_getservbyport_r): Likewise.
7737 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7738 (_nss_nisplus_getspnam_r): Likewise.
7739 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7740 Likewise.
a1ffb40e
OB
7741 * nscd/aicache.c (addhstaiX): Likewise.
7742 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
7743 * nscd/connections.c (register_traced_file, send_ro_fd)
7744 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7745 (main_loop_epoll): Likewise.
a1ffb40e
OB
7746 * nscd/grpcache.c (addgrbyX): Likewise.
7747 * nscd/hstcache.c (addhstbyX): Likewise.
7748 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7749 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
7750 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7751 (addinnetgrX): Likewise.
7752 * nscd/nscd-client.h (__nscd_acquire_maplock)
7753 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
7754 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7755 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7756 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7757 Likewise.
7758 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7759 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
7760 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7761 (__nscd_get_map_ref): Likewise.
a1ffb40e 7762 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
7763 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7764 Likewise.
a1ffb40e
OB
7765 * nscd/pwdcache.c (addpwbyX): Likewise.
7766 * nscd/selinux.c (preserve_capabilities): Likewise.
7767 * nscd/servicescache.c (addservbyX): Likewise.
7768 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7769 * posix/fnmatch.c (fnmatch): Likewise.
7770 * posix/getopt.c (_getopt_internal_r): Likewise.
7771 * posix/glob.c (glob, glob_in_dir): Likewise.
7772 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
7773 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7774 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
7775 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7776 * resolv/res_init.c: Likewise.
7777 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7778 * resolv/res_query.c (__libc_res_nquery): Likewise.
7779 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7780 Likewise.
7781 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7782 * stdio-common/perror.c (perror): Likewise.
7783 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7784 * stdio-common/tmpnam.c (tmpnam): Likewise.
7785 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7786 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
7787 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7788 Likewise.
a1ffb40e
OB
7789 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7790 * stdlib/putenv.c (putenv): Likewise.
7791 * stdlib/setenv.c (__add_to_environ): Likewise.
7792 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7793 * stdlib/strtol_l.c (INTERNAL): Likewise.
7794 * string/memmem.c (memmem): Likewise.
7795 * string/strerror.c (strerror): Likewise.
7796 * string/strnlen.c (__strnlen): Likewise.
7797 * string/test-memmem.c (simple_memmem): Likewise.
7798 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7799 * sunrpc/pm_getport.c (__get_socket): Likewise.
7800 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7801 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
7802 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7803 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
7804 Likewise.
7805 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7806 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7807 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7808 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7809 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
7810 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7811 Likewise.
7812 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7813 Likewise.
a1ffb40e
OB
7814 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7815 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7816 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7817 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7818 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7820 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7821 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7822 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7823 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7824 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7825 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7826 Likewise.
7827 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7828 Likewise.
7829 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7830 Likewise.
7831 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7832 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7833 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7834 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7835 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7836 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7837 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7838 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7839 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7840 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7841 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7842 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7843 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7844 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7845 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
7846 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7847 Likewise.
a1ffb40e
OB
7848 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7849 Likewise.
7850 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7851 Likewise.
7852 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7853 Likewise.
7854 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7855 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7856 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7857 Likewise.
7858 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7859 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7860 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7861 * sysdeps/posix/sleep.c: Likewise.
7862 * sysdeps/posix/tempname.c: Likewise.
7863 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7864 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7865 Likewise.
57f41c40
AS
7866 * sysdeps/powerpc/powerpc32/dl-machine.h
7867 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
7868 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7869 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7870 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7871 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7872 Likewise.
7873 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7874 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7875 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7876 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7877 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7878 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7879 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7880 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7881 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7882 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7883 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7884 (elf_machine_lazy_rel): Likewise.
a1ffb40e 7885 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7886 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7887 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7888 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7889 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7890 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7891 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7892 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7893 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7894 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7895 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7896 Likewise.
7897 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7898 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7899 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7900 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7901 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7902 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7903 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7904 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7905 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7906 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7907 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7908 Likewise.
7909 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7910 (__posix_fallocate64_l64): Likewise.
7911 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7912 (posix_fallocate): Likewise.
57f41c40
AS
7913 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7914 Likewise.
a1ffb40e 7915 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
7916 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7917 (getifaddrs_internal): Likewise.
a1ffb40e
OB
7918 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7919 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7920 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7921 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7922 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7923 (__posix_fallocate64_l64): Likewise.
7924 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7925 Likewise.
7926 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
7927 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7928 (__get_clockfreq): Likewise.
a1ffb40e
OB
7929 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7930 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7931 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7932 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7933 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7934 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7935 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7936 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7937 Likewise.
7938 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7939 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7940 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7941 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7942 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7943 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7944 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7945 Likewise.
7946 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7947 (posix_fallocate): Likewise.
7948 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7949 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7950 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7951 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7952 (elf_machine_rela, elf_machine_rela_relative)
7953 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7954 * time/asctime.c (asctime_internal): Likewise.
7955 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7956 * time/tzset.c (__tzset_parse_tz): Likewise.
7957 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7958 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7959 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7960 * wcsmbs/wcsmbsload.h: Likewise.
7961
f3d338c9
OB
7962 [BZ #15894]
7963 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7964
57f41c40
AS
7965 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7966 (arena_get2): Remove THREAD_STATS conditionals.
7967 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7968 (__malloc_stats, int): Likewise.
bdfe308a 7969
d674667c
MF
79702014-02-08 Mike Frysinger <vapier@gentoo.org>
7971
7972 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7973 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7974
6349768c
MF
7975 * manual/setjmp.texi: Fix typos/grammar errors.
7976
0b7c7473
MF
7977 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7978 Only return early when n is <= 0. Delete unused return statement.
7979
ac8cc9e3
MF
7980 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7981 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7982 * debug/tst-longjmp_chk3.c: New file.
7983
c5bb8e23
MF
7984 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7985 (test_main): Replace code with set_fortify_handler call.
7986 * debug/test-strcpy_chk.c: Likewise.
7987 * debug/tst-chk1.c: Likewise.
7988 * debug/tst-longjmp_chk.c: Likewise.
7989 * test-skeleton.c: Include fcntl.h & paths.h
7990 (set_fortify_handler): Define.
7991
10444e42
MF
7992 * debug/tst-longjmp_chk.c: Add header comment and include
7993 ../test-skeleton.c.
7994 (do_test): Mark static.
7995 (TEST_FUNCTION): Define.
7996
1e805e8d
MF
7997 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7998 (IP_PMTUDISC_INTERFACE): Likewise.
7999 (IP_MULTICAST_IF): Likewise.
8000 (IP_MULTICAST_TTL): Likewise.
8001 (IP_MULTICAST_LOOP): Likewise.
8002 (IP_ADD_MEMBERSHIP): Likewise.
8003 (IP_DROP_MEMBERSHIP): Likewise.
8004 (IP_UNBLOCK_SOURCE): Likewise.
8005 (IP_BLOCK_SOURCE): Likewise.
8006 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8007 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8008 (IP_MSFILTER): Likewise.
8009 (MCAST_JOIN_GROUP): Likewise.
8010 (MCAST_BLOCK_SOURCE): Likewise.
8011 (MCAST_UNBLOCK_SOURCE): Likewise.
8012 (MCAST_LEAVE_GROUP): Likewise.
8013 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8014 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8015 (MCAST_MSFILTER): Likewise.
8016 (IP_MULTICAST_ALL): Likewise.
8017 (IP_UNICAST_IF): Likewise.
8018
73f79bb7
MF
8019 * timezone/Makefile: Delete $(have-ksh) check.
8020 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8021 * timezone/tzselect.ksh: Add +x mode bits.
8022
8da79b60
MF
8023 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8024 (ANON_INODE_FS_MAGIC): Likewise.
8025 (BDEVFS_MAGIC): Likewise.
8026 (BINFMTFS_MAGIC): Likewise.
8027 (BTRFS_TEST_MAGIC): Likewise.
8028 (CRAMFS_MAGIC_WEND): Likewise.
8029 (DEBUGFS_MAGIC): Likewise.
8030 (ECRYPTFS_SUPER_MAGIC): Likewise.
8031 (EXT3_SUPER_MAGIC): Likewise.
8032 (EXT4_SUPER_MAGIC): Likewise.
8033 (FUTEXFS_SUPER_MAGIC): Likewise.
8034 (HOSTFS_SUPER_MAGIC): Likewise.
8035 (HUGETLBFS_MAGIC): Likewise.
8036 (MINIX3_SUPER_MAGIC): Likewise.
8037 (MTD_INODE_FS_MAGIC): Likewise.
8038 (NILFS_SUPER_MAGIC): Likewise.
8039 (OPENPROM_SUPER_MAGIC): Likewise.
8040 (PIPEFS_MAGIC): Likewise.
8041 (PSTOREFS_MAGIC): Likewise.
8042 (QNX6_SUPER_MAGIC): Likewise.
8043 (RAMFS_MAGIC): Likewise.
8044 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8045 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8046 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8047 (SECURITYFS_MAGIC): Likewise.
8048 (SELINUX_MAGIC): Likewise.
8049 (SMACK_MAGIC): Likewise.
8050 (SOCKFS_MAGIC): Likewise.
8051 (SQUASHFS_MAGIC): Likewise.
8052 (STACK_END_MAGIC): Likewise.
8053 (TMPFS_MAGIC): Likewise.
8054 (USBDEVICE_SUPER_MAGIC): Likewise.
8055 (V9FS_MAGIC): Likewise.
8056 (XENFS_SUPER_MAGIC): Likewise.
8057 (CRAMFS_MAGIC): Fix typo in comment.
8058 (EXT2_SUPER_MAGIC): Update comment.
8059 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8060
464263cc
JM
80612014-02-08 Joseph Myers <joseph@codesourcery.com>
8062
c6bfe5c4
JM
8063 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8064 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8065 * sysdeps/unix/sysv/linux/arm: Move directory from
8066 ports/sysdeps/unix/sysv/linux/arm.
8067 * README: Update listing for arm-*-linux-gnueabi.
8068
464263cc
JM
8069 * README: Remove mention of am33.
8070
32749f6c
RM
80712014-02-07 Roland McGrath <roland@hack.frob.com>
8072
8073 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8074 than the comma operator, to avoid "rhs of comma has no effect"
8075 compiler warnings.
8076 (__sigfillset, __sigandset, __sigorset): Likewise.
8077 * include/signal.h (__sigemptyset): Likewise.
8078 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8079
d5b396c1
AM
80802014-02-07 Allan McRae <allan@archlinux.org>
8081
8082 * version.h (RELEASE): Set to "development".
8083 (VERSION): Set to "2.19.90"
8084 * NEWS: Add 2.20 section.
8085
3bfff2ed
CD
80862014-02-06 Carlos O'Donell <carlos@redhat.com>
8087
8088 [BZ #16529]
8089 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8090
ee7cc385
SP
80912014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8092
8093 * manual/contrib.texi: Update entry for Carlos O'Donell,
8094 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8095
f877c4f2
CD
80962014-02-05 Carlos O'Donell <carlos@rehdat.com>
8097
27e839f6
CD
8098 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8099
f877c4f2
CD
8100 * sysdeps/unix/sysv/linux/kernel-features.h
8101 [__LINUX_KERNEL_VERSION >= 0x020621]
8102 (__ASSUME_PROC_PID_TASK_COMM): Define.
8103
68159946
SP
81042014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8105
ba17cdbd
SP
8106 [BZ #16398]
8107 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8108 conversion when destination buffer does not have enough space.
8109 * libio/tst-ftell-partial-wide.c: New test case.
8110 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8111
68159946
SP
8112 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8113 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8114 Leonard and Allan McRae.
8115
2b528732
DM
81162014-02-04 David S. Miller <davem@davemloft.net>
8117
8118 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8119 32-bit.
8120
0ff82463
AZ
81212014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8122
57f41c40
AS
8123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8124 New file
c01603f7
AZ
8125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8126 New file
57f41c40
AS
8127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8128 New file.
8129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8130 New file.
c01603f7
AZ
8131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8132 New file.
57f41c40
AS
8133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8134 New file.
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8136 New file.
c01603f7
AZ
8137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8138 New file.
8139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8140 New file.
8141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8142 New file.
8143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8144 New file.
8145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8146 New file.
8147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8148 New file.
8149
81502014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8151
0ff82463
AZ
8152 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8153 * shlib-versions: Likewise.
8154
1695c773
AZ
81552014-02-04 Roland McGrath <roland@hack.frob.com>
8156 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8157
8158 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8159 (abilist-pattern): New variable, set to %-le.abilist.
8160
8161 * Makerules (abilist-pattern): New variable.
8162 (vpath): Use $(abilist-pattern) in place of %.abilist.
8163 (check-abi-% pattern rule): Likewise.
8164 (check-abi, update-abi): Likewise.
8165
6c0ce4b4
EW
81662014-02-04 Eric Wong <normalperson@yhbt.net>
8167
8168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8169
481e3524
CD
81702014-02-03 Carlos O'Donell <carlos@redhat.com>
8171
8172 * manual/startup.texi: Add next, previous, and top entries for
8173 the `Program Arguments' and `Environment Variables' nodes.
8174
375592d3
AO
81752014-02-03 Alexandre Oliva <aoliva@redhat.com>
8176
8177 * manual/macros.texi: Add comments before MTASC-safety macros.
8178
f54838ba
AO
8179 * manual/users.texi: Document MTASC-safety properties.
8180
57f41c40
AS
8181 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8182 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
8183 @deftypefun, and add @safety note.
8184 * manual/signal.texi: Move comments that analyze the above
8185 functions to their home place.
8186
fd3daba4
AM
81872014-02-03 Allan McRae <allan@archlinux.org>
8188
8189 * po/sl.po: Update Slovenian translation from translation project.
8190
597636d7
AO
81912014-02-02 Alexandre Oliva <aoliva@redhat.com>
8192
8193 * manual/time.texi (timegm): Add missing blank after @c.
8194 Reported by Joseph Myers <joseph@codesourcery.com>.
8195
ee196e3c
AO
81962014-02-01 Alexandre Oliva <aoliva@redhat.com>
8197
8198 * manual/check-safety.sh: New.
8199 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8200
f8d529d5
AO
8201 * manual/terminal.texi: Document MTASC-safety properties.
8202
de55fdf4
AO
8203 * manual/filesys.texi: Document MTASC-safety properties.
8204
c3299c08
AO
8205 * manual/errno.texi: Document MTASC-safety properties.
8206
06e90b14
AO
8207 * manual/intro.texi: Document safety identifiers and
8208 conditionals.
8209
1acd4371
AO
8210 * manual/string.texi (wcstok): Fix prototype.
8211 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8212
23e5b8cb
AO
8213 * manual/time.texi: Document MTASC-safety properties.
8214
11087373
AO
8215 * manual/string.texi: Document MTASC-safety properties.
8216
5da2c93d
AO
8217 * manual/threads.texi: Document MTASC-safety properties.
8218
171e9210
AO
8219 * manual/stdio.texi: Document MTASC-safety properties.
8220
d9e02532
AO
8221 * manual/syslog.texi: Document MTASC-safety properties.
8222
6af8bab7
AO
8223 * manual/sysinfo.texi: Document MTASC-safety properties.
8224
663b02d7
AO
8225 * manual/startup.texi: Document MTASC-safety properties.
8226
973f180b
AO
8227 * manual/socket.texi: Document MTASC-safety properties.
8228
8f3c25c8
AO
8229 * manual/signal.texi: Document MTASC-safety properties.
8230
542210fb
AO
82312014-01-31 Alexandre Oliva <aoliva@redhat.com>
8232
8233 * manual/setjmp.texi: Document MTASC-safety properties.
8234
433c45a2
AO
8235 * manual/search.texi: Document MTASC-safety properties.
8236
c8ce789c
AO
8237 * manual/resource.texi: Document MTASC-safety properties.
8238
19f5d29c
AO
8239 * manual/process.texi: Document MTASC-safety properties.
8240
e2dfb7f4
AO
8241 * manual/platform.texi: Document MTASC-safety properties.
8242
8c1413f5
AO
8243 * manual/pipe.texi: Document MTASC-safety properties.
8244
03483ada
AO
8245 * manual/pattern.texi: Document MTASC-safety properties.
8246
29e7e2df
AO
8247 * manual/message.texi: Document MTASC-safety properties.
8248
9f529d7c
AO
8249 [BZ #12751]
8250 * manual/memory.texi: Document MTASC-safety properties.
8251
27aaa791
AO
8252 * manual/math.texi: Document MTASC-safety properties.
8253
f2d58726
AO
8254 * manual/locale.texi: Document MTASC-safety properties.
8255
2cc3615c
AO
8256 * manual/llio.texi: Document MTASC-safety properties.
8257
d9f0ec97
AO
8258 * manual/libdl.texi: New.
8259
e7c4409a
AO
8260 * manual/lang.texi: Document MTASC-safety properties.
8261
27bdc63c
AO
8262 * manual/job.texi: Document MTASC-safety properties.
8263
a7b90ea9
AO
8264 * manual/getopt.texi: Document MTASC-safety properties.
8265
c49130e3
AO
8266 * manual/ctype.texi: Document MTASC-safety properties.
8267
0d23a5c1
MR
82682014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8269
8270 [BZ #16046]
8271 * csu/libc-tls.c (static_map): Remove variable.
8272 (__libc_setup_tls): Use main executable's link map for TLS data.
8273 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8274 casing for LM_ID_BASE and GL(dl_nns).
8275 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8276 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8277 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8278 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8279 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8280 member.
8281 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8282 l_phnum members.
8283
0037bb60
AO
82842014-01-30 Alexandre Oliva <aoliva@redhat.com>
8285
8286 * manual/debug.texi: Document MTASC-safety properties.
8287
409e00bd
L
82882014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8289
8290 [BZ #16510]
8291 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8292 of __x86_64__ when disabling x87 inline functions.
8293
86e60666
AO
82942014-01-29 Alexandre Oliva <aoliva@redhat.com>
8295
8296 * manual/charset.texi: Document MTASC-safety properties.
8297
76167637
AO
8298 * manual/crypt.texi: Document MTASC-safety properties.
8299
e567f2a0
AO
8300 * manual/conf.texi: Document MTASC-safety properties.
8301
b719dafd
AO
8302 * manual/arith.texi: Document MTASC-safety properties.
8303
4a16c662
AO
8304 * manual/argp.texi: Document MTASC-safety properties.
8305
0a57b83e
AO
8306 * manual/macros.texi: Introduce macros to document multi
8307 thread, asynchronous signal and asynchronous cancellation
8308 safety properties.
8309 * manual/intro.texi: Introduce the properties themselves.
8310
feab2397
KK
83112014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8312
8313 * sysdeps/sh/sh4/Makefile: New file.
8314
1c0d11bc
AS
83152014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8316
8317 * math/gen-libm-test.pl ($srcdir): New variable.
8318 ($auto_input): Use it.
8319
af37a8a3
SP
83202014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8321
d7b00f98
SP
8322 [BZ #16506]
8323 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8324 access beyond array bounds when parsing netgroups file.
8325
af37a8a3
SP
8326 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8327 the old buffer before realloc.
8328
0c00f062
AM
83292014-01-27 Allan McRae <allan@archlinux.org>
8330
8331 * po/fr.po: Update French translation from translation project.
8332
7d69a1b0
KK
83332014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8334
8335 * sysdeps/sh/libm-test-ulps: Regenerate.
8336
6e697ff7
DM
83372014-01-24 David S. Miller <davem@davemloft.net>
8338
8339 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8340
9cadb35c
KK
83412014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8342
8343 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8344 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8345
5d41dadf
SP
83462013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8347
8348 [BZ #16474]
8349 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8350 string pointers after reallocation.
8351
0bad441c
KK
83522014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8353
8354 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8355 __SH4A__ instead of __SH_FPU_ANY__.
8356
7007c661
KK
83572014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8358
8359 * sysdeps/sh/fpu_control.h: New file.
8360 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8361 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8362 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8363 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8364 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8365 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8366 * sysdeps/sh/sys/ucontext.h: Remove.
8367 * sysdeps/sh/sys: Remove directory.
8368
0f0c35e4
AK
83692014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8370
8371 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8372 s390/sys/ucontext.h.
8373 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8374 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8375
4959e284
L
83762014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8377
8378 [BZ #15605]
8379 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8380
d98720e0
AZ
83812014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8382
8383 [BZ#16431]
8384 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8385 Adjust the vDSO correctly for internal calls.
8386 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8387
91cbd0bc
AM
83882014-01-20 Allan McRae <allan@archlinux.org>
8389
8390 * po/ca.po: Update Catalan translation from translation project.
8391
7a02cfad
MF
83922014-01-16 Mike Frysinger <vapier@gentoo.org>
8393
8394 * sysdeps/s390/sotruss-lib.c: New file.
8395
736c304a
AZ
83962014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8397
8398 [BZ#16430]
6e077ee5 8399 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
8400 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8401 local calls issues by not having a PLT stub required for IFUNC calls.
8402 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8403
94d0cea0
JM
84042014-01-16 Joseph Myers <joseph@codesourcery.com>
8405
8406 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8407 * math/test-fpucw-static.c: Likewise.
8408
980cb518
SP
84092013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8410
8411 [BZ #16453]
8412 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8413
2393fc01
AZ
84142014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8415
8416 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8417 implementation for powerpc.
8418
d359bcc2
OB
84192014-01-15 Ondřej Bílka <neleai@seznam.cz>
8420
8421 [BZ #14782]
8422 * sysdeps/posix/system.c (__libc_system): Do not enable
8423 asynchronous cancellation.
8424
7beb48cb
AK
84252014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8426
8427 [BZ #16427]
8428 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8429 handling only for numbers special also in the IEEE case.
8430
c20d5bf5
AK
84312014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8432
8433 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8434
e83bd4ee
AM
84352014-01-11 Allan McRae <allan@archlinux.org>
8436
76d0ea69
AM
8437 * po/bg.po: Update Bulgarian translation from translation project.
8438
e83bd4ee
AM
8439 * po/de.po: Update German translation from translation project.
8440
bc2ba20a
RM
84412014-01-10 Roland McGrath <roland@hack.frob.com>
8442
8443 * sysdeps/generic/gcc-compat.h: New file.
8444
649ecea2
SP
84452014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8446
8447 * benchtests/asin-inputs: Correct slow inputs.
8448 * benchtests/acos-inputs: Likewise.
8449
1b19c006
AM
84502014-01-10 Allan McRae <allan@archlinux.org>
8451
a46dab08
AM
8452 * po:sv.po: Update Swedish translation from translation project.
8453
421df74a
AM
8454 * po/vi.po: Update Vietnamese translation from translation project.
8455
d61c51a7
AM
8456 * po/eo.po: Update Esperanto translation from translation project.
8457
0339a319
AM
8458 * po/cs.po: Update Czech translation from translation project.
8459
94ad3e99
AM
8460 * po/nl.po: Update Dutch translation from translation project.
8461
e349ca71
AM
8462 * po/pl.po: Update Polish translation from translation project.
8463
ddf930c1
AM
8464 * po/ru.po: Update Russian translation from translation project.
8465
1b19c006
AM
8466 * po/uk.po: Update Ukrainian translation from translation project.
8467
9f236c49
BM
84682014-01-08 Brooks Moses <bmoses@google.com>
8469
8470 * elf/dl-load.c: Fix comment typo.
8471
cd6701cf
CD
84722014-01-08 Carlos O'Donell <carlos@redhat.com>
8473
8474 * po/header.pot: Rename to...
8475 * po/pot.header: ... this.
8476 * po/Makefile: Use pot.header.
8477
66671c84
YK
84782014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8479 Maxim Kuvyrkov <maxim@kugelworks.com>
8480
8481 [BZ #16394]
cd6701cf
CD
8482 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8483 SRC and DEST against LEN.
66671c84 8484
38f34581
AZ
84852014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8486
8487 [BZ #16414]
8488 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8489 implementation.
8490 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8491
84922014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
8493
8494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8495
4c327f2a
JM
84962014-01-08 Joseph Myers <joseph@codesourcery.com>
8497
8498 [BZ #16408]
8499 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8500 for large positive arguments.
8501
b821f414
JM
85022014-01-07 Joseph Myers <joseph@codesourcery.com>
8503
1f0f2067
JM
8504 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8505
a5a326f6
JM
8506 * math/auto-libm-test-in: Mark various tests with
8507 xfail-rounding:ldbl-128ibm.
8508 * math/auto-libm-test-out: Regenerated.
8509
b821f414
JM
8510 [BZ #16407]
8511 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8512 Increase overflow threshold.
8513
94c8a4bc
OB
85142014-01-07 Ondřej Bílka <neleai@seznam.cz>
8515
8516 [BZ #14286]
8517 * stdio-common/vfprintf.c: Check for integer overflow.
8518
87ded0c3
AK
85192014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8520
8521 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8522 the first argument and return value of __tls_get_addr_internal.
8523
c5eebdd0
AK
85242014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8525
8526 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8527 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8528
05d138ef
AK
85292014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8530
8531 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8532 * sysdeps/s390/rtld-global-offsets.sym: New file.
8533 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8534 GLIBC_2.19 symbol.
8535 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8536 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8537 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8538 ... this.
8539 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8540 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8541 ... this.
8542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8543 Regenerate.
8544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8545 Regenerate.
8546 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8547 halfs of GPRs for high_gprs contexts.
8548 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8549 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8550 field.
8551 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8552 uc_flags field.
8553 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8554 64 bit versions:
8555 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8556 for high GPRs (uc_high_gprs) and for future extensions
8557 (__reserved).
8558 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8559 for future extensions (__reserved).
8560 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8561 64 bit versions:
8562 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8563 SC_HIGHGPRS offset definition.
8564 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8565 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8566
93a45ff1
AK
8567 * Versions.def: Add GLIBC_2.19 for libpthread.
8568 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8569 siglongjmp for libpthread with GLIBC_2.19 symver.
8570 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8571 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8572 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8573 * sysdeps/s390/__longjmp.c: New file.
8574 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8575 * sysdeps/s390/longjmp.c: New file.
8576 * sysdeps/s390/setjmp.S: New file.
8577 * sysdeps/s390/sigjmp.S: New file.
8578 * sysdeps/s390/v1-longjmp.c: New file.
8579 * sysdeps/s390/v1-setjmp.h: New file.
8580 * sysdeps/s390/v1-sigjmp.c: New file.
8581 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8582 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8583 GLIBC_2.19 version.
8584 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8585 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8586 versioned symbols for ____longjmp_chk.
8587 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8588 Likewise.
8589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8590 Regenerate.
8591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8592 Regenerate.
8593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8594 Regenerate.
8595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8596 Regenerate.
8597 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8598 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8599 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8600 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8601 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8602 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8603 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8604 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8605 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8606 * sysdeps/s390/rtld-__longjmp.c: New file.
8607 * sysdeps/s390/rtld-setjmp.S: New file.
8608
eb3fc44b
JM
86092014-01-06 Joseph Myers <joseph@codesourcery.com>
8610
8611 [BZ #16400]
8612 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8613 Return -__logl (x) for small positive arguments without evaluating
8614 a polynomial.
8615
9341dde4
MF
86162014-01-06 Mike Frysinger <vapier@gentoo.org>
8617
8618 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8619 Rename to ...
8620 (__ptrace_peeksiginfo_args): ... this.
8621 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8622 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8623 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8624
4cff0293
AM
86252014-01-06 Allan McRae <allan@archlinux.org>
8626
8627 * inet/netinet/in.h: Fix typo in comment.
8628
75595dcf
AJ
86292014-01-05 Andreas Jaeger <aj@suse.de>
8630
8631 * sysdeps/i386/fpu/libm-test-ulps: Update.
8632
79c1e109
AM
86332014-01-05 Allan McRae <allan@archlinux.org>
8634
dd804818
AM
8635 * po/libc.pot: Regenerated.
8636
79c1e109
AM
8637 * malloc/memusagestat.c: Fix gettext call formatting.
8638
0c813d1f
SK
86392014-01-04 Sami Kerola <kerolasa@iki.fi>
8640
8641 * nscd/nscd.c: Improve usage() output.
8642
20f4a8d9
MF
86432014-01-04 Mike Frysinger <vapier@gentoo.org>
8644
8645 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8646 * sysdeps/unix/sysv/linux/configure: Regenerated.
8647 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8648 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8649
22562bb2
JM
86502014-01-03 Joseph Myers <joseph@codesourcery.com>
8651
8652 [BZ #16390]
8653 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8654 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8655
d7ad2d9b
AZ
86562014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8657
8658 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8659 extra tokens at end of #undef directive.
8660 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8661 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8662 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8663
7dd009d8
JM
86642014-01-03 Joseph Myers <joseph@codesourcery.com>
8665
24db925a
JM
8666 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8667
7dd009d8
JM
8668 * math/auto-libm-test-in: Mark various tests with
8669 xfail-rounding:ldbl-128ibm.
8670 * math/auto-libm-test-out: Regenerated.
8671
396e3ecf
JM
86722014-01-02 Joseph Myers <joseph@codesourcery.com>
8673
819e5d50
JM
8674 [BZ #16386]
8675 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8676 numbers with subnormal high part when calculating exponent.
8677
90b6a1e5
JM
8678 [BZ #16385]
8679 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8680 fabs.
8681
396e3ecf
JM
8682 [BZ #16384]
8683 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8684 M_LN2l.
8685 (__ieee754_acoshl): Use __log1pl not __log1p.
8686
6c8dbf00
OB
86872013-01-02 Ondřej Bílka <neleai@seznam.cz>
8688
57f41c40
AS
8689 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8690 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8691 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8692 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8693 (reused_arena, arena_get2): Convert to GNU style.
8694 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8695 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8696 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 8697 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
8698 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8699 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8700 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8701 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8702 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8703 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 8704 * malloc/malloc.h: Likewise.
57f41c40
AS
8705 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8706 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 8707 * malloc/mcheck.h: Likewise.
57f41c40
AS
8708 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8709 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
8710 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8711 * malloc/morecore.c (__default_morecore): Likewise.
8712 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
8713 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8714 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8715 (print_and_abort): Likewise.
6c8dbf00
OB
8716 * malloc/obstack.h: Likewise.
8717 * malloc/set-freeres.c (__libc_freeres): Likewise.
8718 * malloc/tst-mallocstate.c (main): Likewise.
8719 * malloc/tst-mtrace.c (main): Likewise.
8720 * malloc/tst-realloc.c (do_test): Likewise.
8721
d4124212
SP
87222013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8723
9a3c6a6f
SP
8724 [BZ #16366]
8725 * nscd/netgroupcache.c (do_notfound): New function.
8726 (addgetnetgrentX): Use it.
8727
d4124212
SP
8728 [BZ # 16365]
8729 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8730 NSS_STATUS_NOTFOUND.
8731
97b9a009
JM
87322014-01-01 Joseph Myers <joseph@codesourcery.com>
8733
8734 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8736
d4697bc9
AM
87372014-01-01 Allan McRae <allan@archlinux.org>
8738
ddb3687f
AM
8739 * scripts/update-copyrights: Update configure input file suffix.
8740
88726d48
AM
8741 * NEWS: Update copyright year.
8742 * catgets/gencat.c: Likewise.
8743 * csu/version.c: Likewise.
8744 * debug/catchsegv.sh: Likewise.
8745 * debug/pcprofiledump.c: Likewise.
8746 * debug/xtrace.sh: Likewise.
8747 * elf/ldconfig.c: Likewise.
8748 * elf/ldd.bash.in: Likewise.
8749 * elf/pldd.c: Likewise.
8750 * elf/sotruss.ksh: Likewise.
8751 * elf/sprof.c: Likewise.
8752 * iconv/iconv_prog.c: Likewise.
8753 * iconv/iconvconfig.c: Likewise.
8754 * locale/programs/locale.c: Likewise.
8755 * locale/programs/localedef.c: Likewise.
8756 * login/programs/pt_chown.c: Likewise.
8757 * malloc/memusage.sh: Likewise.
8758 * malloc/memusagestat.c: Likewise.
8759 * malloc/mtrace.pl: Likewise.
8760 * manual/libc.texinfo: Likewise.
8761 * nscd/nscd.c: Likewise.
8762 * nss/getent.c: Likewise.
8763 * nss/makedb.c: Likewise.
8764 * posix/getconf.c: Likewise.
8765 * scripts/test-installation.pl: Likewise.
8766
d4697bc9
AM
8767 * All files with FSF copyright notices: Update copyright dates
8768 using scripts/update-copyrights.
8769 * intl/plural.c: Regenerated.
8770 * locale/programs/charmap-kw.h: Likewise.
8771 * locale/programs/locfile-kw.h: Likewise.
8772
c8590f9d
MF
87732013-12-31 Mike Frysinger <vapier@gentoo.org>
8774
8775 * sysdeps/unix/sysv/linux/configure: Regenerated.
8776 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8777 the linux/fanotify.h header.
8778 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8779 HAVE_LINUX_FANOTIFY_H is defined.
8780
b19221b9
SP
87812013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8782
dd1d85e5
SP
8783 * benchtests/cos-inputs: New inputs.
8784 * benchtests/sin-inputs: Likewise.
8785
1acbb90f
SP
8786 * benchtests/atan-inputs: New inputs. Fix name of multiple
8787 precision fallback inputs.
8788
4c012ed3
SP
8789 * benchtests/atanh-inputs: New inputs.
8790 * benchtests/tanh-inputs: Likewise.
8791
eff98324
SP
8792 * benchtests/acosh-inputs: New inputs.
8793 * benchtests/asinh-inputs: Likewise.
8794
ce641152
SP
8795 * benchtests/cosh-inputs: New inputs.
8796 * benchtests/sinh-inputs: Likewise.
8797
b19221b9
SP
8798 * benchtests/acos-inputs: Add more inputs.
8799 * benchtests/asin-inputs: Likewise.
8800
030a4976 88012013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 8802
030a4976 8803 [BZ #16375]
9dcc8f11
VS
8804 * manual/arith.texi: Fix spelling.
8805 * manual/charset.texi: Likewise.
8806 * manual/errno.texi: Likewise.
8807 * manual/filesys.texi: Likewise.
8808 * manual/lang.texi: Likewise.
8809 * manual/llio.texi: Likewise.
8810 * manual/locale.texi: Likewise.
8811 * manual/message.texi: Likewise.
8812 * manual/resource.texi: Likewise.
8813 * manual/search.texi: Likewise.
8814 * manual/setjmp.texi: Likewise.
8815 * manual/stdio.texi: Likewise.
8816 * manual/string.texi: Likewise.
8817 * manual/sysinfo.texi: Likewise.
8818 * manual/time.texi: Likewise.
8819
11520a57
CD
88202013-12-27 Carlos O'Donell <carlos@redhat.com>
8821
8822 * po/sl.po: New file.
8823
471103ae
MF
88242013-12-27 Mike Frysinger <vapier@gentoo.org>
8825
8826 * .gitignore: Add core/.gdbinit/.gdb_history.
8827
6c9642ed
AM
88282013-12-27 Allan McRae <allan@archlinux.org>
8829
8830 [BZ #16369]
8831 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8832 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8833
3f637079
BM
88342013-12-24 Brooks Moses <bmoses@google.com>
8835
8836 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8837 all compilers that claim C++98 compliance, not just GCC.
8838 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8839 Likewise.
8840
abc26e99
MK
88412013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8842
8843 * NEWS: Restore accidentally deleted bug-fix entries.
8844
362b47fe
MK
88452013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8846 Ondřej Bílka <neleai@seznam.cz>
8847
8848 [BZ #15073]
8849 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 8850 have_lock.
362b47fe 8851
b9bcbbcb
OB
88522013-12-23 Ondřej Bílka <neleai@seznam.cz>
8853
8854 [BZ #12986]
8855 * manual/stdio.texi (String Input Conversions): Clarify that character
8856 classes are not supported.
8857
fb55fcd2
AZ
88582013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8859
8860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8861
ef7344f0
JM
88622013-12-22 Joseph Myers <joseph@codesourcery.com>
8863
4f40e4b3
JM
8864 [BZ #16337]
8865 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8866 Calculate results for small negative arguments directly rather
8867 than using reflection formula with special underflow handling.
8868
ef7344f0
JM
8869 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8870 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8871 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8872 (fchflags): Likewise.
8873 (revoke): Likewise.
8874 (setlogin): Likewise.
8875 (sigaltstack): Likewise.
8876 (wait4): Likewise.
8877 (sigblock): Remove.
8878 (sigsetmask): Likewise.
8879 (wait3): Likewise.
8880 (waitpid): Likewise.
8881 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8882 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8883 file.
8884 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8885 * sysdeps/unix/bsd/Makefile: ... here.
8886 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8887 * sysdeps/unix/bsd/Versions: ... here.
8888 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8889 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8890 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8891 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8892 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8893 * sysdeps/unix/bsd/sigblock.c: ... here.
8894 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8895 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8896 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8897 * sysdeps/unix/bsd/sigvec.c: ... here.
8898 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8899 * sysdeps/unix/bsd/tcdrain.c: ... here.
8900 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8901 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8902 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8903 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8904 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8905 * sysdeps/unix/bsd/wait.c: ... here.
8906 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8907 * sysdeps/unix/bsd/wait3.c: ... here.
8908 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8909 * sysdeps/unix/bsd/waitpid.c: ... here.
8910
5b0626b9
JM
89112013-12-21 Joseph Myers <joseph@codesourcery.com>
8912
8913 [BZ #16356]
8914 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8915 round-to-nearest for [!USE_AS_EXPM1L].
8916 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8917 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8918 more tests of exp and exp10. Expect some exp10 tests to miss
8919 exceptions or fail in directed rounding modes.
8920 * math/auto-libm-test-out: Regenerated.
8921 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8922 (exp10_test_tonearest): New function.
8923 (exp10_towardzero_test_data): New array.
8924 (exp10_test_towardzero): New function.
8925 (exp10_downward_test_data): New array.
8926 (exp10_test_downward): New function.
8927 (exp10_upward_test_data): New array.
8928 (exp10_test_upward): New function.
8929 (main): Call the new functions.
8930 * sysdeps/i386/fpu/libm-test-ulps: Update.
8931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8932
7fda5682
JM
89332013-12-20 Joseph Myers <joseph@codesourcery.com>
8934
31e3a405
JM
8935 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8936 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8937 * math/auto-libm-test-out: Regenerated.
8938 * math/libm-test.inc (acosh_test_data): Add more tests.
8939 (atanh_test_data): Likewise.
8940 (ceil_test_data): Likewise.
8941 (copysign_test_data): Likewise.
8942 * sysdeps/i386/fpu/libm-test-ulps: Update.
8943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8944
85bff96a
JM
8945 * timezone/checktab.awk: Update from tzcode 2013i.
8946 * timezone/private.h: Likewise.
8947 * timezone/scheck.c: Likewise.
8948 * timezone/tzfile.h: Likewise.
8949 * timezone/tzselect.ksh: Likewise.
8950 * timezone/zdump.c: Likewise.
8951 * timezone/zic.c: Likewise.
8952
b7867a3b
JM
8953 * math/auto-libm-test-in: Add tests of cpow.
8954 * math/auto-libm-test-out: Regenerated.
8955 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 8956 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
8957 mpc_cc_c.
8958 (func_calc_desc): Add mpc_cc_c union field.
8959 (test_functions): Add cpow.
8960 (special_fill_2pi): New function.
8961 (special_real_inputs): Add 2pi.
8962 (calc_generic_results): Handle mpc_cc_c.
8963 * sysdeps/i386/fpu/libm-test-ulps: Update.
8964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8965
7fda5682
JM
8966 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8967 csqrt, ctan and ctanh.
8968 * math/auto-libm-test-out: Regenerated.
8969 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8970 (TEST_COND_x86): Likewise.
8971 (ccos_test_data): Use AUTO_TESTS_c_c.
8972 (ccosh_test_data): Likewise.
8973 (cexp_test_data): Likewise.
8974 (clog_test_data): Likewise.
8975 (csqrt_test_data): Likewise.
8976 (ctan_test_data): Likewise.
8977 (ctan_tonearest_test_data): Likewise.
8978 (ctan_towardzero_test_data): Likewise.
8979 (ctan_downward_test_data): Likewise.
8980 (ctan_upward_test_data): Likewise.
8981 (ctanh_test_data): Likewise.
8982 (ctanh_tonearest_test_data): Likewise.
8983 (ctanh_towardzero_test_data): Likewise.
8984 (ctanh_downward_test_data): Likewise.
8985 (ctanh_upward_test_data): Likewise.
8986 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8987 mpc_c_c.
8988 (func_calc_desc): Add mpc_c_c union field.
8989 (FUNC_mpc_c_c): New macro.
8990 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8991 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8992 ctanh.
8993 (special_fill_min_subnorm_p120): New function.
8994 (special_real_inputs): Add min_subnorm_p120.
8995 (calc_generic_results): Handle mpc_c_c.
8996 * sysdeps/i386/fpu/libm-test-ulps: Update.
8997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8998
5ff8d60e
SP
89992013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9000
57f41c40
AS
9001 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9002 (do_sin_slow): New functions.
9003 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9004 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 9005
84ba214c
SP
9006 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9007 Use M to change sign of result instead of X. Assume X is
9008 positive.
9009 (csloww1): Likewise.
9010 (__sin): Adjust.
9011 (__cos): Adjust.
9012
975195e4
SP
9013 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9014 arguments A and DA.
9015 (__sin): Adjust.
9016 (__cos): Likewise.
9017
5ff8d60e
SP
9018 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9019 (__cos): Likewise.
9020 (sloww1): Don't adjust sign of DX.
9021 (csloww1): Likewise.
9022 (sloww2): Use X directly and don't adjust sign of DX.
9023 (csloww2): Likewise.
9024
eb983568
JM
90252013-12-19 Joseph Myers <joseph@codesourcery.com>
9026
64a17f1a
JM
9027 * math/auto-libm-test-in: Add tests of cabs and carg.
9028 * math/auto-libm-test-out: Regenerated.
9029 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9030 (carg_test_data): Likewise.
9031 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9032 mpc_c_f.
9033 (func_calc_desc): Add mpc_c_f union field.
9034 (test_functions): Add cabs and carg.
9035 (calc_generic_results): Handle mpc_c_f.
9036
eb983568
JM
9037 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9038 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9039 as a macro and a compat symbol.
9040 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9041 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9042 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9043 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9044 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9045 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9046 not use .hidden.
9047 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9048 Likewise.
9049 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9050 Likewise.
9051 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9052 Likewise.
9053 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9054 Likewise.
9055 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9056 Likewise.
9057 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9058 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9059 from GLIBC_2.3.2.
9060
6eeb678a
AZ
90612013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9062
9063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9064
6f6fc482
JM
90652013-12-19 Joseph Myers <joseph@codesourcery.com>
9066
21fea2e2
JM
9067 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9068 trailing whitespace removed.
9069 * scripts/config.guess: Update to version 2013-11-29.
9070 * scripts/config.sub: Update to version 2013-10-01.
9071
6f6fc482
JM
9072 * math/auto-libm-test-in: Add tests of sincos.
9073 * math/auto-libm-test-out: Regenerated.
9074 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9075 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9076 mpfr_f_11.
9077 (func_calc_desc): Add mpfr_f_11 union field.
9078 (test_functions): Add sincos.
9079 (calc_generic_results): Handle mpfr_f_11.
9080 * sysdeps/i386/fpu/libm-test-ulps: Update.
9081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9082
83f5c32d
AS
90832013-12-19 Andreas Schwab <schwab@suse.de>
9084
9085 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9086 CALL_MCOUNT.
9087 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9088 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9089 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9090
c688b419
JM
90912013-12-19 Joseph Myers <joseph@codesourcery.com>
9092
335ee092
JM
9093 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9094 * sysdeps/i386/fpu/libm-test-ulps: Update.
9095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9096
f88acd39
JM
9097 [BZ #16293]
9098 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9099 round-to-nearest mode when using frndint.
9100 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9101 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9102 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9103 Likewise.
9104 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9105 sinh test to fail.
9106 * math/auto-libm-test-out: Regenerated.
9107 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9108 (TEST_COND_x86): Likewise.
9109 (expm1_tonearest_test_data): New array.
9110 (expm1_test_tonearest): New function.
9111 (expm1_towardzero_test_data): New array.
9112 (expm1_test_towardzero): New function.
9113 (expm1_downward_test_data): New array.
9114 (expm1_test_downward): New function.
9115 (expm1_upward_test_data): New array.
9116 (expm1_test_upward): New function.
9117 (main): Run the new test functions.
9118 * sysdeps/i386/fpu/libm-test-ulps: Update.
9119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9120
c688b419
JM
9121 * include/features.h: Update comment documenting feature test
9122 macros. Mention _DEFAULT_SOURCE in comment.
9123 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9124 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9125 _BSD_SOURCE and _SVID_SOURCE.
9126 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9127 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9128 !_SVID_SOURCE]: Likewise.
9129 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9130 (__USE_POSIX_IMPLICITLY): Define.
9131 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9132 (_POSIX_SOURCE): Undefine and redefine.
9133 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9134 (_POSIX_C_SOURCE): Likewise.
9135 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9136 (Feature Test Macros): Update documentation of default features.
9137
9f6e964c
RS
91382013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9139
9140 * benchtests/Makefile: Add bench-strtok.
9141 * benchtests/bench-strtok.c: New file: strtok benchtest.
9142
ee0a148a
AM
91432013-12-19 Allan McRae <allan@archlinux.org>
9144
9145 * manual/install.texi: Suppress menu for plain text output.
9146 * INSTALL: Regenerated.
9147
b9ab448f
BM
91482013-12-18 Brooks Moses <bmoses@google.com>
9149
9150 [BZ #15846]
9151 * misc/getauxval.c: Include errno.h.
9152 (__getauxval): Set errno to ENOENT if the requested type is not
9153 found.
9154 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9155 don't declare with __attribute_const__.
9156 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9157 * manual/startup.texi: Document that getauxval sets errno.
9158
23776487
JM
91592013-12-18 Joseph Myers <joseph@codesourcery.com>
9160
f889953b
JM
9161 * math/auto-libm-test-in: Add tests of jn and yn.
9162 * math/auto-libm-test-out: Regenerated.
9163 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9164 (yn_test_data): Likewise.
9165 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9166 mpfr_if_f.
9167 (func_calc_desc): Add mpfr_if_f union field.
9168 (FUNC_mpfr_if_f): New macro.
9169 (test_functions): Add jn and yn.
9170 (calc_generic_results): Assert type of second input for
9171 mpfr_ff_f. Handle mpfr_if_f.
9172 (output_for_one_input_case): Disable all checking for arguments
9173 fitting floating-point types in case of an integer argument.
9174 * sysdeps/i386/fpu/libm-test-ulps: Update.
9175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9176
23776487
JM
9177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9178 Don't expect fegetround reference in libm.so.
9179
cb756c6d
MS
91802013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9181
9182 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9183 $(config-cflags-nofma).
9184
2dec468f
JM
91852013-12-18 Joseph Myers <joseph@codesourcery.com>
9186
5953eb3a
JM
9187 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9188 * math/auto-libm-test-out: Regenerated.
9189
2dec468f
JM
9190 [BZ #16338]
9191 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9192 to determine exponent and adjust argument to have exponent of -1.
9193 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9194 log2.
9195 * math/auto-libm-test-out: Regenerated.
9196 * sysdeps/i386/fpu/libm-test-ulps: Update.
9197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9198
4d84e6ad
OB
91992013-12-18 Ondřej Bílka <neleai@seznam.cz>
9200
9201 * manual/probes.texi: Remove cases when per-thread arenas are
9202 disabled.
9203
1818483b
AS
92042013-12-18 Andreas Schwab <schwab@suse.de>
9205
9206 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9207 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9208 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9209 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9210 * sysdeps/i386/i686/multiarch/Makefile: Update.
9211 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9212
25de95bf
JM
92132013-12-17 Joseph Myers <joseph@codesourcery.com>
9214
9215 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9216 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9217
674762d9
PE
92182013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9219
ed27ed83 9220 [BZ #15968]
0748546f
PE
9221 Support TZ transition times < 00:00:00.
9222 This is needed for version-3 tz-format files; it supports time
9223 stamps past 2037 for America/Godthab (the only entry in the tz
9224 database for which this change is relevant).
9225 * manual/time.texi (TZ Variable): Document transition times
9226 from -167:59:59 through -00:00:01.
9227 * time/tzset.c (tz_rule): Time of day is now signed.
9228 (__tzset_parse_tz): Parse negative time of day.
9229
4480e934
PE
9230 Document TZ transition times >= 25:00:00.
9231 * manual/time.texi (TZ Variable): Document transition times from
9232 25:00:00 through 167:59:59. These are already supported, and this
9233 support will help with version-3 tz-format files.
9234
69947401
PE
9235 * manual/time.texi (TZ Variable): Modernize North America example
9236 to reflect current (i.e., 2007-and-later) daylight saving rules.
9237
674762d9
PE
9238 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9239
7011c262
JM
92402013-12-17 Joseph Myers <joseph@codesourcery.com>
9241
2fc6557e
JM
9242 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9243 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9244 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9245 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9246 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9247 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9248 * sysdeps/unix/bsd/clock.c: Likewise.
9249 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9250 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9251 * sysdeps/unix/bsd/init-posix.c: Likewise.
9252 * sysdeps/unix/bsd/poll.c: Likewise.
9253 * sysdeps/unix/bsd/ptsname.c: Likewise.
9254 * sysdeps/unix/bsd/seekdir.c: Likewise.
9255 * sysdeps/unix/bsd/setegid.c: Likewise.
9256 * sysdeps/unix/bsd/seteuid.c: Likewise.
9257 * sysdeps/unix/bsd/setgid.c: Likewise.
9258 * sysdeps/unix/bsd/setrgid.c: Likewise.
9259 * sysdeps/unix/bsd/setruid.c: Likewise.
9260 * sysdeps/unix/bsd/setsid.c: Likewise.
9261 * sysdeps/unix/bsd/setuid.c: Likewise.
9262 * sysdeps/unix/bsd/sigaction.c: Likewise.
9263 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9264 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9265 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9266 * sysdeps/unix/bsd/telldir.c: Likewise.
9267 * sysdeps/unix/bsd/times.c: Likewise.
9268 * sysdeps/unix/bsd/usleep.c: Likewise.
9269
029c7b25
JM
9270 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9271 ($(objpfx)libbsd-compat.a): Remove rule.
9272
7011c262
JM
9273 * include/features.h (__FAVOR_BSD): Do not define.
9274 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9275 features conflicting with POSIX.
9276 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9277 (_BSD_SOURCE): Remove description of not being a subset of other
9278 feature test macros.
9279 * manual/job.texi (getpgrp): Do not document BSD version.
9280 (getpgid): Do not document by reference to BSD getpgrp.
9281 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9282 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9283 * signal/signal.h [__FAVOR_BSD]: Likewise.
9284 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9285 instead of making contents conditional on [__FAVOR_BSD].
9286 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9287
affb6f78
AZ
92882013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9289
9290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9291
c88769dd
JM
92922013-12-17 Joseph Myers <joseph@codesourcery.com>
9293
6432a540
JM
9294 [BZ #16314]
9295 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9296 values below 2**-450, not 2**-500.
9297 * math/auto-libm-test-in: Don't allow spurious underflow from
9298 hypot.
9299 * math/auto-libm-test-out: Regenerated.
9300
c88769dd
JM
9301 [BZ #16316]
9302 [BZ #16330]
9303 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9304 values of ha and hb and sort them after adjusting subnormal
9305 arguments.
9306 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9307 Likewise.
9308 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9309 values of ea and eb and sort them after adjusting subnormal
9310 arguments.
9311 * math/auto-libm-test-in: Do not expect some hypot tests of
9312 subnormals to fail. Add more hypot tests.
9313 * math/auto-libm-test-out: Regenerated.
9314
29618f6b
KK
93152013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9316
9317 [BZ #13304]
9318 * sysdeps/sh/s_fma.c: New file.
9319 * sysdeps/sh/s_fmaf.c: New file.
9320 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9321 version.
9322 * sysdeps/sh/Implies: Add sh/soft-fp.
9323
eacfdfbf
RM
93242013-12-16 Roland McGrath <roland@hack.frob.com>
9325
9326 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9327 level of indirection to members `objname', `errstring', `malloced'.
9328 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9329 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9330 it as the __longjmp argument (just pass 1 instead).
9331 (_dl_catch_error): Initialize C with argument pointers and address of
9332 volatile local ERRCODE rather than copying values out of C at return.
9333
ff362e5b
JM
93342013-12-16 Joseph Myers <joseph@codesourcery.com>
9335
9336 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9337 * math/auto-libm-test-out: Regenerated.
9338 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9339 (hypot_test_data): Likewise.
9340 (pow_test_data): Likewise.
9341 (pow_tonearest_test_data): Likewise.
9342 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9343 mpfr_ff_f.
9344 (func_calc_desc): Add mpfr_ff_f union field.
9345 (FUNC_mpfr_ff_f): New macro.
9346 (test_functions): Add atan2, hypot and pow.
9347 (special_fill_min): New function.
9348 (special_fill_minus_min): Likewise.
9349 (special_fill_min_subnorm): Likewise.
9350 (special_fill_minus_min_subnorm): Likewise.
9351 (special_real_inputs): Add min, -min, min_subnorm and
9352 -min_subnorm.
9353 (calc_generic_results): Handle mpfr_ff_f.
9354 * sysdeps/i386/fpu/libm-test-ulps: Update.
9355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9356
5764c27f
WN
93572013-12-16 Will Newton <will.newton@linaro.org>
9358
9359 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9360 (Aligned Memory Blocks): Add documentation for aligned_alloc
9361 and suggest it as an alternative to posix_memalign.
9362 (Hooks for Malloc): Document __memalign_hook is also called
9363 for aligned_alloc. (Summary of Malloc): Add summary for
9364 aligned alloc. Document __memalign_hook is also called
9365 for aligned_alloc.
9366
0a096e44
WN
93672013-12-16 Will Newton <will.newton@linaro.org>
9368
9369 * manual/memory.texi (Malloc Examples): Clarify default
9370 alignment documentation. Suggest posix_memalign rather
9371 than memalign or valloc.
9372 (Aligned Memory Blocks): Remove suggestion to use memalign
9373 or valloc. Remove obsolete comment about BSD.
9374 Document memalign errno values and mark the function obsolete.
9375 Document posix_memalign returned error codes. Mark valloc
9376 as obsolete. (Hooks for Malloc): __memalign_hook is also
9377 called for posix_memalign and valloc.
9378 (Summary of Malloc): Add posix_memalign to function summary.
9379 __memalign_hook is also called for posix_memalign and valloc.
9380
8d561986
SP
93812013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9382
9383 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9384 TAYLOR_SIN.
9385 (__sin): Adjust.
9386 (__cos): Likewise.
9387 (sloww): Use mynumber union. Expand ternary operator into
9388 if-else statements.
9389 (cslow): use mynumber union.
9390
73616a74
AM
93912013-12-16 Allan McRae <allan@archlinux.org>
9392
9e8ac24b
AM
9393 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9394 * configure: Regenerated.
9395
6f8e37eb
AM
9396 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9397
8894bad3
AM
9398 [BZ #14120]
9399 * configure.ac: Added --enable-maintainer-mode. Check for
9400 autoconf when enabled.
9401 * configure: Regenerated.
9402
73616a74
AM
9403 * nscd/nscd.service: New file.
9404 * nscd/nscd.tmpfiles: New file.
9405
584b18eb
OB
94062013-12-14 Ondřej Bílka <neleai@seznam.cz>
9407
9408 [BZ #12100]
9409 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9410 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9411 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9412 (strstr): Add __strstr_sse2_unaligned ifunc.
9413 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9414 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9415 (strcasestr): Remove __strcasestr_sse42 ifunc.
9416 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9417 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9419
8a5c7897
KK
94202013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9421
9422 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9423 * sysdeps/sh/bits/fenv.h: ... here.
9424 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9425
fd712ef3
AZ
94262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9427
9428 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9429
42fcb46c
AZ
9430 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9431 hypotf multiarch implementations.
9432 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9433 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9434 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9435 multiarch hypot for PPC64.
9436 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9437 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9438 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9439 multiarch hypotf for PPC64.
9440
83efded4
AZ
9441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9442 modff multiarch implementations.
9443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9446 multiarch modf for PPC64.
9447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9450 multiarch modff for PPC64.
9451
43e246d2
AZ
9452 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9453 and logl multiarch implementations.
9454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9457 multiarch logb for PPC64.
9458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9461 multiarch logb for PPC64.
9462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9465 multiarch logb for PPC64.
9466
8fdad123
AZ
9467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9468 isinff multiarch implementation.
9469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9470 file.
9471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9473 multiarch isinf for PPC64.
9474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9475 file.
9476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9477 multiarch isinff for PPC64.
9478
1481d706
AZ
9479 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9480 finitef multiarch implementation.
9481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9482 file.
9483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9485 multiarch finite for PPC64.
9486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9487 file.
9488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9489 multiarch finitef for PPC64.
9490
5ccd5fc8
AZ
9491 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9492 lrint multiarch implementation.
9493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9494 file.
9495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9497 multiarch llrint for PPC64.
9498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9499 multiarch lrint for PPC64.
9500
2568f3fa
AZ
9501 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9502 copysignf multiarch implementation.
9503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9504 file.
9505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9506 file.
9507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9508 multiarch copysign for PPC64.
9509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9510 multiarch copysignf for PPC64.
9511
1cb341fd
AZ
9512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9513 multiarch implementation.
9514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9515 file.
9516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9517 file.
9518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9519 file.
9520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9521 file.
9522 multiarch llround for PPC64.
9523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9524 multiarch trunc for PPC64.
9525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9526 multiarch truncf for PPC64.
9527
59a3e194
AZ
9528 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9529 multiarch implementation.
9530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9531 file.
9532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9533 file.
9534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9535 file.
9536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9537 file.
9538 multiarch llround for PPC64.
9539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9540 multiarch round for PPC64.
9541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9542 multiarch roundf for PPC64.
9543
357fd3b4
AZ
9544 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9545 multiarch implementation.
9546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9547 file.
9548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9549 file.
9550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9551 file.
9552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9553 file.
9554 multiarch llround for PPC64.
9555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9556 multiarch floor for PPC64.
9557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9558 multiarch floorf for PPC64.
9559
96770f12
AZ
9560 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9561 multiarch implementation.
9562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9563 file.
9564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9565 file.
9566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9567 file.
9568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9569 file.
9570 multiarch llround for PPC64.
9571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9572 multiarch ceil for PPC64.
9573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9574 multiarch ceilf for PPC64.
9575
c3627f6e
AZ
9576 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9577 multiarch implementation.
9578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9579 file.
9580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9581 file.
9582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9583 file.
9584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9585 multiarch llround for PPC64.
9586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9587 multiarch lround for PPC64.
9588
b2284ad7
AZ
9589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9590 multiarch implementation.
9591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9594 file.
9595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9598 multiarch isnan for PPC64.
9599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9600 multiarch isnanf for PPC64.
9601
69bbc63d
AZ
9602 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9603 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9604 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9605 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9606 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9608
c24517c9
AZ
9609 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9610 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9611 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9612 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9613
a52374e8
AZ
9614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9615 multiarch implementations.
9616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9617 (__libc_ifunc_impl_list): Likewise.
9618 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9619 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9620 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9621 multiarch stpcpy for PPC64.
9622
7f5ec113
AZ
9623 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9624 multiarch implementations.
9625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9626 (__libc_ifunc_impl_list): Likewise.
9627 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9628 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9629 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9630 multiarch strcpy for PPC64.
9631
e28bcd42
AZ
9632 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9633 redefine function name.
9634 (_wordcopy_fwd_dest_aligned): Likewise.
9635 (_wordcopy_bwd_aligned): Likewise.
9636 (_wordcopy_bwd_dest_aligned): Likewise.
9637 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9638 multiarch implementations.
9639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9640 (__libc_ifunc_impl_list): Likewise.
9641 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9642 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9643 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9644 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9645 multiarch wcscpy for PPC64.
9646
92cacfce
AZ
9647 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9648 multiarch implementations.
9649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9650 (__libc_ifunc_impl_list): Likewise.
9651 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9652 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9653 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9654 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9655 multiarch wcscpy for PPC64.
9656
7b714620
AZ
9657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9658 multiarch implementations.
9659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9660 (__libc_ifunc_impl_list): Likewise.
9661 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9662 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9663 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9664 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9665 multiarch wcsrchr for PPC64.
9666
16fd2ae3
AZ
9667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9668 multiarch implementations.
9669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9670 (__libc_ifunc_impl_list): Likewise.
9671 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9672 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9673 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9674 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9675 multiarch wcschr for PPC64.
9676
9ee2969b
AZ
9677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9678 multiarch implementations.
9679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9680 (__libc_ifunc_impl_list): Likewise.
9681 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9682 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9683 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9684 multiarch strchrnul for PPC64.
9685
372dc060
AZ
9686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9687 implementations.
9688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9689 (__libc_ifunc_impl_list): Likewise.
9690 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9691 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9692 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9693 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9694 strchr for PPC64.
9695
24c2c3b9
AZ
9696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9697 implementations.
9698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9699 (__libc_ifunc_impl_list): Likewise.
9700 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9701 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9702 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9703 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9704 strncmp for PPC64.
9705
1c92d9a0
AZ
9706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9707 multiarch implementations.
9708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9709 (__libc_ifunc_impl_list): Likewise.
9710 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9711 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9712 strncasecmp for PPC64.
9713 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9714 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9715 multiarch strncasecmp_l for PPC64.
9716
17de3ee3
AZ
9717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9718 multiarch implementations.
9719 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9720 (__libc_ifunc_impl_list): Likewise.
9721 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9722 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9723 multiarch strcasecmp for PPC64.
9724 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9725 file.
9726 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9727 multiarch strcasecmp_l for PPC64.
9728
62982bf9
AZ
9729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9730 implementations.
9731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9732 (__libc_ifunc_impl_list): Likewise.
9733 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9734 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9735 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9736 strnlen for PPC64.
9737
a65f4904
AZ
9738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9739 implementations.
9740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9741 (__libc_ifunc_impl_list): Likewise.
9742 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9743 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9744 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9745 strlen for PPC64.
9746
1fd005ad
AZ
9747 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9748 implementations.
9749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9750 (__libc_ifunc_impl_list): Likewise.
9751 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9752 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9753 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9754 rawmemrchr for PPC64.
9755
cd05ba91
AZ
9756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9757 implementation.
9758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9759 (__libc_ifunc_impl_list): Likewise.
9760 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9761 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9762 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9763 memrchr for PPC64.
9764
870f8676
AZ
9765 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9766 implementation.
9767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9768 (__libc_ifunc_impl_list): Likewise.
9769 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9770 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9771 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9772 memchr for PPC64.
9773
f00be62b
AZ
9774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9775 implementation.
9776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9777 (__libc_ifunc_impl_list): Likewise.
9778 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9779 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9780 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9781 mempcpy for PPC64.
9782
8a29a3d0
AZ
9783 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9784 avoid cretion of __bzero symbol.
9785 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9786 Likewise.
9787 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9788 Likewise.
9789 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9790 Likewise.
9791 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9792 multiarch implementations.
9793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9794 (__libc_ifunc_impl_list): Likewise.
9795 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9796 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9797 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9798 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9799 bzero for PPC32.
9800 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9801 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9802 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9803 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9804 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9805 memset for PPC64.
9806 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9807
07253fcf
AZ
9808 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9810 implementations.
9811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9812 (__libc_ifunc_impl_list): Likewise.
9813 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9814 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9815 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9816 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9817 memcmp for PPC64.
9818
b5beafbc
AZ
9819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9820 multiarch for POWER/PPC64.
9821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9822 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9823 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9824 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9825 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9826 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9827 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9828 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9829 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9830 memcpy for PPC64.
9831
5e6a4d4b
AZ
9832 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9833 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9834 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9835 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9836 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9837 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9838 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9839 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9840 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9841 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9842 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9843 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9844 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9845 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9846 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9854
ddfab6dc
KK
98552013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9856
9857 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9858
19b5525e
SP
98592013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9860
9861 * benchtests/Makefile (bench): Add exp2 and log2.
9862 (LDLIBS-bench-exp2): Add -lm.
9863 (LDLIBS-bench-log2): Likewise.
9864 * benchtests/exp2-inputs: New inputs file.
9865 * benchtests/log2-inputs: New inputs file.
9866 * benchtests/log-inputs: Add new inputs.
9867 * benchtests/tan-inputs: Likewise.
9868
196f7f5d
SP
98692013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9870
7a74607f
SP
9871 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9872 definition...
57f41c40
AS
9873 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9874 (csloww2): ... from here.
7a74607f 9875
196f7f5d
SP
9876 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9877 instead of structures.
9878 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9879 (POLYNOMIAL): Likewise.
9880 (TAYLOR_SLOW): Likewise.
9881 (__sin): Likewise.
9882 (__cos): Likewise.
9883 (slow1): Likewise.
9884 (slow2): Likewise.
9885 (sloww): Likewise.
9886 (sloww1); Likewise.
9887 (sloww2): Likewise.
9888 (bsloww1): Likewise.
9889 (bsloww2): Likewise.
9890 (cslow2): Likewise.
9891 (csloww): Likewise.
9892 (csloww1): Likewise.
9893 (csloww2): Likewise.
9894
0dfa665c
OB
98952013-12-10 Ondřej Bílka <neleai@seznam.cz>
9896
9897 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
9898 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9899 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
9900 * malloc/hooks.c (realloc_check): Likewise.
9901
5782a80f
OB
9902 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9903 * malloc/arena.c: Remove PER_THREAD conditional.
9904 [!PER_THREAD]: Remove code.
9905 (ptmalloc_unlock_all2): Likewise.
9906 (ptmalloc_init): Likewise.
9907 (_int_new_arena): Likewise.
9908 (arena_get2): Likewise.
9909 * malloc/hooks.c (__malloc_get_state): Likewise.
9910 (__malloc_set_state): Likewise.
9911 * malloc/malloc.c: Likewise.
9912 (struct malloc_state): Likewise.
9913 (struct malloc_par): Likewise.
9914 (__libc_realloc): Likewise.
9915 (__libc_mallopt): Likewise.
9916
aeb95445
AZ
99172013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9918
9919 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9920
e8349efd
OB
99212013-12-09 Ondřej Bílka <neleai@seznam.cz>
9922
9923 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9924 macro to a function. Check for zero perturb_byte.
9925 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9926
f3eeb3fc 9927 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
9928 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9929 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
9930 force_reg by atomic_forced_read.
9931 * malloc/arena.c (ptmalloc_init): Likewise.
9932 * malloc/hooks.c (top_check): Likewise.
9933
be2f9009
AZ
99342013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9935
9936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9937
e7b914bd
MT
99382013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9939
9940 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9941
9f0be4f8
JM
99422013-12-08 Joseph Myers <joseph@codesourcery.com>
9943
9944 * math/auto-libm-test-in: Add tests of lgamma.
9945 * math/auto-libm-test-out: Regenerated.
9946 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9947 (M_LOG_2_SQRT_PIl): Likewise.
9948 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9949 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9950 mpfr_f_f1.
9951 (func_calc_desc): Add mpfr_f_f1 union field.
9952 (ARGS1): New macro.
9953 (ARGS2): Likewise.
9954 (ARGS3): Likewise.
9955 (ARGS4): Likewise.
9956 (RET1): Likewise.
9957 (RET2): Likewise.
9958 (CALC): Likewise.
9959 (FUNC): Likewise.
9960 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9961 (test_functions): Add lgamma.
9962 (calc_generic_results): Handle mpfr_f_f1.
9963 * sysdeps/i386/fpu/libm-test-ulps: Update.
9964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9965
24eeafdb
AZ
99662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9967
9968 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9969 __mpn_add_n for PowerPC64/POWER7.
9970 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9971 __mpn_sub_n for PowerPC64/POWER7.
9972
4a2c0fd4
AZ
9973 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9974 __mpn_addmul_1 for PowerPC64.
9975 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9976 __mpn_submul_1 for PowerPC64.
9977 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9978 for PowerPC64.
9979 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9980 for PowerPC64.
9981
4b5b548c
FS
99822013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9983
9984 [BZ #15089]
9985 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9986
0a3ac0aa
AZ
99872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9988
9989 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9990
ccdc8438
AZ
9991 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9992 add multiarch folders.
9993 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9994 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9995 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9996 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9997 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9998 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9999 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10000 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10001 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10002 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10003 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10010
2e973d99
AZ
10011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10012 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10014 New file.
10015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10016 New file.
10017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10018 multiarch __ieee754_hypot for PowerPC32.
10019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10020 New file.
10021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10022 New file.
10023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10024 multiarch __ieee754_hypotf for PowerPC32.
10025
2d9470b2
AZ
10026 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10027 long_double_symbol only if __logbl is defined.
10028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10029 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10030 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10031 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10033 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10034 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10035 path for implementation.
10036 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10037 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10039 logb, and logbl multiarch implementations for PowerPC32.
10040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10041 file.
10042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10043 file.
10044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10045 multiarch logb for PowerPC32.
10046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10047 file.
10048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10049 file.
10050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10051 multiarch logbf for PowerPC32.
10052 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10054 file.
10055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10056 multiarch logbl implementation for PowerPC32.
10057
5212ffce
AZ
10058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10059 and modff multiarch implementations.
10060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10061 New file.
10062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10063 New file.
10064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10065 multiarch modf for PowerPC32.
10066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10067 New file.
10068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10069 New file.
10070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10071 multiarch modff for PowerPC32.
10072
79dccf31
AZ
10073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10074 and lrintf multiarch implementations.
10075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10076 New file.
10077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10078 New file.
10079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10080 multiarch lrint for PowerPC32.
10081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10082 file: multiarch lrintf for PowerPC32.
10083
deb66480
AZ
10084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10085 and lroundf multiarch implementations.
10086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10087 New file.
10088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10089 New file.
10090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10091 New file.
10092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10093 multiarch lround for PowerPC32.
10094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10095 file: multiarch lroundf for PowerPC32.
10096
264b036b
AZ
10097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10098 copysign and copysignf multiarch implementations.
10099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10100 New file.
10101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10102 New file.
10103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10104 file: multiarch copysign for PowerPC32.
10105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10106 file: multiarch copysignf for PowerPC32.
10107
d47db6c9
AZ
10108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10109 and truncf multiarch implementations.
10110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10111 New file.
10112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10113 file.
10114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10115 multiarch trunc for PowerPC32.
10116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10117 New file.
10118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10119 New file.
10120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10121 multiarch truncf for PowerPC32.
10122
ddb60b5a
AZ
10123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10124 and roundf multiarch implementations.
10125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10126 New file.
10127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10128 file.
10129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10130 multiarch round for PowerPC32.
10131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10132 New file.
10133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10134 New file.
10135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10136 multiarch roundf for PowerPC32.
10137
bedcf49b
AZ
10138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10139 and floorf multiarch implementations.
10140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10141 New file.
10142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10143 file.
10144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10145 multiarch floor for PowerPC32.
10146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10147 New file.
10148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10149 New file.
10150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10151 multiarch floorf for PowerPC32.
10152
35ae5b40
AZ
10153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10154 and ceilf multiarch implementations.
10155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10156 New file.
10157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10158 file.
10159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10160 multiarch ceil for PowerPC32.
10161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10162 New file.
10163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10164 file.
10165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10166 multiarch ceilf for PowerPC32.
10167
ae1a4cd9
AZ
10168 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10169 is defined.
10170 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10171 FINITEF is defined.
10172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10173 and finitef multiarch implementations.
10174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10175 New file.
10176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10177 file.
10178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10179 multiarch finite for PowerPC32.
10180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10181 New file.
10182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10183 file: multiarch finitef for PowerPC32.
10184
64fffd65
AZ
10185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10186 and isinff multiarch implementations.
10187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10188 file.
10189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10190 file.
10191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10192 multiarch isinf for PowerPC32.
10193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10194 New file.
10195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10196 multiarch isinff for PowerPC32.
10197
8e4e7ba2
AZ
10198 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10199 alias when __isnan is defined.
10200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10201 and isnanf multiarch implementations.
10202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10203 file.
10204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10205 file.
10206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10207 file.
10208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10209 file.
10210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10211 multiarch isnan for PowerPC32.
10212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10213 New file.
10214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10215 New file.
10216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10217 multiarch isnanf for PowerPC32.
10218
ddba588e
AZ
10219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10220 and sqrtf multiarch implementations.
10221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10222 file.
10223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10224 file.
10225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10226 multiarch sqrt for PowerPC32.
10227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10228 file.
10229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10230 file.
10231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10232 multiarch sqrtf for PowerPC32.
10233
0f96a2f0
AZ
10234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10235 and llroundf multiarch implementations.
10236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10237 New file.
10238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10239 New file.
10240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10241 New file.
10242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10243 file: multiarch llround for PowerPC32.
10244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10245 file: multiarch llroundf for PowerPC32.
10246
c9b5d79e
AZ
10247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10248 multiarch PowerPC32 fpu implementations.
10249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10250 New file.
10251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10252 New file.
10253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10254 multiarch llrint for PowerPC32.
10255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10256 New file.
10257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10258 New file.
10259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10260 file.
10261
9cbb3aab
AZ
10262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10263
ea5a72f8
AZ
10264 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10265 file.
10266 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10267 file.
10268 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10269 file.
10270 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10271 multiarch wordcopy for PPC32.
10272 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10273 wordcopy objects.
10274 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10275 (__libc_ifunc_impl_list): Likewise.
10276 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10277 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10278 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10279 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10280 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10281 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10282
93be09e7
AZ
10283 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10284 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10285 file.
10286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10287 file.
10288 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10289 file.
10290 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10291 multiarch wcscpy for PPC32.
10292 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10293 multiarch objects.
10294 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10295 (__libc_ifunc_impl_list): Likewise.
10296 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10297 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10298 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10299 sysdeps/powerpc/power6/wcscpy.c.
10300
bb04e529
AZ
10301 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10302 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10303 file.
10304 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10305 file.
10306 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10307 file.
10308 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10309 multiarch wcsrchr for PPC32.
10310 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10311 multiarch objects.
10312 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10313 (__libc_ifunc_impl_list): Likewise.
10314 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10315 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10316 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10317 sysdeps/powerpc/power6/wcsrchr.c.
10318
05b5cd1c
AZ
10319 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10320 file.
10321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10322 file.
10323 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10324 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10325 multiarch wcschr for PPc32.
10326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10327 multiarch objects.
10328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10329 (__libc_ifunc_impl_list): Likewise.
10330 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10331 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10332 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10333 sysdeps/powerpc/power6/wcschr.c.
10334
ba964147
AZ
10335 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10336 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10337 file.
10338 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10339 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10340 file: multiarch strchr for PPC32.
10341 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10342 multiarch objects.
10343 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10344 (__libc_ifunc_impl_list): Likewise.
10345
31c81aaa
AZ
10346 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10347 name.
10348 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10349 file.
10350 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10351 file.
10352 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10353 multiarch strchrnul for PPC32.
10354 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10355 multiarch objects.
10356 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10357 (__libc_ifunc_impl_list): Likewise.
10358
0d0607d9
AZ
10359 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10360 file.
10361 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10362 multiarch strncasecmp for PPC32.
10363 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10364 file.
10365 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10366 multiarch strncasecmp_l for PPC32.
10367 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10368 strncasecmp multiarch objects.
10369 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10370 (__libc_ifunc_impl_list): Likewise.
10371
4dfd5c86
AZ
10372 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10373 file.
10374 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10375 multiarch strncasecmp for PPC32.
10376 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10377 New file.
10378 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10379 multiarch strcasecmp_l for PPC32.
10380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10381 multiarch objects.
10382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10383 (__libc_ifunc_impl_list): Likewise.
10384
a19e01a3
AZ
10385 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10386 file.
10387 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10388 file.
10389 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10390 multiarch strncmp for PPC32.
10391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10392 multiarch objects.
10393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10394 (__libc_ifunc_impl_list): Likewise.
10395
ae9cf7a2
AZ
10396 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10397 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10398 file.
10399 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10400 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10401 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10402 multiarch objects.
10403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10404 (__libc_ifunc_impl_list): Likewise.
10405
3148bb7d
AZ
10406 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10407 file.
10408 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10409 file.
10410 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10411 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10412 multiarch objects.
10413 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10414 (__libc_ifunc_impl_list): Likewise.
10415
7af8b946
AZ
10416 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10417 file.
10418 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10419 file.
10420 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10421 multiarch rawmemchr for PPC32.
10422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10423 multiarch objects.
10424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10425 (__libc_ifunc_impl_list): Likewise.
10426
03a6aa6a
AZ
10427 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10428 file.
10429 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10430 file.
10431 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10432 file: memrchr multiarch for PPC32.
10433 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10434 multiarch objects.
10435 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10436 (__libc_ifunc_impl_list): Likewise.
10437
1c62e6d9
AZ
10438 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10439 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10440 file.
10441 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10442 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10443 multiarch memchr for PPC32.
10444 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10445 multiarch objects.
10446 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10447 (__libc_ifunc_impl_list): Likewise.
10448
87da8bdb
AZ
10449 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10450 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10451 file.
10452 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10453 file.
10454 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10455 file: multiarch mempcpy for PPC32.
10456 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10457 multiarch objects.
10458 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10459 (__libc_ifunc_impl_list): Likewise.
10460
20ed4714
AZ
10461 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10462 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10463 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10464 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10465 multiarch bzero for PPC32.
10466 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10467 file.
10468 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10469 file.
10470 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10471 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10472 file: multiarch memset for PPC32.
10473 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10474 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10475 memset multiarch objects.
10476 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10477 (__libc_ifunc_impl_list): Likewise.
10478
ab3e3a46
AZ
10479 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10480 file.
10481 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10482 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10483 memcmp for PPC32.
10484 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10485 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10486 multiarch objects.
10487 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10488 (__libc_ifunc_impl_list): Likewise.
10489
930de6f0
AZ
10490 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10491 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10492 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10493 file.
10494 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10495 file.
10496 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10497 file.
10498 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10499 multiarch memcpy for PPC32.
10500 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10501 multiarch objects.
10502 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10503 (__libc_ifunc_impl_list): Likewise.
10504
4c628e00
AZ
10505 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10506 support multiarch for POWER/PPC32.
10507 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10508 Likewise.
10509 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10511 Implies file to make multiarch folder appers before the fpu and
10512 default folder for power4 configuration.
10513
f4479220
SP
105142013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10515
10516 * scripts/bench.pl: Append volatile keyword to type.
10517
8517800f
KK
105182013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10519
10520 * sysdeps/sh/sotruss-lib.c: New file.
10521 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10522
180138f1
AZ
105232013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10524
10525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10526
bbf37bdc
JM
105272013-12-05 Joseph Myers <joseph@codesourcery.com>
10528
e47cc4e0
JM
10529 [BZ #6810]
10530 * math/w_tgamma.c: Include <errno.h>.
10531 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10532 * math/w_tgammaf.c: Include <errno.h>.
10533 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10534 * math/w_tgammal.c: Include <errno.h>.
10535 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10536 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10537 underflow. Add more tgamma tests.
10538 * math/auto-libm-test-out: Regenerated.
10539 * sysdeps/i386/fpu/libm-test-ulps: Update.
10540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10541
bbf37bdc
JM
10542 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10543 sin, sinh, tan, tanh, tgamma, y0 and y1.
10544 * math/auto-libm-test-out: Regenerated.
10545 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10546 (TEST_COND_x86): Likewise.
10547 (M_E2l): Remove macro.
10548 (M_E3l): Likewise.
10549 (M_2_SQRT_PIl): Likewise.
10550 (M_SQRT_PIl): Likewise.
10551 (M_1_DIV_El): Likewise.
10552 (log_test_data): Use AUTO_TESTS_f_f.
10553 (log10_test_data): Likewise.
10554 (log1p_test_data): Likewise.
10555 (log2_test_data): Likewise.
10556 (sin_test_data): Likewise.
10557 (sin_tonearest_test_data): Likewise.
10558 (sin_towardzero_test_data): Likewise.
10559 (sin_downward_test_data): Likewise.
10560 (sin_upward_test_data): Likewise.
10561 (sinh_test_data): Likewise.
10562 (sinh_tonearest_test_data): Likewise.
10563 (sinh_towardzero_test_data): Likewise.
10564 (sinh_downward_test_data): Likewise.
10565 (sinh_upward_test_data): Likewise.
10566 (tan_test_data): Likewise.
10567 (tan_tonearest_test_data): Likewise.
10568 (tan_towardzero_test_data): Likewise.
10569 (tan_downward_test_data): Likewise.
10570 (tan_upward_test_data): Likewise.
10571 (tanh_test_data): Likewise.
10572 (tgamma_test_data): Likewise.
10573 (y0_test_data): Likewise.
10574 (y1_test_data): Likewise.
10575 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10576 (special_real_inputs): Add pi/4.
10577 * sysdeps/i386/fpu/libm-test-ulps: Update.
10578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10579
eb5ad6b9
AZ
105802013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10581
10582 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10583 "longjmp_target" static probes.
10584 (__longjmp): Rename to __longjmp_symbol.
10585 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10586 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10587 on which longjmp to generate.
10588 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10589 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10590 probe.
10591 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10592 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10593 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10594 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10595 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10596 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10598 __longjmp_symbol based on which __longjmp to generate.
10599 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10600 probe.
10601 (setjmp): Rename to setjmp_symbol.
10602 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10603 (_setjmp): Rename to _setjmp_symbol.
10604 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10605 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10606 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10607 which setjmp to generate.
10608 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10609 "longjmp_target" static probes.
10610
d136c6dc
SP
106112013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10612
9298ecba
SP
10613 * benchtests/README: Add note about output arguments.
10614 * benchtests/bench-sincos.c: Remove file.
10615 * benchtests/sincos-inputs: New file.
10616 * scripts/bench.pl: Identify output arguments and define
10617 static variables for them.
10618
232983e9
SP
10619 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10620
d136c6dc
SP
10621 [BZ #15941]
10622 * Makefile (INSTALL): Add install-plain.texi as the primary
10623 dependency.
10624 * manual/install-plain.texi: New file.
10625 * manual/install.texi: Include node directive only for
10626 non-plaintext output.
10627
699ff837
JM
106282013-12-04 Joseph Myers <joseph@codesourcery.com>
10629
ab07cea8
JM
10630 * stdlib/longlong.h: Update from GCC.
10631
699ff837
JM
10632 [BZ #6807]
10633 [BZ #15901]
10634 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10635 * math/w_j0f.c (y0f): Likewise.
10636 * math/w_j0l.c (__y0l): Likewise.
10637 * math/w_j1.c (y1): Likewise.
10638 * math/w_j1f.c (y1f): Likewise.
10639 * math/w_j1l.c (__y1l): Likewise
10640 * math/w_jn.c (yn): Likewise.
10641 * math/w_jnf.c (ynf): Likewise.
10642 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10643 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10644 value for Bessel function domain errors outside _SVID_ mode.
10645 Adjust sign of return value for yn (negative integer, 0).
10646 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10647 by zero in return for negative x and set sign appropriately for
10648 negative n.
10649 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10650 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10651 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10652 expectations in error cases.
10653 (y1_test_data): Likewise.
10654 (yn_test_data): Likewise.
10655 * sysdeps/i386/fpu/libm-test-ulps: Update.
10656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10657
5b118558
UW
106582013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10659
10660 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10661 "64" to "64-v1". Add "64-v2".
10662 (abi-64-options): Rename to ...
10663 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10664 (abi-64-condition): Rename to ...
10665 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10666 (abi-64-ld-soname): Rename to ...
10667 (abi-64-v1-ld-soname): ... this.
10668 (abi-64-v2-options): Define.
10669 (abi-64-v2-condition): Likewise.
10670 (abi-64-v2-ld-soname): Likewise.
10671 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10672 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10676
61cd8fe4
UW
106772013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10678 Alan Modra <amodra@gmail.com>
10679
10680 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10681 New versions for use with the ELFv2 ABI.
10682 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10683 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10684 declaration.
10685 (struct La_ppc64v2_retval): Likewise.
10686 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10687 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10688 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10689 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10690 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10691 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10692 Do not save or restore CR.
10693 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10694 (_dl_profile_resolve): Do no save or restore CR. Support extended
10695 return values for ELFv2 ABI. Fix location of FPR return registers.
10696 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10697 updated values for _CALL_ELF == 2.
10698 (La_regs, La_retval, int_retval): Likewise.
10699
8b8a692c
UW
107002013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10701
10702 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10703 (FRAME_MIN_SIZE_PARM): Likewise.
10704 (FRAME_BACKCHAIN): Likewise.
10705 (FRAME_CR_SAVE): Likewise.
10706 (FRAME_LR_SAVE): Likewise.
10707 (FRAME_TOC_SAVE): Likewise.
10708 (FRAME_PARM_SAVE): Likewise.
10709 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10710 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10711 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10712 (call_mcount_parm_offset): New macro.
10713 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10714 (PROF): Use symbolic stack frame offsets.
10715 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10716 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10717 Redefine in terms of FRAME_MIN_SIZE.
10718 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10719 (_dl_profile_resolve): Likewise. Update comment.
10720 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10721 symbols stack frame offsets.
10722 (__sigsetjmp): Likewise.
10723 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10724 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10725 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10726 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10727
10728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10729 (FRAME_BACKCHAIN): Remove.
10730 (FRAME_CR_SAVE): Likewise.
10731 (FRAME_LR_SAVE): Likewise.
10732 (FRAME_COMPILER_DW): Likewise.
10733 (FRAME_LINKER_DW): Likewise.
10734 (FRAME_TOC_SAVE): Likewise.
10735 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
10736 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10737 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10738 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
10739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10740 (CHECK_SP): Use symbolic stack frame offsets.
10741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10742 zone" instead of caller's parameter save area for temp storage.
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10744 Likewise. Also, use symbolic stack frame offsets.
10745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10746 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10747 our own stack frame instead of the caller's.
10748 (__socket): Use symbolic stack frame offsets.
10749
122b66de
UW
107502013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10751 Alan Modra <amodra@gmail.com>
10752
10753 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10754 Define.
57f41c40
AS
10755 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10756 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
10757 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10758 New function.
10759 (elf_machine_fixup_plt): Call it.
10760 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10761 reloc arguments.
10762 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
10763 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10764 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
10765 r2 before calling target.
10766
696caf1d
UW
107672013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10768 Alan Modra <amodra@gmail.com>
10769
10770 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10771 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10772 versions of macros to support ELFv2 ABI.
10773 (LOCALENTRY): New macro.
10774 (ENTRY, EALIGN): Use it.
10775 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10776 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10777 fall through into ENTRY entry point.
10778 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10779 Only define if _CALL_ELF != 2.
10780
10781 (elf_machine_matches_host): Verify ABI version matches.
10782 (RTLD_START): Use LOCALENTRY.
10783 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10784 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10785 (PLT_ENTRY_WORDS): New macro.
10786 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10787 (elf_machine_runtime_setup): Support ELFv2 ABI.
10788 (elf_machine_fixup_plt): Likewise.
10789 (elf_machine_plt_conflict): Likewise.
10790 (resolve_ifunc): Likewise.
10791 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10792 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10793 Likewise.
10794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10795 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10797 (makecontext): Support ELFv2 ABI.
10798 * elf/elf.h (EF_PPC64_ABI): Define.
10799
d31beafa
UW
108002013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10801
57f41c40
AS
10802 * sysdeps/powerpc/powerpc64/sysdep.h
10803 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10804 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10805 (ENTRY) [ASSEMBLER]: ... but instead here ...
10806 (EALIGN) [ASSEMBLER]: ... and here.
10807 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10808 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10809 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
10810 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10811 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
10812 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10813 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
10814 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10816 Use PPC64_LOAD_FUNCPTR.
10817
b525166b
UW
10818 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10819
7ec07d9a
AM
108202013-12-04 Alan Modra <amodra@gmail.com>
10821
10822 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10823 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10824 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10825 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10826
10827 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10828 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10829 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10830 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10831 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10832 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10833
5162e7dd
UW
108342013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10835
10836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10837 (__makecontext): Fix incorrect CFI when backtracing out of
10838 context created via makecontext.
10839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10840 (__setcontext): Fix incorrect CFI during switch to new context.
10841 (__novec_setcontext): Likewise.
10842
19e3372b
OB
108432013-12-04 Ondřej Bílka <neleai@seznam.cz>
10844
10845 [BZ #4772]
10846 * time/strptime_l.c (__strptime_internal): Allow modifiers
10847 in strptime.
10848 * time/tst-strptime.c (day_tests): Add testcase.
10849
ecaf142d
SP
108502013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10851
10852 * scripts/bench.pl: Skip over blank lines.
10853
fbf964ae
PE
108542013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10855
10856 [BZ #926]
10857 * manual/time.texi (Calendar Time): Clarify what timezone functions
10858 use.
10859
fa60a674
AZ
108602013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10861
10862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10863
d674f0ef
OB
108642013-12-04 Ondřej Bílka <neleai@seznam.cz>
10865
10866 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10867 implementation.
10868 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10869 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10870 * debug/memset_chk.c (__memset_chk): Likewise.
10871 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10872 * debug/strncpy_chk.c: Likewise.
10873
17dea188
JM
108742013-12-03 Joseph Myers <joseph@codesourcery.com>
10875
749008ff
JM
10876 [BZ #15268]
10877 [BZ #15425]
10878 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10879 (__ieee754_exp): For possibly underflowing results, check size of
10880 result and force underflow exception if required.
10881 * math/auto-libm-test-in: Add more tests of exp.
10882 * math/auto-libm-test-out: Regenerated.
10883 * sysdeps/i386/fpu/libm-test-ulps: Update.
10884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10885
17dea188
JM
10886 [BZ #16283]
10887 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10888 * math/w_exp2f.c (__exp2f): Likewise.
10889 * math/w_exp2l.c (__exp2l): Likewise.
10890 * math/auto-libm-test-in: Do not allow missing errno on exp2
10891 underflow.
10892 * math/auto-libm-test-out: Regenerated.
10893
b20de2c3
OB
108942013-12-03 Ondřej Bílka <neleai@seznam.cz>
10895
10896 [BZ #16274]
10897 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10898 handle filename validation.
10899 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10900 (do_open): Delete.
10901
d8e2dbe3
JM
109022013-12-03 Joseph Myers <joseph@codesourcery.com>
10903
34e16df5
JM
10904 [BZ #6786]
10905 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10906 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10907 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10908 <float.h>.
10909 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10910 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10911 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10912 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10913 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10914 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10915 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10916 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10917 Add more erfc tests.
10918 * math/auto-libm-test-out: Regenerated.
10919 * sysdeps/i386/fpu/libm-test-ulps: Update.
10920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10921
d8e2dbe3
JM
10922 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10923 exp2, expm1, j0 and j1.
10924 * math/auto-libm-test-out: Regenerated.
10925 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10926 (erfc_test_data): Likewise.
10927 (exp_test_data): Likewise.
10928 (exp_tonearest_test_data): Likewise.
10929 (exp_towardzero_test_data): Likewise.
10930 (exp_downward_test_data): Likewise.
10931 (exp_upward_test_data): Likewise.
10932 (exp10_test_data): Likewise.
10933 (exp2_test_data): Likewise.
10934 (expm1_test_data): Likewise.
10935 (j0_test_data): Likewise.
10936 (j1_test_data): Likewise.
10937 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10938 (input_flag_type): Add flag_xfail_rounding.
10939 (input_flags): Add xfail-rounding.
10940 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10941 (output_for_one_input_case): Handle flag_xfail_rounding.
10942 * sysdeps/i386/fpu/libm-test-ulps: Update.
10943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10944
18d14251
AJ
109452013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10946
3d2e6075 10947 [BZ #16289]
18d14251
AJ
10948 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10949 division by 0.
10950
520d437b
SP
109512013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10952
10953 [BZ #16195]
10954 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10955 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10956 (STAP_PROBE0): New macro.
10957 (STAP_PROBE1): Likewise.
10958 (STAP_PROBE2): Likewise.
10959 (STAP_PROBE3): Likewise.
10960 (STAP_PROBE4): Likewise.
10961
416e0145
OB
109622013-12-02 Ondřej Bílka <neleai@seznam.cz>
10963
10964 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10965
9d17796a
SE
109662013-12-02 Steve Ellcey <sellcey@mips.com>
10967
10968 * benchtests/Makefile (bench): Add sqrt.
10969 (LDLIBS-bench-sqrt): New.
10970 * benchtests/sqrt-input: New.
10971
f524d6a8
PS
109722013-12-02 Pavel Simerda <psimerda@redhat.com>
10973
639a0ef8
PS
10974 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10975 (GAIH_EAI): Likewise.
10976 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10977 (gaih_inet): Likewise.
10978 (getaddrinfo): Don't use GAIH_EAI.
10979
f524d6a8
PS
10980 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10981 (struct gaih): Remove definition.
10982
df3aedaf
SP
109832013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10984
10985 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10986 Use HERRNOP directly.
10987
1ab19dec
AZ
109882013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10989
b42ad38d 10990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 10991
176b0c79
JM
109922013-11-30 Joseph Myers <joseph@codesourcery.com>
10993
10994 * math/gen-auto-libm-tests.c (test_functions): Add more
10995 single-argument functions.
10996 (special_fill_pi_2): New function.
10997 (special_fill_minus_pi_2): Likewise.
10998 (special_fill_pi_6): Likewise.
10999 (special_fill_minus_pi_6): Likewise.
11000 (special_fill_pi_3): Likewise.
11001 (special_fill_2pi_3): Likewise.
11002 (special_fill_e): Likewise.
11003 (special_fill_1_e): Likewise.
11004 (special_fill_e_minus_1): Likewise.
11005 (special_real_inputs): Add more special inputs.
11006 (output_for_one_input_case): Do not require ERANGE on underflow to
11007 zero if round-to-nearest result does not underflow to zero, unless
11008 exact results required.
11009 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11010 atan, atanh, cbrt, cos and cosh.
11011 * math/auto-libm-test-out: Regenerated.
11012 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11013 (acos_tonearest_test_data): Likewise.
11014 (acos_towardzero_test_data): Likewise.
11015 (acos_downward_test_data): Likewise.
11016 (acos_upward_test_data): Likewise.
11017 (acosh_test_data): Likewise.
11018 (asin_test_data): Likewise.
11019 (asin_tonearest_test_data): Likewise.
11020 (asin_towardzero_test_data): Likewise.
11021 (asin_upward_test_data): Likewise.
11022 (asinh_test_data): Likewise.
11023 (atan_test_data): Likewise.
11024 (atanh_test_data): Likewise.
11025 (cbrt_test_data): Likewise.
11026 (cos_test_data): Likewise.
11027 (cos_tonearest_test_data): Likewise.
11028 (cos_towardzero_test_data): Likewise.
11029 (cos_downward_test_data): Likewise.
11030 (cos_upward_test_data): Likewise.
11031 (cosh_test_data): Likewise.
11032 (cosh_tonearest_test_data): Likewise.
11033 (cosh_towardzero_test_data): Likewise.
11034 (cosh_downward_test_data): Likewise.
11035 (cosh_upward_test_data): Likewise.
11036 * sysdeps/i386/fpu/libm-test-ulps: Update.
11037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11038
ffb536d0
JM
110392013-11-29 Joseph Myers <joseph@codesourcery.com>
11040
2a77a467
JM
11041 [BZ #6787]
11042 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11043 * math/w_exp10f.c (__exp10f): Likewise.
11044 * math/w_exp10l.c (__exp10l): Likewise.
11045 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11046 errno settings in existing tests.
11047
ea3bc4e8
JM
11048 [BZ #14032]
11049 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11050 precision control set to double precision.
11051 * sysdeps/i386/fpu/w_sqrt.c: New file.
11052 * math/auto-libm-test-in: Add more tests.
11053 * math/auto-libm-test-out: Update.
11054
0712c9d8
JM
11055 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11056 (sqrt_test_tonearest): New function.
11057 (sqrt_towardzero_test_data): New variable.
11058 (sqrt_test_towardzero): New function.
11059 (sqrt_downward_test_data): New variable.
11060 (sqrt_test_downward): New function.
11061 (sqrt_upward_test_data): New variable.
11062 (sqrt_test_upward): New function.
11063 (main): Call the new functions.
11064
ffb536d0
JM
11065 * math/gen-auto-libm-tests.c: New file.
11066 * math/auto-libm-test-in: Likewise.
11067 * math/auto-libm-test-out: New generated file.
11068 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11069 variables.
11070 (%beautify): Add generated representations of zero.
11071 (top level): Set $auto_input and call parse_auto_input.
11072 (beautify): Remove trailing "f" from hex float constants.
11073 (parse_args): Handle XFAIL_TEST.
11074 (convert_condition): New function.
11075 (or_value): Likewise.
11076 (or_cond_value): Likewise.
11077 (generate_testfile): Handle AUTO_TESTS_* lines.
11078 (parse_auto_input): New function.
11079 * math/libm-test.inc (XFAIL_TEST): New macro.
11080 (ERRNO_UNCHANGED): Update value.
11081 (ERRNO_EDOM): Likewise.
11082 (ERRNO_ERANGE): Likewise.
11083 (IGNORE_RESULT): Likewise.
11084 (TEST_COND_flt_32): New macro.
11085 (TEST_COND_dbl_64): Likewise.
11086 (TEST_COND_ldbl_96_intel): Likewise.
11087 (TEST_COND_ldbl_96_m68k): Likewise.
11088 (TEST_COND_ldbl_128): Likewise.
11089 (TEST_COND_ldbl_128ibm): Likewise.
11090 (TEST_COND_long32): Likewise.
11091 (TEST_COND_long64): Likewise.
11092 (TEST_COND_before_rounding): Likewise.
11093 (TEST_COND_after_rounding): Likewise.
11094 (enable_test): Handle XFAIL_TEST flag.
11095 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11096 with finite results.
11097 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11098 auto-libm-test-out.
11099
acd98a8e
AK
111002013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11101 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11102
11103 [BZ #16214]
11104 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11105 __tls_get_addr_internal instead of __tls_get_offset in order to
11106 avoid GOT pointer dependency. Make rtld export
11107 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11108 __tls_get_addr since we are a __tls_get_offset platform.
11109 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11110 GOT pointer being set up before.
11111 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11112
3c1c46a6
JM
111132013-11-28 Joseph Myers <joseph@codesourcery.com>
11114
7475aef5
JM
11115 * manual/math.texi (Errors in Math Functions): Document accuracy
11116 goals.
11117
8bca7cd8
JM
11118 [BZ #15004]
11119 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11120 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11121 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11123 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11125 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11130 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11135
91a1f3fe
JM
11136 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11137 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11138 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11139 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11140 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11141 Likewise.
11142 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11143 Likewise.
11144 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11145 Likewise.
11146 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11147 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11148 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11149 atomic-feupdateenv and flt-rounds.
11150 * sysdeps/powerpc/nofpu/Versions (libc): Add
11151 __atomic_feholdexcept, __atomic_feclearexcept,
11152 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11153 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11154 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11155 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11156 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11157 here.
11158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11159 Update.
11160
c5df7609
JM
11161 * manual/arith.texi (FP Exceptions): Document that exceptions may
11162 not be raised when matherr is used.
11163 (Math Error Reporting): Document overflow in directed rounding
11164 modes. Document that errno may not be set when finite values are
11165 returned on overflow. Document intent to set errno on underflow
11166 only for underflow to zero.
11167
3c1c46a6
JM
11168 [BZ #16271]
11169 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11170 round-to-nearest then adjust result for other rounding modes.
11171 * include/fenv.h (fegetround): Use libm_hidden_proto.
11172 * math/fegetround.c (fegetround): Use libm_hidden_def.
11173 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11174 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11175 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11176 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11177 Likewise.
11178 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11179 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11180 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11181 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11182
5a4c6d53
SP
111832013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11184
11185 [BZ #16077]
11186 * nss/Versions (libnss_files): Add
11187 _nss_files_gethostbyname3_r.
11188 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11189 New function.
11190 (HOST_DB_LOOKUP): Remove macro.
11191 (_nss_files_gethostbyname_r): Implement function without the
11192 HOST_DB_LOOKUP macro.
11193 (_nss_files_gethostbyname2_r): Likewise.
11194
897b98ba
OB
111952013-11-28 Ondřej Bílka <neleai@seznam.cz>
11196
11197 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11198
6f476861
UB
111992013-11-26 Uros Bizjak <ubizjak@gmail.com>
11200
11201 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11202 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11203 warning.
11204
bd12ab55
AZ
112052013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11206
11207 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11208 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11209 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11210 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11211 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11212 __fe_nomask_env_priv and attribute_hidden.
11213 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11214 (libc_feupdateenv_test_ppc): Likewise.
11215 (libc_feresetround_ppc): Likewise.
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11217 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11218 compat_symbol macro.
11219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11220 (__fe_nomask_env): Likewise.
11221 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11222
52bb6543
OB
112232013-11-26 Ondřej Bílka <neleai@seznam.cz>
11224
11225 * string/Makefile: Remove ifunc tests.
11226 * string/test-string.h: Define TEST_IFUNC.
11227 * string/test-bcopy-ifunc.c: Remove.
11228 * string/test-bzero-ifunc.c: Likewise.
11229 * string/test-memccpy-ifunc.c: Likewise.
11230 * string/test-memchr-ifunc.c: Likewise.
11231 * string/test-memcmp-ifunc.c: Likewise.
11232 * string/test-memcpy-ifunc.c: Likewise.
11233 * string/test-memmem-ifunc.c: Likewise.
11234 * string/test-memmove-ifunc.c: Likewise.
11235 * string/test-mempcpy-ifunc.c: Likewise.
11236 * string/test-memrchr-ifunc.c: Likewise.
11237 * string/test-memset-ifunc.c: Likewise.
11238 * string/test-rawmemchr-ifunc.c: Likewise.
11239 * string/test-stpcpy-ifunc.c: Likewise.
11240 * string/test-stpncpy-ifunc.c: Likewise.
11241 * string/test-strcasecmp-ifunc.c: Likewise.
11242 * string/test-strcasestr-ifunc.c: Likewise.
11243 * string/test-strcat-ifunc.c: Likewise.
11244 * string/test-strchr-ifunc.c: Likewise.
11245 * string/test-strchrnul-ifunc.c: Likewise.
11246 * string/test-strcmp-ifunc.c: Likewise.
11247 * string/test-strcpy-ifunc.c: Likewise.
11248 * string/test-strcspn-ifunc.c: Likewise.
11249 * string/test-strlen-ifunc.c: Likewise.
11250 * string/test-strncasecmp-ifunc.c: Likewise.
11251 * string/test-strncat-ifunc.c: Likewise.
11252 * string/test-strncmp-ifunc.c: Likewise.
11253 * string/test-strncpy-ifunc.c: Likewise.
11254 * string/test-strnlen-ifunc.c: Likewise.
11255 * string/test-strpbrk-ifunc.c: Likewise.
11256 * string/test-strrchr-ifunc.c: Likewise.
11257 * string/test-strspn-ifunc.c: Likewise.
11258 * string/test-strstr-ifunc.c: Likewise.
11259
ab260039 112602013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
11261
11262 * benchtests/Makefile: Remove ifunc tests.
11263 * benchtests/bench-string.h: Define TEST_IFUNC.
11264 * benchtests/bench-bcopy-ifunc.c: Remove.
11265 * benchtests/bench-bzero-ifunc.c: Likewise.
11266 * benchtests/bench-memccpy-ifunc.c: Likewise.
11267 * benchtests/bench-memchr-ifunc.c: Likewise.
11268 * benchtests/bench-memcmp-ifunc.c: Likewise.
11269 * benchtests/bench-memcpy-ifunc.c: Likewise.
11270 * benchtests/bench-memmem-ifunc.c: Likewise.
11271 * benchtests/bench-memmove-ifunc.c: Likewise.
11272 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11273 * benchtests/bench-memrchr-ifunc.c: Likewise.
11274 * benchtests/bench-memset-ifunc.c: Likewise.
11275 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11276 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11277 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11278 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11279 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11280 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11281 * benchtests/bench-strcat-ifunc.c: Likewise.
11282 * benchtests/bench-strchr-ifunc.c: Likewise.
11283 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11284 * benchtests/bench-strcmp-ifunc.c: Likewise.
11285 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11286 * benchtests/bench-strcpy-ifunc.c: Likewise.
11287 * benchtests/bench-strcspn-ifunc.c: Likewise.
11288 * benchtests/bench-strlen-ifunc.c: Likewise.
11289 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11290 * benchtests/bench-strncat-ifunc.c: Likewise.
11291 * benchtests/bench-strncmp-ifunc.c: Likewise.
11292 * benchtests/bench-strncpy-ifunc.c: Likewise.
11293 * benchtests/bench-strnlen-ifunc.c: Likewise.
11294 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11295 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 11296 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
11297 * benchtests/bench-strspn-ifunc.c: Likewise.
11298 * benchtests/bench-strstr-ifunc.c: Likewise.
11299
113002013-11-26 Ondřej Bílka <neleai@seznam.cz>
11301
ab260039
OB
11302 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11303
d1d9eaf4 113042013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 11305
d1d9eaf4
OB
11306 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11307 * rt/aio.h: Likewise.
11308 * sysdeps/gnu/bits/utmp.h: Likewise.
11309 * sysdeps/gnu/bits/utmpx.h: Likewise.
11310 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11311 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11312 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11313 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11314 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11315 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11316 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11317 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11318 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11319 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11320 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11321 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11322 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11324 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11325 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11326 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11327 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11328 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11329 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11330 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11331 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11332 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11333 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11334 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11335 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11336 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11337 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11338 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11339 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11340 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11341 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11342 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11343 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11344 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11345 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11346 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11347 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11348 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11349 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11350 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11351 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11352
a7624ed9
CD
113532013-11-25 Carlos O'Donell <carlos@redhat.com>
11354
11355 [BZ #16245]
11356 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11357 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11358
63cfe52b
JM
113592013-11-25 Joseph Myers <joseph@codesourcery.com>
11360
11361 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11362 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11363 Likewise.
11364
41e8926a
AZ
113652013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11366
11367 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11368 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11369 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11370 (__fesetround): Remove define.
11371 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11372 rounding and exceptions handling.
11373 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11374 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11375 (__fe_nomask_env): Likewise.
11376 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11377 __fegetround instead of fegetround.
11378 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11379 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11380
6851bd4d
RM
113812013-11-21 Roland McGrath <roland@hack.frob.com>
11382
070906ff
RM
11383 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11384 it's there.
11385
6851bd4d
RM
11386 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11387
84ae135d
MI
113882013-11-21 Meador Inge <meadori@codesourcery.com>
11389
11390 [BZ #11157]
11391 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11392 (encrypt_r): Likewise.
11393 * malloc/obstack.h (obstack_free): Likewise.
11394 * posix/unistd.h (encrypt): Likewise.
11395
daf75146
GM
113962013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11397
11398 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11399 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11400 DL_CALL_DT_FINI() that call the functions directly.
11401 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11402 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11403 * elf/dl-fini.c: Likewise.
11404
10ad46bc
OB
114052013-11-20 Ondřej Bílka <neleai@seznam.cz>
11406
11407 * malloc/hooks.c (memalign_check): Add alignment rounding.
11408 * malloc/malloc.c (_mid_memalign): New function.
11409 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11410 Implement by calling _mid_memalign.
11411 * manual/probes.texi (Memory Allocation Probes): Remove
11412 memory_valloc_retry and memory_pvalloc_retry.
11413
f3fd2628
SP
114142013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11415
4712799f
SP
11416 * locale/programs/locarchive.c (open_archive): Add const
11417 qualifier to ARCHIVEFNAME and copy default fname to
11418 DEFAULT_FNAME.
11419
0417b20f
SP
11420 [BZ #15601]
11421 * libio/tst-widetext.input: Rename Oriya to Odia.
11422 * locale/iso-639.def: Likewise.
11423
f3fd2628
SP
11424 * manual/probes.texi (Mathematical Function Probes): Add
11425 documentation for sin, cos, asin and acos probes.
11426 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11427 (__sin32): Add slowasin probe.
11428 (__cos32): Add slowacos probe.
11429 (__mpsin): Add slowsin probe.
11430 (__mpcos): Add slowcos probe.
11431
73c1ce4f
JM
114322013-11-19 Joseph Myers <joseph@codesourcery.com>
11433
11434 [BZ #15483]
11435 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11436 thread-local __sim_exceptions_thread and global
11437 __sim_exceptions_global.
11438 (__sim_disabled_exceptions): Change to thread-local
11439 __sim_disabled_exceptions_thread and global
11440 __sim_disabled_exceptions_global.
11441 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11442 and global __sim_round_mode_global.
11443 (__simulate_exceptions): Use thread-local floating-point state and
11444 set global state from it as needed.
11445 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11446 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11447 __sim_round_mode_thread.
11448 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11449 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11450 and global __sim_exceptions_global.
11451 (__sim_disabled_exceptions): Change to thread-local
11452 __sim_disabled_exceptions_thread and global
11453 __sim_disabled_exceptions_global.
11454 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11455 and global __sim_round_mode_global.
11456 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11457 (SIM_SET_GLOBAL): Likewise.
11458 * sysdeps/powerpc/soft-fp/sfp-machine.h
11459 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11460 __sim_round_mode_thread.
11461 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11462 __sim_disabled_exceptions_thread.
11463 (__sim_exceptions): Change to __sim_exceptions_thread.
11464 (__sim_disabled_exceptions): Change to
11465 __sim_disabled_exceptions_thread.
11466 (__sim_round_mode): Change to __sim_round_mode_thread.
11467 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11468 thread-local floating-point state and set global state from it as
11469 needed.
11470 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11471 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11472 (__sim_disabled_exceptions): Remove extern declaration.
11473 (feenableexcept): Use thread-local floating-point state and set
11474 global state from it as needed.
11475 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11476 extern declaration.
11477 (__sim_disabled_exceptions): Likewise.
11478 (__sim_round_mode): Likewise.
11479 (__fegetenv): Use thread-local floating-point state.
11480 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11481 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11482 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11483 floating-point state and set global state from it as needed.
11484 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11485 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11486 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11487 Likewise.
11488 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11489 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11490 Likewise.
11491 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11492 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11493 Use __sim_round_mode_thread.
11494 * math/test-fenv-tls.c: New file.
11495 * math/Makefile (tests): Add test-fenv-tls.
11496 ($(objpfx)test-fenv-tls): Depend on
11497 $(common-objpfx)nptl/libpthread.so.
11498
b5449b12
AS
114992013-11-19 Andreas Schwab <schwab@suse.de>
11500
11501 * locale/programs/locale.c (show_info): Decode wordarray elements.
11502 * locale/categories.def (LC_MONETARY): Add element for
11503 _NL_MONETARY_CRNCYSTR.
11504 * locale/C-monetary.c (conversion_rate): New variable.
11505 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11506 element.
11507
e186536b
CM
115082013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11509
11510 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11511 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11512
5c349950
PP
115132013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11514
11515 * elf/Makefile (tst-auxv): New test.
11516 * elf/tst-auxv.c: New
11517 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11518
699df45b
JM
115192013-11-18 Joseph Myers <joseph@codesourcery.com>
11520
11521 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11522 (hidden_proto): Caller changed.
11523 (hidden_tls_proto): New macro.
11524 (libc_hidden_tls_proto): Likewise.
11525 (rtld_hidden_tls_proto): Likewise.
11526 (libm_hidden_tls_proto): Likewise.
11527 (libresolv_hidden_tls_proto): Likewise.
11528 (librt_hidden_tls_proto): Likewise.
11529 (libdl_hidden_tls_proto): Likewise.
11530 (libnss_files_hidden_tls_proto): Likewise.
11531 (libnsl_hidden_tls_proto): Likewise.
11532 (libnss_nisplus_hidden_tls_proto): Likewise.
11533 (libutil_hidden_tls_proto): Likewise.
11534
b7589107
OB
115352013-11-18 Ondřej Bílka <neleai@seznam.cz>
11536
11537 [BZ #10253]
11538 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11539 (decompose_rpath): Defer expansion to fillin_rpath.
11540 (_dl_init_paths): Pass linkmap to fillin_rpath.
11541
250c23bd
RS
115422013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11543
11544 * benchtests/Makefile: Add strsep.
11545 * benchtests/bench-strsep.c: New file: strsep benchtest.
11546 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11547
a7931fcf
AS
115482013-11-18 Andreas Schwab <schwab@suse.de>
11549
11550 * locale/programs/locale.c (show_info) [case byte]: Check for
11551 '\377' instead of '\177'.
11552 * locale/C-monetary.c (not_available): Always use "\377".
11553 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11554 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11555 detect unavailable sign_posn locale elements.
11556 * locale/localeconv.c (__localeconv): For grouping and
11557 mon_grouping handle "\177" and "\377" like no grouping.
11558 (INT_ELEM): New macro. Use it to set all numeric members.
11559 * locale/programs/ld-monetary.c (monetary_read)
11560 <tok_mon_grouping>: Normalize single -1 to the empty string.
11561 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11562 Likewise.
11563
728dab0e
OB
115642013-11-07 Ondřej Bílka <neleai@seznam.cz>
11565
11566 [BZ #16055]
11567 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11568 when we match (nil).
11569 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11570
66294491
JM
115712013-11-16 Joseph Myers <joseph@codesourcery.com>
11572
ce665817
JM
11573 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11574 (NO_TEST_INLINE): Update value.
11575 (ERRNO_UNCHANGED): Likewise.
11576 (ERRNO_EDOM): Likewise.
11577 (ERRNO_ERANGE): Likewise.
11578 (IGNORE_RESULT): Likewise.
11579 (check_float_internal): Check signs of NaN results if
11580 TEST_NAN_SIGN used.
11581 (check_complex): Pass TEST_NAN_SIGN flag through to second
11582 check_float_internal call.
11583 (copysign_test_data): Add tests with quiet NaNs as second
11584 argument. Use TEST_NAN_SIGN.
11585 (fabs_test_data): Add test of negative quiet NaN argument. Use
11586 TEST_NAN_SIGN.
11587 (signbit_test_data): Add tests of quiet NaN argument.
11588 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11589
ee1466a9
JM
11590 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11591 $ignore_result.
11592 (parse_args): Handle function results specified as IGNORE.
11593 * math/libm-test.inc (IGNORE_RESULT): New macro.
11594 (check_float_internal): Do not check numerical result if flag
11595 IGNORE_RESULT set.
11596 (check_complex): Pass through IGNORE_RESULT to second
11597 check_float_internal call.
11598 (check_int): Do not check numerical result if flag IGNORE_RESULT
11599 set.
11600 (check_long): Likewise.
11601 (check_bool): Likewise.
11602 (check_longlong): Likewise.
11603 (lrint_test_data): Add tests of infinite and NaN arguments.
11604 (lrint_tonearest_test_data): Likewise.
11605 (lrint_towardzero_test_data): Likewise.
11606 (lrint_downward_test_data): Likewise.
11607 (lrint_upward_test_data): Likewise.
11608 (llrint_test_data): Likewise.
11609 (llrint_tonearest_test_data): Likewise.
11610 (llrint_towardzero_test_data): Likewise.
11611 (llrint_downward_test_data): Likewise.
11612 (llrint_upward_test_data): Likewise.
11613 (lround_test_data): Likewise.
11614 (llround_test_data): Likewise.
11615
14407b7e
JM
11616 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11617 (ERRNO_UNCHANGED): Update value.
11618 (ERRNO_EDOM): Likewise.
11619 (ERRNO_ERANGE): Likewise.
11620 (NO_TEST_INLINE_FLOAT): New macro.
11621 (NO_TEST_INLINE_DOUBLE): Likewise.
11622 (enable_test): New function.
11623 (RUN_TEST_f_f): Check enable_test before running test.
11624 (RUN_TEST_2_f): Likewise.
11625 (RUN_TEST_fff_f): Likewise.
11626 (RUN_TEST_c_f): Likewise.
11627 (RUN_TEST_f_f1): Likewise.
11628 (RUN_TEST_fF_f1): Likewise.
11629 (RUN_TEST_fI_f1): Likewise.
11630 (RUN_TEST_ffI_f1): Likewise.
11631 (RUN_TEST_c_c): Likewise.
11632 (RUN_TEST_cc_c): Likewise.
11633 (RUN_TEST_f_i): Likewise.
11634 (RUN_TEST_f_i_tg): Likewise.
11635 (RUN_TEST_ff_i_tg): Likewise.
11636 (RUN_TEST_f_b): Likewise.
11637 (RUN_TEST_f_b_tg): Likewise.
11638 (RUN_TEST_f_l): Likewise.
11639 (RUN_TEST_f_L): Likewise.
11640 (RUN_TEST_fFF_11): Likewise.
11641 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11642 conditionals.
11643 (cosh_test_data): Likewise.
11644 (exp_test_data): Likewise.
11645 (expm1_test_data): Likewise.
11646 (hypot_test_data): Likewise.
11647 (pow_test_data): Likewise.
11648 (sinh_test_data): Likewise.
11649 (tanh_test_data): Likewise.
11650 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11651 flags argument.
11652
ca07f197
JM
11653 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11654 tests with quiet NaN input and output.
11655 (acosh_test_data): Likewise.
11656 (asin_test_data): Likewise.
11657 (asinh_test_data): Likewise.
11658 (atan_test_data): Likewise.
11659 (atanh_test_data): Likewise.
11660 (atan2_test_data): Likewise.
11661 (cbrt_test_data): Likewise.
11662 (cos_test_data): Likewise.
11663 (cosh_test_data): Likewise.
11664 (erf_test_data): Likewise.
11665 (erfc_test_data): Likewise.
11666 (exp_test_data): Likewise.
11667 (exp10_test_data): Likewise.
11668 (exp2_test_data): Likewise.
11669 (expm1_test_data): Likewise.
11670 (hypot_test_data): Likewise.
11671 (j0_test_data): Likewise.
11672 (j1_test_data): Likewise.
11673 (jn_test_data): Likewise.
11674 (lgamma_test_data): Likewise.
11675 (log_test_data): Likewise.
11676 (log10_test_data): Likewise.
11677 (log1p_test_data): Likewise.
11678 (log2_test_data): Likewise.
11679 (pow_test_data): Likewise.
11680 (scalb_test_data): Likewise.
11681 (sin_test_data): Likewise.
11682 (sincos_test_data): Likewise.
11683 (sinh_test_data): Likewise.
11684 (tan_test_data): Likewise.
11685 (tanh_test_data): Likewise.
11686 (tgamma_test_data): Likewise.
11687 (y0_test_data): Likewise.
11688 (y1_test_data): Likewise.
11689 (yn_test_data): Likewise.
11690
66294491
JM
11691 [BZ #16167]
11692 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11693 argument being NaN and avoid computations with second argument in
11694 that case.
11695 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11696 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11697 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11698
1820b143
CL
116992013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11700
11701 * locale/iso-639.def: Add Chitwani Tharu (the).
11702
714bd261
AS
117032013-11-14 Andreas Schwab <schwab@suse.de>
11704
11705 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11706 word instead of empty string.
11707
7ab44563
AZ
117082013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11709
11710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11711 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11713 (__fe_nomask_env): Likewise.
11714
e8470ea2
SE
117152013-11-13 Steve Ellcey <sellcey@mips.com>
11716
11717 * benchtests/bench-timing.h: Include time.h.
11718
17c1d9f0
L
117192013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11720
11721 [BZ #15997]
11722 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11723 to 3.4.0 for x32.
11724 * sysdeps/unix/sysv/linux/configure: Regenerated.
11725
9310c284
JM
117262013-11-13 Joseph Myers <joseph@codesourcery.com>
11727
11728 [BZ #16151]
11729 * stdlib/strtod_l.c (round_and_return): Do not consider
11730 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11731 exponent one less than half the least subnormal exponent.
11732 * stdlib/test-strtod-round-data: Add more tests.
11733 * stdlib/tst-strtod-round.c (tests): Regenerated.
11734
7a2ad8cf
AZ
117352013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11736
11737 [BZ #14143]
11738 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11739 (__fe_mask_env): Likewise.
11740 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11741 libm_hidden_proto and add function prototype.
11742 (__fe_mask_env): Add function prototype.
11743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11744 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11746 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11748 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11749
50727aa7
MS
117502013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11751
b2f386c1 11752 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
11753 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11754
a615be46
MS
117552013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11756
11757 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11758 of htab_find_slot().
11759
7ddace62
DM
117602013-11-11 David S. Miller <davem@davemloft.net>
11761
11762 [BZ #16150]
11763 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11764 symbol in the non-vis3 case in static builds.
11765 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11766 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11767 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11768 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11769
9182aa67
JK
117702013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11771
11772 [BZ #387]
11773 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11774 it is empty.
11775
450a2e2d
AZ
117762013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11777
b2f386c1
SP
11778 * benchtests/Makefile: Add bench-strtod.
11779 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 11780
8ec3f656
AS
117812013-11-11 Andreas Schwab <schwab@suse.de>
11782
11783 [BZ #16153]
11784 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11785 terminating NUL in key length.
11786
76a9b998
AZ
117872013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11788
11789 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11790 Add artificial ODP entry for vDSO symbol for PPC64.
11791 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11792 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11793
e4368156
OB
117942013-11-07 Ondřej Bílka <neleai@seznam.cz>
11795
11796 [BZ #15374]
11797 * nss/getent.c (services_keys): Recognize services starting with digit.
11798
8d6bb57c
DM
117992013-11-06 David S. Miller <davem@davemloft.net>
11800
11801 [BZ #15985]
11802 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11803 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11804
e256c421
WN
118052013-11-06 Will Newton <will.newton@linaro.org>
11806
11807 * manual/memory.texi (Malloc Examples): Remove register
11808 keyword from examples.
11809
f6e12daa 118102013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 11811
f6e12daa 11812 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 11813
9d880655
AS
118142013-11-04 Joseph Myers <joseph@codesourcery.com>
11815
fd2f9486 11816 [BZ #6981]
9d880655
AS
11817 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11818 depending on [__GCC_IEC_559 > 0].
11819 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11820 depending on [__GCC_IEC_559_COMPLEX > 0].
11821
ae129d3c
CL
118222013-11-03 Chris Leonard <cjl@sugarlabs.org>
11823
11824 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11825 to iso-639.def.
11826
4a15c2a4 118272013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
11828
11829 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11830
8b35e35d
OB
118312013-11-01 Ondřej Bílka <neleai@seznam.cz>
11832
11833 [BZ #16112]
11834 * malloc/malloc (malloc_info): Do not handle first bin as
11835 special case.
11836
1d70fd6c
CL
118372013-11-01 Chris Leonard <cjl@sugarlabs.org>
11838
11839 * locale/iso-639.def: Add Central Nahuatl (nhn).
11840
8c5c2600
BH
118412013-11-01 Bruno Haible <bruno@clisp.org>
11842
11843 [BZ #7003]
11844 * manual/math.texi (BSD Random): Specify range upper bound as
11845 in POSIX.
11846
da5579c2
CL
118472013-10-31 Chris Leonard <cjl@sugarlabs.org>
11848
11849 * locale/iso-639.def: Add Meadow Mari (mhr).
11850
5d30d853
OB
118512013-10-31 Ondřej Bílka <neleai@seznam.cz>
11852
11853 [BZ #14752], [BZ #15763]
11854 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11855 Validate name.
11856 * rt/tst_shm.c: Add test for escaping directory.
11857
a4966c61
AS
118582013-10-31 Andreas Schwab <schwab@suse.de>
11859
8a43e768 11860 [BZ #15917]
a4966c61
AS
11861 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11862 followed by 'x' as part of digit sequence.
11863 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11864
28d708c4
MAP
118652013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11866
11867 [BZ #16037]
11868 * configure.ac: allow GNU Make 4.0 and greater.
11869 * configure: Regenerated.
11870
a56ee40b
WN
118712013-10-30 Will Newton <will.newton@linaro.org>
11872
11873 [BZ #16038]
11874 * malloc/hooks.c (memalign_check): Limit alignment to the
11875 maximum representable power of two.
11876 * malloc/malloc.c (__libc_memalign): Likewise.
11877 * malloc/tst-memalign.c (do_test): Add test for very
11878 large alignment values.
11879 * malloc/tst-posix_memalign.c (do_test): Likewise.
11880
c6e4925d
OB
118812013-10-30 Ondřej Bílka <neleai@seznam.cz>
11882
11883 [BZ #11087]
11884 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11885 (munmap_chunk): Likewise.
11886 (mremap_chunk): Likewise.
11887
118882013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 11889
8a43e768 11890 [BZ #15799]
bbea82f7
OB
11891 * stdlib/div.c (div): Remove obsolete code.
11892 * stdlib/ldiv.c (ldiv): Likewise.
11893 * stdlib/lldiv.c (lldiv): Likewise.
11894
977f4b31
SP
118952013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11896
11897 [BZ #16071]
11898 * nss/nss_files/files-XXX.c (get_contents_ret): New
11899 enumerator.
11900 (get_contents): New function.
11901 (internal_getent): Use it. Expand size of LINEBUFLEN.
11902
cb8a6dbd
MF
119032013-10-30 Mike Frysinger <vapier@gentoo.org>
11904
11905 * configure.in: Moved to ...
11906 * configure.ac: ... here. Change reference to configure.in
11907 to configure.ac.
11908 * sysdeps/arm/preconfigure.ac: ... here.
11909 configure.in to configure.ac.
11910 * sysdeps/gnu/configure.in: Moved to ...
11911 * sysdeps/gnu/configure.ac: ... here.
11912 * sysdeps/i386/configure.in: Moved to ...
11913 * sysdeps/i386/configure.ac: ... here.
11914 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11915 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11916 * sysdeps/mach/configure.in: Moved to ...
11917 * sysdeps/mach/configure.ac: ... here.
11918 * sysdeps/mach/hurd/configure.in: Moved to ...
11919 * sysdeps/mach/hurd/configure.ac: ... here.
11920 * sysdeps/powerpc/configure.in: Moved to ...
11921 * sysdeps/powerpc/configure.ac: ... here.
11922 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11923 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11924 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11925 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11926 * sysdeps/s390/s390-32/configure.in: Moved to ...
11927 * sysdeps/s390/s390-32/configure.ac: ... here.
11928 * sysdeps/s390/s390-64/configure.in: Moved to ...
11929 * sysdeps/s390/s390-64/configure.ac: ... here.
11930 * sysdeps/sh/configure.in: Moved to ...
11931 * sysdeps/sh/configure.ac: ... here.
11932 * sysdeps/sparc/configure.in: Moved to ...
11933 * sysdeps/sparc/configure.ac: ... here.
11934 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11935 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11936 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11937 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11938 * sysdeps/x86_64/configure.in: Moved to ...
11939 * sysdeps/x86_64/configure.ac: ... here.
11940 * sysdeps/x86_64/preconfigure.in: Moved to ...
11941 * sysdeps/x86_64/preconfigure.ac: ... here.
11942 * aclocal.m4: Change reference to configure.in to configure.ac.
11943 * config.h.in: Likewise.
11944 * manual/install.texi: Likewise.
11945 * manual/maint.texi: Likewise.
11946 * Makefile: Likewise.
11947 * malloc/Makefile: Likewise.
11948 * nscd/Makefile: Likewise.
11949 * Makeconfig: Change reference to configure.in and
11950 preconfigure.in to configure.ac and preconfigure.ac
11951 respectively.
11952 * INSTALL: Regenerated.
11953 * configure: Likewise.
11954 * sysdeps/gnu/configure: Likewise.
11955 * sysdeps/i386/configure: Likewise.
11956 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11957 * sysdeps/mach/configure: Likewise.
11958 * sysdeps/mach/hurd/configure: Likewise.
11959 * sysdeps/powerpc/configure: Likewise.
11960 * sysdeps/powerpc/powerpc32/configure: Likewise.
11961 * sysdeps/powerpc/powerpc64/configure: Likewise.
11962 * sysdeps/s390/s390-32/configure: Likewise.
11963 * sysdeps/s390/s390-64/configure: Likewise.
11964 * sysdeps/sh/configure: Likewise.
11965 * sysdeps/sparc/configure: Likewise.
11966 * sysdeps/unix/sysv/linux/configure: Likewise.
11967 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11968 * sysdeps/x86_64/configure: Likewise.
11969 * sysdeps/x86_64/preconfigure: Likewise.
11970
36a4953a
AS
119712013-10-29 Andreas Schwab <schwab@suse.de>
11972
11973 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11974
c79a1204
SP
119752013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11976
dfa1b402
SP
11977 * benchtests/pow-inputs: Add new inputs.
11978
54f73d9c
SP
11979 * benchtests/exp-inputs: Add new inputs.
11980
c79a1204
SP
11981 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11982 conditional check for return value.
11983 (__cos32): Likewise.
11984
67beb545 119852013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
11986
11987 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11988 to provide a boost for large inputs with word alignment.
11989 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11990 implementation based on optimized PPC64 strcpy.
11991 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11992 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11993 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11994 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11995
151659f6
OB
119962013-10-25 Ondřej Bílka <neleai@seznam.cz>
11997
482a077e 11998 [BZ #2801]
151659f6
OB
11999 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12000
10b0f26b
OB
120012013-10-25 Ondřej Bílka <neleai@seznam.cz>
12002
12003 [BZ #14876]
12004 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12005 * time/tst-strptime.c (day_tests): Add testcase.
12006
ca42d35e
OB
120072013-10-25 Ondřej Bílka <neleai@seznam.cz>
12008
482a077e 12009 [BZ #14029]
ca42d35e
OB
12010 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12011
52e6d801
FB
120122013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12013
12014 [BZ #16074]
12015 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12016 MAP_FAILED on error.
12017
7cbcdb36
SP
120182013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12019
12020 [BZ #16072]
12021 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12022 heap for large requests.
12023
894f3f10
AM
120242013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12025
12026 [BZ #9954]
12027 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12028 result if the result has no associated interface.
12029 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12030 interface for all 127.X.Y.Z addresses.
12031
b85545a6
CL
120322013-10-24 Chris Leonard <cjl@sugarlabs.org>
12033
12034 * locale/iso-639.def: Add Ligurian (lij)
12035
d1f23d46
OB
120362013-10-21 Ondřej Bílka <neleai@seznam.cz>
12037
12038 [BZ #15825]
12039 * sunrpc/rpc_main.c: Document rpcgen -5.
12040
4db5b08f
MS
120412013-10-19 Michael Stahl <mstahl@redhat.com>
12042
12043 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12044
a471e96a
OB
120452013-10-19 Ondřej Bílka <neleai@seznam.cz>
12046
d1f23d46 12047 [BZ #10278]
a471e96a
OB
12048 * posix/glob.c: Match only directories when trailing slash is present.
12049 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12050 (main): Add testcase.
12051
45c30c61
OB
120522013-10-19 Ondřej Bílka <neleai@seznam.cz>
12053
12054 [BZ #15670]
12055 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12056
484c12fb
CD
120572013-10-18 Carlos O'Donell <carlos@redhat.com>
12058
3d7dc513
CD
12059 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12060 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12061 AUTH_DES and cindex for FIPS 140-2.
12062 (DES Encryption): Add cindex FIPS 46-3.
12063
484c12fb
CD
12064 * locale/locarchive.h (struct locarhandle): Add fname.
12065 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12066 if an optional argument was specified to --list-archive,
12067 otherwise NULL.
12068 * locale/programs/locarchive.c (show_archive_content): Take new
12069 argument fname and pass it via ah.fname to open_archive.
12070 * locale/programs/localedef.h: Update decl.
12071 (open_archive): If AH->fname is non-null, open that file
12072 rather than the default file name, and don't ignore ENOENT.
12073 (create_archive): Set AH.fname to NULL.
12074 (delete_locales_from_archive): Likewise.
12075 (add_locales_to_archive): Likewise.
12076 * locale/programs/locfile.c (write_all_categories): Likewise.
12077
3c8325fb
JM
120782013-10-18 Joseph Myers <joseph@codesourcery.com>
12079 Aldy Hernandez <aldyh@redhat.com>
12080
12081 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12082 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12083 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12084 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12085 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12086 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12087 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12088 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12089 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12090 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12091 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12092 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12093 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12094 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12095 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12096 Likewise.
12097 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12098 Likewise.
12099 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12100 Likewise.
12101 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12102 Likewise.
12103 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12104 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12105 Likewise.
12106 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12107 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12108 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12109 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12110 Likewise.
12111 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12112 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12113 * sysdeps/powerpc/preconfigure: Likewise.
12114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12115 Likewise.
12116 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12117 Replace contents of file by #include of <fenv_libc.h>.
12118 * sysdeps/powerpc/soft-fp/sfp-machine.h
12119 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12120 and <sys/prctl.h>.
12121 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12122 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12123 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12124 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12125 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12126 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12127 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12128 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12129 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12130 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12131 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12132 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12134 Allow copysignl PLT reference to be missing.
12135
5abe0682
RS
121362013-10-18 Richard Sandiford <richard@codesourcery.com>
12137 Joseph Myers <joseph@codesourcery.com
12138
12139 [BZ #15948]
12140 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12141 single character.
12142 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12143
c7738d08
SP
121442013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12145
12146 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12147 * elf/tst-tls1.c: Likewise.
12148 * elf/tst-tls10.h: Likewise.
12149 * elf/tst-tls14.c: Likewise.
12150 * elf/tst-tls2.c: Likewise.
12151 * elf/tst-tls3.c: Likewise.
12152 * elf/tst-tls4.c: Likewise.
12153 * elf/tst-tls5.c: Likewise.
12154 * elf/tst-tls6.c: Likewise.
12155 * elf/tst-tls7.c: Likewise.
12156 * elf/tst-tls8.c: Likewise.
12157 * elf/tst-tls9.c: Likewise.
12158 * elf/tst-tlsmod1.c: Likewise.
12159 * elf/tst-tlsmod13.c: Likewise.
12160 * elf/tst-tlsmod13a.c: Likewise.
12161 * elf/tst-tlsmod14a.c: Likewise.
12162 * elf/tst-tlsmod16a.c: Likewise.
12163 * elf/tst-tlsmod16b.c: Likewise.
12164 * elf/tst-tlsmod2.c: Likewise.
12165 * elf/tst-tlsmod3.c: Likewise.
12166 * elf/tst-tlsmod4.c: Likewise.
12167 * elf/tst-tlsmod5.c: Likewise.
12168 * elf/tst-tlsmod6.c: Likewise.
12169
0bfcf2c7
OB
121702013-10-18 Ondřej Bílka <neleai@seznam.cz>
12171
12172 [BZ #12486]
12173 * malloc/malloc.c: remove checks for statistics.
12174
264aad1e
OB
121752013-10-17 Ondřej Bílka <neleai@seznam.cz>
12176
12177 [BZ #15277]
12178 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12179 * inet/tst-network.c: Add testcase.
12180
b957ced8
AS
121812013-10-17 Andreas Schwab <schwab@suse.de>
12182
12183 [BZ #15218]
12184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12185 to determine canonical name.
12186
c5d5d574
OB
121872013-10-17 Ondřej Bílka <neleai@seznam.cz>
12188
12189 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12190 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12191 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12192 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12193 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12194 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12195 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12196 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12197 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12198 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12199 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12200 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12201 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12202 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12203 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12204 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12205 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12206 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12207 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12208 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12209 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12210 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12211 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12212 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12213 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12214 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12215 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12216 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12217 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12218 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12219 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12220 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12221 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12222 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12223 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12224 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12225 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12226 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12227 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12228 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12229 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12230 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12231 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12232 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12233 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12234 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12235 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12236 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12237 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12238 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12239 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12240 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12241 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12242 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12243 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12244 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12245 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12246 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12247
e5c2c2d0
JM
122482013-10-17 Joseph Myers <joseph@codesourcery.com>
12249
12250 [BZ #16041]
12251 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12252 make result into a quiet NaN.
12253
51ca9e29
JM
122542013-10-16 Joseph Myers <joseph@codesourcery.com>
12255
12256 * soft-fp/adddf3.c: Fix horizontal whitespace.
12257 * soft-fp/addsf3.c: Likewise.
12258 * soft-fp/addtf3.c: Likewise.
12259 * soft-fp/divdf3.c: Likewise.
12260 * soft-fp/divsf3.c: Likewise.
12261 * soft-fp/divtf3.c: Likewise.
12262 * soft-fp/double.h: Likewise.
12263 * soft-fp/eqdf2.c: Likewise.
12264 * soft-fp/eqsf2.c: Likewise.
12265 * soft-fp/eqtf2.c: Likewise.
12266 * soft-fp/extenddftf2.c: Likewise.
12267 * soft-fp/extended.h: Likewise.
12268 * soft-fp/extendsfdf2.c: Likewise.
12269 * soft-fp/extendsftf2.c: Likewise.
12270 * soft-fp/extendxftf2.c: Likewise.
12271 * soft-fp/fixdfdi.c: Likewise.
12272 * soft-fp/fixdfsi.c: Likewise.
12273 * soft-fp/fixdfti.c: Likewise.
12274 * soft-fp/fixsfdi.c: Likewise.
12275 * soft-fp/fixsfsi.c: Likewise.
12276 * soft-fp/fixsfti.c: Likewise.
12277 * soft-fp/fixtfdi.c: Likewise.
12278 * soft-fp/fixtfsi.c: Likewise.
12279 * soft-fp/fixtfti.c: Likewise.
12280 * soft-fp/fixunsdfdi.c: Likewise.
12281 * soft-fp/fixunsdfsi.c: Likewise.
12282 * soft-fp/fixunsdfti.c: Likewise.
12283 * soft-fp/fixunssfdi.c: Likewise.
12284 * soft-fp/fixunssfsi.c: Likewise.
12285 * soft-fp/fixunssfti.c: Likewise.
12286 * soft-fp/fixunstfdi.c: Likewise.
12287 * soft-fp/fixunstfsi.c: Likewise.
12288 * soft-fp/fixunstfti.c: Likewise.
12289 * soft-fp/floatdidf.c: Likewise.
12290 * soft-fp/floatdisf.c: Likewise.
12291 * soft-fp/floatditf.c: Likewise.
12292 * soft-fp/floatsidf.c: Likewise.
12293 * soft-fp/floatsisf.c: Likewise.
12294 * soft-fp/floatsitf.c: Likewise.
12295 * soft-fp/floattidf.c: Likewise.
12296 * soft-fp/floattisf.c: Likewise.
12297 * soft-fp/floattitf.c: Likewise.
12298 * soft-fp/floatundidf.c: Likewise.
12299 * soft-fp/floatundisf.c: Likewise.
12300 * soft-fp/floatunditf.c: Likewise.
12301 * soft-fp/floatunsidf.c: Likewise.
12302 * soft-fp/floatunsisf.c: Likewise.
12303 * soft-fp/floatunsitf.c: Likewise.
12304 * soft-fp/floatuntidf.c: Likewise.
12305 * soft-fp/floatuntisf.c: Likewise.
12306 * soft-fp/floatuntitf.c: Likewise.
12307 * soft-fp/fmadf4.c: Likewise.
12308 * soft-fp/fmasf4.c: Likewise.
12309 * soft-fp/fmatf4.c: Likewise.
12310 * soft-fp/gedf2.c: Likewise.
12311 * soft-fp/gesf2.c: Likewise.
12312 * soft-fp/getf2.c: Likewise.
12313 * soft-fp/ledf2.c: Likewise.
12314 * soft-fp/lesf2.c: Likewise.
12315 * soft-fp/letf2.c: Likewise.
12316 * soft-fp/muldf3.c: Likewise.
12317 * soft-fp/mulsf3.c: Likewise.
12318 * soft-fp/multf3.c: Likewise.
12319 * soft-fp/negdf2.c: Likewise.
12320 * soft-fp/negsf2.c: Likewise.
12321 * soft-fp/negtf2.c: Likewise.
12322 * soft-fp/op-1.h: Likewise.
12323 * soft-fp/op-2.h: Likewise.
12324 * soft-fp/op-4.h: Likewise.
12325 * soft-fp/op-8.h: Likewise.
12326 * soft-fp/op-common.h: Likewise.
12327 * soft-fp/quad.h: Likewise.
12328 * soft-fp/single.h: Likewise.
12329 * soft-fp/soft-fp.h: Likewise.
12330 * soft-fp/sqrtdf2.c: Likewise.
12331 * soft-fp/sqrtsf2.c: Likewise.
12332 * soft-fp/sqrttf2.c: Likewise.
12333 * soft-fp/subdf3.c: Likewise.
12334 * soft-fp/subsf3.c: Likewise.
12335 * soft-fp/subtf3.c: Likewise.
12336 * soft-fp/truncdfsf2.c: Likewise.
12337 * soft-fp/trunctfdf2.c: Likewise.
12338 * soft-fp/trunctfsf2.c: Likewise.
12339 * soft-fp/trunctfxf2.c: Likewise.
12340 * soft-fp/unorddf2.c: Likewise.
12341 * soft-fp/unordsf2.c: Likewise.
12342 * soft-fp/unordtf2.c: Likewise.
12343
9ebb0332
JM
123442013-10-15 Joseph Myers <joseph@codesourcery.com>
12345
12346 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12347 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12348
4b1a6d8b
OB
123492013-10-15 Ondřej Bílka <neleai@seznam.cz>
12350
12351 * elf/dl-libc.c: Clear initfini list after freeing.
12352
1e145589
JM
123532013-10-14 Joseph Myers <joseph@codesourcery.com>
12354
12355 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12356 * soft-fp/addsf3.c: Likewise.
12357 * soft-fp/addtf3.c: Likewise.
12358 * soft-fp/divdf3.c: Likewise.
12359 * soft-fp/divsf3.c: Likewise.
12360 * soft-fp/divtf3.c: Likewise.
12361 * soft-fp/double.h: Likewise.
12362 * soft-fp/eqdf2.c: Likewise.
12363 * soft-fp/eqsf2.c: Likewise.
12364 * soft-fp/eqtf2.c: Likewise.
12365 * soft-fp/extenddftf2.c: Likewise.
12366 * soft-fp/extended.h: Likewise.
12367 * soft-fp/extendsfdf2.c: Likewise.
12368 * soft-fp/extendsftf2.c: Likewise.
12369 * soft-fp/extendxftf2.c: Likewise.
12370 * soft-fp/fixdfdi.c: Likewise.
12371 * soft-fp/fixdfsi.c: Likewise.
12372 * soft-fp/fixdfti.c: Likewise.
12373 * soft-fp/fixsfdi.c: Likewise.
12374 * soft-fp/fixsfsi.c: Likewise.
12375 * soft-fp/fixsfti.c: Likewise.
12376 * soft-fp/fixtfdi.c: Likewise.
12377 * soft-fp/fixtfsi.c: Likewise.
12378 * soft-fp/fixtfti.c: Likewise.
12379 * soft-fp/fixunsdfdi.c: Likewise.
12380 * soft-fp/fixunsdfsi.c: Likewise.
12381 * soft-fp/fixunsdfti.c: Likewise.
12382 * soft-fp/fixunssfdi.c: Likewise.
12383 * soft-fp/fixunssfsi.c: Likewise.
12384 * soft-fp/fixunssfti.c: Likewise.
12385 * soft-fp/fixunstfdi.c: Likewise.
12386 * soft-fp/fixunstfsi.c: Likewise.
12387 * soft-fp/fixunstfti.c: Likewise.
12388 * soft-fp/floatdidf.c: Likewise.
12389 * soft-fp/floatdisf.c: Likewise.
12390 * soft-fp/floatditf.c: Likewise.
12391 * soft-fp/floatsidf.c: Likewise.
12392 * soft-fp/floatsisf.c: Likewise.
12393 * soft-fp/floatsitf.c: Likewise.
12394 * soft-fp/floattidf.c: Likewise.
12395 * soft-fp/floattisf.c: Likewise.
12396 * soft-fp/floattitf.c: Likewise.
12397 * soft-fp/floatundidf.c: Likewise.
12398 * soft-fp/floatundisf.c: Likewise.
12399 * soft-fp/floatunsidf.c: Likewise.
12400 * soft-fp/floatunsisf.c: Likewise.
12401 * soft-fp/floatuntidf.c: Likewise.
12402 * soft-fp/floatuntisf.c: Likewise.
12403 * soft-fp/floatuntitf.c: Likewise.
12404 * soft-fp/fmadf4.c: Likewise.
12405 * soft-fp/fmasf4.c: Likewise.
12406 * soft-fp/fmatf4.c: Likewise.
12407 * soft-fp/gedf2.c: Likewise.
12408 * soft-fp/gesf2.c: Likewise.
12409 * soft-fp/getf2.c: Likewise.
12410 * soft-fp/ledf2.c: Likewise.
12411 * soft-fp/lesf2.c: Likewise.
12412 * soft-fp/letf2.c: Likewise.
12413 * soft-fp/muldf3.c: Likewise.
12414 * soft-fp/mulsf3.c: Likewise.
12415 * soft-fp/multf3.c: Likewise.
12416 * soft-fp/negdf2.c: Likewise.
12417 * soft-fp/negsf2.c: Likewise.
12418 * soft-fp/negtf2.c: Likewise.
12419 * soft-fp/op-1.h: Likewise.
12420 * soft-fp/op-2.h: Likewise.
12421 * soft-fp/op-4.h: Likewise.
12422 * soft-fp/op-8.h: Likewise.
12423 * soft-fp/op-common.h: Likewise.
12424 * soft-fp/quad.h: Likewise.
12425 * soft-fp/single.h: Likewise.
12426 * soft-fp/soft-fp.h: Likewise.
12427 * soft-fp/sqrtdf2.c: Likewise.
12428 * soft-fp/sqrtsf2.c: Likewise.
12429 * soft-fp/sqrttf2.c: Likewise.
12430 * soft-fp/subdf3.c: Likewise.
12431 * soft-fp/subsf3.c: Likewise.
12432 * soft-fp/subtf3.c: Likewise.
12433 * soft-fp/truncdfsf2.c: Likewise.
12434 * soft-fp/trunctfdf2.c: Likewise.
12435 * soft-fp/trunctfsf2.c: Likewise.
12436 * soft-fp/trunctfxf2.c: Likewise.
12437 * soft-fp/unorddf2.c: Likewise.
12438 * soft-fp/unordsf2.c: Likewise.
12439 * soft-fp/unordtf2.c: Likewise.
12440
17c48a60
OB
124412013-10-14 Ondřej Bílka <neleai@seznam.cz>
12442
12443 [BZ #15672]
12444 * misc/error.c (error_tail): Fix possible buffer overflow.
12445
cabba934
OB
124462013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12447
12448 [BZ #13028]
12449 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12450 address.
12451
94bf958a
PM
124522013-10-14 P. J. McDermott <pj@pehjota.net>
12453
12454 [BZ #832]
12455 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12456 testing pipefail option.
12457
71b4dea7
JM
124582013-10-12 Joseph Myers <joseph@codesourcery.com>
12459
12460 * soft-fp/double.h: Indent preprocessor directives inside #if.
12461 * soft-fp/extended.h: Likewise.
12462 * soft-fp/op-2.h: Likewise.
12463 * soft-fp/op-4.h: Likewise.
12464 * soft-fp/op-common.h: Likewise.
12465 * soft-fp/quad.h: Likewise.
12466 * soft-fp/single.h: Likewise.
12467 * soft-fp/soft-fp.h: Likewise.
12468
55602758
YC
124692013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12470
12471 * iconv/iconv_prog.c: Fix typos.
12472 * stdio-common/psiginfo-data.h: Likewise.
12473
9cd83302
RT
124742013-10-12 Reuben Thomas <rrt@sc3d.org>
12475
12476 [BZ #15764]
12477 * locale/setlocale.c: Fix typo.
12478
99fd9f47
JM
124792013-10-12 Joseph Myers <joseph@codesourcery.com>
12480
b7ea74f0
JM
12481 [BZ #16036]
12482 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12483 signaling NaN arguments.
12484 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12485 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12486
8a509447
JM
12487 [BZ #14910]
12488 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12489 unordered operands.
12490 * soft-fp/gesf2.c (__gesf2): Likewise.
12491 * soft-fp/getf2.c (__getf2): Likewise.
12492 * soft-fp/ledf2.c (__ledf2): Likewise.
12493 * soft-fp/lesf2.c (__lesf2): Likewise.
12494 * soft-fp/letf2.c (__letf2): Likewise.
12495
98998e9f
JM
12496 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12497 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12498 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12499 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12500 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12501 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12502 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12503 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12504 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12505 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12506 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12507 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12508 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12509 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12510 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12511 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12512 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12513 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12514 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12515 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12516 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12517 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12518 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12519 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12520 * soft-fp/floattidf.c (__floattidf): Likewise.
12521 * soft-fp/floattisf.c (__floattisf): Likewise.
12522 * soft-fp/floattitf.c (__floattitf): Likewise.
12523 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12524 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12525 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12526 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12527 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12528 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12529 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12530 * soft-fp/gesf2.c (__gesf2): Likewise.
12531 * soft-fp/getf2.c (__getf2): Likewise.
12532 * soft-fp/ledf2.c (__ledf2): Likewise.
12533 * soft-fp/lesf2.c (__lesf2): Likewise.
12534 * soft-fp/letf2.c (__letf2): Likewise.
12535
8edc4a11
JM
12536 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12537 Undefine and redefine.
12538 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12539 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12540 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12541 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12542 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12543 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12544 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12545 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12546 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12547 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12548 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12549 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12550 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12551 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12552 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12553
8399acaf
JM
12554 [BZ #16032]
12555 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12556 without decrementing exponent if mantissa >= that for the
12557 denominator, not >.
12558 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12559 denominator, not >. Decrement exponent in < case instead of
12560 incrementing in >= case.
12561 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12562 without decrementing exponent if mantissa >= that for the
12563 denominator, not >.
12564
99fd9f47
JM
12565 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12566 computing saturated result for unsigned overflow.
12567
10e1cf6b
SP
125682013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12569 Jeff Law <law@redhat.com>
12570
12571 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12572 (atan2Mp): Add systemtap probe marker.
12573 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12574 (__ieee754_log): Add systemtap probe marker.
12575 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12576 (atanMp): Add systemtap probe marker.
12577 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12578 (tanMp): Add systemtap probe marker.
12579 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12580 (__slowexp): Add systemtap probe marker.
12581 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12582 (__slowpow): Add systemtap probe marker.
12583 * manual/probes.texi: Document probes.
12584
3d110c7c
EB
125852013-10-11 Eric Biggers <ebiggers3@gmail.com>
12586
12587 [BZ #15362]
12588 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12589 written.
12590 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12591 written.
12592 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12593 written to buffer but not flushed.
12594 * libio/iofwrite_u.c: Likewise.
12595 * libio/iopadn.c: Return bytes returned even if EOF was
12596 encountered.
12597 * libio/iowpadn.c: Likewise.
12598 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12599 if _IO_padn does not write the whole buffer.
12600 [!COMPILE_WPRINTF] (PAD): Likewise.
12601
75b4202a
DM
126022013-10-10 David S. Miller <davem@davemloft.net>
12603
12604 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12605 directory block.
12606
6c6352e6
JM
126072013-10-10 Joseph Myers <joseph@codesourcery.com>
12608
33b853c3
JM
12609 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12610 instead of FSF address.
12611 * soft-fp/fixdfti.c: Likewise.
12612 * soft-fp/fixsfti.c: Likewise.
12613 * soft-fp/fixtfti.c: Likewise.
12614 * soft-fp/fixunsdfti.c: Likewise.
12615 * soft-fp/fixunssfti.c: Likewise.
12616 * soft-fp/fixunstfti.c: Likewise.
12617 * soft-fp/floattidf.c: Likewise.
12618 * soft-fp/floattisf.c: Likewise.
12619 * soft-fp/floattitf.c: Likewise.
12620 * soft-fp/floatuntidf.c: Likewise.
12621 * soft-fp/floatuntisf.c: Likewise.
12622 * soft-fp/floatuntitf.c: Likewise.
12623 * soft-fp/trunctfxf2.c: Likewise.
12624
6c6352e6
JM
12625 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12626 * soft-fp/fixdfti.c: Likewise.
12627 * soft-fp/fixsfti.c: Likewise.
12628 * soft-fp/fixtfti.c: Likewise.
12629 * soft-fp/fixunsdfti.c: Likewise.
12630 * soft-fp/fixunssfti.c: Likewise.
12631 * soft-fp/fixunstfti.c: Likewise.
12632 * soft-fp/floattidf.c: Likewise.
12633 * soft-fp/floattisf.c: Likewise.
12634 * soft-fp/floattitf.c: Likewise.
12635 * soft-fp/floatuntidf.c: Likewise.
12636 * soft-fp/floatuntisf.c: Likewise.
12637 * soft-fp/floatuntitf.c: Likewise.
12638 * soft-fp/trunctfxf2.c: Likewise.
12639
3bf78b71
DM
126402013-10-10 David S. Miller <davem@davemloft.net>
12641
12642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12643
6f10289e
JM
126442013-10-10 Joseph Myers <joseph@codsourcery.com>
12645
bd878fc0
JM
12646 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12647 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12648 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12649 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12650 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12651 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12652 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12653
6f10289e
JM
12654 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12655 for NaNs before doing comparisons on argument.
12656 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12657 Likewise.
12658
321e2684
WN
126592013-10-10 Will Newton <will.newton@linaro.org>
12660
12661 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12662 passed to _int_memalign does not overflow.
12663
40fefba1
TR
126642013-10-10 Torvald Riegel <triegel@redhat.com>
12665
12666 * scripts/bench.pl: Add include-sources directive.
12667 * benchtests/README: Update documentation.
12668
2ae21ed2
JM
126692013-10-10 Joseph Myers <joseph@codesourcery.com>
12670
dcc2dd3f
JM
12671 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12672 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12673 instead of FP_INIT_ROUNDMODE.
12674 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12675 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12676
2ae21ed2
JM
12677 [BZ #16034]
12678 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12679 copy class of input value.
12680 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12681 not handle exceptions.
12682 * soft-fp/negsf2.c (__negsf2): Likewise.
12683 * soft-fp/negtf2.c (__negtf2): Likewise.
12684 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12685
cb8f9562
JM
126862013-10-09 Joseph Myers <joseph@codesourcery.com>
12687
12688 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12689 semicolon. From Linux kernel.
12690
5b60c59d
AB
126912013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12692
12693 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12694
b86835ca
YC
126952013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12696
12697 [BZ #156]
12698 * manual/socket.texi: Added statement about buffer
12699 for gethostbyname2_r.
12700
e7044ea7
OB
127012013-10-08 Ondřej Bílka <neleai@seznam.cz>
12702
12703 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12704 Use .p2align directive instead, throughout.
12705 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12706 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12707 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12708 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12709 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12710 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12711 * sysdeps/x86_64/strchr.S: Likewise.
12712 * sysdeps/x86_64/strrchr.S: Likewise.
12713
09544cbc
SP
127142013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12715
88576635
SP
12716 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12717
e7b2d1dd
SP
12718 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12719
09544cbc
SP
12720 * sysdeps/generic/math_private.h (__mpsin1): Remove
12721 declaration.
12722 (__mpcos1): Likewise.
12723 (__mpsin): New argument __range_reduce.
12724 (__mpcos): Likewise.
12725 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12726 (slow): Use __mpsin and __mpcos.
12727 (slow1): Likewise.
12728 (slow2): Likewise.
12729 (sloww): Likewise.
12730 (sloww1): Likewise.
12731 (sloww2): Likewise.
12732 (bsloww): Likewise.
12733 (bsloww1): Likewise.
12734 (bsloww2): Likewise.
12735 (cslow2): Likewise.
12736 (csloww): Likewise.
12737 (csloww1): Likewise.
12738 (csloww2): Likewise.
12739 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12740 range_reduce. Merge in __mpsin1.
12741 (__mpcos): Likewise.
12742 (__mpsin1): Remove.
12743 (__mpcos1): Likewise.
12744
7602d070
JM
127452013-10-07 Joseph Myers <joseph@codesourcery.com>
12746
12747 * locale/loadlocale.c (_nl_intern_locale_data): Use
12748 LOCFILE_ALIGNED_P.
12749 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12750 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12751 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12752 obstack data is appropriately aligned.
12753 (obstack_int32_grow_fast): Likewise.
12754 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12755 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12756 (add_locale_uint32_array): Likewise.
12757
a357259b
SP
127582013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12759
12760 * benchtests/Makefile: Remove ARGLIST and RET variables.
12761 ($(objpfx)bench-%.c): Pass only function name to the script.
12762 * benchtests/README: Update documentation.
12763 * benchtests/acos-inputs: Add new directives.
12764 * benchtests/acosh-inputs: Likewise.
12765 * benchtests/asin-inputs: Likewise.
12766 * benchtests/asinh-inputs: Likewise.
12767 * benchtests/atan-inputs: Likewise.
12768 * benchtests/atanh-inputs: Likewise.
12769 * benchtests/cos-inputs: Likewise.
12770 * benchtests/cosh-inputs: Likewise.
12771 * benchtests/exp-inputs: Likewise.
12772 * benchtests/log-inputs: Likewise.
12773 * benchtests/pow-inputs: Likewise.
12774 * benchtests/rint-inputs: Likewise.
12775 * benchtests/sin-inputs: Likewise.
12776 * benchtests/sinh-inputs: Likewise.
12777 * benchtests/tan-inputs: Likewise.
12778 * benchtests/tanh-inputs: Likewise.
12779 * scripts/bench.pl: Add support for new directives.
12780
9ec1b13d
AM
127812013-10-07 Alan Modra <amodra@gmail.com>
12782
12783 * README: Fix careless merge.
12784
8b7d57cd
AM
127852013-10-05 Alan Modra <amodra@gmail.com>
12786
12787 * NEWS: Mention powerpc64le support and bugs fixed.
12788 * README: Both big-endian and little-endian powerpc64 supported.
12789
7b7bab13
ST
127902013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12791
57f41c40
AS
12792 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12793 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
12794 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12795 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12796
d39baad1
RA
127972013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12798
12799 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12800 match prototype.
12801
cd78f7e7
JM
128022013-10-04 Joseph Myers <joseph@codesourcery.com>
12803
29d73d86
JM
12804 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12805 Move -mhard-float appending from
12806 ports/sysdeps/powerpc/powerpc32/Makefile.
12807 [$(with-fp) = yes] (ASFLAGS): Likewise.
12808 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12809 * sysdeps/powerpc/nofpu: Move directory from
12810 ports/sysdeps/powerpc/nofpu.
12811 * sysdeps/powerpc/soft-fp: Move directory from
12812 ports/sysdeps/powerpc/soft-fp.
12813 * sysdeps/powerpc/powerpc32/405: Move directory from
12814 ports/sysdeps/powerpc/powerpc32/405.
12815 * sysdeps/powerpc/powerpc32/440: Move directory from
12816 ports/sysdeps/powerpc/powerpc32/440.
12817 * sysdeps/powerpc/powerpc32/464: Move directory from
12818 ports/sysdeps/powerpc/powerpc32/464.
12819 * sysdeps/powerpc/powerpc32/476: Move directory from
12820 ports/sysdeps/powerpc/powerpc32/476.
12821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12822 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12824 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12826 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12828 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12830 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12831 * README: Update for powerpc-*-linux-gnu software floating point
12832 support in libc.
12833
e246b347
JM
12834 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12835 case to powerpc/powerpc32*.
12836 * sysdeps/unix/sysv/linux/configure: Regenerated.
12837
89c2003e
JM
12838 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12839 (_FPU_MASK_OM): Define as 0x04.
12840 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12841 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12842 0x00c10080.
12843 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12844 0x0000003c.
12845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12846
cd78f7e7
JM
12847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12848 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12849 getcontext_e500.
12850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12851 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12852 setcontext_e500.
12853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12854 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12855 and setcontext_e500.
12856
c755294d
CL
128572013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12858
12859 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12860
e16d221c
SP
128612013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12862
12863 * manual/threads.texi (Default Thread Attributes): Fix typo.
12864
215c7d43
WN
128652013-10-04 Will Newton <will.newton@linaro.org>
12866
12867 * malloc/Makefile: Add tst-memalign.
12868 * malloc/tst-memalign.c: New file.
12869
27d0461b
WN
12870 * malloc/tst-posix_memalign.c: Add comments.
12871 (do_test): Add comments and call free on all potentially
12872 allocated pointers. Add space after cast.
12873
1bc92709
WN
12874 * malloc/tst-pvalloc.c: Add comments.
12875 (do_test): Add comments and call free on all potentially
12876 allocated pointers. Remove duplicate check for NULL pointer.
12877 Add space after cast.
12878
66a9be9d
WN
12879 * malloc/tst-valloc.c: Add comments.
12880 (do_test): Add comments and call free on all potentially
12881 allocated pointers. Remove duplicate check for NULL pointer.
12882 Add space after cast.
12883
4cb81307
AM
128842013-10-04 Alan Modra <amodra@gmail.com>
12885
12886 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12887 Use stdint types in rather than __attribute__((mode())).
12888 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12889
f8e3e9f3
AM
128902013-10-04 Alan Modra <amodra@gmail.com>
12891
12892 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12893 Correct handling of unaligned relocs for little-endian.
12894 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12895
8f9ebb08
AM
128962013-10-04 Alan Modra <amodra@gmail.com>
12897
12898 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12899 * configure: Regenerate.
12900 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12901 * shlib-versions: Likewise.
12902
0edf96c2
AM
129032013-10-04 Alan Modra <amodra@gmail.com>
12904
12905 * string/tester.c (test_memrchr): Increment reported test cycle.
12906
e0f7a380
AM
129072013-10-04 Alan Modra <amodra@gmail.com>
12908
12909 * string/test-memcpy.c (do_one_test): When reporting errors, print
12910 string address and don't overrun end of string.
12911
466b0393
AM
129122013-10-04 Alan Modra <amodra@gmail.com>
12913
12914 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12915 insrdi. Make better use of reg selection to speed exit slightly.
12916 Schedule entry path a little better. Remove useless "are we done"
12917 checks on entry to main loop. Handle wrapping around zero address.
12918 Correct main loop count. Handle single left-over word from main
12919 loop inline rather than by using loop_small. Remove extra word
12920 case in loop_small caused by wrong loop count. Add little-endian
12921 support.
12922 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12923 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12924 cache hint.
12925 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12926 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12927 support. Avoid rlwimi.
12928 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12929
3be87c77
AM
129302013-10-04 Alan Modra <amodra@gmail.com>
12931
12932 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 12933 insrdi. Formatting.
3be87c77
AM
12934 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12935 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12936 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12937 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12938 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12939 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12940
759cfef3
AM
129412013-10-04 Alan Modra <amodra@gmail.com>
12942
12943 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12944 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12945 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12946 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12947 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12948 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12949 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12950 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12951 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12952 use of regs. Use power7 mtocrf. Tidy function tails.
12953
fe6e95d7
AM
129542013-10-04 Alan Modra <amodra@gmail.com>
12955
12956 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12957 Formatting. Consistently use rXXX register defines or rN defines.
12958 Use early exit labels that avoid restoring unused non-volatile regs.
12959 Make cr field use more consistent with rWORDn compares. Rename
12960 regs used as shift registers for unaligned loop, using rN defines
12961 for short lifetime/multiple use regs.
12962 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12963 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12964 addi 1,1,64 to pop stack frame. Simplify return value code.
12965 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12966
664318c3
AM
129672013-10-04 Alan Modra <amodra@gmail.com>
12968
12969 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12970 support. Correct typos, formatting. Optimize tail. Use insrdi
12971 rather than rlwimi.
12972 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12973 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12974 little-endian support. Correct typos.
12975 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12976 rather than rlwimi.
12977 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12978 in loop and entry code to keep "and." results.
12979 (strchr): Add little-endian support. Comment. Move cntlzd
12980 earlier in tail.
12981 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12982
43b84013
AM
129832013-10-04 Alan Modra <amodra@gmail.com>
12984
12985 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12986 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12987 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12988 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12989
8a7413f9
AM
129902013-10-04 Alan Modra <amodra@gmail.com>
12991
12992 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12993 (rTMP): Define as r11.
12994 (strcmp): Add little-endian support. Optimise tail.
12995 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12996 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12997 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12998 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12999 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13000 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13001 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13002
33ee81de
AM
130032013-10-04 Alan Modra <amodra@gmail.com>
13004
13005 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13006 little-endian support. Remove unnecessary "are we done" tests.
13007 Handle "s" wrapping around zero and extremely large "size".
13008 Correct main loop count. Handle single left-over word from main
13009 loop inline rather than by using small_loop. Correct comments.
13010 Delete "zero" tail, use "end_max" instead.
13011 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13012
db9b4570
AM
130132013-10-04 Alan Modra <amodra@gmail.com>
13014
13015 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13016 support. Don't branch over align.
13017 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13018 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13019 support. Rearrange tmp reg use to suit. Comment.
13020 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13021
f7c399cf
AM
130222013-10-04 Alan Modra <amodra@gmail.com>
13023
13024 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13025
0b2c2ace
AM
130262013-10-04 Alan Modra <amodra@gmail.com>
13027
13028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13029 conditional form of branch and link when obtaining pc.
13030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13031
02f04a6c
AM
130322013-10-04 Alan Modra <amodra@gmail.com>
13033
13034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13035 HIWORD/LOWORD.
13036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13038
9b874b2f
AM
130392013-10-04 Alan Modra <amodra@gmail.com>
13040
13041 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13042 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13043 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13044 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13045 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13046 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13047 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13048 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13049 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13050 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13051
be1e5d31
AB
130522013-10-04 Anton Blanchard <anton@au1.ibm.com>
13053 Alistair Popple <alistair@ozlabs.au.ibm.com>
13054 Alan Modra <amodra@gmail.com>
13055
13056 [BZ #15723]
13057 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13058 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13059 _dl_hwcap access for little-endian.
13060 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13061 destroy vmx regs when saving unaligned.
13062 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13063 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13064 destroy vmx regs when saving unaligned.
13065
fef13a78
AM
130662013-10-04 Alan Modra <amodra@gmail.com>
13067
13068 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13069 Don't use a union to pack hi/low value.
13070
76a66d51
AB
130712013-10-04 Anton Blanchard <anton@au1.ibm.com>
13072
13073 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13074 for little-endian.
13075 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13076 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13077 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13078 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13079 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13080
6a31fe7f
AM
130812013-10-04 Alan Modra <amodra@gmail.com>
13082
13083 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13084 constants to usual value for .cst8 section, and remove redundant
13085 high address load.
13086 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13087 constant for 0x1p52. Load little-endian words of double from
13088 correct stack offsets.
13089
7b88401f
AM
130902013-10-04 Alan Modra <amodra@gmail.com>
13091
13092 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13093 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13094 words of double from correct stack offsets.
13095 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13096 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13097 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13098 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13099 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13100 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13101 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13102 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13103 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13104 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13105 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13106 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13107 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13108 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13109 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13110 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13111 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13112
9c008155
AM
131132013-10-04 Alan Modra <amodra@gmail.com>
13114
13115 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13116 64-bit int/double union.
13117 (_FPU_SETCW): Likewise.
13118 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13119 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13120
da13146d
AM
131212013-10-04 Alan Modra <amodra@gmail.com>
13122
13123 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13124 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13125
603e8410
AM
131262013-10-04 Alan Modra <amodra@gmail.com>
13127
13128 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13129 use vector int constants.
13130 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13131
4a28b3ca
AB
131322013-10-04 Anton Blanchard <anton@au1.ibm.com>
13133
13134 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13135 array with long long.
13136 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13137 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13138 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13139 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13140 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13141 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13142 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13143 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13144 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13145 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13146 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13147 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13148 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13149
2ca85d2b
AB
131502013-10-04 Anton Blanchard <anton@au1.ibm.com>
13151
13152 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13153 (__signbit): Likewise. Correct for little-endian.
13154 (__signbitl): Call __signbit.
13155 (lrint): Correct for little-endian.
13156 (lrintf): Call lrint.
13157
62a728ae
AM
131582013-10-04 Alan Modra <amodra@gmail.com>
13159
13160 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13161 union 32-bit int array member with 64-bit int array.
13162 (t515, tm256): Double rather than long double.
13163 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13164
32c301df
AM
131652013-10-04 Alan Modra <amodra@gmail.com>
13166
13167 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13168 Delete.
13169 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13170 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13171 version of math_ldbl.h.
13172
650ef4bd
AM
131732013-10-04 Alan Modra <amodra@gmail.com>
13174
13175 [BZ #15734], [BZ #15735]
13176 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13177 all uses of ieee875 long double macros and unions. Simplify test
13178 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13179 ldbl_extract_mantissa value for ix,iy exponents. Properly
13180 normalize after ldbl_extract_mantissa, and don't add hidden bit
13181 already handled. Don't treat low word of ieee854 mantissa like
13182 low word of IBM long double and mask off bit when testing for
13183 zero.
13184 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13185 all uses of ieee875 long double macros and unions. Simplify tests
13186 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13187 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13188 two1022, instead use their values. Recognise that tests for large
13189 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13190 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13191 Rewrite all uses of ieee875 long double macros and unions. Simplify
13192 test for 0.0L and nan. Correct negation.
13193 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13194 ieee875 long double macros and unions. Correct output for large
13195 magnitude x. Correct absolute value calculation.
13196 (__erfcl): Likewise.
13197 * math/libm-test.inc: Add tests for errors discovered in IBM long
13198 double versions of fmodl, remainderl, erfl and erfcl.
13199
765714ca
AM
132002013-10-04 Alan Modra <amodra@gmail.com>
13201
13202 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13203 all uses of ieee854 long double macros and unions. Simplify tests
13204 for long doubles that are fully specified by the high double.
13205 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13206 Likewise.
13207 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13208 Remove dead code too.
13209 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13210 (__ieee754_ynl): Likewise.
13211 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13212 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13213 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13214 Remove dead code too.
13215 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13216 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13217 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13218 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13219 Simplify.
13220 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13221 Simplify.
13222 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13223 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13224 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13225 Comment on variable precision.
13226 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13227 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13228 Likewise.
13229 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13230 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13231 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13232 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13233 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13234
4ebd120c
AM
132352013-10-04 Alan Modra <amodra@gmail.com>
13236
13237 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13238 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13239 all uses of ieee854 long double macros and unions.
13240 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13241 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13242 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13243 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13244 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13245 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13246 Likewise.
13247 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13248 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13249 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13250 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13251 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13252 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13253 Simplify sign and nan test too.
13254 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13255 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13256 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13257 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13258 Likewise.
13259 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13260 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13261 Likewise.
13262 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13263 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13264 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13265 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13266 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13267 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13268
1b6adf88
AM
132692013-10-04 Alan Modra <amodra@gmail.com>
13270
13271 * stdio-common/printf_size.c (__printf_size): Don't use
13272 union ieee854_long_double in fpnum union.
13273 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13274 signbit macro to retrieve sign from long double.
13275 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13276 retrieve sign from long double.
13277 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13278 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13279 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13280 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13281 * math/test-misc.c (main): Don't use union ieee854_long_double.
13282
4cf69995
AM
132832013-10-04 Alan Modra <amodra@gmail.com>
13284
13285 [BZ #15680]
13286 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13287 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13288 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13289 calculation. Remove unnecessary test for denormal exponent.
13290 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13291 Correct handling of denormals. Avoid undefined shift behaviour.
13292 Correct normalisation of low mantissa when low double is denormal.
13293 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13294 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13295 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13296 Correct normalisation of low mantissa. Test for overflow of high
13297 mantissa and normalise.
13298 (ldbl_nearbyint): Use more readable constant for two52.
13299 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13300 (__mpn_construct_long_double): Fix test for overflow of high
13301 mantissa and correct normalisation. Avoid undefined shift.
13302
9605ca6c
AM
133032013-10-04 Alan Modra <amodra@gmail.com>
13304
13305 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13306 (union ibm_extended_long_double): Define as an array of ieee754_double.
13307 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13308 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13309 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13310 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13311 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13312 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13313 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13314 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13315 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13316 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13317 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13318
975569d0
JM
133192013-10-03 Joseph Myers <joseph@codesourcery.com>
13320
d3d23756
JM
13321 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13322 page size instead of calling getpagesize.
13323
975569d0
JM
13324 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13325 (LOCFILE_ALIGN_MASK): Likewise.
13326 (LOCFILE_ALIGN_UP): Likewise.
13327 (LOCFILE_ALIGNED_P): Likewise.
13328 * locale/programs/ld-collate.c (collate_output): Use the new
13329 macros instead of __alignof__ (int32_t).
13330 * locale/weight.h (findidx): Likewise.
13331
b1fe1f2b
OB
133322013-10-03 Ondřej Bílka <neleai@seznam.cz>
13333
13334 [BZ #431]
13335 * manual/string.texi: Fix strncat and wcsncat.
13336
5f855e35
BM
133372013-10-03 Brooks Moses <bmoses@google.com>
13338
13339 [BZ #15915]
13340 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13341 * Makerules: ...here, and adjust associated comments.
13342
3cef6009
WN
133432013-10-02 Will Newton <will.newton@linaro.org>
13344
13345 * malloc/Makefile: Add tst-pvalloc.
13346 * malloc/tst-pvalloc.c: New file.
13347
7815420b
WN
133482013-10-02 Will Newton <will.newton@linaro.org>
13349
13350 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13351 improve test coverage.
13352
4868b204
WN
133532013-10-02 Will Newton <will.newton@linaro.org>
13354
13355 * malloc/Makefile: Add tst-posix_memalign.
13356 * malloc/tst-posix_memalign.c: New file.
13357
29c793b3
EB
133582013-10-01 Eric Blake <eblake@redhat.com>
13359
13360 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13361 Use __THROWNL rather than __THROW on static functions.
13362
fd967522
PM
133632013-09-30 Petr Machata <pmachata@redhat.com>
13364
13365 * elf/elf.h (R_AARCH64_ABS16): New macro.
13366 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13367 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13368 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13369 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13370 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13371 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13372 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13373 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13374 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13375 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13376 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13377 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13378 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13379 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13380 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13381 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13382 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13383 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13384 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13385 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13386 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13387 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13388 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13389 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13390 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13391 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13392 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13393 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13394 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13395 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13396 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13397 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13398 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13399 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13400 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13401 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13402 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13403 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13404 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13405 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13406 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13407 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13408 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13409 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13410 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13411 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13412 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13413 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13414 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13415 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13416 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13417 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13418 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13419 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13420 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13421 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13422 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13423 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13424 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13425 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13426 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13427 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13428 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13429 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13430 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13431 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13432 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13433 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13434 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13435 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13436 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13437 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13438 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13439 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13440 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13441 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13442 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13443 (R_AARCH64_TLSDESC_LDR): Likewise.
13444 (R_AARCH64_TLSDESC_ADD): Likewise.
13445 (R_AARCH64_TLSDESC_CALL): Likewise.
13446
b2179107
AS
134472013-09-30 Andreas Schwab <schwab@suse.de>
13448
13449 [BZ #15048]
13450 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13451 the nss database lookup.
13452 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13454
47f28d0a
MF
134552013-09-28 Mike Frysinger <vapier@gentoo.org>
13456
13457 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13458
134592013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
13460
13461 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13462 ${Bash-specific parameter/pattern/string} parameter expansion.
13463 * sysdeps/unix/make-syscalls.sh: Likewise.
13464
f4518a17
KK
134652013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13466
13467 * sysdeps/sh/stackguard-macros.h: New file.
13468
dc1a95c7
OB
134692013-09-26 Ondřej Bílka <neleai@seznam.cz>
13470
13471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13472 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13473 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13474 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13475 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13476 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13477
5ebbff8f
AZ
134782013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13479
13480 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13481 Fix thread ID register.
13482
4fd2cf9f
JM
134832013-09-25 Joseph Myers <joseph@codesourcery.com>
13484
13485 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13486 [POSIX || UNIX98]: Require rather than permitting all symbols from
13487 <time.h>.
13488 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13489 element of struct sched_param.
13490 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13491 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13492 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13493 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13494 constant.
13495
12c22bc4
OL
134962013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13497
13498 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13499 argument calculation.
13500
a03d8ea7
JM
135012013-09-24 Joseph Myers <joseph@codesourcery.com>
13502
13503 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13504 Expect macro.
13505 [POSIX] (pthread_attr_t): Do not require type.
13506 [POSIX] (pthread_cond_t): Likewise.
13507 [POSIX] (pthread_condattr_t): Likewise.
13508 [POSIX] (pthread_key_t): Likewise.
13509 [POSIX] (pthread_mutex_t): Likewise.
13510 [POSIX] (pthread_mutexattr_t): Likewise.
13511 [POSIX] (pthread_once_t): Likewise.
13512 [POSIX] (pthread_t): Likewise.
13513 [POSIX-based standards] (pthread_atfork): Expect function.
13514
6055173a
JM
135152013-09-24 Joseph Myers <joseph@codesourcery.com>
13516 Richard Sandiford <richard@codesourcery.com>
13517
13518 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13519 (swap_endianness_p): New extern variable.
13520 (set_big_endian): New inline function.
13521 (maybe_swap_uint32): Likewise.
13522 (maybe_swap_uint32_array): Likewise.
13523 (maybe_swap_uint32_obstack): Likewise.
13524 * locale/programs/locfile.c: Include <stdbool.h>.
13525 (swap_endianness_p): New variable.
13526 (add_locale_uint32): Call maybe_swap_uint32.
13527 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13528 (write_locale_data): Call maybe_swap_uint32_array.
13529 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13530 maybe_swap_uint32.
13531 (obstack_int32_grow_fast): Likewise.
13532 (output_weightwc): Call maybe_swap_uint32_obstack.
13533 (collate_output): Likewise.
13534 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13535 (OPT_LITTLE_ENDIAN): Likewise.
13536 (options): Add --little-endian and --big-endian options.
13537 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13538 * locale/programs/locarchive.c: Include "locfile.h".
13539 (GET): New macro.
13540 (SET): Likewise.
13541 (INC): Likewise.
13542 (create_archive): Use the new macros to access fields of
13543 structures directly mapped from or written to locale archives.
13544 (oldlocrecentcmp): Likewise.
13545 (enlarge_archive): Likewise.
13546 (insert_name): Likewise.
13547 (add_alias): Likewise.
13548 (add_locale): Likewise.
13549 (delete_locales_from_archive): Likewise.
13550 (show_archive_content): Likewise.
13551 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13552 locale data.
13553
39bf0bb4
RM
135542013-09-24 Roland McGrath <roland@hack.frob.com>
13555
13556 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13557 http://www.gnu.org/doc/freemanuals.texi.
13558 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13559
f02eed10
WN
135602013-09-24 Will Newton <will.newton@linaro.org>
13561
13562 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13563 macro.
13564
a3a6c312
JM
135652013-09-23 Joseph Myers <joseph@codesourcery.com>
13566
13567 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13568 unsigned char.
13569
107375ac
MR
135702013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13571
13572 * manual/threads.texi (POSIX Threads): Fix a typo.
13573
141f3a77
SP
135742013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13575
303e567a
SP
13576 [BZ #14547]
13577 * string/tst-strcoll-overflow.c: New test case.
13578 * string/Makefile (xtests): Add tst-strcoll-overflow.
13579 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13580 cache if string sizes may cause integer overflow.
13581
141f3a77
SP
13582 [BZ #14547]
13583 * string/strcoll_l.c (coll_seq): New members rule, idx,
13584 save_idx and back_us.
13585 (get_next_seq_nocache): New function.
13586 (do_compare_nocache): New function.
13587 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13588 when malloc fails.
13589
c61b4d41
CD
135902013-09-23 Carlos O'Donell <carlos@redhat.com>
13591
0b1f8e35
CD
13592 [BZ #15754]
13593 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13594 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13595 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13596
c61b4d41
CD
13597 [BZ #15754]
13598 * elf/Makefile (tests): Add tst-ptrguard1.
13599 (tests-static): Add tst-ptrguard1-static.
13600 (tst-ptrguard1-ARGS): Define.
13601 (tst-ptrguard1-static-ARGS): Define.
13602 * elf/tst-ptrguard1.c: New file.
13603 * elf/tst-ptrguard1-static.c: New file.
13604 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13605 * sysdeps/i386/stackguard-macros.h: Likewise.
13606 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13607 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13608 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13609 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13610 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13611 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13612
136132013-09-23 Hector Marco <hecmargi@upv.es>
13614 Ismael Ripoll <iripoll@disca.upv.es>
13615 Carlos O'Donell <carlos@redhat.com>
13616
13617 [BZ #15754]
13618 * sysdeps/generic/stackguard-macros.h: Define
13619 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13620 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13621 Define __pointer_chk_guard_local.
13622 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13623 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13624
f5f4e7b4
VV
136252013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13626
13627 [BZ #15859]
13628 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13629
5bb43a43
AS
136302013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13631
13632 * include/string.h (__ffs): Declare as hidden.
13633 * string/ffs.c (__ffs): Define as hidden.
13634 * sysdeps/i386/ffs.c (__ffs): Likewise.
13635 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13636 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13637 * sysdeps/s390/ffs.c (__ffs): Likewise.
13638 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13639
3ea5be54
AO
136402013-09-20 Alexandre Oliva <aoliva@redhat.com>
13641
ffb89e53
AO
13642 * NEWS: Mention malloc probes.
13643
322dea08
AO
13644 * malloc/arena.c (new_heap): New memory_heap_new probe.
13645 (grow_heap): New memory_heap_more probe.
13646 (shrink_heap): New memory_heap_less probe.
13647 (heap_trim): New memory_heap_free probe.
13648 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13649 (systrim): New memory_sbrk_less probe.
13650 * manual/probes.texi: Document them.
13651
655673f3
AO
13652 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13653 * manual/probes.texi: Document it.
13654
35fed6f1
AO
13655 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13656 (__libc_realloc): Add memory_realloc_retry probe.
13657 (__libc_memalign): Add memory_memalign_retry probe.
13658 (__libc_valloc): Add memory_valloc_retry probe.
13659 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13660 (__libc_calloc): Add memory_calloc_retry probe.
13661 * manual/probes.texi: Document them.
13662
6999d38c
AO
13663 * malloc/arena.c (get_free_list): Add probe
13664 memory_arena_reuse_free_list.
13665 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13666 and memory_arena_reuse.
13667 (arena_get2) [!PER_THREAD]: Likewise.
13668 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13669 memory_arena_reuse_realloc.
13670 * manual/probes.texi: Document them.
13671
0653427f
AO
13672 * malloc/malloc.c (__libc_free): Add
13673 memory_mallopt_free_dyn_thresholds probe.
13674 (__libc_mallopt): Add multiple memory_mallopt probes.
13675 * manual/probes.texi: Document them.
13676
3ea5be54
AO
13677 * malloc/malloc.c: Include stap-probe.h.
13678 (__libc_mallopt): Add memory_mallopt probe.
13679 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13680 * manual/probes.texi: New.
13681 * manual/Makefile (chapters): Add probes.
13682 * manual/threads.texi: Set next node.
13683
e35696c3 136842013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 13685
e35696c3
CL
13686 [BZ #15963, #13985]
13687 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13688 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13689 Add `Chinese' to `nan' entry name.
13690
4aafb73c
SP
136912013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13692
13693 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13694 (POLYNOMIAL): Likewise.
13695 (TAYLOR_SINCOS): Likewise.
13696 (TAYLOR_SLOW): Likewise.
13697 (__sin): Use TAYLOR_SINCOS.
13698 (__cos): Likewise.
13699 (slow): Use TAYLOR_SLOW.
13700 (sloww): Likewise.
13701 (bsloww): Likewise.
13702 (csloww): Likewise.
13703
d84f25c7
LD
137042013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13705
13706 * stdlib/strtod_l.c: Fix buffer overrun.
13707
5eea0404
SP
137082013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13709
7849ff93
SP
13710 * benchtests/Makefile (bench): Add sincos.
13711 * benchtests/bench-sincos.c: New file.
13712
cfa3c886
SP
13713 * math/libm-test.inc (cos_test_data): New test inputs.
13714 (sin_test_data): Likewise.
13715
b348e1e3
SP
13716 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13717 macro.
13718 (__sin): Use it.
13719 (__cos): Likewise.
13720 (slow1): Likewise.
13721 (slow2): Likewise.
13722 (sloww1): Likewise.
13723 (sloww2): Likewise.
13724 (bsloww1): Likewise.
13725 (bsloww2): Likewise.
13726 (cslow2): Likewise.
13727 (csloww1): Likewise.
13728 (csloww2): Likewise.
13729
6cce25f8
SP
13730 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13731 function.
13732 (__sin): Use it.
13733 (__cos): Likewise.
13734
5eea0404
SP
13735 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13736 gotos.
13737 (__cos): Likewise.
13738
9c21573c
MR
137392013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13740
13741 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13742 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13743 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13744 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13745 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13746 * elf/cache.c (print_entry): Handle the new cache flags.
13747
24d22e65
JM
137482013-09-18 Joseph Myers <joseph@codesourcery.com>
13749 Aldy Hernandez <aldyh@redhat.com>
13750
13751 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13752 Change condition to [_SOFT_FLOAT].
13753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13760 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13765 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13766 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13768 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13769 declaration.
13770
d13ef066
JM
137712013-09-18 Joseph Myers <joseph@codesourcery.com>
13772
2e071de0
JM
13773 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13774 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13775 (__longjmp): Use LOAD_GP to load saved GPRs.
13776 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13777 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13778 (__sigsetjmp): Use SAVE_GP to save GPRs.
13779
d13ef066
JM
13780 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13781 Do not append -msoft-float.
13782 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13783
97a0650b
SP
137842013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13785
13786 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13787
11ca09e9
JM
137882013-09-17 Joseph Myers <joseph@codesourcery.com>
13789
13790 [BZ #15966]
13791 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13792 (_FPU_GETCW): Use initial "__" on variable and field names but not
13793 on macro parameter name.
13794 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13795 parentheses around reference to macro parameter.
13796
08ffcf34
RS
137972013-09-13 Richard Sandiford <richard@codesourcery.com>
13798
13799 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13800 prototype.
13801 (ctype_startup): Use uint32_t in cast and sizeof for
13802 ctype->charnames.
13803
ae7080d3
JL
138042013-09-11 Jia Liu <proljc@gmail.com>
13805
13806 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13807 __daddr_t_defined.
13808 [__FreeBSD__]: Likewise.
13809
5905e7b3
OB
138102013-09-11 Ondřej Bílka <neleai@seznam.cz>
13811
13812 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13813 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13814 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13815 (strchr): Remove __strchr_sse42 ifunc selection.
13816 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13817 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13818
b987c776
WN
138192013-09-11 Will Newton <will.newton@linaro.org>
13820
13821 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13822 parameter to RES. Remove hardcoded 1000 value.
13823 * benchtests/bench-skeleton.c (main): Pass RES parameter
13824 to TIMING_INIT and multiply result by 1000.
13825
ddf985af
AZ
138262013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13827
13828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13829
ffdd3181
AS
138302013-09-11 Andreas Schwab <schwab@suse.de>
13831
13832 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13833 if not defined.
13834 (O_TMPFILE) [__USE_GNU]: Define.
13835 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13836 Define.
13837
b73ed247
WN
138382013-09-11 Will Newton <will.newton@linaro.org>
13839
13840 [BZ #15857]
13841 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13842 does not overflow.
13843
55e17aad
WN
138442013-09-11 Will Newton <will.newton@linaro.org>
13845
13846 [BZ #15856]
13847 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13848 does not overflow.
13849
1159a193
WN
138502013-09-11 Will Newton <will.newton@linaro.org>
13851
13852 [BZ #15855]
13853 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13854 does not overflow.
13855
5905e7b3 138562013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
13857
13858 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13859 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13860 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13861 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13862 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13863
cdfc721b
AM
138642013-09-10 Allan McRae <allan@archlinux.org>
13865
aa04af00
AM
13866 [BZ #15748]
13867 * manual/arith.texi (Parsing of Floats): Clarify
13868 cross-reference.
13869
cdfc721b
AM
13870 [BZ #15849]
13871 * manual/install.texi (Running make install): Mention
13872 --enable-pt-chown.
13873 * INSTALL: Regenerated.
13874
95e7cf29
MR
138752013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13876
13877 * csu/init-first.c (_init): Remove the !SHARED condition around
13878 FPU control word initialization.
13879 * elf/dl-support.c (_dl_fpu_control): New variable.
13880 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13881 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13882 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13883 * math/test-fpucw-static.c: New file.
13884 * math/test-fpucw-ieee.c: New file.
13885 * math/test-fpucw-ieee-static.c: New file.
13886 * math/Makefile (tests): Add `test-fpucw-ieee' and
13887 `$(tests-static)'.
13888 (tests-static): New variable.
13889 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13890 dependency to...
13891 [($(build-shared),yes)]
13892 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13893 ... this.
13894 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13895 New dependency.
13896
83e43bf0
AM
138972013-09-09 Allan McRae <allan@archlinux.org>
13898
a9f5ce09
AM
13899 [BZ #15939]
13900 * manual/string.texi (Collation Functions): Fix typo in
13901 strcoll example.
13902 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13903
34829bc2
AM
13904 [BZ #15893]
13905 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13906
3932737d
AM
13907 [BZ #15892]
13908 * libio/memstream.c (open_memstream): Fix memory leak.
13909 * libio/wmemstream.c (open_wmemstream): Likewise.
13910
83e43bf0
AM
13911 [BZ #15895]
13912 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13913
0c66b8e9
WN
139142013-09-09 Will Newton <will.newton@linaro.org>
13915
13916 * malloc/Makefile: Add tst-realloc to tests.
13917 * malloc/tst-realloc.c: New file.
13918
f6b00fd1
AM
139192013-09-09 Allan McRae <allan@archlinux.org>
13920
13921 [BZ #15844]
13922 * COPYING: Update from GNU website to fix FSF address.
13923 * COPYING.LIB: Likewise.
13924
eec55e16
DM
139252013-09-06 David S. Miller <davem@davemloft.net>
13926
13927 * po/zh_TW.po: Update Chinese (traditional) translation from
13928 translation project.
13929
1ecbb381
RS
139302013-09-06 Richard Sandiford <richard@codesourcery.com>
13931 Joseph Myers <joseph@codesourcery.com>
13932
13933 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13934 "localeinfo.h".
13935 (obstack_chunk_alloc): New macro.
13936 (obstack_chunk_free): Likewise.
13937 (record_offset): New function.
13938 (init_locale_data): Likewise.
13939 (align_locale_data): Likewise.
13940 (add_locale_empty): Likewise.
13941 (add_locale_raw_data): Likewise.
13942 (add_locale_raw_obstack): Likewise.
13943 (add_locale_string): Likewise.
13944 (add_locale_wstring): Likewise.
13945 (add_locale_uint32): Likewise.
13946 (add_locale_uint32_array): Likewise.
13947 (add_locale_char): Likewise.
13948 (start_locale_structure): Likewise.
13949 (end_locale_structure): Likewise.
13950 (start_locale_prelude): Likewise.
13951 (end_locale_prelude): Likewise.
13952 (write_locale_data): Take locale_file structure rather than an
13953 iovec.
13954 * locale/programs/locfile.h: Include "obstack.h".
13955 (struct locale_file): Change to store locale file contents instead
13956 of header.
13957 (init_locale_data): New prototype.
13958 (align_locale_data): Likewise.
13959 (add_locale_empty): Likewise.
13960 (add_locale_raw_data): Likewise.
13961 (add_locale_raw_obstack): Likewise.
13962 (add_locale_string): Likewise.
13963 (add_locale_wstring): Likewise.
13964 (add_locale_uint32): Likewise.
13965 (add_locale_uint32_array): Likewise.
13966 (add_locale_char): Likewise.
13967 (start_locale_structure): Likewise.
13968 (end_locale_structure): Likewise.
13969 (start_locale_prelude): Likewise.
13970 (end_locale_prelude): Likewise.
13971 (write_locale_data): Update prototype.
13972 * locale/programs/3level.h (struct TABLE): Remove result field.
13973 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13974 Use new locale_file interface.
13975 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13976 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13977 * locale/programs/ld-address.c (address_output): Use new
13978 locale_file interface.
13979 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13980 NO_ADD_LOCALE.
13981 (collate_finish): Don't call collseq_table_finalize.
13982 (collate_output): Use new locale_file interface.
13983 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13984 in file.
13985 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13986 (TABLE): Move defines earlier in file.
13987 (ELEMENT): Likewise.
13988 (DEFAULT): Likewise.
13989 (wctrans_table_add): Move macro and inline function earlier in
13990 file.
13991 (struct wctype_table): Move type earlier in file.
13992 (add_locale_wctype_table): New static prototype.
13993 (struct locale_ctype_t): Use logical types instead of struct iovec
13994 pointers for members.
13995 (ctype_output): Use new locale_file interface.
13996 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13997 new locale_file interface.
13998 (allocate_arrays): Update for use of new locale_file interface.
13999 * locale/programs/ld-identification.c (identification_output): Use
14000 new locale_file interface.
14001 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14002 * locale/programs/ld-messages.c (messages_output): Likewise.
14003 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14004 * locale/programs/ld-name.c (name_output): Likewise.
14005 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14006 * locale/programs/ld-paper.c (paper_output): Likewise.
14007 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14008 * locale/programs/ld-time.c (time_output): Likewise.
14009
e029e2e5
AZ
140102013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14011
14012 * benchtests/Makefile: Add memrchr benchmark.
14013 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14014 benchmark as memrchr.
14015 * benchtests/bench-memrchr-ifunc.c: New file.
14016 * benchtests/bench-memrchr.c: New file.
14017
bbf6e8e4
WN
140182013-09-06 Will Newton <will.newton@linaro.org>
14019
14020 * benchtests/Makefile (string-bench): Add memcpy.
14021
6c82a2f8
CD
140222013-09-05 Carlos O'Donell <carlos@redhat.com>
14023 Cong Wang <amwang@redhat.com>
14024
e732c5f0 14025 [BZ #15850]
6c82a2f8
CD
14026 * sysdeps/unix/sysv/linux/bits/in.h
14027 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14028 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14029 before __USE_KERNEL_IPV6_DEFS uses.
14030 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14031 IPPROTO_BEETPH.
14032 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14033 sockaddr_in6, or ipv6_mreq.
14034
5430fc65
AZ
140352013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14036
14037 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14038 memory access for final bytes in some large inputs.
14039 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14040
4660856c
AZ
140412013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14042
14043 * string/test-memrchr.c: New file.
14044 * string/test-memrchr-ifunc.c: New file.
14045 * string/Makefile: Add new memrchr testcase.
14046
bb8ea713
MF
140472013-09-05 Mike Frysinger <vapier@gentoo.org>
14048
14049 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14050 fanotify_init returns EPERM.
14051
b92a20b5
JM
140522013-09-04 Joseph Myers <joseph@codesourcery.com>
14053
14054 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14055 errors.
14056 (top level): Treat second token from macro or constant entries for
14057 allowed headers as allowed.
14058 * include/complex.h: Condition internal declarations on
14059 [!_ISOMAC].
14060 * include/fenv.h: Condition include of <stdbool.h> and internal
14061 declarations on [!_ISOMAC].
7447ccd9
CL
14062
140632013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14064
3e181dda 14065 [BZ #15923]
7447ccd9
CL
14066 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14067
3f2e46a4
JM
140682013-09-04 Joseph Myers <joseph@codesourcery.com>
14069
14070 * configure.in (--enable-versioning): Remove configure option.
14071 (libc_cv_asm_symver_directive): Remove configure test.
14072 (libc_cv_ld_version_script_option): Likewise.
14073 (VERSIONING): Remove variable and AC_SUBST.
14074 (DO_VERSIONING): Remove AC_DEFINE.
14075 * configure: Regenerated.
14076 * config.h.in (DO_VERSIONING): Remove macro.
14077 * Makerules [$(versioning) = yes]: Change conditionals to
14078 [$(build-shared) = yes].
14079 * config.make.in (versioning): Remove variable.
14080 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14081 [$(build-shared) = yes].
14082 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14083 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14084 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14085 [$(build-shared) = yes].
14086 * extra-lib.mk [$(versioning) = yes]: Likewise.
14087 * hurd/Makefile [$(versioning) = yes]: Likewise.
14088 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14089 [SHARED].
14090 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14091 [SHARED].
14092 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14093 [SHARED && !NO_HIDDEN].
14094 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14095 [SHARED].
14096 [SHARED && DO_VERSIONING]: Likewise..
14097 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14098 [$(build-shared) = yes].
14099 * manual/install.texi (--disable-versioning): Remove
14100 documentation.
14101 * INSTALL: Regenerated.
14102 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14103 to [SHARED].
14104 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14105 [$(build-shared) = yes].
14106 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14107 * sysdeps/i386/i686/multiarch/strstr-c.c
14108 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14109 [SHARED && !NO_HIDDEN].
14110 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14111 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14112 * sysdeps/powerpc/powerpc32/dl-machine.c
14113 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14114 * sysdeps/powerpc/powerpc32/sysdep.h
14115 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14116 to [SHARED && PIC && !NO_HIDDEN].
14117 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14118 conditional to [SHARED].
14119
44558701
WN
141202013-09-04 Will Newton <will.newton@linaro.org>
14121
14122 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14123 * benchtests/bench-string.h: Include bench-timing.h instead
14124 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14125 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14126 call to HP_TIMING_DIFF_INIT.
14127 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14128 instead of hp-timing.h macros.
14129 * benchtests/bench-memchr.c: Likewise.
14130 * benchtests/bench-memcmp.c: Likewise.
14131 * benchtests/bench-memcpy.c: Likewise.
14132 * benchtests/bench-memmem.c: Likewise.
14133 * benchtests/bench-memmove.c: Likewise.
14134 * benchtests/bench-memset.c: Likewise.
14135 * benchtests/bench-rawmemchr.c: Likewise.
14136 * benchtests/bench-strcasecmp.c: Likewise.
14137 * benchtests/bench-strcasestr.c: Likewise.
14138 * benchtests/bench-strcat.c: Likewise.
14139 * benchtests/bench-strchr.c: Likewise.
14140 * benchtests/bench-strcmp.c: Likewise.
14141 * benchtests/bench-strcpy.c: Likewise.
14142 * benchtests/bench-strcpy_chk.c: Likewise.
14143 * benchtests/bench-strlen.c: Likewise.
14144 * benchtests/bench-strncasecmp.c: Likewise.
14145 * benchtests/bench-strncat.c: Likewise.
14146 * benchtests/bench-strncmp.c: Likewise.
14147 * benchtests/bench-strncpy.c: Likewise.
14148 * benchtests/bench-strnlen.c: Likewise.
14149 * benchtests/bench-strpbrk.c: Likewise.
14150 * benchtests/bench-strrchr.c: Likewise.
14151 * benchtests/bench-strspn.c: Likewise.
14152 * benchtests/bench-strstr.c: Likewise.
14153
cae16d66
WN
141542013-09-04 Will Newton <will.newton@linaro.org>
14155
14156 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14157
ffa3cd7f
JM
141582013-09-03 Joseph Myers <joseph@codesourcery.com>
14159
14160 [BZ #15427]
14161 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14162 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14163 * math/libm-test.inc (lgamma_test_data): Add more tests.
14164 * sysdeps/i386/fpu/libm-test-ulps: Update.
14165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14166
8f02859f
OB
141672013-09-03 Ondřej Bílka <neleai@seznam.cz>
14168
14169 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14170 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14171 Add ifunc.
14172 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14173 Add strcmp-sse2-unaligned
14174 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14175
18d43716
MF
141762013-09-02 Mike Frysinger <vapier@gentoo.org>
14177
14178 * Versions.def (libc): Add GLIBC_2.19.
14179
ac444012
MF
141802013-09-02 Mike Frysinger <vapier@gentoo.org>
14181
14182 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14183 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14184
b7835e32
JM
141852013-09-02 Joseph Myers <joseph@codesourcery.com>
14186
14187 [BZ #14155]
14188 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14189 intermediate calculations in recurrence.
14190 (__ieee754_ynf): Likewise.
14191 * math/libm-test.inc (jn_test_data): Do not allow spurious
14192 underflow exception. Add more tests.
14193 (yn_test_data): Add more tests.
14194 * sysdeps/i386/fpu/libm-test-ulps: Update.
14195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14196
8220f4f0
OB
141972013-09-02 Ondřej Bílka <neleai@seznam.cz>
14198
14199 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14200
f24a6d08
OB
142012013-08-30 Ondřej Bílka <neleai@seznam.cz>
14202
14203 * csu/init-first.c: Fix then/than typos.
14204 * locale/programs/ld-collate.c: Likewise.
14205 * locale/programs/linereader.h: Likewise.
14206 * manual/charset.texi: Likewise.
14207 * manual/filesys.texi: Likewise.
14208 * manual/stdio.texi: Likewise.
14209 * manual/string.texi: Likewise.
14210 * stdlib/fmtmsg.c: Likewise.
14211 * sysdeps/i386/stpncpy.S: Likewise.
14212 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14213 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14214 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14215 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14216
382466e0
OB
142172013-08-30 Ondřej Bílka <neleai@seznam.cz>
14218
14219 * elf/dl-open.c: Fix typos.
14220 * iconvdata/gbbig5.c: Likewise.
14221 * iconvdata/iso-2022-jp.c: Likewise.
14222 * iconv/gconv_int.h: Likewise.
14223 * iconv/loop.c: Likewise.
14224 * nis/rpcsvc/nis.h: Likewise.
14225 * resolv/ns_name.c: Likewise.
14226 * stdio-common/vfscanf.c: Likewise.
14227 * streams/stropts.h: Likewise.
14228 * sunrpc/rpc_thread.c: Likewise.
14229 * sysdeps/i386/strpbrk.S: Likewise.
14230 * sysdeps/ieee754/k_standard.c: Likewise.
14231 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14232 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14233 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14234 * sysdeps/mach/hurd/profil.c: Likewise.
14235 * sysdeps/s390/dl-procinfo.h: Likewise.
14236 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14237 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14238 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14239 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14240 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14241
0186c6e9
OB
142422013-08-30 Ondřej Bílka <neleai@seznam.cz>
14243
14244 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14245 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14246
d4e16af1
OB
142472013-08-29 Ondřej Bílka <neleai@seznam.cz>
14248
14249 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14250 aix specific files.
14251 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14252 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14253 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14254 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14255 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14256 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14257 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14258 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14259
88335980
TS
142602013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14261 Roland McGrath <roland@hack.frob.com>
14262
14263 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14264 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14265
ed479b02
ST
142662013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14267
14268 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14269 __executable_start symbol instead of _start.
14270
f1cc4c86
TS
142712013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14272
d821f07c
TS
14273 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14274 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14275 Move macros to...
14276 * sysdeps/gnu/ldsodefs.h: ... this new file.
14277
c54290cf
TS
14278 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14279 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14280 instead of ELFOSABI_LINUX.
14281
0007fc9b 14282 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
14283 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14284 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14285 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14286 Likewise.
14287 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14288 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14289 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14290 Likewise.
14291 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14292 (ibm_extended_long_double): Add ieee_nan member.
14293 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14294 (do_test): New function.
14295
f1cc4c86
TS
14296 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14297 TEST_TRUNC.
14298 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14299 functions, renamed from truncdfsf_test, trunctfsf_test,
14300 trunctfdf_test.
14301 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14302 functions.
14303 (do_test): Run all these.
14304
6f65e668
OB
143052013-08-29 Ondřej Bílka <neleai@seznam.cz>
14306
14307 * argp/argp-help.c: Fix typos.
14308 * argp/argp-parse.c: Likewise.
14309 * debug/backtracesyms.c: Likewise.
14310 * elf/elf.h: Likewise.
14311 * malloc/malloc.c: Likewise.
14312 * nis/nis_print.c: Likewise.
14313 * resolv/res_comp.c: Likewise.
14314 * stdlib/stdlib.h: Likewise.
14315 * sunrpc/clnt_tcp.c: Likewise.
14316 * sunrpc/clnt_udp.c: Likewise.
14317 * sunrpc/clnt_unix.c: Likewise.
14318 * sysdeps/unix/bsd/ptsname.c: Likewise.
14319 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14320 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
14321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14322 Likewise.
14323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14324 Likewise.
14325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14326 Likewise.
6f65e668
OB
14327 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14328
3a309239
SP
143292013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14330
14331 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14333
3b813b29
MF
143342013-08-27 Mike Frysinger <vapier@gentoo.org>
14335
14336 [BZ #15897]
14337 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14338 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14339 ($(objpfx)bug-dl-leaf): New rule.
14340 ($(objpfx)bug-dl-leaf.so): Likewise.
14341 ($(objpfx)bug-dl-leaf.out): Likewise.
14342 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14343 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14344 * dlfcn/bug-dl-leaf.c: New test.
14345 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14346 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14347 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14348 (dlclose): Likewise.
14349 (dlmopen): Likewise.
14350
8cc3269f
RM
143512013-08-27 Roland McGrath <roland@hack.frob.com>
14352
7f9d0034
RM
14353 * include/netdb.h [!_ISOMAC]:
14354 Don't include <tls.h>.
14355 (h_errno, __libc_h_errno): Move declaration and macros out of
14356 [_LIBC_REENTRANT].
14357
fb431262
RM
14358 * include/resolv.h [_RESOLV_H_]:
14359 Don't include <tls.h>.
14360 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14361 * resolv/res_libc.c: Don't include <tls.h>.
14362 (_res): Use __attribute__ ((nocommon)) in place of
14363 __attribute__ ((section (".bss"))).
14364
bd81123a
RM
14365 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14366 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14367
c4e42566
RM
14368 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14369
f890a59b
RM
14370 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14371 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14372
14373 * resolv/res_mkquery.c: Include <sys/time.h>.
14374
5d1f0a09
RM
14375 * inet/ifreq.c: Moved to ...
14376 * sysdeps/unix/ifreq.c: ... here.
14377 * inet/ifreq.c: New file, true stub version.
14378
6fcf28b3
RM
14379 * socket/sa_len.c: New file.
14380 * socket/Makefile (aux): Add it.
14381 * sysdeps/unix/sysv/linux/Makefile
14382 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14383 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14384 and #include <socket/sa_len.c>.
14385 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14386 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14387
e041fb8b
RM
14388 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14389 * bits/socket.h: ... here.
14390
8cc3269f
RM
14391 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14392 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14393 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14394
5d228a43
AS
143952013-08-27 Andreas Schwab <schwab@suse.de>
14396
45b8accc
AS
14397 [BZ #15736]
14398 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14399 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14400 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14401 * string/test-strcasecmp.c (test_main): Run tests in several
14402 locales.
14403 * string/test-strncasecmp.c (test_main): Likewise.
14404
5d228a43
AS
14405 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14406 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14407 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14408 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14409 (__strncasecmp_ssse3) [PIC]: Likewise.
14410
59d112a4
RM
144112013-08-26 Roland McGrath <roland@hack.frob.com>
14412
53234cc3
RM
14413 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14414
59d112a4
RM
14415 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14416 instead of explicitly declaring xdecrypt.
14417 * nis/nss_nis/nis-publickey.c: Likewise.
14418
595aba70
SP
144192013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14420
14421 [BZ #15890]
14422 * nscd/aicache.c: Include res_hconf.h.
14423 (addhstaiX): Initialize res_hconf.
14424
ffabd393
AS
144252013-08-26 Andreas Schwab <schwab@suse.de>
14426
14427 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14428 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14429
e0a69f5c
SP
144302013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14431
14432 * nscd/aicache.c (addhstaiX): Fix indentation.
14433
8c12f01d
MF
144342013-08-25 Mike Frysinger <vapier@gentoo.org>
14435
14436 * configure.ac: Quote $build_pt_chown test.
14437 * configure: Regenerated.
14438
8fe89494
JM
144392013-08-23 Joseph Myers <joseph@codesourcery.com>
14440
14441 [BZ #15532]
14442 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14443 * math/s_cexpf.c (__cexpf): Likewise.
14444 * math/s_cexpl.c (__cexpl): Likewise.
14445 * math/libm-test.inc (cexp_test_data): Correct expected return
14446 value for NaN + i0. Add another test.
14447
75b181d6
DM
144482013-08-22 David S. Miller <davem@davemloft.net>
14449
14450 * po/ca.po: Update Catalan translation from translation project.
936241e4 14451 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 14452
acd06bb1
JM
144532013-08-21 Joseph Myers <joseph@codesourcery.com>
14454
14455 [BZ #15797]
14456 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14457 is infinite, not alongside NaN test.
14458 * math/s_fdimf.c (__fdimf): Likewise.
14459 * math/s_fdiml.c (__fdiml): Likewise.
14460 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14461 errno is unchanged.
14462
c0c3f78a
OB
144632013-08-21 Ondřej Bílka <neleai@seznam.cz>
14464
14465 * argp/argp-help.c: Fix typos.
14466 * crypt/speeds.c: Likewise.
14467 * csu/check_fds.c: Likewise.
14468 * elf/dl-load.c: Likewise.
14469 * elf/dl-open.c: Likewise.
14470 * elf/reldep3.c: Likewise.
14471 * elf/reldep.c: Likewise.
14472 * elf/sprof.c: Likewise.
14473 * iconv/iconv_charmap.c: Likewise.
14474 * iconv/skeleton.c: Likewise.
14475 * iconv/strtab.c: Likewise.
14476 * io/lockf64.c: Likewise.
14477 * libio/libioP.h: Likewise.
14478 * resolv/gai_notify.c: Likewise.
14479 * resolv/ns_name.c: Likewise.
14480 * resolv/ns_samedomain.c: Likewise.
14481 * resolv/res_send.c: Likewise.
14482 * stdlib/random.c: Likewise.
14483 * sunrpc/rpc/xdr.h: Likewise.
14484 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14485 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14486 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14487 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14488 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14489 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14490 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14491 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14492 * sysdeps/mach/hurd/check_fds.c: Likewise.
14493 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14494 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14495 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14496 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14497 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14498 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14499 * sysdeps/pthread/aio_notify.c: Likewise.
14500 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14501 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14502 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14503 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14504 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14505
46ed1038
LD
145062013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14507
14508 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14509 version if bit_Slow_SSE4_2 is set.
14510 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14511 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14512
d400dcac
AZ
145132013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14514
14515 [BZ #15867]
14516 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14517 trampoline stack frame information.
14518 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14519 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14520 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14521 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14522 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14523 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14524 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14525 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14526 sa_flags value.
14527 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14528 interrupting a syscall and set with option SA_SIGINFO.
14529
42c8fdd8
JM
145302013-08-20 Joseph Myers <joseph@codesourcery.com>
14531
c980f2f4
JM
14532 [BZ #15531]
14533 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14534 argument is infinite.
14535 * math/s_cprojf.c (__cprojf): Likewise.
14536 * math/s_cprojl.c (__cprojl): Likewise.
14537 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14538 * math/libm-test.inc (cproj_test_data): Add more tests.
14539
0716c4fc
JM
14540 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14541
42c8fdd8
JM
14542 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14543 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14544 size. Use __ffs to determine corresponding shift.
14545
b31469d0
JM
145462013-08-20 Joseph Myers <joseph@codesourcery.com>
14547 Roland McGrath <roland@hack.frob.com>
14548
14549 * Makefile (INSTALL): Remove trailing blank lines from output of
14550 makeinfo.
14551
4e39af6e
AK
145522013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14553
14554 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14555 Align 32 bit compat elf_greg to 8 bytes.
14556
f315524e
AA
145572013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14558
14559 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14560
1326ba1a
SP
145612013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14562
14563 * string/strcoll_l.c (coll_seq): New structure.
14564 (get_next_seq_cached): New function.
14565 (get_next_seq): New function.
14566 (do_compare): New function.
14567 (STRCOLL): Use GNU style definition. Simplify implementation
14568 by using get_next_seq, get_next_seq_cached and do_compare.
14569
91ce4085
FW
145702013-08-16 Florian Weimer <fweimer@redhat.com>
14571
14572 [BZ #14699]
14573 CVE-2013-4237
14574 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14575 member.
14576 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14577 member.
14578 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14579 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14580 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14581 conditional.
14582 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14583 GETDENTS_64BIT_ALIGNED.
14584 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14585 * manual/filesys.texi (Reading/Closing Directory): Document
14586 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14587 strongly.
14588 * manual/conf.texi (Limits for Files): Add portability note to
14589 NAME_MAX, PATH_MAX.
14590 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14591
ca0a6bc4
AS
145922013-08-13 Andreas Schwab <schwab@suse.de>
14593
14594 [BZ #15749]
14595 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14596 of fabs.
14597 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14598 LDBL_MAX_EXP >= 16384]: Add tests for it.
14599
6c1fd795
DM
146002013-08-12 David S. Miller <davem@davemloft.net>
14601
14602 * version.h (RELEASE): Set to "development".
14603 (VERSION): Set to "2.18.90".
14604 * NEWS: Add 2.19 section.
14605
31ad488d
DM
146062013-08-03 David S. Miller <davem@davemloft.net>
14607
14608 * po/ko.po: Update Korean translation from translation project.
14609
db24e684
DM
146102013-08-01 David S. Miller <davem@davemloft.net>
14611
14612 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14613 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14614 Bilka.
14615
f723285b
DM
146162013-07-30 David S. Miller <davem@davemloft.net>
14617
14618 * po/fr.po: Update French translation from translation project.
14619
3cbc52db
DM
146202013-07-28 David S. Miller <davem@davemloft.net>
14621
30bbc0cc
DM
14622 * po/cs.po: Update Czech translation from translation project.
14623
3cbc52db
DM
14624 * po/sv.po: Update Swedish translation from translation project.
14625
d492e6d0
DM
146262013-07-27 David S. Miller <davem@davemloft.net>
14627
f1a7f492
DM
14628 * po/eo.po: Update Esperanto translation from translation project.
14629
90e62a4a
DM
14630 * po/vi.po: Update Vietnamese translation from translation project.
14631
d492e6d0
DM
14632 * po/de.po: Update German translation from translation project.
14633
d4baa62d
DM
146342013-07-26 David S. Miller <davem@davemloft.net>
14635
641aa7b4
DM
14636 * po/bg.po: Update Bulgarian translation from translation project.
14637
d4baa62d
DM
14638 * po/nl.po: Update Dutch translation from translation project.
14639 * po/pl.po: Update Polish translation from translation project.
14640 * po/ru.po: Update Russian translation from translation project.
14641
61a9dcb9
DM
146422013-07-24 David S. Miller <davem@davemloft.net>
14643
14644 * po/libc.pot: Update.
14645
7b1f8b58
AZ
146462013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14647
14648 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14649 variable page size.
14650 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14651 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14652 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14653
a8fc7a03
AK
146542013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14655
14656 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14657
e4608715
CD
146582013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14659 Andreas Schwab <schwab@suse.de>
14660 Roland McGrath <roland@hack.frob.com>
14661 Joseph Myers <joseph@codesourcery.com>
14662 Carlos O'Donell <carlos@redhat.com>
14663
14664 [BZ #15755]
14665 * config.h.in: Define HAVE_PT_CHOWN.
14666 * config.make.in (build-pt-chown): New variable.
14667 * configure.in (--enable-pt_chown): New configure option.
14668 * configure: Regenerate.
14669 * login/Makefile: Include Makeconfig. Build pt_chown only if
14670 build-pt-chown is enabled.
14671 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14672 pt_chown to fix pty ownership.
14673 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14674 CLOSE_ALL_FDS.
14675 * manual/install.texi (Configuring and compiling): Mention
14676 --enable-pt_chown. Add @findex for grantpt.
14677 * INSTALL: Regenerate.
14678
da2d62df
DM
146792013-07-20 David S. Miller <davem@davemloft.net>
14680
14681 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14682 difference between 32-bit and 64-bit.
14683
d7e06450
CD
146842013-07-15 Carlos O'Donell <carlos@redhat.com>
14685
14686 [BZ #15711]
14687 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14688 Avoid system header dependency with -ffreestanding.
14689 ($(objpfx)bits/syscall%d): Likewise.
14690
f959cfd7
DM
146912013-07-13 David S. Miller <davem@davemloft.net>
14692
14693 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14694 underflows from atanl/atan2l due to bug 15319.
14695 (casinh_test_data): Likewise.
14696
c61f8513
DM
146972013-07-07 David S. Miller <davem@davemloft.net>
14698
14699 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14700
72c90ed0
JA
147012013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14702
14703 * sysdeps/i386/fpu/libm-test-ulps: Update.
14704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14705
52dfbe13
SP
147062013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14707
14708 * configure.in (--enable-lock-elision): Fix message text.
14709 * INSTALL: Regenerate.
14710 * configure: Regenerate.
14711
3f169543
AZ
147122013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14713
14714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14715
521c6785
AJ
147162013-07-03 Andreas Jaeger <aj@suse.de>
14717
14718 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14719 define.
14720 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14721 (ptrace_peeksiginfo_args): Add.
14722 (__ptrace_peeksiginfo_flags): Add.
14723 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14724 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14725 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14726
d2cc15cb
AM
147272013-07-03 Allan McRae <allan@archlinux.org>
14728
14729 * sysdeps/i386/fpu/libm-test-ulps: Update.
14730
3aaeeca7
DM
147312013-07-02 David S. Miller <davem@davemloft.net>
14732
14733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14734
5314ed1a
MT
147352013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14736
14737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14738
67338156
JM
147392013-07-02 Joseph Myers <joseph@codesourcery.com>
14740
14741 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14743
1717da59
AK
147442013-07-02 Andi Kleen <ak@linux.intel.com>
14745
14746 * config.h.in (ENABLE_LOCK_ELISION): Add.
14747 * configure.in (--enable-lock-elision): Add option.
14748 * manual/install.texi: Document --enable lock elision.
14749 * configure: Regenerate
14750 * INSTALL: Regenerate.
14751
1c81621c
L
147522013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14753
14754 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14755 SSE4.2 strcasecmp for libc.a.
14756 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14757
77f01ab5
JM
147582013-07-02 Joseph Myers <joseph@codesourcery.com>
14759
14760 [BZ #13304]
14761 * soft-fp/op-common.h (_FP_FMA): New macro.
14762 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14763 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14764 (_FP_MUL_MEAT_1_imm): ... here.
14765 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14766 (_FP_MUL_MEAT_1_wide): ... here.
14767 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14768 (_FP_MUL_MEAT_1_hard): ... here.
14769 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14770 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14771 (_FP_MUL_MEAT_2_wide): ... here.
14772 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14773 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14774 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14775 (_FP_MUL_MEAT_2_gmp): ... here.
14776 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14777 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14778 (_FP_MUL_MEAT_4_wide): ... here.
14779 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14780 (_FP_MUL_MEAT_4_gmp): ... here.
14781 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14782 (_FP_WFRACBITS_DW_S): Likewise.
14783 (_FP_WFRACXBITS_DW_S): Likewise.
14784 (_FP_HIGHBIT_DW_S): Likewise.
14785 (FP_FMA_S): Likewise.
14786 (_FP_FRAC_HIGH_DW_S): Likewise.
14787 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14788 (_FP_WFRACBITS_DW_D): Likewise.
14789 (_FP_WFRACXBITS_DW_D): Likewise.
14790 (_FP_HIGHBIT_DW_D): Likewise.
14791 (FP_FMA_D): Likewise.
14792 (_FP_FRAC_HIGH_DW_D): Likewise.
14793 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14794 (_FP_WFRACBITS_DW_E): Likewise.
14795 (_FP_WFRACXBITS_DW_E): Likewise.
14796 (_FP_HIGHBIT_DW_E): Likewise.
14797 (FP_FMA_E): Likewise.
14798 (_FP_FRAC_HIGH_DW_E): Likewise.
14799 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14800 (_FP_WFRACBITS_DW_Q): Likewise.
14801 (_FP_WFRACXBITS_DW_Q): Likewise.
14802 (_FP_HIGHBIT_DW_Q): Likewise.
14803 (FP_FMA_Q): Likewise.
14804 (_FP_FRAC_HIGH_DW_Q): Likewise.
14805 * soft-fp/fmasf4.c: New file.
14806 * soft-fp/fmadf4.c: Likewise.
14807 * soft-fp/fmatf4.c: Likewise.
14808
6308fd9a
LD
148092013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14810
14811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14812 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14813 Silvermont.
14814 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14815 macro.
14816 (index_Slow_SSE4_2): Likewise.
14817 (index_Prefer_PMINUB_for_stringop): Likewise.
14818 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14819 bit_Slow_SSE4_2 is set.
14820 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14821 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14822
89cd9569
RA
148232013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14824
14825 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14826 rtld_global._dl_hwcap2.
14827 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14828 POWER8.
14829 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14830 POWER8 feature descriptions defined in _dl_hwcap2.
14831 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14832 string handling for POWER8 feature bits.
14833 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14834 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14835 _dl_powerpc_cap_flags.
14836 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14837 * sysdeps/powerpc/rtld-global-offsets.sym
14838 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14839 _dl_hwcap2 in the rtld_global_ro structure.
14840
1ae8bfe0
RA
148412013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14842
14843 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14844 hardware capabilities in support of AT_HWCAP2.
14845 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14846 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14847 GLRO(dl_hwcap2).
14848 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14849 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14850 explicitly the unknown a_type display mechanism is used.
14851 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14852 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14853 struct member.
14854 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14855 to macro prototype for AT_HWCAP2 support.
14856 * sysdeps/i386/dl-procinfo.h: Likewise.
14857 * sysdeps/s390/dl-procinfo.h: Likewise.
14858 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14859 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14860 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14861 return -1 for unknown a_type display fallback.
14862 * sysdeps/sparc/dl-procinfo.h: Likewise.
14863 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14864 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14865
8fbec010
JM
148662013-06-28 Joseph Myers <joseph@codesourcery.com>
14867
14868 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14869 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14870
0432680e
PY
148712013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14872
14873 [BZ #12492]
14874 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14875 mprotect making __stack_prot writable.
14876
ce61a2ad
NF
148772013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14878 Joseph Myers <joseph@codesourcery.com>
14879
14880 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14881 as being properly aligned.
14882
f91f1c0f
MR
148832013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14884
3d0f5d0c
MR
14885 * dlfcn/modstatic5.c: New file.
14886 * dlfcn/tststatic5.c: New file.
14887 * dlfcn/Makefile (tests): Add tststatic5.
14888 (tests-static): Likewise.
14889 (modules-names): Add modstatic5.
14890 (tststatic5-ENV): New variable.
14891 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14892
f91f1c0f
MR
14893 [BZ #15022]
14894 * elf/dl-support.c (_dl_main_map): New variable.
14895 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14896 (_dl_nns, _dl_load_adds): Set to 1.
14897 (_dl_initial_searchlist): Refer to _dl_main_map.
14898 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14899 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14900 call to _dl_get_origin.
14901 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14902 around call_map.
14903 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14904 * dlfcn/modstatic3.c: New file.
14905 * dlfcn/tststatic3.c: New file.
14906 * dlfcn/tststatic4.c: New file.
14907 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14908 (tests-static): Likewise.
14909 (modules-names): Add modstatic3.
14910 (tststatic3-ENV, tststatic4-ENV): New variables.
14911 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14912 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14913
cbe7d24b
JM
149142013-06-26 Joseph Myers <joseph@codesourcery.com>
14915
14916 * configure.in (CC): Require GCC version 4.4 or later.
14917 * configure: Regenerated.
14918 * manual/install.texi (Tools for Compilation): Update GCC version
14919 requirement.
14920 * INSTALL: Regenerated.
14921
11b8a0e1
LD
149222013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14923
14924 [BZ #15674]
bb5bb87c
L
14925 * string/test-memcmp.c (check2): New.
14926 (main): Call check2.
14927
11b8a0e1
LD
14928 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14929
b0037103
MR
149302013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14931
14932 [BZ #15022]
14933 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14934 over to...
14935 (dl_open_worker) [!SHARED]: ... here.
14936
c18c701d
RA
149372013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14938
14939 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14940
1d17fa5f
RH
149412013-06-25 Richard Henderson <rth@redhat.com>
14942
14943 * locale/programs/locarchive.c: Include <libc-internal.h>
14944
8fcb833a
JM
149452013-06-25 Joseph Myers <joseph@codesourcery.com>
14946
14947 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14948 trailing whitespace removed.
14949
17db6e8d
MF
149502013-06-24 Mike Frysinger <vapier@gentoo.org>
14951
14952 [BZ #10283]
17db6e8d
MF
14953 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14954 * locale/programs/locarchive.c: Include libc-mmap.h.
14955 (prepare_address_space): Take two new outputs (the mmap base and len).
14956 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14957 values.
14958 (create_archive): Declare new mmap base and len values for
14959 prepare_address_space, and store the result in ah.
14960 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14961 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14962 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14963 Declare new mmap base and len values for
14964 prepare_address_space, and store the result in new_ah.
14965 (open_archive): Declare new mmap base and len values for
14966 prepare_address_space, and store the result in ah.
14967 (close_archive): If ah->mmap_base is not NULL, use that and
14968 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14969 * sysdeps/generic/libc-mmap.h: New file.
14970
d605071e
MF
149712013-06-24 Mike Frysinger <vapier@gentoo.org>
14972
14973 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14974 (ALIGN_UP): Likewise.
14975 (PTR_ALIGN_DOWN): Likewise.
14976 (PTR_ALIGN_UP): Likewise.
14977
2f063a6e
RA
149782013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14979
14980 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14981 entry mapped to PPC_PLATFORM_POWER8.
14982 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14983 POWER8.
14984 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14985 (_dl_string_platform): Add case for exporting platform position for
14986 POWER8.
14987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14988 search path to sysdeps/powerpc/powerpc32/power8 directory.
14989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14990 search path to sysdeps/powerpc/powerpc64/power8 directory.
14991 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14992 power7 directories.
14993 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14994 power7 directories.
14995
a31ee4b3
SP
149962013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14997
a74ca98f
SP
14998 * INSTALL: Regenerate.
14999
a31ee4b3
SP
15000 * nscd/connections.c (nscd_init): Fix comment.
15001
695c378f
JM
150022013-06-22 Joseph Myers <joseph@codesourcery.com>
15003
d8412221
JM
15004 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15005
695c378f
JM
15006 [BZ #15667]
15007 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15008 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15009
d1d54715
MR
150102013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15011
15012 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15013 DL_DST_REQ_STATIC.
15014 (DL_DST_REQ_STATIC): Remove macro.
15015
8fdda7af
JM
150162013-06-21 Joseph Myers <joseph@codesourcery.com>
15017
15018 [BZ #7006]
15019 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15020 with a shift of 0 bits.
15021
f3bc5e5a
MR
150222013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15023
15024 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15025 $(tststatic-ENV).
15026
be09e8c9
KK
150272013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15028
15029 [BZ #15655]
15030 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15031
85c2e611
AZ
150322013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15033
15034 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15035 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15036 accepts -fno-tree-loop-distribute-patterns.
15037 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15038 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15039 recursive call.
15040 * string/memset.c (memset): Likewise.
15041 * string/test-memmove.c (simple_memmove): Disable loop transformation
15042 to library calls.
15043 * string/test-memset.c (simple_memset): Likewise.
15044 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15045 * benchtests/bench-memset.c (simple_memset): Likewise.
15046 * configure: Regenerated.
15047
c91e0825
JM
150482013-06-20 Joseph Myers <joseph@codesourcery.com>
15049
b8c792af
JM
15050 * math/test-misc.c (main): Ignore fesetround failure when failures
15051 of subsequent rounding tests would be ignored.
15052
c91e0825
JM
15053 [BZ #15654]
15054 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15055 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15056 * math/fegetenv.c (__fegetenv): Return 0.
15057 * math/fegetexcept.c (fegetexcept): Return 0.
15058 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15059 FE_TONEAREST.
15060 * math/feholdexcpt.c (feholdexcept): Return 0.
15061 * math/fesetenv.c (__fesetenv): Return 0.
15062 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15063 argument FE_TONEAREST.
15064 * math/feupdateenv.c (__feupdateenv): Return 0.
15065 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15066
bfcacbde
RM
150672013-06-18 Roland McGrath <roland@hack.frob.com>
15068
15069 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15070 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15071 ($(objpfx)rtld-%.os rules): Use them.
15072
e55a9b25
AZ
150732013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15074
15075 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15076 fields.
15077
346d65b3
RM
150782013-06-17 Roland McGrath <roland@hack.frob.com>
15079
12086fb4
RM
15080 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15081 length of target pattern, then descending length of dependency pattern.
15082 * configure.in (AWK): Require gawk 3.1.2 or newer.
15083 * manual/install.texi (Tools for Compilation): Say that we do.
15084 * configure: Regenerated.
15085
346d65b3
RM
15086 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15087 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15088 * scripts/sysd-rules.awk: ... this new script.
15089 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15090 than a glob-style pattern.
15091
1a846317
JM
150922013-06-17 Joseph Myers <joseph@codesourcery.com>
15093
15094 * math/test-misc.c (main): Do not treat incorrectly rounded
15095 conversions as failure unless ROUNDING_TESTS passes.
15096
8fc75e6f
JM
150972013-06-15 Joseph Myers <joseph@codesourcery.com>
15098
3711a167
JM
15099 [BZ #15631]
15100 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15101 restore exception state around main square root computation, then
15102 check for inexactness explicitly.
15103
8fc75e6f
JM
15104 * math/libm-test.inc (fma_test_data): Add another test.
15105
61dd6208
SP
151062013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15107
adf23d2c
SP
15108 * manual/threads.texi (Non-POSIX Extensions): New document
15109 node. Document pthread_getattr_default_np and
15110 pthread_setattr_default_np.
15111
61dd6208
SP
15112 * Versions.def (libpthread): Add GLIBC_2.18.
15113 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15115 Likewise.
15116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15117 Likewise.
15118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15119 Likewise.
15120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15121 Likewise.
15122 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15123 Likewise.
15124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15125 Likewise.
15126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15127 Likewise.
15128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15129 Likewise.
15130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15131 Likewise.
15132
d086fc7b
LD
151332013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15134
15135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15136 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15137
747ef469
SP
151382013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15139 H.J. Lu <hjl.tools@gmail.com>
15140
15141 [BZ #15627]
15142 * sysdeps/x86_64/rtld-memset.c: Remove file.
15143 * sysdeps/x86_64/rtld-memset.S: New file.
15144
1b2feed2
JM
151452013-06-14 Joseph Myers <joseph@codesourcery.com>
15146
15147 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15148 (test_in_one_mode): Take arguments for whether the rounding mode
15149 is supported for each floating-point type.
15150 (do_test): Pass new arguments to test_in_one_mode using
15151 ROUNDING_TESTS.
15152
a58ad3f8
RM
151532013-06-13 Roland McGrath <roland@hack.frob.com>
15154
15155 * posix/tst-waitid.c (do_test): Distinguish different instances of
15156 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15157 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15158 before entering the kernel for waitpid.
15159
c204ab28
SP
151602013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15161
15162 * NEWS: Fix note on clock function precision. Text by Roland
15163 McGrath.
15164
f4a29fba
RM
151652013-06-13 Roland McGrath <roland@hack.frob.com>
15166
15167 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15168 it into place only when and if the sanity check passes.
15169
1f24b9ad
JM
151702013-06-13 Joseph Myers <joseph@codesourcery.com>
15171
15172 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15173 output for whether conversion result is exact. Take argument
15174 indicating whether type is IBM long double.
15175 (round_for_all): Change need_exact field to ibm_ld.
15176 * stdlib/tst-strtod-round.c (struct exactness): New type.
15177 (struct test): Change bool ld_ok field to struct exactness exact.
15178 (TEST): Update all definitions for change to field.
15179 (tests): Regenerate array contents.
15180 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15181 field value. Check for IBM long double here.
15182 (do_test): Update calls to test_in_one_mode.
15183
58206c68
SP
151842013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15185
15186 [BZ #12515]
15187 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15188 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15189
2d6f4c5b 151902013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
15191
15192 [BZ #15605]
15193 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15194 generated by the compiler on loop optimizations.
15195 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15196 general definitions.
15197
94f2c076
JM
151982013-06-12 Joseph Myers <joseph@codesourcery.com>
15199
15200 * math/bug-nextafter.c: Include <math-tests.h>.
15201 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15202 the relevant type.
15203 * math/bug-nexttoward.c: Include <math-tests.h>.
15204 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15205 the relevant type.
15206 * math/test-misc.c: Include <math-tests.h>.
15207 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15208 the relevant type.
15209
e0e50a0a
AJ
152102013-06-12 Andreas Jaeger <aj@suse.de>
15211
15212 * po/ia.po: Update Interlingua translation from translation
15213 project.
15214
25061094
SP
152152013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15216
15217 * include/fenv.h: Include stdbool.h.
15218 (struct rm_ctx): New structure.
15219 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15220 Define macro.
15221 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15222 (SET_RESTORE_ROUNDF): Likewise.
15223 (SET_RESTORE_ROUNDL): Likewise.
15224 (SET_RESTORE_ROUND_NOEX): Likewise.
15225 (SET_RESTORE_ROUND_NOEXF): Likewise.
15226 (SET_RESTORE_ROUND_NOEXL): Likewise.
15227 (SET_RESTORE_ROUND_53BIT): Likewise.
15228 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15229 (libc_feresetround_noexf_ctx): Likewise.
15230 (libc_feresetround_noexl_ctx): Likewise.
15231 (libc_feholdsetround_53bit_ctx): Likewise.
15232 (libc_feresetround_53bit_ctx): Likewise.
15233 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15234 (libc_feholdexcept_setround_sse_ctx): New function.
15235 (libc_fesetenv_sse_ctx): Likewise.
15236 (libc_feupdateenv_sse_ctx): Likewise.
15237 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15238 (libc_feholdexcept_setround_387_ctx): Likewise.
15239 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15240 (libc_feholdsetround_387_prec_ctx): Likewise.
15241 (libc_feholdsetround_387_ctx): Likewise.
15242 (libc_feholdsetround_387_53bit_ctx): Likewise.
15243 (libc_feholdsetround_sse_ctx): Likewise.
15244 (libc_feresetround_sse_ctx): Likewise.
15245 (libc_feresetround_387_ctx): Likewise.
15246 (libc_feupdateenv_387_ctx): Likewise.
15247 (libc_feholdexcept_setroundf_ctx): Define macro.
15248 (libc_fesetenvf_ctx): Likewise.
15249 (libc_feupdateenvf_ctx): Likewise.
15250 (libc_feholdsetroundf_ctx): Likewise.
15251 (libc_feresetroundf_ctx): Likewise.
15252 (libc_feholdexcept_setround_ctx): Likewise.
15253 (libc_fesetenv_ctx): Likewise.
15254 (libc_feupdateenv_ctx): Likewise.
15255 (libc_feholdsetround_ctx): Likewise.
15256 (libc_feresetround_ctx): Likewise.
15257 (libc_feholdexcept_setroundl_ctx): Likewise.
15258 (libc_feupdateenvl_ctx): Likewise.
15259 (libc_feholdsetroundl_ctx): Likewise.
15260 (libc_feresetroundl_ctx): Likewise.
15261 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15262 (libc_feresetround_53bit_ctx): Likewise.
15263
59b30555
SP
152642013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15265
15266 * locale/iso-639.def: Convert to UTF-8.
15267
f1d73d30
JM
152682013-06-11 Joseph Myers <joseph@codesourcery.com>
15269
15270 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15271 (EXCEPTION_TESTS_double): Likewise.
15272 (EXCEPTION_TESTS_long_double): Likewise.
15273 (EXCEPTION_TESTS): Likewise.
15274 * math/libm-test.inc (test_exceptions): Only test exceptions if
15275 EXCEPTION_TESTS (FLOAT).
15276
94aca5e7
SP
152772013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15278
15279 * benchtests/Makefile (string-bench): Add strcpy_chk and
15280 stpcpy_chk.
15281 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15282 * benchtests/bench-stpcpy_chk.c: New file.
15283 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15284 * benchtests/bench-strcpy_chk.c: New file.
15285 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15286 code.
15287 (do_test): Likewise.
15288
fac0c5f2
RA
152892013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15290
15291 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15292 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15293 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15294 with tabs where appropriate.
15295 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15296 dl-procinfo.h.
15297 [PPC_PLATFORM_PPC440]: Likewise.
15298 [PPC_PLATFORM_PPC464]: Likewise.
15299 [PPC_PLATFORM_PPC476]: Likewise.
15300 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15301 ppc464, and ppc476 platform strings merging from ports/
15302 dl-procinfo.h.
15303
f22bc486
AS
153042013-06-11 Andreas Schwab <schwab@suse.de>
15305
15306 [BZ #14991]
15307 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15308 (from_ucs4_idx): Regenerate.
15309 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15310 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15311 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15312 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15313 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15314 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15315 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15316 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15317 from FROM_LOOP and TO_LOOP specific macros.
15318 (BODY): Handle combining characters.
15319 * iconvdata/BIG5HKSCS.irreversible: Update.
15320 * iconvdata/BIG5HKSCS.precomposed: New file.
15321 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15322 characters.
15323 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15324
c1f75dc3
SP
153252013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15326
4eacded2
SP
15327 * include/sys/time.h: Fix indentation and add copyright header.
15328
fec799f8
SP
15329 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15330 (do_test): Likewise.
15331 * string/test-memchr.c (do_one_test): Likewise.
15332 (do_test): Likewise.
15333 * string/test-memcmp.c (do_one_test): Likewise.
15334 (do_test): Likewise.
15335 * string/test-memcpy.c (do_one_test): Likewise.
15336 (do_test): Likewise.
15337 * string/test-memmem.c (do_one_test): Likewise.
15338 (do_test): Likewise.
15339 (do_random_tests): Likewise.
15340 * string/test-memmove.c (do_one_test): Likewise.
15341 (do_test): Likewise.
15342 * string/test-memset.c (do_one_test): Likewise.
15343 (do_test): Likewise.
15344 * string/test-rawmemchr.c (do_one_test): Likewise.
15345 (do_test): Likewise.
15346 * string/test-strcasecmp.c (do_one_test): Likewise.
15347 (do_test): Likewise.
15348 * string/test-strcasestr.c (do_one_test): Likewise.
15349 (do_test): Likewise.
15350 * string/test-strcat.c (do_one_test): Likewise.
15351 (do_test): Likewise.
15352 * string/test-strchr.c (do_one_test): Likewise.
15353 (do_test): Likewise.
15354 * string/test-strcmp.c (do_one_test): Likewise.
15355 (do_test): Likewise.
15356 * string/test-strcpy.c (do_one_test): Likewise.
15357 (do_test): Likewise.
15358 * string/test-string.h: Likewise.
15359 (test_init): Likewise.
15360 * string/test-strlen.c (do_one_test): Likewise.
15361 (do_test): Likewise.
15362 * string/test-strncasecmp.c (do_one_test): Likewise.
15363 (do_test): Likewise.
15364 * string/test-strncat.c (do_one_test): Likewise.
15365 (do_test): Likewise.
15366 * string/test-strncmp.c (do_one_test): Likewise.
15367 (do_test_limit): Likewise.
15368 (do_test): Likewise.
15369 * string/test-strncpy.c (do_one_test): Likewise.
15370 (do_test): Likewise.
15371 * string/test-strnlen.c (do_one_test): Likewise.
15372 (do_test): Likewise.
15373 * string/test-strpbrk.c (do_one_test): Likewise.
15374 (do_test): Likewise.
15375 * string/test-strrchr.c (do_one_test): Likewise.
15376 (do_test): Likewise.
15377 * string/test-strspn.c (do_one_test): Likewise.
15378 (do_test): Likewise.
15379 * string/test-strstr.c (do_one_test): Likewise.
15380 (do_test): Likewise.
15381
97020474
SP
15382 * benchtests/Makefile (string-bench): Add string benchmarks.
15383 * benchtests/bench-bcopy-ifunc.c: New file.
15384 * benchtests/bench-bcopy.c: New file.
15385 * benchtests/bench-bzero-ifunc.c: New file.
15386 * benchtests/bench-bzero.c: New file.
15387 * benchtests/bench-memccpy-ifunc.c: New file.
15388 * benchtests/bench-memccpy.c: New file.
15389 * benchtests/bench-memchr-ifunc.c: New file.
15390 * benchtests/bench-memchr.c: New file.
15391 * benchtests/bench-memcmp-ifunc.c: New file.
15392 * benchtests/bench-memcmp.c: New file.
15393 * benchtests/bench-memmem-ifunc.c: New file.
15394 * benchtests/bench-memmem.c: New file.
15395 * benchtests/bench-memmove-ifunc.c: New file.
15396 * benchtests/bench-memmove.c: New file.
15397 * benchtests/bench-mempcpy-ifunc.c: New file.
15398 * benchtests/bench-mempcpy.c: New file.
15399 * benchtests/bench-memset-ifunc.c: New file.
15400 * benchtests/bench-memset.c: New file.
15401 * benchtests/bench-rawmemchr-ifunc.c: New file.
15402 * benchtests/bench-rawmemchr.c: New file.
15403 * benchtests/bench-stpcpy-ifunc.c: New file.
15404 * benchtests/bench-stpcpy.c: New file.
15405 * benchtests/bench-stpncpy-ifunc.c: New file.
15406 * benchtests/bench-stpncpy.c: New file.
15407 * benchtests/bench-strcasecmp-ifunc.c: New file.
15408 * benchtests/bench-strcasecmp.c: New file.
15409 * benchtests/bench-strcasestr-ifunc.c: New file.
15410 * benchtests/bench-strcasestr.c: New file.
15411 * benchtests/bench-strcat-ifunc.c: New file.
15412 * benchtests/bench-strcat.c: New file.
15413 * benchtests/bench-strchr-ifunc.c: New file.
15414 * benchtests/bench-strchr.c: New file.
15415 * benchtests/bench-strchrnul-ifunc.c: New file.
15416 * benchtests/bench-strchrnul.c: New file.
15417 * benchtests/bench-strcmp-ifunc.c: New file.
15418 * benchtests/bench-strcmp.c: New file.
15419 * benchtests/bench-strcpy-ifunc.c: New file.
15420 * benchtests/bench-strcpy.c: New file.
15421 * benchtests/bench-strcspn-ifunc.c: New file.
15422 * benchtests/bench-strcspn.c: New file.
15423 * benchtests/bench-strlen-ifunc.c: New file.
15424 * benchtests/bench-strlen.c: New file.
15425 * benchtests/bench-strncasecmp-ifunc.c: New file.
15426 * benchtests/bench-strncasecmp.c: New file.
15427 * benchtests/bench-strncat-ifunc.c: New file.
15428 * benchtests/bench-strncat.c: New file.
15429 * benchtests/bench-strncmp-ifunc.c: New file.
15430 * benchtests/bench-strncmp.c: New file.
15431 * benchtests/bench-strncpy-ifunc.c: New file.
15432 * benchtests/bench-strncpy.c: New file.
15433 * benchtests/bench-strnlen-ifunc.c: New file.
15434 * benchtests/bench-strnlen.c: New file.
15435 * benchtests/bench-strpbrk-ifunc.c: New file.
15436 * benchtests/bench-strpbrk.c: New file.
15437 * benchtests/bench-strrchr-ifunc.c: New file.
15438 * benchtests/bench-strrchr.c: New file.
15439 * benchtests/bench-strspn-ifunc.c: New file.
15440 * benchtests/bench-strspn.c: New file.
15441 * benchtests/bench-strstr-ifunc.c: New file.
15442 * benchtests/bench-strstr.c: New file.
15443
c1f75dc3
SP
15444 * benchtests/Makefile: Disable parallel execution of targets.
15445 (string-bench): Add memcpy.
15446 (benchset): New variable to store a list of benchmark sets.
15447 (bench-func): Renamed from bench.
15448 (bench-set): New target.
15449 (bench): Depend on bench-func and bench-set.
15450 * benchtests/README: Add section on benchmark sets.
15451 * benchtests/bench-memcpy-ifunc.c: New file.
15452 * benchtests/bench-memcpy.c: New file.
15453 * benchtests/bench-string.h: New file.
15454
50fd745b
AS
154552013-06-11 Andreas Schwab <schwab@suse.de>
15456
15457 [BZ #15577]
15458 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15459 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15460 values in the triple.
15461 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15462 terminator in the group key.
15463
3ee7e9fe
AJ
154642013-06-11 Andreas Jaeger <aj@suse.de>
15465
15466 * po/zh_TW.po: Update Chinese (traditional) translation from
15467 translation project.
15468
89fb6835
SP
154692013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15470
15471 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15472 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15473 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15474 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15475 (clock_getcpuclockid): Likewise.
15476 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15477 Add weak_alias and libc_hidden_def.
15478 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15479 * rt/clock_gettime.c (clock_gettime): Rename to
15480 __clock_gettime. Add weak_alias and libc_hidden_def.
15481 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15482 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15483 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15484 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15485 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15486 Likewise.
15487 * rt/clock_settime.c (clock_settime): Rename to
15488 __clock_settime. Add weak_alias and libc_hidden_def.
15489 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15490
0efa6f8b
JM
154912013-06-10 Joseph Myers <joseph@codesourcery.com>
15492
b8c61b4b
JM
15493 * mach/err_boot.sub: Remove trailing whitespace.
15494 * mach/err_ipc.sub: Likewise.
15495 * mach/err_mach.sub: Likewise.
15496
0efa6f8b
JM
15497 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15498 (ROUNDING_TESTS_double): Likewise.
15499 (ROUNDING_TESTS_long_double): Likewise.
15500 (ROUNDING_TESTS): Likewise.
15501 * math/libm-test.inc: Include <math-tests.h>.
15502 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15503 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15504 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15505 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15506
50b818bf
SP
155072013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15508
15509 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15510 of assigning.
15511
60d2f8f3
JM
155122013-06-08 Joseph Myers <joseph@codesourcery.com>
15513
4902d2c3
JM
15514 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15515 otherwise empty TRANS lines.
15516 * sysdeps/gnu/errlist.c: Regenerated.
15517
60d2f8f3
JM
15518 * catgets/gencat.c (error_print): Use (void) in function
15519 definition.
15520 * crypt/crypt_util.c (__init_des): Likewise.
15521 * crypt/speeds.c (Stop): Likewise.
15522 (main): Likewise.
15523 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15524 * inet/ruserpass.c (token): Likewise.
15525 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15526 * intl/localealias.c (extend_alias_table): Likewise.
15527 * intl/plural-exp.c (init_germanic_plural): Likewise.
15528 * libio/fcloseall.c (__fcloseall): Likewise.
15529 * libio/genops.c (_IO_flush_all): Likewise.
15530 (_IO_flush_all_linebuffered): Likewise.
15531 (_IO_cleanup): Likewise.
15532 (_IO_iter_begin): Likewise.
15533 (_IO_iter_end): Likewise.
15534 (_IO_list_lock): Likewise.
15535 (_IO_list_unlock): Likewise.
15536 (_IO_list_resetlock): Likewise.
15537 * libio/getchar.c (getchar): Likewise.
15538 * libio/getchar_u.c (getchar_unlocked): Likewise.
15539 * libio/getwchar.c (getwchar): Likewise.
15540 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15541 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15542 * login/getpt.c (__getpt): Likewise.
15543 * login/tst-utmp.c (main): Likewise.
15544 * malloc/hooks.c (__malloc_check_init): Likewise.
15545 * malloc/malloc.c (__malloc_stats): Likewise.
15546 * malloc/mtrace.c (tr_break): Likewise.
15547 (mtrace): Likewise.
15548 (muntrace): Likewise.
15549 * misc/fstab.c (endfsent): Likewise.
15550 * misc/getclktck.c (__getclktck): Likewise.
15551 * misc/getdtsz.c (__getdtablesize): Likewise.
15552 * misc/gethostid.c (gethostid): Likewise.
15553 * misc/getpagesize.c (__getpagesize): Likewise.
15554 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15555 (__get_nprocs): Likewise.
15556 (__get_phys_pages): Likewise.
15557 (__get_avphys_pages): Likewise.
15558 * misc/getttyent.c (getttyent): Likewise.
15559 (setttyent): Likewise.
15560 (endttyent): Likewise.
15561 * misc/getusershell.c (getusershell): Likewise.
15562 (endusershell): Likewise.
15563 (setusershell): Likewise.
15564 (initshells): Likewise.
15565 * misc/hsearch.c (__hdestroy): Likewise.
15566 * misc/sync.c (sync): Likewise.
15567 * misc/syslog.c (closelog_internal): Likewise.
15568 (closelog): Likewise.
15569 * misc/ttyslot.c (ttyslot): Likewise.
15570 * misc/vhangup.c (vhangup): Likewise.
15571 * posix/fork.c (__fork): Likewise.
15572 * posix/getegid.c (__getegid): Likewise.
15573 * posix/geteuid.c (__geteuid): Likewise.
15574 * posix/getgid.c (__getgid): Likewise.
15575 * posix/getpid.c (__getpid): Likewise.
15576 * posix/getppid.c (__getppid): Likewise.
15577 * posix/getuid.c (__getuid): Likewise.
15578 * posix/pause.c (pause): Likewise.
15579 * posix/setpgrp.c (setpgrp): Likewise.
15580 * posix/setsid.c (__setsid): Likewise.
15581 * posix/test-vfork.c (noop): Likewise.
15582 * resolv/gethnamaddr.c (_endhtent): Likewise.
15583 (_gethtent): Likewise.
15584 (ht_endhostent): Likewise.
15585 (gethostent): Likewise.
15586 (dns_service): Likewise.
15587 * stdlib/drand48.c (drand48): Likewise.
15588 * stdlib/lrand48.c (lrand48): Likewise.
15589 * stdlib/mrand48.c (mrand48): Likewise.
15590 * stdlib/rand.c (rand): Likewise.
15591 * stdlib/random.c (__random): Likewise.
15592 * stdlib/setenv.c (clearenv): Likewise.
15593 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15594 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15595 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15596 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15597 (__get_nprocs): Likewise.
15598 (__get_phys_pages): Likewise.
15599 (__get_avphys_pages): Likewise.
15600 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15601 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15602 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15603 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15604 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15605 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15606 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15607 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15608 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15609 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15610 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15611 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15612 * sysdeps/posix/clock.c (clock): Likewise.
15613 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15614 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15615 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15616 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15617 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15618 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15619 (__get_nprocs_conf): Likewise.
15620 (__get_phys_pages): Likewise.
15621 (__get_avphys_pages): Likewise.
15622 * time/clock.c (clock): Likewise.
15623 * time/tzset.c (__tzname_max): Likewise.
15624
2e09a79a
JM
156252013-06-07 Joseph Myers <joseph@codesourcery.com>
15626
15627 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15628 (__bswap_32): Do not use "register".
15629 * crypt/crypt.c (_ufc_doit_r): Likewise.
15630 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15631 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15632 * gmon/gmon.c (__monstartup): Likewise.
15633 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15634 * hurd/hurdmalloc.c (more_memory): Likewise.
15635 (malloc): Likewise.
15636 (free): Likewise.
15637 (realloc): Likewise.
15638 (malloc_fork_prepare): Likewise.
15639 (malloc_fork_parent): Likewise.
15640 (malloc_fork_child): Likewise.
15641 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15642 (_svcauth_des): Likewise.
15643 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15644 * inet/inet_net.c (inet_network): Likewise.
15645 * inet/inet_netof.c (inet_netof): Likewise.
15646 * inet/rcmd.c (__validuser2_sa): Likewise.
15647 * io/fts.c (fts_open): Likewise.
15648 (fts_load): Likewise.
15649 (fts_close): Likewise.
15650 (fts_read): Likewise.
15651 (fts_children): Likewise.
15652 (fts_build): Likewise.
15653 (fts_stat): Likewise.
15654 (fts_sort): Likewise.
15655 (fts_alloc): Likewise.
15656 (fts_lfree): Likewise.
15657 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15658 (_IO_file_xsgetn): Likewise.
15659 (_IO_file_xsgetn_mmap): Likewise.
15660 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15661 (_IO_cookie_write): Likewise.
15662 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15663 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15664 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15665 * malloc/obstack.c (_obstack_begin): Likewise.
15666 (_obstack_begin_1): Likewise.
15667 (_obstack_newchunk): Likewise.
15668 (_obstack_allocated_p): Likewise.
15669 (obstack_free): Likewise.
15670 (_obstack_memory_used): Likewise.
15671 * misc/getttyent.c (getttynam): Likewise.
15672 (getttyent): Likewise.
15673 (skip): Likewise.
15674 (value): Likewise.
15675 * misc/getusershell.c (initshells): Likewise.
15676 * misc/syslog.c (__vsyslog_chk): Likewise.
15677 * misc/ttyslot.c (ttyslot): Likewise.
15678 * nis/nis_hash.c (__nis_hash): Likewise.
15679 * posix/fnmatch_loop.c (FCT): Likewise.
15680 * posix/getconf.c (print_all): Likewise.
15681 (main): Likewise.
15682 * posix/getopt.c (exchange): Likewise.
15683 * posix/glob.c (globfree): Likewise.
15684 (prefix_array): Likewise.
15685 (__glob_pattern_type): Likewise.
15686 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15687 (NS_GET32): Likewise.
15688 (NS_PUT16): Likewise.
15689 (NS_PUT32): Likewise.
15690 * resolv/gethnamaddr.c (getanswer): Likewise.
15691 (gethostbyname2): Likewise.
15692 (gethostbyaddr): Likewise.
15693 (_gethtent): Likewise.
15694 (_gethtbyname2): Likewise.
15695 (_gethtbyaddr): Likewise.
15696 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15697 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15698 * resolv/res_init.c (__res_vinit): Likewise.
15699 (net_mask): Likewise.
15700 * resolv/res_mkquery.c (outchar): Likewise.
15701 (PRINT): Likewise.
15702 * stdio-common/printf_fp.c (outchar): Likewise.
15703 (PRINT): Likewise.
15704 * stdio-common/printf_fphex.c (outchar): Likewise.
15705 (PRINT): Likewise.
15706 * stdio-common/printf_size.c (outchar): Likewise.
15707 (PRINT): Likewise.
15708 * stdio-common/test_rdwr.c (main): Likewise.
15709 * stdio-common/tfformat.c (matches): Likewise.
15710 * stdio-common/vfprintf.c (outchar): Likewise.
15711 (printf_unknown): Likewise.
15712 (buffered_vfprintf): Likewise.
15713 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15714 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15715 (ReadFile): Likewise.
15716 * stdlib/qsort.c (SWAP): Likewise.
15717 (_quicksort): Likewise.
15718 * stdlib/setenv.c (__add_to_environ): Likewise.
15719 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15720 * stdlib/strtol_l.c (__strtol_l): Likewise.
15721 * stdlib/tst-strtod.c (main): Likewise.
15722 * stdlib/tst-strtol.c (main): Likewise.
15723 * stdlib/tst-strtoll.c (main): Likewise.
15724 * string/bits/string2.h (__strcmp_cc): Likewise.
15725 (__strcmp_cg): Likewise.
15726 (__strcspn_c1): Likewise.
15727 (__strcspn_c2): Likewise.
15728 (__strcspn_c3): Likewise.
15729 (__strspn_c1): Likewise.
15730 (__strspn_c2): Likewise.
15731 (__strspn_c3): Likewise.
15732 (__strsep_1c): Likewise.
15733 (__strsep_2c): Likewise.
15734 (__strsep_3c): Likewise.
15735 * string/memccpy.c (__memccpy): Likewise.
15736 * string/stpcpy.c (__stpcpy): Likewise.
15737 * string/strcmp.c (strcmp): Likewise.
15738 * string/strrchr.c (strrchr): Likewise.
15739 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15740 Likewise.
15741 * sysdeps/mach/hurd/getcwd.c
15742 (_hurd_canonicalize_directory_name_internal): Likewise.
15743 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15744 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15745 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15746 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15747 Likewise, in both definitions.
15748 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15749 definitions.
15750 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15751 64] (__bswap_64): Likewise.
15752 * time/test_time.c (main): Likewise.
15753 * time/tzfile.c (__tzfile_read): Likewise.
15754 (__tzfile_compute): Likewise.
15755 * time/tzset.c (__tzset_parse_tz): Likewise.
15756 (tzset_internal): Likewise.
15757 (compute_change): Likewise.
15758 * wcsmbs/wcscat.c (__wcscat): Likewise.
15759 * wcsmbs/wcschr.c (wcschr): Likewise.
15760 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15761 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15762 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15763 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15764 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15765 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15766 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15767 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15768 * wcsmbs/wmemset.c (wmemset): Likewise.
15769
9e54314b
JM
157702013-06-06 Joseph Myers <joseph@codesourcery.com>
15771
15772 * scripts/config.guess: Update to version 2013-05-16.
15773 * scripts/config.sub: Update to version 2013-04-24.
15774 * scripts/install-sh: Update to version 2011-11-20.07.
15775 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15776 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15777
350635a5
OB
157782013-06-06 Ondřej Bílka <neleai@seznam.cz>
15779
15780 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15781 * elf/sln.c: Likewise.
15782 * hurd/hurd/ioctl.h: Likewise.
15783 * hurd/hurdmalloc.c: Likewise.
15784 * hurd/xattr.c: Likewise.
15785 * include/shlib-compat.h: Likewise.
15786 * inet/ruserpass.c: Likewise.
15787 * libio/iofgets_u.c: Likewise.
15788 * libio/iofgetws_u.c: Likewise.
15789 * locale/programs/ld-identification.c: Likewise.
15790 * locale/programs/ld-time.c: Likewise.
15791 * mach/msg-destroy.c: Likewise.
15792 * nss/nss_files/files-netgrp.c: Likewise.
15793 * resolv/res_data.c: Likewise.
15794 * soft-fp/op-1.h: Likewise.
15795 * soft-fp/op-2.h: Likewise.
15796 * soft-fp/op-4.h: Likewise.
15797 * soft-fp/op-common.h: Likewise.
15798 * stdio-common/printf_fphex.c: Likewise.
15799 * stdlib/strtod_l.c: Likewise.
15800 * sunrpc/rpc/clnt.h: Likewise.
15801 * sysdeps/generic/framestate.c: Likewise.
15802 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15803 * sysdeps/i386/bsd-setjmp.S: Likewise.
15804 * sysdeps/i386/__longjmp.S: Likewise.
15805 * sysdeps/i386/setjmp.S: Likewise.
15806 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15807 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15808 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15809 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15810 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15811 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15812 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15813 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15814 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15815 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15816 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15817 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15818 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15819 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15820 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15821 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15822 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15823 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15824 * sysdeps/ieee754/support.c: Likewise.
15825 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15826 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15827 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15828 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15829 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15830 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15831 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15832 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15833 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15834 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15835 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15836 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15837 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15838 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15839 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15840 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15841 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15843
44a988af
OB
158442013-06-05 Ondřej Bílka <neleai@seznam.cz>
15845
25506f09 15846 * posix/transbug.c: Remove executable mode.
44a988af 15847
9c84384c
JM
158482013-06-05 Joseph Myers <joseph@codesourcery.com>
15849
15850 * crypt/speeds.c: Remove trailing whitespace.
15851 * dlfcn/default.c: Likewise.
15852 * elf/ifuncdep2.c: Likewise.
15853 * elf/ifuncmain1.c: Likewise.
15854 * elf/ifuncmain1vis.c: Likewise.
15855 * elf/testobj.h: Likewise.
15856 * elf/tst-stackguard1.c: Likewise.
15857 * gmon/sys/gmon.h: Likewise.
15858 * hurd/hurdmsg.c: Likewise.
15859 * hurd/new-fd.c: Likewise.
15860 * hurd/ports-get.c: Likewise.
15861 * iconvdata/ibm1008_420.c: Likewise.
15862 * inet/tst-getni1.c: Likewise.
15863 * inet/tst-getni2.c: Likewise.
15864 * libio/ioungetc.c: Likewise.
15865 * libio/wfiledoalloc.c: Likewise.
15866 * manual/libm-err-tab.pl: Likewise.
15867 * math/w_dremf.c: Likewise.
15868 * misc/ftruncate.c: Likewise.
15869 * posix/bug-glob2.c: Likewise.
15870 * posix/tst-pcre.c: Likewise.
15871 * posix/wait4.c: Likewise.
15872 * resolv/README: Likewise.
15873 * resolv/res_debug.h: Likewise.
15874 * resolv/tst-inet_ntop.c: Likewise.
15875 * setjmp/bug269-setjmp.c: Likewise.
15876 * soft-fp/extended.h: Likewise.
15877 * soft-fp/op-1.h: Likewise.
15878 * soft-fp/op-2.h: Likewise.
15879 * soft-fp/op-4.h: Likewise.
15880 * soft-fp/op-8.h: Likewise.
15881 * soft-fp/testit.c: Likewise.
15882 * stdio-common/bug16.c: Likewise.
15883 * stdlib/random.c: Likewise.
15884 * sunrpc/rpcsvc/rquota.x: Likewise.
15885 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15886 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15887 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15888 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15889 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15890 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15891 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15892 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15893 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15894 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15895 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15896 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15897 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15898 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15899 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15900 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15901 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15902 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15903 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15904 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15905 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15906 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15907 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15908 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15909 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15910 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15911 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15912 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15913 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15914 * sysdeps/ieee754/s_lib_version.c: Likewise.
15915 * sysdeps/mach/hurd/check_fds.c: Likewise.
15916 * sysdeps/mach/hurd/getsockname.c: Likewise.
15917 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15918 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15919 * sysdeps/powerpc/bits/link.h: Likewise.
15920 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15921 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15922 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15923 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15924 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15925 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15926 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15927 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15928 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15929 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15930 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15931 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15932 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15933 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15934 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15935 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15936 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15937 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15938 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15939 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15940 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15941 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15942 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15943 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15944 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15945 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15946 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15947 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15948 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15949 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15950 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15951 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15952 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15953 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15954 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15955 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15956 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15957 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15958 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15959 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15960 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15961 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15962 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15963 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15964 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15965 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15966 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15967 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15968 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15969 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15970 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15971 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15972 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15973 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15974 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15975 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15976 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15977 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15978 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15979 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15980 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15981 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15982 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15983 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15984 * sysdeps/powerpc/sysdep.h: Likewise.
15985 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15986 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15987 * sysdeps/sh/dl-trampoline.S: Likewise.
15988 * sysdeps/sh/memset.S: Likewise.
15989 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15990 * sysdeps/sh/strlen.S: Likewise.
15991 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15992 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15993 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15994 * sysdeps/sparc/sparc32/rem.S: Likewise.
15995 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15996 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15997 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15998 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15999 * sysdeps/sparc/sparc32/urem.S: Likewise.
16000 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16001 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16002 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16003 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16004 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16005 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16006 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16007 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16008 * sysdeps/unix/bsd/times.c: Likewise.
16009 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16010 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16014 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16015 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16016 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16017 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16018 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16019 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16020 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16021 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16022 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16023 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16024 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16025 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16026 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16027 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16028 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16029 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16030 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16031 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16032 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16033 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16034 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16035 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16036 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16037 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16038 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16039 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16040 * sysdeps/x86_64/strcspn.S: Likewise.
16041
869378a5
RA
160422013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16043
16044 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16045 generated file. Regenerate properly from gen-translit.pl.
16046 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16047 locale/C-translit.h.
16048
840e2943
AS
160492013-06-05 Andreas Schwab <schwab@suse.de>
16050
16051 [BZ #15100]
16052 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16053 week as 6 instead of -1.
16054 * time/tst-strptime.c (day_tests): Add test case.
16055
4c60cb0c
SP
160562013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16057
16058 * sysdeps/generic/math_private.h
16059 (libc_feholdexcept_setround_53bit): Replace with
16060 libc_feholdsetround_53bit.
16061 (libc_feupdateenv_53bit): Replace with
16062 libc_feresetround_53bit.
16063 (SET_RESTORE_ROUND_53BIT): Adjust.
16064
d180203e
SP
160652013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16066
96df079a
SP
16067 * string/test-strchrnul.c: Add copyright header.
16068
d180203e
SP
16069 * posix/tst-getaddrinfo4.c: Increase test timeout.
16070
8b0ccb2d
CD
160712013-06-03 Carlos O'Donell <carlos@redhat.com>
16072
16073 [BZ #15536]
16074 * math/libm-test.inc (MAX_EXP): Remove
16075 (MIN_EXP): Define.
16076 (ulp): Use MIN_EXP - MANT_DIG.
16077 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16078
3b3c4d40
CD
160792013-05-31 Carlos O'Donell <carlos@redhat.com>
16080
16081 * po/be.po: Revert last change.
16082 * po/zh_CN.po: Likewise.
16083 * po/header.pot: Likewise.
16084
fab7ce3f
JM
160852013-05-31 Joseph Myers <joseph@codesourcery.com>
16086
16087 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16088 link-libc-deps to empty as target-specific variable.
16089 * Makerules (link-libc-args): New variable.
16090 (libc-for-link): Likewise.
16091 (link-libc-deps): Likewise.
16092 (lib%.so): Depend on $(link-libc-deps). Link with
16093 $(link-libc-args).
16094 (build-module): Link with $(link-libc-args).
16095 (build-module-asneeded): Likewise.
16096 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16097 list of objects.
16098 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16099 target-specific variable.
16100 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16101 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16102 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16103 libc.
16104 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16105 libc and ld.so.
16106 ($(objpfx)libpcprofile.so): Likewise.
16107 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16108 libc_nonshared.a.
16109 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16110 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16111 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16112 $(link-libc-deps).
16113 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16114 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16115 * login/Makefile ($(objpfx)libutil.so): Likewise.
16116 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16117 * math/Makefile ($(objpfx)libm.so): Likewise.
16118 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16119 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16120 variable instead of depending directly on libc.
16121 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16122 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16123 $(link-libc-deps).
16124 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16125 libc.
16126 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16127 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16128 ($(objpfx)libanl.so): Likewise.
16129 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16130 ld.so.
16131 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16132 $(link-libc-deps).
16133 * sysdeps/i386/fpu/Makefile: Remove file.
16134 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16135 ($(objpfx)libm.so): Remove dependency on ld.so.
16136
eca5920c
PF
161372013-05-30 Patsy Franklin <pfrankli@redhat.com>
16138
16139 [BZ # 15553]
16140 * nis/yp_xdr.c (XDRMAXNAME): Define.
16141 (XDRMAXRECORD): Define.
16142 (xdr_domainname): Use XDRMAXNAME.
16143 (xdr_mapname): Likewise.
16144 (xdr_peername): Likewise.
16145 (xdr_keydat): Use XDRMAXRECORD.
16146 (xdr_valdat): Likewise.
16147
161482013-05-30 Jeff Law <law@redhat.com>
96945714
JL
16149
16150 [BZ #14256]
16151 * manual/errno.texi (ESTALE): Update to account for more than
16152 just NFS file systems.
16153 * sysdeps/gnu/errlist.c: Regenerated.
16154
b9375348
SP
161552013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16156
16157 [BZ #15465]
16158 * elf/Makefile (tests): Add tst-null-argv.
16159 (modules-names): Add tst-null-argv-lib.
16160 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16161 (tst-null-argv-ENV): Set environment for tst-null-argv.
16162 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16163 (RTLD_PROGNAME): New macro.
16164 * elf/tst-null-argv.c: New test case.
16165 * elf/tst-null-argv-lib.c: Library for test case.
16166 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16167 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16168 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16169 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16170 * elf/dl-init.c (call_init): Likewise.
16171 (_dl_init): Likewise.
16172 * elf/dl-load.c (print_search_path): Likewise.
16173 (_dl_map_object): Likewise.
16174 * elf/dl-lookup.c (do_lookup_x): Likewise.
16175 (add_dependency): Likewise.
16176 (_dl_lookup_symbol_x): Likewise.
16177 (_dl_debug_bindings): Likewise.
16178 * elf/dl-open.c (_dl_show_scope): Likewise.
16179 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16180 * elf/dl-version.c (match_symbol): Likewise.
16181 (_dl_check_map_versions): Likewise.
16182 * elf/rtld.c (dl_main): Likewise.
16183 (print_unresolved): Use RTLD_PROGNAME.
16184 (print_missing_version): Likewise.
16185 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16186 (elf_machine_rela): Likewise.
16187 * sysdeps/powerpc/powerpc32/dl-machine.c
16188 (__process_machine_rela): Likewise.
16189 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16190 Likewise.
16191 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16192 Likewise.
16193 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16194 Likewise.
16195 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16196 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16197 Likewise.
16198 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16199 Likewise.
16200 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16201
8a9f20c8
CD
162022013-05-28 Carlos O'Donell <carlos@redhat.com>
16203
16204 * po/be.po: Add descriptive title.
16205 * po/zh_CN.po: Likewise.
16206 * po/header.pot: Likewise.
16207
0e60d68e
MF
162082013-05-28 Mike Frysinger <vapier@gentoo.org>
16209
16210 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16211 error message.
16212 (enlarge_archive): Likewise.
16213
56b672e9
BN
162142013-05-28 Ben North <ben@redfrontdoor.org>
16215
16216 * manual/arith.texi (frexp): It is the magnitude of the return
16217 value which lies in [0.5, 1), not the return value itself.
16218
5e056687
AZ
162192013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16220
16221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16222
2b66ef5d
TS
162232013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16224
528c2405
TS
16225 * stdio-common/bug26.c (main): Correct fscanf template.
16226
07b4c13d
TS
16227 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16228 declare _dl_skip_args.
16229
ec9dd97c
TS
16230 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16231 Don't declare.
16232
2b66ef5d
TS
16233 * manual/platform.texi: Add missing @end deftypefun.
16234
4f8dfe27
JM
162352013-05-24 Joseph Myers <joseph@codesourcery.com>
16236
0323d086
JM
16237 [BZ #15529]
16238 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16239 bit of mantissa of 2^16382.
16240 * math/libm-test.inc (hypot_test_data): Add more tests.
16241
dd4259b9
JM
16242 * math/libm-test.inc: Add drem and pow10 to list of tested
16243 functions.
16244 (pow10_test): New function.
16245 (drem_test): Likewise.
16246 (drem_test_tonearest): Likewise.
16247 (drem_test_towardzero): Likewise.
16248 (drem_test_downward): Likewise.
16249 (drem_test_upward): Likewise.
16250 (main): Call the new functions.
16251
4f8dfe27
JM
16252 * math/libm-test.inc (finite_test_data): Remove.
16253 (finite_test): Run tests from isfinite_test_data.
16254 (gamma_test_data): Remove.
16255 (gamma_test): Run tests from lgamma_test_data.
16256 * sysdeps/i386/fpu/libm-test-ulps: Update.
16257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16258
d116b7c4
AZ
162592013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16260
16261 * manual/platform.texi: Add PowerPC PPR function set documentation.
16262 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16263 implementation.
16264
e96e3767
CD
162652013-05-24 Carlos O'Donell <carlos@redhat.com>
16266
16267 * math/libm-test.inc (MAX_EXP): Define.
16268 (ULPDIFF): Define.
16269 (ulp): New function.
16270 (check_float_internal): Use ULPDIFF.
16271 (cpow_test): Disable failing test.
16272 (check_ulp): Test ulp() implemetnation.
16273 (main): Call check_ulp before starting tests.
16274
b679a606
JM
162752013-05-24 Joseph Myers <joseph@codesourcery.com>
16276
e8bdba36
JM
16277 * math/gen-libm-test.pl (generate_testfile): Do not handle
16278 START_DATA and END_DATA.
16279 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16280 END_DATA.
16281 (acos_tonearest_test_data): Likewise.
16282 (acos_towardzero_test_data): Likewise.
16283 (acos_downward_test_data): Likewise.
16284 (acos_upward_test_data): Likewise.
16285 (acosh_test_data): Likewise.
16286 (asin_test_data): Likewise.
16287 (asin_tonearest_test_data): Likewise.
16288 (asin_towardzero_test_data): Likewise.
16289 (asin_downward_test_data): Likewise.
16290 (asin_upward_test_data): Likewise.
16291 (asinh_test_data): Likewise.
16292 (atan_test_data): Likewise.
16293 (atanh_test_data): Likewise.
16294 (atan2_test_data): Likewise.
16295 (cabs_test_data): Likewise.
16296 (cacos_test_data): Likewise.
16297 (cacosh_test_data): Likewise.
16298 (carg_test_data): Likewise.
16299 (casin_test_data): Likewise.
16300 (casinh_test_data): Likewise.
16301 (catan_test_data): Likewise.
16302 (catanh_test_data): Likewise.
16303 (cbrt_test_data): Likewise.
16304 (ccos_test_data): Likewise.
16305 (ccosh_test_data): Likewise.
16306 (ceil_test_data): Likewise.
16307 (cexp_test_data): Likewise.
16308 (cimag_test_data): Likewise.
16309 (clog_test_data): Likewise.
16310 (clog10_test_data): Likewise.
16311 (conj_test_data): Likewise.
16312 (copysign_test_data): Likewise.
16313 (cos_test_data): Likewise.
16314 (cos_tonearest_test_data): Likewise.
16315 (cos_towardzero_test_data): Likewise.
16316 (cos_downward_test_data): Likewise.
16317 (cos_upward_test_data): Likewise.
16318 (cosh_test_data): Likewise.
16319 (cosh_tonearest_test_data): Likewise.
16320 (cosh_towardzero_test_data): Likewise.
16321 (cosh_downward_test_data): Likewise.
16322 (cosh_upward_test_data): Likewise.
16323 (cpow_test_data): Likewise.
16324 (cproj_test_data): Likewise.
16325 (creal_test_data): Likewise.
16326 (csin_test_data): Likewise.
16327 (csinh_test_data): Likewise.
16328 (csqrt_test_data): Likewise.
16329 (ctan_test_data): Likewise.
16330 (ctan_tonearest_test_data): Likewise.
16331 (ctan_towardzero_test_data): Likewise.
16332 (ctan_downward_test_data): Likewise.
16333 (ctan_upward_test_data): Likewise.
16334 (ctanh_test_data): Likewise.
16335 (ctanh_tonearest_test_data): Likewise.
16336 (ctanh_towardzero_test_data): Likewise.
16337 (ctanh_downward_test_data): Likewise.
16338 (ctanh_upward_test_data): Likewise.
16339 (erf_test_data): Likewise.
16340 (erfc_test_data): Likewise.
16341 (exp_test_data): Likewise.
16342 (exp_tonearest_test_data): Likewise.
16343 (exp_towardzero_test_data): Likewise.
16344 (exp_downward_test_data): Likewise.
16345 (exp_upward_test_data): Likewise.
16346 (exp10_test_data): Likewise.
16347 (exp2_test_data): Likewise.
16348 (expm1_test_data): Likewise.
16349 (fabs_test_data): Likewise.
16350 (fdim_test_data): Likewise.
16351 (finite_test_data): Likewise.
16352 (floor_test_data): Likewise.
16353 (fma_test_data): Likewise.
16354 (fma_towardzero_test_data): Likewise.
16355 (fma_downward_test_data): Likewise.
16356 (fma_upward_test_data): Likewise.
16357 (fmax_test_data): Likewise.
16358 (fmin_test_data): Likewise.
16359 (fmod_test_data): Likewise.
16360 (fpclassify_test_data): Likewise.
16361 (frexp_test_data): Likewise.
16362 (gamma_test_data): Likewise.
16363 (hypot_test_data): Likewise.
16364 (ilogb_test_data): Likewise.
16365 (isfinite_test_data): Likewise.
16366 (isgreater_test_data): Likewise.
16367 (isgreaterequal_test_data): Likewise.
16368 (isinf_test_data): Likewise.
16369 (isless_test_data): Likewise.
16370 (islessequal_test_data): Likewise.
16371 (islessgreater_test_data): Likewise.
16372 (isnan_test_data): Likewise.
16373 (isnormal_test_data): Likewise.
16374 (issignaling_test_data): Likewise.
16375 (isunordered_test_data): Likewise.
16376 (j0_test_data): Likewise.
16377 (j1_test_data): Likewise.
16378 (jn_test_data): Likewise.
16379 (ldexp_test_data): Likewise.
16380 (lgamma_test_data): Likewise.
16381 (lrint_test_data): Likewise.
16382 (lrint_tonearest_test_data): Likewise.
16383 (lrint_towardzero_test_data): Likewise.
16384 (lrint_downward_test_data): Likewise.
16385 (lrint_upward_test_data): Likewise.
16386 (llrint_test_data): Likewise.
16387 (llrint_tonearest_test_data): Likewise.
16388 (llrint_towardzero_test_data): Likewise.
16389 (llrint_downward_test_data): Likewise.
16390 (llrint_upward_test_data): Likewise.
16391 (log_test_data): Likewise.
16392 (log10_test_data): Likewise.
16393 (log1p_test_data): Likewise.
16394 (log2_test_data): Likewise.
16395 (logb_test_data): Likewise.
16396 (logb_downward_test_data): Likewise.
16397 (lround_test_data): Likewise.
16398 (llround_test_data): Likewise.
16399 (modf_test_data): Likewise.
16400 (nearbyint_test_data): Likewise.
16401 (nextafter_test_data): Likewise.
16402 (nexttoward_test_data): Likewise.
16403 (pow_test_data): Likewise.
16404 (pow_tonearest_test_data): Likewise.
16405 (pow_towardzero_test_data): Likewise.
16406 (pow_downward_test_data): Likewise.
16407 (pow_upward_test_data): Likewise.
16408 (remainder_test_data): Likewise.
16409 (remainder_tonearest_test_data): Likewise.
16410 (remainder_towardzero_test_data): Likewise.
16411 (remainder_downward_test_data): Likewise.
16412 (remainder_upward_test_data): Likewise.
16413 (remquo_test_data): Likewise.
16414 (rint_test_data): Likewise.
16415 (rint_tonearest_test_data): Likewise.
16416 (rint_towardzero_test_data): Likewise.
16417 (rint_downward_test_data): Likewise.
16418 (rint_upward_test_data): Likewise.
16419 (round_test_data): Likewise.
16420 (scalb_test_data): Likewise.
16421 (scalbn_test_data): Likewise.
16422 (scalbln_test_data): Likewise.
16423 (signbit_test_data): Likewise.
16424 (sin_test_data): Likewise.
16425 (sin_tonearest_test_data): Likewise.
16426 (sin_towardzero_test_data): Likewise.
16427 (sin_downward_test_data): Likewise.
16428 (sin_upward_test_data): Likewise.
16429 (sincos_test_data): Likewise.
16430 (sinh_test_data): Likewise.
16431 (sinh_tonearest_test_data): Likewise.
16432 (sinh_towardzero_test_data): Likewise.
16433 (sinh_downward_test_data): Likewise.
16434 (sinh_upward_test_data): Likewise.
16435 (sqrt_test_data): Likewise.
16436 (tan_test_data): Likewise.
16437 (tan_tonearest_test_data): Likewise.
16438 (tan_towardzero_test_data): Likewise.
16439 (tan_downward_test_data): Likewise.
16440 (tan_upward_test_data): Likewise.
16441 (tanh_test_data): Likewise.
16442 (tgamma_test_data): Likewise.
16443 (trunc_test_data): Likewise.
16444 (y0_test_data): Likewise.
16445 (y1_test_data): Likewise.
16446 (yn_test_data): Likewise.
16447 (significand_test_data): Likewise.
16448
b679a606
JM
16449 * math/gen-libm-test.pl (@functions): Remove variable.
16450 (generate_testfile): Don't handle START and END lines.
16451 * math/libm-test.inc (START): New macro.
16452 (END): Likewise.
16453 (END_COMPLEX): Likewise.
16454 (acos_test): Use END macro without arguments.
16455 (acos_test_tonearest): Likewise.
16456 (acos_test_towardzero): Likewise.
16457 (acos_test_downward): Likewise.
16458 (acos_test_upward): Likewise.
16459 (acosh_test): Likewise.
16460 (asin_test): Likewise.
16461 (asin_test_tonearest): Likewise.
16462 (asin_test_towardzero): Likewise.
16463 (asin_test_downward): Likewise.
16464 (asin_test_upward): Likewise.
16465 (asinh_test): Likewise.
16466 (atan_test): Likewise.
16467 (atanh_test): Likewise.
16468 (atan2_test): Likewise.
16469 (cabs_test): Likewise.
16470 (cacos_test): Use END_COMPLEX macro without arguments.
16471 (cacosh_test): Likewise.
16472 (carg_test): Use END macro without arguments.
16473 (casin_test): Use END_COMPLEX macro without arguments.
16474 (casinh_test): Likewise.
16475 (catan_test): Likewise.
16476 (catanh_test): Likewise.
16477 (cbrt_test): Use END macro without arguments.
16478 (ccos_test): Use END_COMPLEX macro without arguments.
16479 (ccosh_test): Likewise.
16480 (ceil_test): Use END macro without arguments.
16481 (cexp_test): Use END_COMPLEX macro without arguments.
16482 (cimag_test): Use END macro without arguments.
16483 (clog_test): Use END_COMPLEX macro without arguments.
16484 (clog10_test): Likewise.
16485 (conj_test): Likewise.
16486 (copysign_test): Use END macro without arguments.
16487 (cos_test): Likewise.
16488 (cos_test_tonearest): Likewise.
16489 (cos_test_towardzero): Likewise.
16490 (cos_test_downward): Likewise.
16491 (cos_test_upward): Likewise.
16492 (cosh_test): Likewise.
16493 (cosh_test_tonearest): Likewise.
16494 (cosh_test_towardzero): Likewise.
16495 (cosh_test_downward): Likewise.
16496 (cosh_test_upward): Likewise.
16497 (cpow_test): Use END_COMPLEX macro without arguments.
16498 (cproj_test): Likewise.
16499 (creal_test): Use END macro without arguments.
16500 (csin_test): Use END_COMPLEX macro without arguments.
16501 (csinh_test): Likewise.
16502 (csqrt_test): Likewise.
16503 (ctan_test): Likewise.
16504 (ctan_test_tonearest): Likewise.
16505 (ctan_test_towardzero): Likewise.
16506 (ctan_test_downward): Likewise.
16507 (ctan_test_upward): Likewise.
16508 (ctanh_test): Likewise.
16509 (ctanh_test_tonearest): Likewise.
16510 (ctanh_test_towardzero): Likewise.
16511 (ctanh_test_downward): Likewise.
16512 (ctanh_test_upward): Likewise.
16513 (erf_test): Use END macro without arguments.
16514 (erfc_test): Likewise.
16515 (exp_test): Likewise.
16516 (exp_test_tonearest): Likewise.
16517 (exp_test_towardzero): Likewise.
16518 (exp_test_downward): Likewise.
16519 (exp_test_upward): Likewise.
16520 (exp10_test): Likewise.
16521 (exp2_test): Likewise.
16522 (expm1_test): Likewise.
16523 (fabs_test): Likewise.
16524 (fdim_test): Likewise.
16525 (finite_test): Likewise.
16526 (floor_test): Likewise.
16527 (fma_test): Likewise.
16528 (fma_test_towardzero): Likewise.
16529 (fma_test_downward): Likewise.
16530 (fma_test_upward): Likewise.
16531 (fmax_test): Likewise.
16532 (fmin_test): Likewise.
16533 (fmod_test): Likewise.
16534 (fpclassify_test): Likewise.
16535 (frexp_test): Likewise.
16536 (gamma_test): Likewise.
16537 (hypot_test): Likewise.
16538 (ilogb_test): Likewise.
16539 (isfinite_test): Likewise.
16540 (isgreater_test): Likewise.
16541 (isgreaterequal_test): Likewise.
16542 (isinf_test): Likewise.
16543 (isless_test): Likewise.
16544 (islessequal_test): Likewise.
16545 (islessgreater_test): Likewise.
16546 (isnan_test): Likewise.
16547 (isnormal_test): Likewise.
16548 (issignaling_test): Likewise.
16549 (isunordered_test): Likewise.
16550 (j0_test): Likewise.
16551 (j1_test): Likewise.
16552 (jn_test): Likewise.
16553 (ldexp_test): Likewise.
16554 (lgamma_test): Likewise.
16555 (lrint_test): Likewise.
16556 (lrint_test_tonearest): Likewise.
16557 (lrint_test_towardzero): Likewise.
16558 (lrint_test_downward): Likewise.
16559 (lrint_test_upward): Likewise.
16560 (llrint_test): Likewise.
16561 (llrint_test_tonearest): Likewise.
16562 (llrint_test_towardzero): Likewise.
16563 (llrint_test_downward): Likewise.
16564 (llrint_test_upward): Likewise.
16565 (log_test): Likewise.
16566 (log10_test): Likewise.
16567 (log1p_test): Likewise.
16568 (log2_test): Likewise.
16569 (logb_test): Likewise.
16570 (logb_test_downward): Likewise.
16571 (lround_test): Likewise.
16572 (llround_test): Likewise.
16573 (modf_test): Likewise.
16574 (nearbyint_test): Likewise.
16575 (nextafter_test): Likewise.
16576 (nexttoward_test): Likewise.
16577 (pow_test): Likewise.
16578 (pow_test_tonearest): Likewise.
16579 (pow_test_towardzero): Likewise.
16580 (pow_test_downward): Likewise.
16581 (pow_test_upward): Likewise.
16582 (remainder_test): Likewise.
16583 (remainder_test_tonearest): Likewise.
16584 (remainder_test_towardzero): Likewise.
16585 (remainder_test_downward): Likewise.
16586 (remainder_test_upward): Likewise.
16587 (remquo_test): Likewise.
16588 (rint_test): Likewise.
16589 (rint_test_tonearest): Likewise.
16590 (rint_test_towardzero): Likewise.
16591 (rint_test_downward): Likewise.
16592 (rint_test_upward): Likewise.
16593 (round_test): Likewise.
16594 (scalb_test): Likewise.
16595 (scalbn_test): Likewise.
16596 (scalbln_test): Likewise.
16597 (signbit_test): Likewise.
16598 (sin_test): Likewise.
16599 (sin_test_tonearest): Likewise.
16600 (sin_test_towardzero): Likewise.
16601 (sin_test_downward): Likewise.
16602 (sin_test_upward): Likewise.
16603 (sincos_test): Likewise.
16604 (sinh_test): Likewise.
16605 (sinh_test_tonearest): Likewise.
16606 (sinh_test_towardzero): Likewise.
16607 (sinh_test_downward): Likewise.
16608 (sinh_test_upward): Likewise.
16609 (sqrt_test): Likewise.
16610 (tan_test): Likewise.
16611 (tan_test_tonearest): Likewise.
16612 (tan_test_towardzero): Likewise.
16613 (tan_test_downward): Likewise.
16614 (tan_test_upward): Likewise.
16615 (tanh_test): Likewise.
16616 (tgamma_test): Likewise.
16617 (trunc_test): Likewise.
16618 (y0_test): Likewise.
16619 (y1_test): Likewise.
16620 (yn_test): Likewise.
16621 (significand_test): Likewise.
16622
bae143d2
OB
166232013-05-24 Ondřej Bílka <neleai@seznam.cz>
16624
16625 [BZ #15381]
16626 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16627
9323d39b
EM
166282013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16629
d4ea44a0 16630 [BZ #14894]
9323d39b
EM
16631 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16632 __ppc_mdoio and __ppc_mdoom.
16633 * manual/platform.texi: Document new functions __ppc_yield,
16634 __ppc_mdoio and __ppc_mdoom.
16635
13e23af7
CD
166362013-05-22 Carlos O'Donell <carlos@redhat.com>
16637
16638 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16639 (main): Mention "tls" pseudo-hwcap is legacy.
16640 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16641
351fe550
JM
166422013-05-22 Joseph Myers <joseph@codesourcery.com>
16643
16644 * math/gen-libm-test.pl (parse_args): Output only string of
16645 arguments as text for test name, not full call or descriptions of
16646 tests for extra outputs.
16647 (generate_testfile): Do not pass function name to parse_args.
16648 Generate this_func variable from START.
16649 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16650 field to arg_str.
16651 (struct test_ff_f_data): Likewise.
16652 (test_ff_f_data_nexttoward): Likewise.
16653 (struct test_fi_f_data): Likewise.
16654 (struct test_fl_f_data): Likewise.
16655 (struct test_if_f_data): Likewise.
16656 (struct test_fff_f_data): Likewise.
16657 (struct test_c_f_data): Likewise.
16658 (struct test_f_f1_data): Likewise. Remove field extra_name.
16659 (struct test_fF_f1_data): Likewise.
16660 (struct test_ffI_f1_data): Likewise.
16661 (struct test_c_c_data): Rename test_name field to arg_str.
16662 (struct test_cc_c_data): Likewise.
16663 (struct test_f_i_data): Likewise.
16664 (struct test_ff_i_data): Likewise.
16665 (struct test_f_l_data): Likewise.
16666 (struct test_f_L_data): Likewise.
16667 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16668 and extra2_name.
16669 (COMMON_TEST_SETUP): New macro.
16670 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16671 (COMMON_TEST_CLEANUP): Likewise.
16672 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16673 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16674 macros.
16675 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16676 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16677 macros.
16678 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16679 (RUN_TEST_fff_f): Take argument string. Call new setup and
16680 cleanup macros.
16681 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16682 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16683 macros.
16684 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16685 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16686 macros.
16687 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16688 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16689 cleanup macros.
16690 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16691 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16692 cleanup macros.
16693 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16694 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16695 cleanup macros.
16696 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16697 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16698 macros.
16699 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16700 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16701 macros.
16702 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16703 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16704 macros.
16705 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16706 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16707 cleanup macros.
16708 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16709 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16710 cleanup macros.
16711 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16712 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16713 macros.
16714 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16715 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16716 cleanup macros.
16717 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16718 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16719 macros.
16720 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16721 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16722 macros.
16723 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16724 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16725 cleanup macros.
16726 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16727
85118d4d
EBM
167282013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16729
16730 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16731 to _sifields.sigfault.
16732 (si_addr_lsb): Define new macro.
16733 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16734 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16735 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16736
7a44c18f
CD
167372013-05-03 Carlos O'Donell <carlos at redhat.com>
16738
16739 [BZ #15441]
16740 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16741 returns -1.
16742 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16743 null return -1.
16744 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16745 loading the domain.
16746
b50a7181
JM
167472013-05-22 Joseph Myers <joseph@codesourcery.com>
16748
16749 * math/gen-libm-test.pl (parse_args): Do not include expected
16750 result in test name.
16751 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16752 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16753 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16754 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16755 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16757
051063c8
SP
167582013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16759
3ce9e010
SP
16760 * benchtests/Makefile: Sort function entries.
16761
051063c8
SP
16762 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16763 tanh, asinh, acosh, atanh.
16764 * benchtests/acos-inputs: New file.
16765 * benchtests/acosh-inputs: New file.
16766 * benchtests/asin-inputs: New file.
16767 * benchtests/asinh-inputs: New file.
16768 * benchtests/atanh-inputs: New file.
16769 * benchtests/cosh-inputs: New file.
16770 * benchtests/log-inputs: New file.
16771 * benchtests/sinh-inputs: New file.
16772 * benchtests/tanh-inputs: New file.
16773
47c22455
DL
167742013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16775
16776 [BZ #15339]
16777 * posix/tst-getaddrinfo4.c: New test.
16778 * posix/Makefile (tests): Add it.
16779
3d04f5db
SP
167802013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16781
16782 [BZ #15339]
16783 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16784 when no services were used.
16785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16786 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16787
d5dd6189
AS
167882013-05-21 Andreas Schwab <schwab@suse.de>
16789
16790 [BZ #15014]
16791 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16792 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16793 successful.
16794 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16795 redundant variable declarations and reallocation of buffer when
16796 parsing as IPv6 address. Always set NSS status when called from
16797 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16798 buffer too small. Correct computation of needed size.
16799 * nss/Makefile (tests): Add test-digits-dots.
16800 * nss/test-digits-dots.c: New test.
16801
fef94eab
SP
168022013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16803
16804 * benchtests/Makefile: Remove instructions for adding
16805 benchmark tests.
16806 * benchtests/README: New file to explain how to execute and
16807 enhance the benchmark tests.
16808
e39adf43
AS
168092013-05-21 Andreas Schwab <schwab@suse.de>
16810
16811 [BZ #15493]
16812 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16813 * setjmp/tst-sigsetjmp.c: New test.
16814
b2b671b6
OB
168152013-05-20 Ondřej Bílka <neleai@seznam.cz>
16816
16817 * sysdeps/x86_64/memset.S (memset): New implementation.
16818 (__bzero): Likewise.
16819 (__memset_tail): New function.
16820
2d48b41c
OB
168212013-05-20 Ondřej Bílka <neleai@seznam.cz>
16822
16823 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16824 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16825 __memcpy_sse2_unaligned ifunc selection.
16826 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16827 Add memcpy-sse2-unaligned.S.
16828 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16829 Add: __memcpy_sse2_unaligned.
16830
f16cc3eb
JM
168312013-05-19 Joseph Myers <joseph@codesourcery.com>
16832
3e694268
JM
16833 [BZ #15490]
16834 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16835 math_force_eval before restoring floating-point envrionment.
16836 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16837 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16838 Likewise.
16839 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16840 <math_private.h>.
16841 (__nearbyintl): Use math_force_eval before restoring
16842 floating-point environment.
16843 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16844
db62a907
JM
16845 * math/gen-libm-test.pl (special_functions): Remove.
16846 (parse_args): Don't handle TEST_extra. Handle functions with no
16847 return value.
16848 * math/libm-test.inc (struct test_sincos_data): Replace with
16849 struct test_fFF_11_data.
16850 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16851 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16852 (sincos_test_data): Change element type to struct
16853 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16854 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16855 RUN_TEST_LOOP_sincos.
16856 * math/README.libm-test: Don't mention special handling of
16857 individual functions.
16858 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16859 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16860 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16861 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16862 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16864
f16cc3eb
JM
16865 * math/gen-libm-test.pl (get_variable): Remove function.
16866 (parse_args): Don't show pointer parameters to call in test
16867 names. Use "extra output N" in test names for extra outputs
16868 rather than naming variables.
16869
3779b5b6
JM
168702013-05-18 Joseph Myers <joseph@codesourcery.com>
16871
2ee094ff
JM
16872 [BZ #15488]
16873 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16874 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16875 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16876 double tests.
16877 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16878 disable.
16879 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16880 check_long_double.
16881
3779b5b6
JM
16882 * math/gen-libm-test.pl (@tests): Remove variable.
16883 ($count): Likewise.
16884 (new_test): Remove function.
16885 (show_exceptions): New function.
16886 (special_functions): Use show_exceptions instead of new_test.
16887 (parse_args): Likewise.
16888 (generate_testfile): Pass only function name in generated call to
16889 print_max_error or print_complex_max_error.
16890 (get_ulps): Do not handle complex tests specially.
16891 (output_test): Rename to ...
16892 (get_all_ulps_for_test): ... this. Return a string rather than
16893 printing to a file. Require ulps to be present.
16894 (output_ulps): Generate arrays rather than #defines.
16895 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16896 (struct ulp_data): New type.
16897 (BUILD_COMPLEX_ULP): Remove macro.
16898 (compare_ulp_data): New function.
16899 (find_ulps): Likewise.
16900 (find_test_ulps): Likewise.
16901 (find_function_ulps): Likewise.
16902 (find_complex_function_ulps): Likewise.
16903 (print_max_error): Determine allowed ulps using
16904 find_function_ulps.
16905 (print_complex_max_error): Determine allowed ulps using
16906 find_complex_function_ulps.
16907 (check_float_internal): Determine max ulps using find_test_ulps.
16908 (check_float): Do not take max_ulp parameter. Update call to
16909 check_float_internal.
16910 (check_complex): Likewise.
16911 (check_int): Do not take max_ulp parameter.
16912 (check_long): Likewise.
16913 (check_bool): Likewise.
16914 (check_longlong): Likewise.
16915 (struct test_f_f_data): Remove max_ulp field.
16916 (struct test_ff_f_data): Likewise.
16917 (struct test_ff_f_data_nexttoward): Likewise.
16918 (struct test_fi_f_data): Likewise.
16919 (struct test_fl_f_data): Likewise.
16920 (struct test_if_f_data): Likewise.
16921 (struct test_fff_f_data): Likewise.
16922 (struct test_c_f_data): Likewise.
16923 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16924 (struct test_fF_f1_data): Likewise.
16925 (struct test_ffI_f1_data): Likewise.
16926 (struct test_c_c_data): Remove max_ulp field.
16927 (struct test_cc_c_data): Likewise.
16928 (struct test_f_i_data): Likewise.
16929 (struct test_ff_i_data): Likewise.
16930 (struct test_f_l_data): Likewise.
16931 (struct test_f_L_data): Likewise.
16932 (struct test_sincos_data): Likewise.
16933 (RUN_TEST_f_f): Do not handle ulps.
16934 (RUN_TEST_LOOP_f_f): Likewise.
16935 (RUN_TEST_2_f): Likewise.
16936 (RUN_TEST_LOOP_2_f): Likewise.
16937 (RUN_TEST_fff_f): Likewise.
16938 (RUN_TEST_LOOP_fff_f): Likewise.
16939 (RUN_TEST_c_f): Likewise.
16940 (RUN_TEST_LOOP_c_f): Likewise.
16941 (RUN_TEST_f_f1): Likewise.
16942 (RUN_TEST_LOOP_f_f1): Likewise.
16943 (RUN_TEST_fF_f1): Likewise.
16944 (RUN_TEST_LOOP_fF_f1): Likewise.
16945 (RUN_TEST_fI_f1): Likewise.
16946 (RUN_TEST_LOOP_fI_f1): Likewise.
16947 (RUN_TEST_ffI_f1): Likewise.
16948 (RUN_TEST_LOOP_ffI_f1): Likewise.
16949 (RUN_TEST_c_c): Likewise.
16950 (RUN_TEST_LOOP_c_c): Likewise.
16951 (RUN_TEST_cc_c): Likewise.
16952 (RUN_TEST_LOOP_cc_c): Likewise.
16953 (RUN_TEST_f_i): Likewise.
16954 (RUN_TEST_LOOP_f_i): Likewise.
16955 (RUN_TEST_f_i_tg): Likewise.
16956 (RUN_TEST_LOOP_f_i_tg): Likewise.
16957 (RUN_TEST_ff_i_tg): Likewise.
16958 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16959 (RUN_TEST_f_b): Likewise.
16960 (RUN_TEST_LOOP_f_b): Likewise.
16961 (RUN_TEST_f_b_tg): Likewise.
16962 (RUN_TEST_LOOP_f_b_tg): Likewise.
16963 (RUN_TEST_f_l): Likewise.
16964 (RUN_TEST_LOOP_f_l): Likewise.
16965 (RUN_TEST_f_L): Likewise.
16966 (RUN_TEST_LOOP_f_L): Likewise.
16967 (RUN_TEST_sincos): Likewise.
16968 (RUN_TEST_LOOP_sincos): Likewise.
16969
8269107f
JM
169702013-05-17 Joseph Myers <joseph@codesourcery.com>
16971
bb38759d
JM
16972 [BZ #15480]
16973 [BZ #15485]
16974 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16975 main case of finite arguments, set rounding mode to FE_TONEAREST
16976 and discard exceptions.
16977 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16978 exceptions.
16979 (remainder_tonearest_test_data): New variable.
16980 (remainder_test_tonearest): New function.
16981 (remainder_towardzero_test_data): New variable.
16982 (remainder_test_towardzero): New function.
16983 (remainder_downward_test_data): New variable.
16984 (remainder_test_downward): New function.
16985 (remainder_upward_test_data): New variable.
16986 (remainder_test_upward): New function.
16987 (main): Call the new test functions.
16988
a00bdcf0
JM
16989 * math/libm-test.inc (struct test_f_f1_data): Remove field
16990 extra_init.
16991 (struct test_fF_f1_data): Likewise.
16992 (struct test_ffI_f1_data): Likewise.
16993 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16994 based on value of EXTRA_EXPECTED.
16995 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16996 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16997 EXTRA_VAR based on value of EXTRA_EXPECTED.
16998 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16999 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17000 EXTRA_VAR based on value of EXTRA_EXPECTED.
17001 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17002 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17003 EXTRA_VAR based on value of EXTRA_EXPECTED.
17004 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17005 * math/gen-libm-test.pl (parse_args): Don't output initializers
17006 for extra output values.
17007
de407f79
JM
17008 * math/libm-test.inc (check_int): Expect result to be exactly
17009 equal to expected value and do not handle ulps.
17010 (check_long): Likewise.
17011 (check_longlong): Likewise.
17012
8269107f
JM
17013 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17014 exceptions.
17015 (cimag_test_data): Likewise.
17016 (conj_test_data): Likewise.
17017 (copysign_test_data): Likewise.
17018 (cproj_test_data): Likewise.
17019 (creal_test_data): Likewise.
17020 (fabs_test_data): Likewise.
17021 (fdim_test_data): Likewise.
17022 (finite_test_data): Likewise.
17023 (floor_test_data): Likewise.
17024 (fmax_test_data): Likewise.
17025 (fmin_test_data): Likewise.
17026 (fmod_test_data): Likewise.
17027 (fpclassify_test_data): Likewise.
17028 (frexp_test_data): Likewise.
17029 (ilogb_test_data): Likewise.
17030 (isfinite_test_data): Likewise.
17031 (isgreater_test_data): Likewise.
17032 (isgreaterequal_test_data): Likewise.
17033 (isinf_test_data): Likewise.
17034 (isless_test_data): Likewise.
17035 (islessequal_test_data): Likewise.
17036 (islessgreater_test_data): Likewise.
17037 (isnan_test_data): Likewise.
17038 (isnormal_test_data): Likewise.
17039 (issignaling_test_data): Likewise.
17040 (isunordered_test_data): Likewise.
17041 (ldexp_test_data): Likewise.
17042 (lrint_test_data): Likewise.
17043 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17044 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17045 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17046 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17047 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17048 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17049 test input.
17050 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17051 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17052 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17053 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17054 that test input.
17055 (lrint_downward_test_data): Test for "inexact" exceptions.
17056 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17057 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17058 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17059 test input.
17060 (lrint_upward_test_data): Test for "inexact" exceptions.
17061 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17062 test input.
17063 (llrint_test_data): Test for "inexact" exceptions.
17064 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17065 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17066 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17067 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17068 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17069 (llrint_downward_test_data): Test for "inexact" exceptions.
17070 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17071 (llrint_upward_test_data): Test for "inexact" exceptions.
17072 (logb_test_data): Likewise.
17073 (logb_downward_test_data): Likewise.
17074 (nextafter_test_data): Likewise.
17075 (nexttoward_test_data): Likewise.
17076 (remainder_test_data): Likewise.
17077 (remquo_test_data): Likewise.
17078 (scalbn_test_data): Likewise.
17079 (scalbln_test_data): Likewise.
17080 (signbit_test_data): Likewise.
17081 (sqrt_test_data): Likewise.
17082 (significand_test_data): Likewise.
17083
48a18de1
SP
170842013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17085
17086 [BZ #15424]
17087 * benchtests/bench-modf.c (struct args): Mark arg0 as
17088 volatile.
17089 * scripts/bench.pl: Mark members of struct args as volatile.
17090
13d3b41a
AZ
170912013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17092
68191c1d 17093 [BZ # 15497]
13d3b41a
AZ
17094 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17095 negative infinity on POWER6 or lower.
17096 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17097
2848b105
MR
170982013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17099
17100 [BZ #15442]
17101 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17102 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17103 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17104 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17105 (_FP_SETQNAN): New macro.
17106 (_FP_SETQNAN_SEMIRAW): Likewise.
17107 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17108 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17109 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17110 (FP_EXTEND): Use _FP_FRAC_SNANP.
17111 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17112 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17113 into account.
17114 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17115 New macro.
17116 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17117 Likewise.
17118
323e5cb7
JM
171192013-05-16 Joseph Myers <joseph@codesourcery.com>
17120
c58b274f
JM
17121 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17122 with DIVIDE_BY_ZERO_EXCEPTION.
17123 (gamma_test_data): Likewise.
17124 (lgamma_test_data): Likewise.
17125 (log_test_data): Likewise.
17126 (log10_test_data): Likewise.
17127 (log2_test_data): Likewise.
17128 (tgamma_test_data): Likewise.
17129
0ab34904
JM
17130 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17131 (acos_test_tonearest): Likewise.
17132 (acos_test_towardzero): Likewise.
17133 (acos_test_downward): Likewise.
17134 (acos_test_upward): Likewise.
17135 (acosh_test): Likewise.
17136 (asin_test): Likewise.
17137 (asin_test_tonearest): Likewise.
17138 (asin_test_towardzero): Likewise.
17139 (asin_test_downward): Likewise.
17140 (asin_test_upward): Likewise.
17141 (asinh_test): Likewise.
17142 (atan_test): Likewise.
17143 (atanh_test): Likewise.
17144 (atan2_test): Likewise.
17145 (cabs_test): Likewise.
17146 (cacos_test): Likewise.
17147 (cacosh_test): Likewise.
17148 (casin_test): Likewise.
17149 (casinh_test): Likewise.
17150 (catan_test): Likewise.
17151 (catanh_test): Likewise.
17152 (cbrt_test): Likewise.
17153 (ccos_test): Likewise.
17154 (ccosh_test): Likewise.
17155 (cexp_test): Likewise.
17156 (clog_test): Likewise.
17157 (clog10_test): Likewise.
17158 (cos_test): Likewise.
17159 (cos_test_tonearest): Likewise.
17160 (cos_test_towardzero): Likewise.
17161 (cos_test_downward): Likewise.
17162 (cos_test_upward): Likewise.
17163 (cosh_test): Likewise.
17164 (cosh_test_tonearest): Likewise.
17165 (cosh_test_towardzero): Likewise.
17166 (cosh_test_downward): Likewise.
17167 (cosh_test_upward): Likewise.
17168 (cpow_test): Likewise.
17169 (csin_test): Likewise.
17170 (csinh_test): Likewise.
17171 (csqrt_test): Likewise.
17172 (ctan_test): Likewise.
17173 (ctan_test_tonearest): Likewise.
17174 (ctan_test_towardzero): Likewise.
17175 (ctan_test_downward): Likewise.
17176 (ctan_test_upward): Likewise.
17177 (ctanh_test): Likewise.
17178 (ctanh_test_tonearest): Likewise.
17179 (ctanh_test_towardzero): Likewise.
17180 (ctanh_test_downward): Likewise.
17181 (ctanh_test_upward): Likewise.
17182 (erf_test): Likewise.
17183 (erfc_test): Likewise.
17184 (exp_test): Likewise.
17185 (exp_test_tonearest): Likewise.
17186 (exp_test_towardzero): Likewise.
17187 (exp_test_downward): Likewise.
17188 (exp_test_upward): Likewise.
17189 (exp10_test): Likewise.
17190 (exp2_test): Likewise.
17191 (expm1_test): Likewise.
17192 (fmod_test): Likewise.
17193 (gamma_test): Likewise.
17194 (hypot_test): Likewise.
17195 (j0_test): Likewise.
17196 (j1_test): Likewise.
17197 (jn_test): Likewise.
17198 (lgamma_test): Likewise.
17199 (log_test): Likewise.
17200 (log10_test): Likewise.
17201 (log1p_test): Likewise.
17202 (log2_test): Likewise.
17203 (logb_test_downward): Likewise.
17204 (pow_test): Likewise.
17205 (pow_test_tonearest): Likewise.
17206 (pow_test_towardzero): Likewise.
17207 (pow_test_downward): Likewise.
17208 (pow_test_upward): Likewise.
17209 (remainder_test): Likewise.
17210 (remquo_test): Likewise.
17211 (sin_test): Likewise.
17212 (sin_test_tonearest): Likewise.
17213 (sin_test_towardzero): Likewise.
17214 (sin_test_downward): Likewise.
17215 (sin_test_upward): Likewise.
17216 (sincos_test): Likewise.
17217 (sinh_test): Likewise.
17218 (sinh_test_tonearest): Likewise.
17219 (sinh_test_towardzero): Likewise.
17220 (sinh_test_downward): Likewise.
17221 (sinh_test_upward): Likewise.
17222 (sqrt_test): Likewise.
17223 (tan_test): Likewise.
17224 (tan_test_tonearest): Likewise.
17225 (tan_test_towardzero): Likewise.
17226 (tan_test_downward): Likewise.
17227 (tan_test_upward): Likewise.
17228 (tanh_test): Likewise.
17229 (tgamma_test): Likewise.
17230 (y0_test): Likewise.
17231 (y1_test): Likewise.
17232 (yn_test): Likewise.
17233
323e5cb7
JM
17234 * math/gen-libm-test.pl (adjust_arg): Remove function.
17235 (special_function): Remove argument $in_func. Only handle
17236 generating output for tables of tests, not inside functions.
17237 (parse_args): Likewise.
17238 (generate_testfile): Remove variable $in_func. Update call to
17239 parse_args.
17240 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17241 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17242 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17243 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17244 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17245 (MAX_VALUE_INIT): Rename macro to max_value.
17246 (MIN_VALUE_INIT): Rename macro to min_value.
17247 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17248 (plus_zero): Remove variable.
17249 (minus_zero): Likewise.
17250 (plus_infty): Likewise.
17251 (minus_infty): Likewise.
17252 (qnan_value): Likewise.
17253 (max_value): Likewise.
17254 (min_value): Likewise.
17255 (min_subnorm_value): Likewise.
17256
e054f494
RA
172572013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17258
17259 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17260 uint64_t or uint32_t usage.
17261 * crypt/sha256-block.c: Likewise.
17262 * crypt/sha256-crypt.c: Likewise.
17263 * crypt/sha256.c: Likewise.
17264 * crypt/sha512-block.c: Likewise.
17265 * crypt/sha512-crypt.c: Likewise.
17266 * crypt/sha512.c: Likewise.
17267 * debug/backtrace-tst.c: Likewise.
17268 * debug/pcprofiledump.c: Likewise.
17269 * elf/cache.c: Likewise.
17270 * elf/dl-cache.c: Likewise.
17271 * elf/dl-misc.c: Likewise.
17272 * elf/dl-profile.c: Likewise.
17273 * elf/dl-support.c: Likewise.
17274 * elf/ldconfig.c: Likewise.
17275 * elf/sprof.c: Likewise.
17276 * iconv/dummy-repertoire.c: Likewise.
17277 * iconv/iconv_charmap.c: Likewise.
17278 * iconv/skeleton.c: Likewise.
17279 * iconvdata/8bit-generic.c: Likewise.
17280 * iconvdata/cp737.h: Likewise.
17281 * iconvdata/cp775.h: Likewise.
17282 * iconvdata/ibm1008.h: Likewise.
17283 * iconvdata/ibm1025.h: Likewise.
17284 * iconvdata/ibm1046.h: Likewise.
17285 * iconvdata/ibm1097.h: Likewise.
17286 * iconvdata/ibm1112.h: Likewise.
17287 * iconvdata/ibm1122.h: Likewise.
17288 * iconvdata/ibm1123.h: Likewise.
17289 * iconvdata/ibm1124.h: Likewise.
17290 * iconvdata/ibm1129.h: Likewise.
17291 * iconvdata/ibm1130.h: Likewise.
17292 * iconvdata/ibm1132.h: Likewise.
17293 * iconvdata/ibm1133.h: Likewise.
17294 * iconvdata/ibm1137.h: Likewise.
17295 * iconvdata/ibm1140.h: Likewise.
17296 * iconvdata/ibm1141.h: Likewise.
17297 * iconvdata/ibm1142.h: Likewise.
17298 * iconvdata/ibm1143.h: Likewise.
17299 * iconvdata/ibm1144.h: Likewise.
17300 * iconvdata/ibm1145.h: Likewise.
17301 * iconvdata/ibm1146.h: Likewise.
17302 * iconvdata/ibm1147.h: Likewise.
17303 * iconvdata/ibm1148.h: Likewise.
17304 * iconvdata/ibm1149.h: Likewise.
17305 * iconvdata/ibm1153.h: Likewise.
17306 * iconvdata/ibm1154.h: Likewise.
17307 * iconvdata/ibm1155.h: Likewise.
17308 * iconvdata/ibm1156.h: Likewise.
17309 * iconvdata/ibm1157.h: Likewise.
17310 * iconvdata/ibm1158.h: Likewise.
17311 * iconvdata/ibm1160.h: Likewise.
17312 * iconvdata/ibm1161.h: Likewise.
17313 * iconvdata/ibm1162.h: Likewise.
17314 * iconvdata/ibm1163.h: Likewise.
17315 * iconvdata/ibm1164.h: Likewise.
17316 * iconvdata/ibm1166.h: Likewise.
17317 * iconvdata/ibm1167.h: Likewise.
17318 * iconvdata/ibm12712.h: Likewise.
17319 * iconvdata/ibm1390.h: Likewise.
17320 * iconvdata/ibm1399.h: Likewise.
17321 * iconvdata/ibm16804.h: Likewise.
17322 * iconvdata/ibm4517.h: Likewise.
17323 * iconvdata/ibm4899.h: Likewise.
17324 * iconvdata/ibm4909.h: Likewise.
17325 * iconvdata/ibm4971.h: Likewise.
17326 * iconvdata/ibm5347.h: Likewise.
17327 * iconvdata/ibm803.h: Likewise.
17328 * iconvdata/ibm856.h: Likewise.
17329 * iconvdata/ibm901.h: Likewise.
17330 * iconvdata/ibm902.h: Likewise.
17331 * iconvdata/ibm9030.h: Likewise.
17332 * iconvdata/ibm9066.h: Likewise.
17333 * iconvdata/ibm921.h: Likewise.
17334 * iconvdata/ibm922.h: Likewise.
17335 * iconvdata/ibm9448.h: Likewise.
17336 * iconvdata/isiri-3342.h: Likewise.
17337 * iconvdata/jis0201.h: Likewise.
17338 * include/link.h: Likewise.
17339 * include/netdb.h: Likewise.
17340 * inet/check_native.c: Likewise.
17341 * inet/check_pf.c: Likewise.
17342 * inet/getipv4sourcefilter.c: Likewise.
17343 * inet/getnameinfo.c: Likewise.
17344 * inet/getsourcefilter.c: Likewise.
17345 * inet/htonl.c: Likewise.
17346 * inet/setipv4sourcefilter.c: Likewise.
17347 * inet/setsourcefilter.c: Likewise.
17348 * inet/test-inet6_opt.c: Likewise.
17349 * inet/tst-network.c: Likewise.
17350 * locale/C-collate.c: Likewise.
17351 * locale/C-ctype.c: Likewise.
17352 * locale/C-time.c: Likewise.
17353 * locale/C-translit.h: Likewise.
17354 * locale/loadarchive.c: Likewise.
17355 * locale/programs/3level.h: Likewise.
17356 * locale/programs/charmap.c: Likewise.
17357 * locale/programs/charmap.h: Likewise.
17358 * locale/programs/ld-address.c: Likewise.
17359 * locale/programs/ld-collate.c: Likewise.
17360 * locale/programs/ld-ctype.c: Likewise.
17361 * locale/programs/ld-identification.c: Likewise.
17362 * locale/programs/ld-measurement.c: Likewise.
17363 * locale/programs/ld-messages.c: Likewise.
17364 * locale/programs/ld-monetary.c: Likewise.
17365 * locale/programs/ld-name.c: Likewise.
17366 * locale/programs/ld-numeric.c: Likewise.
17367 * locale/programs/ld-paper.c: Likewise.
17368 * locale/programs/ld-telephone.c: Likewise.
17369 * locale/programs/ld-time.c: Likewise.
17370 * locale/programs/linereader.c: Likewise.
17371 * locale/programs/locale.c: Likewise.
17372 * locale/programs/locarchive.c: Likewise.
17373 * locale/programs/locfile.h: Likewise.
17374 * locale/programs/repertoire.c: Likewise.
17375 * locale/programs/simple-hash.c: Likewise.
17376 * locale/programs/simple-hash.h: Likewise.
17377 * malloc/memusage.c: Likewise.
17378 * malloc/memusagestat.c: Likewise.
17379 * nis/nis_defaults.c: Likewise.
17380 * nis/nis_hash.c: Likewise.
17381 * nis/nis_print.c: Likewise.
17382 * nis/nis_xdr.c: Likewise.
17383 * nscd/connections.c: Likewise.
17384 * nscd/hstcache.c: Likewise.
17385 * nscd/nscd_gethst_r.c: Likewise.
17386 * nscd/nscd_getserv_r.c: Likewise.
17387 * nscd/nscd_helper.c: Likewise.
17388 * nscd/servicescache.c: Likewise.
17389 * nss/makedb.c: Likewise.
17390 * nss/nss_db/db-XXX.c: Likewise.
17391 * nss/nss_db/db-initgroups.c: Likewise.
17392 * nss/nss_db/db-netgrp.c: Likewise.
17393 * nss/nss_files/files-network.c: Likewise.
17394 * nss/nss_files/files-parse.c: Likewise.
17395 * posix/bug-regex5.c: Likewise.
17396 * posix/fnmatch_loop.c: Likewise.
17397 * posix/regcomp.c: Likewise.
17398 * posix/regexec.c: Likewise.
17399 * posix/tst-rfc3484-2.c: Likewise.
17400 * posix/tst-rfc3484-3.c: Likewise.
17401 * posix/tst-rfc3484.c: Likewise.
17402 * resolv/nss_dns/dns-canon.c: Likewise.
17403 * resolv/nss_dns/dns-network.c: Likewise.
17404 * resolv/res_init.c: Likewise.
17405 * resolv/res_mkquery.c: Likewise.
17406 * resolv/tst-aton.c: Likewise.
17407 * stdlib/cxa_atexit.c: Likewise.
17408 * stdlib/cxa_finalize.c: Likewise.
17409 * stdlib/gen-fpioconst.c: Likewise.
17410 * stdlib/strtol_l.c: Likewise.
17411 * string/tst-endian.c: Likewise.
17412 * sunrpc/auth_des.c: Likewise.
17413 * sunrpc/clnt_udp.c: Likewise.
17414 * sunrpc/rtime.c: Likewise.
17415 * sunrpc/svcauth_des.c: Likewise.
17416 * sunrpc/xdr.c: Likewise.
17417 * sunrpc/xdr_intXX_t.c: Likewise.
17418 * sunrpc/xdr_rec.c: Likewise.
17419 * sysdeps/generic/ldconfig.h: Likewise.
17420 * sysdeps/generic/ldsodefs.h: Likewise.
17421 * sysdeps/generic/memusage.h: Likewise.
17422 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17423 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17424 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17425 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17426 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17428 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17429 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17430 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17431 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17432 * sysdeps/posix/getaddrinfo.c: Likewise.
17433 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17434 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17435 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17436 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17437 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17438 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17439 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17440 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17441 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17442 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17443 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17444 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17445 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17446 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17447 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17448 * sysdeps/x86_64/dl-tls.h: Likewise.
17449 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17450 * time/alt_digit.c: Likewise.
17451 * time/era.c: Likewise.
17452 * wcsmbs/tst-c16c32-1.c: Likewise.
17453
8c75f674
JM
174542013-05-16 Joseph Myers <joseph@codesourcery.com>
17455
17456 * math/libm-test.inc (struct test_sincos_data): New type.
17457 (RUN_TEST_LOOP_sincos): New macro.
17458 (sincos_test_data): New variable.
17459 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17460
e6e49e59
RH
174612013-05-16 Richard Henderson <rth@redhat.com>
17462
17463 * math/atest-exp2.c (LIMB64): New macro.
17464 (CONSTSZ): New macro.
17465 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17466 (hexdig): Move ...
17467 (print_mpn_fp): ... to function scope.
17468 (read_mpn_hex): Remove.
17469 (get_log2): Remove.
17470 (exp2_mpn): Use mp_log2.
17471 (main): Use mp_exp1.
17472
15c7c18d
JM
174732013-05-16 Joseph Myers <joseph@codesourcery.com>
17474
105a07df
JM
17475 * math/libm-test.inc: Remove comment about not testing "inexact"
17476 exceptions.
17477 (INEXACT_EXCEPTION): New macro.
17478 (NO_INEXACT_EXCEPTION): Likewise.
17479 (INVALID_EXCEPTION_OK): Update value.
17480 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17481 (OVERFLOW_EXCEPTION_OK): Likewise.
17482 (UNDERFLOW_EXCEPTION_OK): Likewise.
17483 (IGNORE_ZERO_INF_SIGN): Likewise.
17484 (ERRNO_UNCHANGED): Likewise.
17485 (ERRNO_EDOM): Likewise.
17486 (ERRNO_ERANGE): Likewise.
17487 (test_exceptions): Handle testing "inexact" exceptions.
17488 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17489 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17490 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17491 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17492 INEXACT_EXCEPTION.
17493 (rint_towardzero_test_data): Likewise.
17494 (rint_downward_test_data): Likewise.
17495 (rint_upward_test_data): Likewise.
17496
e9eee333
JM
17497 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17498 with OVERFLOW_EXCEPTION.
17499 (exp10_test_data): Likewise.
17500 (exp2_test_data): Likewise.
17501 (expm1_test_data): Likewise.
17502 (lgamma_test_data): Likewise.
17503 (pow_test_data): Likewise.
17504 (tgamma_test_data): Likewise.
17505 (yn_test_data): Remove duplicate test of overflow.
17506
1c38ff73
JM
17507 * math/libm-test.inc (struct test_cc_c_data): New type.
17508 (RUN_TEST_LOOP_cc_c): New macro.
17509 (cpow_test_data): New variable.
17510 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17511
15c7c18d
JM
17512 * math/libm-test.inc (struct test_f_L_data): New type.
17513 (RUN_TEST_LOOP_f_L): New macro.
17514 (llrint_test_data): New variable.
17515 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17516 (llrint_tonearest_test_data): New variable.
17517 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17518 (llrint_towardzero_test_data): New variable.
17519 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17520 (llrint_downward_test_data): New variable.
17521 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17522 (llrint_upward_test_data): New variable.
17523 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17524 (llround_test_data): New variable.
17525 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17526
f137ff13
PC
175272013-05-13 Peter Collingbourne <pcc@google.com>
17528
17529 * math/atest-exp2.c (get_log2): Remove const attribute.
17530
3608cb24
JM
175312013-05-15 Joseph Myers <joseph@codesourcery.com>
17532
17533 * math/libm-test.inc (struct test_f_l_data): New type.
17534 (RUN_TEST_LOOP_f_l): New macro.
17535 (lrint_test_data): New variable.
17536 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17537 (lrint_tonearest_test_data): New variable.
17538 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17539 (lrint_towardzero_test_data): New variable.
17540 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17541 (lrint_downward_test_data): New variable.
17542 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17543 (lrint_upward_test_data): New variable.
17544 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17545 (lround_test_data): New variable.
17546 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17547
39b1f617
PC
175482013-05-15 Peter Collingbourne <pcc@google.com>
17549
1deff3dc
PC
17550 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17551 (EXTRACT_WORDS64) Use where appropriate.
17552 (INSERT_WORDS64) Likewise.
17553
791f3ba0
PC
17554 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17555 constraints with x constraints.
17556 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17557
39b1f617
PC
17558 * malloc/obstack.c (_obstack_compat): Add initializer.
17559
12fba011
EM
175602013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17561
17562 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17563 si_trapno and add si_addr_lsb to _sifields.sigfault.
17564 (si_trapno): Remove macro.
17565 (si_addr_lsb): Define new macro.
17566 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17567
d369f531
JM
175682013-05-15 Joseph Myers <joseph@codesourcery.com>
17569
b861c6c4
JM
17570 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17571 instead of TEST_f_l.
17572 (llrint_test_tonearest): Likewise.
17573 (llrint_test_towardzero): Likewise.
17574 (llrint_test_downward): Likewise.
17575 (llrint_test_upward): Likewise.
17576 (llround_test): Likewise.
17577
7abeee12
JM
17578 * math/libm-test.inc (struct test_f_i_data): Add comment.
17579 (RUN_TEST_LOOP_f_b): New macro.
17580 (RUN_TEST_LOOP_f_b_tg): Likewise.
17581 (finite_test_data): New variable.
17582 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17583 (isfinite_test_data): New variable.
17584 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17585 (isinf_test_data): New variable.
17586 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17587 (isnan_test_data): New variable.
17588 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17589 (isnormal_test_data): New variable.
17590 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17591 (issignaling_test_data): New variable.
17592 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17593 (signbit_test_data): New variable.
17594 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17595
cbe8c4d3
JM
17596 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17597 with INVALID_EXCEPTION.
17598 (acosh_test_data): Likewise.
17599 (asin_test_data): Likewise.
17600 (atanh_test_data): Likewise.
17601 (fmod_test_data): Likewise.
17602 (log_test_data): Likewise.
17603 (log10_test_data): Likewise.
17604 (log2_test_data): Likewise.
17605 (pow_test_data): Likewise.
17606 (sqrt_test_data): Likewise.
17607 (y0_test_data): Likewise.
17608 (y1_test_data): Likewise.
17609 (yn_test_data): Likewise.
17610
5575c0e5
JM
17611 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17612 function contents.
17613
d369f531
JM
17614 * math/libm-test.inc (struct test_ff_i_data): New type.
17615 (RUN_TEST_LOOP_ff_i_tg): New macro.
17616 (isgreater_test_data): New variable.
17617 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17618 (isgreaterequal_test_data): New variable.
17619 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17620 (isless_test_data): New variable.
17621 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17622 (islessequal_test_data): New variable.
17623 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17624 (islessgreater_test_data): New variable.
17625 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17626 (isunordered_test_data): New variable.
17627 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17628
781fd748
DM
176292013-05-14 David S. Miller <davem@davemloft.net>
17630
17631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17632
87aa21df
JM
176332013-05-14 Joseph Myers <joseph@codesourcery.com>
17634
5e908270
JM
17635 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17636
f71172e5
JM
17637 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17638 extra_test to int.
17639 (struct test_f_i_data): Change type of max_ulp to int.
17640
8cfa635a
JM
17641 * math/libm-test.inc (test_ffI_f1_data): New type.
17642 (RUN_TEST_LOOP_ffI_f1): New macro.
17643 (remquo_test_data): New variable.
17644 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17645
2bcb36b2
JM
17646 * setjmp/tst-setjmp-fp.c: New file.
17647 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17648 (link-libm): New variable.
17649 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17650
acbd839a
JM
17651 * math/libm-test.inc (struct test_f_i_data): New type.
17652 (RUN_TEST_LOOP_f_i): New macro.
17653 (RUN_TEST_LOOP_f_i_tg): Likewise.
17654 (fpclassify_test_data): New variable.
17655 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17656 (ilogb_test_data): New variable.
17657 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17658
e414d745
JM
17659 * math/libm-test.inc (scalbln_test): Correct function name in END
17660 call.
17661
d9c2a0fd
JM
17662 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17663 (RUN_TEST_LOOP_fI_f1): New macro.
17664 (frexp_test_data): New variable.
17665 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17666
9dc9095d
JM
17667 * math/libm-test.inc (struct test_fF_f1_data): New type.
17668 (RUN_TEST_LOOP_fF_f1): New macro.
17669 (modf_test_data): New variable.
17670 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17671
87aa21df
JM
17672 * math/libm-test.inc (struct test_f_f1_data): New type.
17673 (RUN_TEST_LOOP_f_f1): New macro.
17674 (gamma_test_data): New variable.
17675 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17676 (lgamma_test_data): New variable.
17677 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17678
141af660
CD
176792013-05-13 Carlos O'Donell <carlos@redhat.com>
17680
17681 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17682 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17683 (main): Comment "tls" pseudo-hwcap.
17684
6d33265c
JM
176852013-05-13 Joseph Myers <joseph@codesourcery.com>
17686
68fc074c
JM
17687 * math/libm-test.inc (struct test_fl_f_data): New type.
17688 (RUN_TEST_LOOP_fl_f): New variable.
17689 (scalbln_test_data): New variable.
17690 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17691
243216e1
JM
17692 * math/libm-test.inc (struct test_fi_f_data): New type.
17693 (RUN_TEST_LOOP_fi_f): New macro.
17694 (ldexp_test_data): New variable.
17695 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17696 (scalbn_test_data): New variable.
17697 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17698
6a1992e2
JM
17699 * math/libm-test.inc (struct test_c_f_data): New type.
17700 (RUN_TEST_LOOP_c_f): New macro.
17701 (cabs_test_data): New variable.
17702 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17703 (carg_test_data): New variable.
17704 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17705 (cimag_test_data): New variable.
17706 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17707 (creal_test_data): New variable.
17708 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17709
0e400df5
JM
17710 * math/libm-test.inc (struct test_if_f_data): New type.
17711 (RUN_TEST_LOOP_if_f): New macro.
17712 (jn_test_data): New variable.
17713 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17714 (yn_test_data): New variable.
17715 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17716
6d33265c
JM
17717 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17718
f98ece5f
AZ
177192013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17720
17721 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17722 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17723
0f7d347b
SP
177242013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17725
43fe811b
SP
17726 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17727 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17728 (bench-deps): Add bench-timing.h.
17729 * benchtests-bench-skeleton.c: Include bench-timing.h.
17730 (main): Use TIMING_* macros instead of clock_gettime.
17731 * benchtests/bench-timing.h: New file.
17732
0f7d347b
SP
17733 [BZ #14582]
17734 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17735 Renamed from _LIB_VERSION.
17736 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17737
601a3a5f
JM
177382013-05-12 Joseph Myers <joseph@codesourcery.com>
17739
4f184d30
JM
17740 * math/libm-test.inc (struct test_fff_f_data): New type.
17741 (RUN_TEST_LOOP_fff_f): New macro.
17742 (fma_test_data): New variable.
17743 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17744 (fma_towardzero_test_data): New variable.
17745 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17746 (fma_downward_test_data): New variable.
17747 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17748 (fma_upward_test_data): New variable.
17749 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17750
08198877
JM
17751 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17752 (struct test_c_c_data): New type.
17753 (RUN_TEST_LOOP_c_c): New macro.
17754 (cacos_test_data): New variable.
17755 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17756 (cacosh_test_data): New variable.
17757 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17758 (casin_test_data): New variable.
17759 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17760 (casinh_test_data): New variable.
17761 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17762 (catan_test_data): New variable.
17763 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17764 (catanh_test_data): New variable.
17765 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17766 (ccos_test_data): New variable.
17767 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17768 (ccosh_test_data): New variable.
17769 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17770 (cexp_test_data): New variable.
17771 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17772 (clog_test_data): New variable.
17773 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17774 (clog10_test_data): New variable.
17775 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17776 (conj_test_data): New variable.
17777 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17778 (cproj_test_data): New variable.
17779 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17780 (csin_test_data): New variable.
17781 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17782 (csinh_test_data): New variable.
17783 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17784 (csqrt_test_data): New variable.
17785 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17786 (ctan_test_data): New variable.
17787 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17788 (ctan_tonearest_test_data): New variable.
17789 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17790 (ctan_towardzero_test_data): New variable.
17791 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17792 (ctan_downward_test_data): New variable.
17793 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17794 (ctan_upward_test_data): New variable.
17795 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17796 (ctanh_test_data): New variable.
17797 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17798 (ctanh_tonearest_test_data): New variable.
17799 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17800 (ctanh_towardzero_test_data): New variable.
17801 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17802 (ctanh_downward_test_data): New variable.
17803 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17804 (ctanh_upward_test_data): New variable.
17805 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17806 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17807 of BUILD_COMPLEX.
17808
601a3a5f
JM
17809 * math/libm-test.inc (struct test_ff_f_data): New type.
17810 (struct test_ff_f_data_nexttoward): Likewise.
17811 (RUN_TEST_LOOP_2_f): New macro.
17812 (RUN_TEST_LOOP_ff_f): Likewise.
17813 (atan2_test_data): New variable.
17814 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17815 (copysign_test_data): New variable.
17816 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17817 (fdim_test_data): New variable.
17818 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17819 (fmax_test_data): New variable.
17820 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17821 (fmin_test_data): New variable.
17822 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17823 (fmod_test_data): New variable.
17824 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17825 (hypot_test_data): New variable.
17826 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17827 (nextafter_test_data): New variable.
17828 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17829 (nexttoward_test_data): New variable.
17830 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17831 (pow_test_data): New variable.
17832 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17833 (pow_tonearest_test_data): New variable.
17834 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17835 (pow_towardzero_test_data): New variable.
17836 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17837 (pow_downward_test_data): New variable.
17838 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17839 (pow_upward_test_data): New variable.
17840 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17841 (remainder_test_data): New variable.
17842 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17843 (scalb_test_data): New variable.
17844 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17845 * sysdeps/i386/fpu/libm-test-ulps: Update.
17846
74c57478
JM
178472013-05-11 Joseph Myers <joseph@codesourcery.com>
17848
8329e4da
JM
17849 * math/libm-test.inc (fma_test): Use max_value instead of local
17850 variable fltmax.
17851 (nextafter_test): Likewise.
17852
74c57478
JM
17853 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17854 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17855 (acos_downward_test_data): New variable.
17856 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17857 (acos_upward_test_data): New variable.
17858 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17859 (acosh_test_data): New variable.
17860 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17861 (asin_test_data): New variable.
17862 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17863 (asin_tonearest_test_data): New variable.
17864 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17865 (asin_towardzero_test_data): New variable.
17866 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17867 (asin_downward_test_data): New variable.
17868 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17869 (asin_upward_test_data): New variable.
17870 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17871 (asinh_test_data): New variable.
17872 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17873 (atan_test_data): New variable.
17874 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17875 (atanh_test_data): New variable.
17876 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17877 (cbrt_test_data): New variable.
17878 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17879 (ceil_test_data): New variable.
17880 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17881 (cos_test_data): New variable.
17882 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17883 (cos_tonearest_test_data): New variable.
17884 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17885 (cos_towardzero_test_data): New variable.
17886 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17887 (cos_downward_test_data): New variable.
17888 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17889 (cos_upward_test_data): New variable.
17890 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17891 (cosh_test_data): New variable.
17892 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17893 (cosh_tonearest_test_data): New variable.
17894 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17895 (cosh_towardzero_test_data): New variable.
17896 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17897 (cosh_downward_test_data): New variable.
17898 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17899 (cosh_upward_test_data): New variable.
17900 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17901 (erf_test_data): New variable.
17902 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17903 (erfc_test_data): New variable.
17904 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17905 (exp_test_data): New variable.
17906 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17907 (exp_tonearest_test_data): New variable.
17908 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17909 (exp_towardzero_test_data): New variable.
17910 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17911 (exp_downward_test_data): New variable.
17912 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17913 (exp_upward_test_data): New variable.
17914 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17915 (exp10_test_data): New variable.
17916 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17917 (exp2_test_data): New variable.
17918 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17919 (expm1_test_data): New variable.
17920 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17921 (fabs_test_data): New variable.
17922 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17923 (floor_test_data): New variable.
17924 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17925 (j0_test_data): New variable.
17926 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17927 (j1_test_data): New variable.
17928 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17929 (log_test_data): New variable.
17930 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17931 (log10_test_data): New variable.
17932 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17933 (log1p_test_data): New variable.
17934 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17935 (log2_test_data): New variable.
17936 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17937 (logb_test_data): New variable.
17938 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17939 (logb_downward_test_data): New variable.
17940 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17941 (nearbyint_test_data): New variable.
17942 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17943 (rint_test_data): New variable.
17944 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17945 (rint_tonearest_test_data): New variable.
17946 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17947 (rint_towardzero_test_data): New variable.
17948 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17949 (rint_downward_test_data): New variable.
17950 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17951 (rint_upward_test_data): New variable.
17952 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17953 (round_test_data): New variable.
17954 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17955 (sin_test_data): New variable.
17956 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17957 (sin_tonearest_test_data): New variable.
17958 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17959 (sin_towardzero_test_data): New variable.
17960 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17961 (sin_downward_test_data): New variable.
17962 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17963 (sin_upward_test_data): New variable.
17964 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17965 (sinh_test_data): New variable.
17966 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17967 (sinh_tonearest_test_data): New variable.
17968 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17969 (sinh_towardzero_test_data): New variable.
17970 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17971 (sinh_downward_test_data): New variable.
17972 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17973 (sinh_upward_test_data): New variable.
17974 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17975 (sqrt_test_data): New variable.
17976 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17977 (tan_test_data): New variable.
17978 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17979 (tan_tonearest_test_data): New variable.
17980 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17981 (tan_towardzero_test_data): New variable.
17982 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17983 (tan_downward_test_data): New variable.
17984 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17985 (tan_upward_test_data): New variable.
17986 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17987 (tanh_test_data): New variable.
17988 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17989 (tgamma_test_data): New variable.
17990 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17991 (trunc_test_data): New variable.
17992 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17993 (y0_test_data): New variable.
17994 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17995 (y1_test_data): New variable.
17996 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17997 (significand_test_data): New variable.
17998 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17999
7187d844
CG
180002013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18001
18002 [BZ #12387]
18003 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18004
f63fae73
PT
180052013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18006
18007 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18008
8a67a4b3
AJ
180092013-05-10 Andreas Jaeger <aj@suse.de>
18010
18011 [BZ #15448]
18012 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18013 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18014
51df539d
JM
180152013-05-10 Joseph Myers <joseph@codesourcery.com>
18016
18017 * math/gen-libm-test.pl (adjust_arg): New function.
18018 (special_functions): Handle generating output in both functions
18019 and arrays.
18020 (parse_args): Likewise.
18021 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18022 $in_func argument to parse_args.
18023 * math/libm-test.inc (struct test_f_f_data): New type.
18024 (IF_ROUND_INIT_): New macro.
18025 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18026 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18027 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18028 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18029 (ROUND_RESTORE_): Likewise.
18030 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18031 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18032 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18033 (ROUND_RESTORE_FE_UPWARD): Likewise.
18034 (RUN_TEST_LOOP_f_f): New macro.
18035 (acos_test_data): New variable.
18036 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18037 (acos_tonearest_test_data): New variable.
18038 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18039
5c637fe5
SP
180402013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18041
18042 * benchtests/bench-skeleton.c (startup): Fix coding style.
18043
ab2b9461
JM
180442013-05-10 Joseph Myers <joseph@codesourcery.com>
18045
18046 [BZ #6809]
18047 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18048 negative infinity argument.
18049 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18050 negative infinity argument.
18051 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18052 negative infinity argument.
18053 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18054 domain errors.
18055
4c0fe6fe
FW
180562013-05-10 Florian Weimer <fweimer@redhat.com>
18057
18058 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18059 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18060 * iconv/iconv_prog.c (main): Likewise.
18061 * locale/programs/charmap-dir.c (charmap_readdir)
18062 (fopen_uncompressed): Likewise.
18063 * locale/programs/locfile.c (siblings_uncached)
18064 (write_locale_data): Use lstat64 instead of lstat.
18065 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18066 stat.
18067
a3375d29
AJ
180682013-05-10 Andreas Jaeger <aj@suse.de>
18069
18070 [BZ #15395]
18071 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18072 localization.
18073 Include <locale.h>.
18074
36129722
CD
180752013-05-09 Carlos O'Donell <carlos@redhat.com>
18076
18077 * elf/dl-close.c (_dl_close_worker): Add comments.
18078
faa7f811
JM
180792013-05-09 Joseph Myers <joseph@codesourcery.com>
18080
ed41ffef
JM
18081 [BZ #15359]
18082 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18083 high part of pi/2.
18084 (__ieee754_rem_pio2l): Update comments.
18085
d0213cd0
JM
18086 [BZ #15429]
18087 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18088 high part of pi/2.
18089 (__ieee754_rem_pio2l): Update comments.
18090
0d3e777a
JM
18091 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18092 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18093
24f56066
JM
18094 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18095 M_PI_4l.
18096
faa7f811
JM
18097 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18098 (M_PI_34_LOG10El): Likewise.
18099 (M_PI2_LOG10El): Likewise.
18100 (M_PI4_LOG10El): Likewise.
18101 (M_PI_LOG10El): Likewise.
18102
e9a5e0fd
AZ
181032013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18104
18105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18106
d8cd06db
JM
181072013-05-08 Joseph Myers <joseph@codesourcery.com>
18108
a0d9f9d7
JM
18109 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18110 (MINUS_ZERO_INIT): Likewise.
18111 (PLUS_INFTY_INIT): Likewise.
18112 (MINUS_INFTY_INIT): Likewise.
18113 (QNAN_VALUE_INIT): Likewise.
18114 (MAX_VALUE_INIT): Likewise.
18115 (MIN_VALUE_INIT): Likewise.
18116 (MIN_SUBNORM_VALUE_INIT): Likewise.
18117 (plus_zero): Initialize with PLUS_ZERO_INIT.
18118 (minus_zero): Initialize with MINUS_ZERO_INIT.
18119 (plus_infty): Initialize with PLUS_INFTY_INIT.
18120 (minus_infty): Initialize with MINUS_INFTY_INIT.
18121 (qnan_value): Initialize with QNAN_VALUE_INIT.
18122 (max_value): Initialize with MAX_VALUE_INIT.
18123 (min_value): Initialize with MIN_VALUE_INIT.
18124 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18125
ae08db3b
JM
18126 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18127 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18128 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18129 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18130
f44bf14a
JM
18131 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18132 (RUN_TEST_2_f): Likewise.
18133 (RUN_TEST_ff_f): Likewise.
18134 (RUN_TEST_fi_f): Likewise.
18135 (RUN_TEST_fl_f): Likewise.
18136 (RUN_TEST_fff_f): Likewise.
18137 (RUN_TEST_c_f): Likewise.
18138 (RUN_TEST_f_f1): Likewise.
18139 (RUN_TEST_fF_f1): Likewise.
18140 (RUN_TEST_fI_f1): Likewise.
18141 (RUN_TEST_ffI_f1): Likewise.
18142 (RUN_TEST_c_c): Likewise.
18143 (RUN_TEST_cc_c): Likewise.
18144 (RUN_TEST_f_i): Likewise.
18145 (RUN_TEST_f_i_tg): Likewise.
18146 (RUN_TEST_ff_i_tg): Likewise.
18147 (RUN_TEST_f_b): Likewise.
18148 (RUN_TEST_f_b_tg): Likewise.
18149 (RUN_TEST_f_l): Likewise.
18150 (RUN_TEST_f_L): Likewise.
18151 (RUN_TEST_sincos): Likewise.
18152 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18153 whether to show exceptions. Do not include ");\n" in return
18154 value.
18155 (special_functions): Output call to RUN_TEST_sincos instead of
18156 check_float calls. Update calls to new_test.
18157 (parse_args): Output call to single RUN_TEST_* macro instead of
18158 check_* calls and other assignments. Update calls to new_test.
18159
d8cd06db
JM
18160 [BZ #2546]
18161 [BZ #2560]
18162 [BZ #5159]
18163 [BZ #15426]
18164 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18165 input to result for tgamma overflow.
18166 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18167 (gamma_coeff): New variable.
18168 (NCOEFF): New macro.
18169 (gamma_positive): New function.
18170 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18171 underflow here. Use gamma_positive instead of exp (lgamma) for
18172 other arguments.
18173 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18174 (gamma_coeff): New variable.
18175 (NCOEFF): New macro.
18176 (gammaf_positive): New function.
18177 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18178 underflow here. Use gamma_positive instead of exp (lgamma) for
18179 other arguments.
18180 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18181 (gamma_coeff): New variable.
18182 (NCOEFF): New macro.
18183 (gammal_positive): New function.
18184 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18185 underflow here. Use gamma_positive instead of exp (lgamma) for
18186 other arguments.
18187 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18188 (gamma_coeff): New variable.
18189 (NCOEFF): New macro.
18190 (gammal_positive): New function.
18191 (__ieee754_gammal_r): Handle positive infinity, overflow and
18192 underflow here. Handle NaN the same as positive infinity. Remove
18193 check x < 0xffffffff for negative integers. Use gamma_positive
18194 instead of exp (lgamma) for other arguments.
18195 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18196 (gamma_coeff): New variable.
18197 (NCOEFF): New macro.
18198 (gammal_positive): New function.
18199 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18200 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18203 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18204 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18205 * sysdeps/generic/math_private.h (__gamma_productf): New
18206 prototype.
18207 (__gamma_product): Likewise.
18208 (__gamma_productl): Likewise.
18209 * math/Makefile (libm-calls): Add gamma_product.
18210 * math/libm-test.inc (tgamma_test): Add more tests.
18211 * sysdeps/i386/fpu/libm-test-ulps: Update.
18212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18213
bb7cf681
OB
182142013-05-08 Ondřej Bílka <neleai@seznam.cz>
18215
18216 * benchtests/bench-skeleton.c (main): Preheat CPU.
18217
ba853947
AJ
182182013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18219
18220 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18221
8347c74c
RM
182222013-05-07 Roland McGrath <roland@hack.frob.com>
18223
18224 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18225 and _dl_skip_args_internal.
18226
e8dd4791
CD
182272013-05-07 Carlos O'Donell <carlos@redhat.com>
18228
18229 * manual/message.texi (Message Translation): Talk about users.
18230 Message to key mapping impacts design.
18231
c7405830
RM
182322013-05-06 Roland McGrath <roland@hack.frob.com>
18233
a9173057
RM
18234 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18235
976e2f03
RM
18236 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18237
9723ffc5
RM
18238 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18239 * sysdeps/wordsize-64/glob64.c: ... here.
18240
962e6658
RM
18241 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18242 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18243 New macros.
18244
ee586a6d
RM
18245 * debug/getlogin_r_chk.c: Moved to ...
18246 * login/getlogin_r_chk.c: ... here.
18247 * debug/Makefile (routines): Move getlogin_r_chk to ...
18248 * login/Makefile (routines): ... here.
18249 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18250 * login/Versions (libc: GLIBC_2.4): ... here.
18251
355f9165
RM
18252 * io/poll.c (__poll): Renamed from poll.
18253 Add libc_hidden_def.
18254 (poll): Define as weak alias.
18255
bd9ffde6
RM
18256 * debug/ptsname_r_chk.c: Moved to ...
18257 * login/ptsname_r_chk.c: ... here.
18258 * debug/Makefile (routines): Move ptsname_r_chk to ...
18259 * login/Makefile (routines): ... here.
18260 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18261 * login/Versions (libc: GLIBC_2.4): ... here.
18262
8fb16a04
RM
18263 * posix/getlogin.c: Moved to ...
18264 * login/getlogin.c: ... here.
18265 * posix/getlogin_r.c: Moved to ...
18266 * login/getlogin_r.c: ... here.
18267 * posix/getlogin_r.c: Moved to ...
18268 * login/getlogin_r.c: ... here.
18269 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18270 * login/Makefile (routines): ... here.
18271 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18272 * login/Versions (libc: GLIBC_2.0): ... here.
18273
b99b892f
RM
18274 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18275 (setrlimit): Define as weak alias.
18276
c7405830
RM
18277 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18278 Call __ names for open, ftruncate, and close.
18279 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18280 (truncate): Define as weak alias.
18281
5bf96de5
JM
182822013-05-06 Joseph Myers <joseph@codesourcery.com>
18283
9ea3513c
JM
18284 * math/gen-libm-test.pl (parse_args): Initialize x before each
18285 test of frexp, modf and remquo.
18286
5bf96de5
JM
18287 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18288 test signgam value.
18289
16e616a7
AZ
182902013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18291
18292 [BZ #15418]
18293 [BZ #15419]
18294 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18295 internal tests.
18296 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18297
d5e82754
RM
182982013-05-06 Roland McGrath <roland@hack.frob.com>
18299
18300 * elf/dl-writev.h: New file.
18301 * elf/dl-misc.c: Include it.
18302 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18303 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18304
a7548d41
JM
183052013-05-04 Joseph Myers <joseph@codesourcery.com>
18306
b7dab1e4
JM
18307 * math/libm-test.inc (noXFails): Remove variable.
18308 (noXPasses): Likewise.
18309 (BUILD_COMPLEX_INT): Remove macro.
18310 (print_screen): Remove xfail argument.
18311 (print_screen_max_error): Likewise.
18312 (update_stats): Likewise.
18313 (print_max_error): Likewise. Update calls to other affected
18314 functions.
18315 (print_complex_max_error): Likewise.
18316 (test_single_exception): Update calls to print_screen.
18317 (test_single_errno): Likewise.
18318 (check_float_internal): Remove xfail argument. Update calls to
18319 other affected functions.
18320 (check_float): Likewise.
18321 (check_complex): Likewise.
18322 (check_int): Likewise.
18323 (check_long): Likewise.
18324 (check_bool): Likewise.
18325 (check_longlong): Likewise.
18326 (main): Don't print noXFails and noXPasses.
18327 * math/gen-libm-test.pl (top level): Don't mention expected
18328 failure handling in comment.
18329 (new_test): Don't handle expected failures.
18330 (parse_args): Don't mention expected failure handling in comment.
18331 (generate_testfile): Don't handle expected failures.
18332 (parse_ulps): Likewise.
18333 (print_ulps_file): Likewise.
18334 (get_failure): Remove function.
18335 (output_test): Don't handle expected failures.
18336 * make/README.libm-test: Don't mention expected failure handling.
18337
a7548d41
JM
18338 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18339 (minus_zero): Likewise.
18340 (plus_infty): Likewise.
18341 (minus_infty): Likewise.
18342 (qnan_value): Likewise.
18343 (max_value): Likewise.
18344 (min_value): Likewise.
18345 (min_subnorm_value): Likewise.
18346 (initialize): Do not initialize those variables dynamically.
18347
60bfd54c
RM
183482013-05-03 Roland McGrath <roland@hack.frob.com>
18349
cc0e6ed8
RM
18350 * io/open.c (__open_2): Moved to ...
18351 * io/open_2.c: ... this new file.
18352 * io/open64.c (__open64_2): Moved to ...
18353 * io/open64_2.c: ... this new file.
18354 * io/openat.c (__openat_2): Moved to ...
18355 * io/openat_2.c: ... this new file.
18356 * io/openat64.c (__openat64_2): Moved to ...
18357 * io/openat64_2.c: ... this new file.
18358 * io/Makefile (routines): Add them.
18359 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18360 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18361 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18362 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18363 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18364 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18365 (__openat64): Add hidden_ver.
18366 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18367 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18368
60bfd54c
RM
18369 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18370 Separately conditionalize setting of GLRO(dl_sysinfo) so
18371 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18372 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18373
83e7640f
AZ
183742013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18375
18376 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18377 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18378 definition.
18379 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18380 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18381 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18382 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18383 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18384
d5dc2af3
JM
183852013-05-03 Joseph Myers <joseph@codesourcery.com>
18386
c31a5b1e
JM
18387 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18388 test signgam value.
18389
d5dc2af3
JM
18390 * math/libm-test.inc (hypot_test): Do not use
18391 IGNORE_ZERO_INF_SIGN.
18392
164fd39d
AJ
183932013-05-03 Andreas Jaeger <aj@suse.de>
18394
18395 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18396 Linux 3.9.
18397 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18398 (PF_MAX): Adjust for VSOCK change.
18399
8237f48c
AZ
184002013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18401
18402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18403
9df02941
CD
184042013-05-02 Carlos O'Donell <carlos@redhat.com>
18405
18406 [BZ #15264]
18407 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18408 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18409 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18410
d422395e
DM
184112013-05-02 David S. Miller <davem@davemloft.net>
18412
18413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18414
a07c5731
OB
184152013-05-01 Ondřej Bílka <neleai@seznam.cz>
18416
18417 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18418
1324e37f
RM
184192013-05-01 Roland McGrath <roland@hack.frob.com>
18420
18421 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18422
0695940b
RS
184232013-05-01 Richard Smith <richard@metafoo.co.uk>
18424
bb5f27ad 18425 [BZ #14952]
0695940b
RS
18426 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18427 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18428 Use __attribute__ ((__gnu_inline__)).
18429 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18430 Don't use __attribute__ ((__gnu_inline__)).
18431
10de07f5
JM
184322013-05-01 Joseph Myers <joseph@codesourcery.com>
18433
18434 [BZ #15423]
18435 * math/s_catan.c (__catan): Handle small real or imaginary part of
18436 input specially to avoid spurious underflow.
18437 * math/s_catanf.c (__catanf): Likewise.
18438 * math/s_catanh.c (__catanh): Likewise.
18439 * math/s_catanhf.c (__catanhf): Likewise.
18440 * math/s_catanhl.c (__catanhl): Likewise.
18441 * math/s_catanl.c (__catanl): Likewise.
18442 * math/libm-test.inc (catan_test): Add more tests.
18443 (catanh_test): Likewise.
18444 * sysdeps/i386/fpu/libm-test-ulps: Update.
18445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18446
cb4d5414
AZ
184472013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18448
18449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18450
caf84319
JM
184512013-04-30 Joseph Myers <joseph@codesourcery.com>
18452
18453 [BZ #15416]
18454 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18455 accurately for denominator in atan2.
18456 * math/s_catanf.c (__catanf): Likewise.
18457 * math/s_catanh.c (__catanh): Likewise.
18458 * math/s_catanhf.c (__catanhf): Likewise.
18459 * math/s_catanhl.c (__catanhl): Likewise.
18460 * math/s_catanl.c (__catanl): Likewise.
18461 * math/libm-test.inc (catan_test): Add more tests.
18462 (catanh_test): Likewise.
18463 * sysdeps/i386/fpu/libm-test-ulps: Update.
18464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18465
d569c6ee
SP
184662013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18467
6dbe713d
SP
18468 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18469
f0ee064b
SP
18470 * benchtests/Makefile (bench): Remove slow benchmarks.
18471 * benchtests/atan-inputs: Add slow benchmark inputs.
18472 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18473 (BENCH_FUNC): Accept variant offset.
18474 (VARIANT): Define.
18475 * benchtests/bench-skeleton.c (main): Run benchmark for each
18476 variant.
18477 * benchtests/cos-inputs: Add slow benchmark inputs.
18478 * benchtests/exp-inputs: Likewise.
18479 * benchtests/pow-inputs: Likewise.
18480 * benchtests/sin-inputs: Likewise.
18481 * benchtests/slowatan-inputs: Remove.
18482 * benchtests/slowatan.c: Remove.
18483 * benchtests/slowcos-inputs: Remove.
18484 * benchtests/slowcos.c: Remove.
18485 * benchtests/slowexp-inputs: Remove.
18486 * benchtests/slowexp.c: Remove.
18487 * benchtests/slowpow-inputs: Remove.
18488 * benchtests/slowpow.c: Remove.
18489 * benchtests/slowsin-inputs: Remove.
18490 * benchtests/slowsin.c: Remove.
18491 * benchtests/slowtan-inputs: Remove.
18492 * benchtests/slowtan.c: Remove.
18493 * benchtests/tan-inputs: Add slow benchmark inputs.
18494 * scripts/bench.pl: Parse comments and directives.
18495
d569c6ee
SP
18496 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18497 in CPPFLAGS.
18498 ($(objpfx)bench-%.c): Remove *-ITER.
18499 * benchtests/bench-modf.c: Remove definition of ITER.
18500 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18501 (main): Loop for DURATION seconds instead of fixed number of
18502 iterations.
18503 * scripts/bench.pl: Don't expect iterations in parameters.
18504
a6a242fe
RM
185052013-04-29 Roland McGrath <roland@hack.frob.com>
18506
18507 * io/fchdir.c (__fchdir): Renamed from fchdir.
18508 (fchdir): Define as weak alias.
18509
f2da7793
JM
185102013-04-29 Joseph Myers <joseph@codesourcery.com>
18511
18512 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18513 (ERRNO_EDOM): Likewise.
18514 (ERRNO_ERANGE): Likewise.
18515 (noErrnoTests): New variable.
18516 (init_max_error): Set errno to 0.
18517 (test_single_errno): New function.
18518 (test_errno): Likewise.
18519 (check_float_internal): Call test_errno. Set errno to 0.
18520 (check_complex): Refer to errno tests in comment.
18521 (check_int): Call test_errno. Set errno to 0.
18522 (check_long): Likewise.
18523 (check_bool): Likewise.
18524 (check_longlong): Likewise.
18525 (cos_test): Use ERRNO_* flags for errno tests instead of
18526 check_int.
18527 (expm1_test): Likewise.
18528 (fmod_test): Likewise.
18529 (ilogb_test): Likewise.
18530 (lgamma_test): Likewise.
18531 (pow_test): Likewise.
18532 (remainder_test): Likewise.
18533 (sin_test): Likewise.
18534 (tan_test): Likewise.
18535 (yn_test): Likewise.
18536 (initialize): Set errno to 0.
18537 (main): Print number of errno tests.
18538 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18539
b1a36ceb
AJ
185402013-04-29 Andreas Jaeger <aj@suse.de>
18541
c3ed8088
AJ
18542 [BZ #15084]
18543 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18544 and RES_USEVC.
18545
f1a24198
AJ
18546 [BZ #15085]
18547 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18548 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18549 unimplemented.
18550
9ce3b2cb
AJ
18551 [BZ #15380]
18552 * stdlib/random.c (__initstate): Return NULL if
18553 __initstate fails.
18554
f1a24198 18555 [BZ #15086]
b1a36ceb
AJ
18556 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18557 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18558 RES_SNGLKUPREOP.
18559
7e7b6f36
AZ
185602013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18561
18562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18563
4d14f449
JM
185642013-04-29 Joseph Myers <joseph@codesourcery.com>
18565
18566 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18567 of individual tests.
18568 (casin_test): Likewise.
18569 (casinh_test): Likewise.
18570
5b4217d7
JM
185712013-04-27 Joseph Myers <joseph@codesourcery.com>
18572
18573 [BZ #15409]
18574 * math/s_catan.c (__catan): Handle arguments with large real or
18575 imaginary part separately without squaring.
18576 * math/s_catanf.c (__catanf): Likewise.
18577 * math/s_catanh.c (__catanh): Likewise.
18578 * math/s_catanhf.c (__catanhf): Likewise.
18579 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18580 and redefine.
18581 (__catanhl): Handle arguments with large real or imaginary part
18582 separately without squaring.
18583 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18584 and redefine.
18585 (__catanl): Handle arguments with large real or imaginary part
18586 separately without squaring.
18587 * math/libm-test.inc (catan_test): Add more tests.
18588 (catanh_test): Likewise.
18589 * sysdeps/i386/fpu/libm-test-ulps: Update.
18590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18591
4220c3ef
AJ
185922013-04-27 Andreas Jaeger <aj@suse.de>
18593
18594 [BZ #15007]
18595 * stdlib/stdlib.h: Update guards for qecvt.
18596 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18597 <stdlib.h>.
18598
4721b2d1
AM
185992013-04-27 Allan McRae <allan@archlinux.org>
18600
18601 * sysdeps/i386/fpu/libm-test-ulps: Update.
18602
f0302940
JM
186032013-04-26 Joseph Myers <joseph@codesourcery.com>
18604
9457fd95
JM
18605 [BZ #15406]
18606 * math/s_catan.c: Include <float.h>.
18607 (__catan): Ensure underflow exception occurs for underflowed
18608 result.
18609 * math/s_catanf.c: Include <float.h>.
18610 (__catanf): Ensure underflow exception occurs for underflowed
18611 result.
18612 * math/s_catanh.c: Include <float.h>.
18613 (__catanh): Ensure underflow exception occurs for underflowed
18614 result.
18615 * math/s_catanhf.c: Include <float.h>.
18616 (__catanhf): Ensure underflow exception occurs for underflowed
18617 result.
18618 * math/s_catanhl.c: Include <float.h>.
18619 (__catanhl): Ensure underflow exception occurs for underflowed
18620 result.
18621 * math/s_catanl.c: Include <float.h>.
18622 (__catanl): Ensure underflow exception occurs for underflowed
18623 result.
18624 * math/libm-test.inc (catan_test): Add more tests.
18625 (catanh_test): Likewise.
18626
f0302940
JM
18627 [BZ #15405]
18628 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18629 underflowed result.
18630 * math/s_ccoshf.c (__ccoshf): Likewise.
18631 * math/s_ccoshl.c (__ccoshl): Likewise.
18632 * math/s_csin.c (__csin): Likewise.
18633 * math/s_csinf.c (__csinf): Likewise.
18634 * math/s_csinh.c (__csinh): Likewise.
18635 * math/s_csinhf.c (__csinhf): Likewise.
18636 * math/s_csinhl.c (__csinhl): Likewise.
18637 * math/s_csinl.c (__csinl): Likewise.
18638 * math/libm-test.inc (ccos_test): Add more tests.
18639 (ccosh_test): Likewise.
18640 (csin_test): Likewise.
18641 (csinh_test): Likewise.
18642
aa630f59
AZ
186432013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18644
18645 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18646 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18647 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18648 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18649 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18650 powerpc/power5+/fpu folders.
18651 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18652
18653
1b835983
MT
186542013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18655
18656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18657
73709b26
JM
186582013-04-25 Joseph Myers <joseph@codesourcery.com>
18659
18660 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18661 additions to variable.
18662 [$(config-machine) = x86_64] (modules-names): Likewise.
18663 ($(objpfx)tst-audit3): Remove dependency.
18664 ($(objpfx)tst-audit3.out): Likewise.
18665 ($(objpfx)tst-audit4): Likewise.
18666 ($(objpfx)tst-audit4.out): Likewise.
18667 ($(objpfx)tst-audit5): Likewise.
18668 ($(objpfx)tst-audit5.out): Likewise.
18669 ($(objpfx)tst-audit6): Likewise.
18670 ($(objpfx)tst-audit6.out): Likewise.
18671 ($(objpfx)tst-audit7): Likewise.
18672 ($(objpfx)tst-audit7.out): Likewise.
18673 (tst-audit3-ENV): Remove variable.
18674 (tst-audit4-ENV): Likewise.
18675 (tst-audit5-ENV): Likewise.
18676 (tst-audit6-ENV): Likewise.
18677 (tst-audit7-ENV): Likewise.
18678 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18679 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18680 addition to variable.
18681 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18682 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18683 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18684 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18685 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18686 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18687 tst-audit3, tst-audit4 and tst-audit5.
18688 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18689 tst-audit6 and tst-audit7.
18690 [$(subdir) = elf] (modules-names): Add audit modules for those
18691 tests.
18692 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18693 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18694 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18695 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18696 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18697 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18698 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18699 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18700 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18701 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18702 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18703 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18704 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18705 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18706 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18707 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18708 Likewise.
18709 [$(subdir) = elf && $(config-cflags-avx) = yes]
18710 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18711 [$(subdir) = elf && $(config-cflags-avx) = yes]
18712 (CFLAGS-tst-auditmod4a.c): Likewise.
18713 [$(subdir) = elf && $(config-cflags-avx) = yes]
18714 (CFLAGS-tst-auditmod4b.c): Likewise.
18715 [$(subdir) = elf && $(config-cflags-avx) = yes]
18716 (CFLAGS-tst-auditmod6b.c): Likewise.
18717 [$(subdir) = elf && $(config-cflags-avx) = yes]
18718 (CFLAGS-tst-auditmod6c.c): Likewise.
18719 [$(subdir) = elf && $(config-cflags-avx) = yes]
18720 (CFLAGS-tst-auditmod7b.c): Likewise.
18721 * elf/tst-audit3.c: Move to ...
18722 * sysdeps/x86_64/tst-audit3.c: ... here.
18723 * elf/tst-audit4.c: Move to ...
18724 * sysdeps/x86_64/tst-audit4.c: ... here.
18725 * elf/tst-audit5.c: Move to ...
18726 * sysdeps/x86_64/tst-audit5.c: ... here.
18727 * elf/tst-audit6.c: Move to ...
18728 * sysdeps/x86_64/tst-audit6.c: ... here.
18729 * elf/tst-audit7.c: Move to ...
18730 * sysdeps/x86_64/tst-audit7.c: ... here.
18731 * elf/tst-auditmod3a.c: Move to ...
18732 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18733 * elf/tst-auditmod3b.c: Move to ...
18734 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18735 * elf/tst-auditmod4a.c: Move to ...
18736 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18737 * elf/tst-auditmod4b.c: Move to ...
18738 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18739 * elf/tst-auditmod5a.c: Move to ...
18740 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18741 * elf/tst-auditmod5b.c: Move to ...
18742 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18743 * elf/tst-auditmod6a.c: Move to ...
18744 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18745 * elf/tst-auditmod6b.c: Move to ...
18746 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18747 * elf/tst-auditmod6c.c: Move to ...
18748 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18749 * elf/tst-auditmod7a.c: Move to ...
18750 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18751 * elf/tst-auditmod7b.c: Move to ...
18752 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18753
1ef74943
PP
187542013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18755
18756 [BZ #15366]
18757 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18758 define unconditionally.
18759 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18760 define unconditionally.
18761 (INT8_C, INT16_C, etc.): Likewise.
18762
93fd48c5
MR
187632013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18764
ae9552cf
MR
18765 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18766 __ehdr_start with hidden visibility.
18767
93fd48c5
MR
18768 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18769
418601aa
CD
187702013-04-24 Carlos O'Donell <carlos@redhat.com>
18771
18772 * math/libm-test.inc (cos_test): Use accurate hex constants.
18773 (sincost_test): Likewise.
18774
2f38fbfe
JM
187752013-04-24 Joseph Myers <joseph@codesourcery.com>
18776
5e221800
JM
18777 * math/libm-test.inc (catan_test): Add more tests.
18778 (catanh_test): Likewise.
18779
77f143fd
JM
18780 * math/s_catanf.c (__catanf): Use suffixed floating-point
18781 constants.
18782 * math/s_catanhf.c (__catanhf): Likewise.
18783 * math/s_catanhl.c (__catanhl): Likewise.
18784 * math/s_catanl.c (__catanl): Likewise.
18785
2f38fbfe
JM
18786 [BZ #15394]
18787 * math/s_catan.c (__catan): Calculate imaginary part of result
18788 with log1p not log unless computing log of number close to 0.
18789 * math/s_catanf.c (__catanf): Likewise.
18790 * math/s_catanl.c (__catanl): Likewise.
18791 * math/s_catanh.c (__catanh): Calculate real part of result with
18792 log1p not log unless computing log of number close to 0.
18793 * math/s_catanhf.c (__catanhf): Likewise.
18794 * math/s_catanhl.c (__catanhl): Likewise.
18795 * math/libm-test.inc (catan_test): Add more tests.
18796 (catanh_test): Likewise.
18797 * sysdeps/i386/fpu/libm-test-ulps: Update.
18798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18799
45d69176
SP
188002013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18801
18802 * benchtests/Makefile: Mention files in which fast and slow
18803 paths of math functions are implemented.
18804
87f51853
RM
188052013-04-23 Roland McGrath <roland@hack.frob.com>
18806
18807 * sysdeps/posix/timespec_get.c: New file.
18808
3c026539
AZ
188092013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18810
18811 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18812 POWER.
18813 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18814 for POWER.
18815 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18816 powerpc/power5/fpu folders.
18817 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18818 * benchtests/Makefile: Add modf testcase.
18819 * benchtests/bench-modf.c: New file: Benchmark test for mo
18820
ff491d14
SP
188212013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18822
18823 [BZ #14888]
18824 * time/Makefile (tests): Add tst-strptime-whitespace.
18825 * time/strptime_l.c (get_number): Use ISSPACE.
18826 (__strptime_internal): Likewise.
18827 * time/tst-strptime-whitespace.c: New test case.
18828
7ed3f4e8
AS
188292013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18830
18831 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18832 member.
18833 (_nss_files_init): Set it here.
18834
5c95f7b6
HC
188352013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18836
18837 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18838 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18839 unsigned.
18840
d34c9158
JBG
188412013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18842
18843 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18844
2169712d
SP
188452013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18846
18847 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18848 size just once.
18849
29c5de99
DM
188502013-04-21 David S. Miller <davem@davemloft.net>
18851
18852 * po/ru.po: Update Russion translation from translation project.
18853
ccdad15d
AC
188542013-04-17 Adam Conrad <adconrad@0c3.net>
18855
18856 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18857 and setfsgid.
18858
0f122b8d
CD
188592013-04-17 Carlos O'Donell <carlos@redhat.com>
18860
5c5b07da 18861 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 18862 * configure: Regenerate.
5c5b07da 18863 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
18864 Add example to error message.
18865 * sysdeps/i386/configure: Regenerate.
18866
037714dd
SP
188672013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18868
18869 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18870 slowtan.
18871 * benchtests/cos-inputs: New file.
18872 * benchtests/slowcos-inputs: New file.
18873 * benchtests/slowcos.c: New file.
18874 * benchtests/slowtan-inputs: New file.
18875 * benchtests/slowtan.c: New file.
18876 * benchtests/tan-inputs: New file.
18877
e913141d
RM
188782013-04-16 Roland McGrath <roland@hack.frob.com>
18879
18880 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18881 considered kosher.
18882
a2964074
SP
188832013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18884
4856bcd2
SP
18885 * benchtests/Makefile: Include cppflags-iterator.mk to add
18886 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18887
a2964074
SP
18888 * Makefile.in (bench-clean): New target.
18889 * benchtests/Makefile (bench-clean): Likewise.
18890
9fbf9aca
DH
188912013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18892
18893 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18894
207d1e2a
TS
188952013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18896
18897 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18898
306dfba9
AS
188992013-04-15 Andreas Schwab <schwab@suse.de>
18900
18901 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18902 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18903 * nscd/pwdcache.c (cache_addpw): Likewise.
18904 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18905 more than recsize.
18906
206a6699
SP
189072013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18908
18909 * benchtests/Makefile (bench): Write all output to
18910 bench-out.tmp together.
18911
0582f6b3
AS
189122013-04-15 Andreas Schwab <schwab@suse.de>
18913
18914 * nscd/nscd.c (main): Don't fork again after closing files.
18915
acb4325f
SP
189162013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18917
5cb26d0a
SP
18918 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18919
acb4325f
SP
18920 * benchtests/Rules (bench-deps): Collect dependencies into a
18921 single variable. Add Makefile to dependencies.
18922 ($(objpfx)bench-%.c): Depend on bench-deps.
18923
47792506
RM
189242013-04-12 Roland McGrath <roland@hack.frob.com>
18925 Xavier Roche <roche+kml2@exalead.com>
18926
18927 [BZ #15361]
18928 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18929 just that it's a file descriptor.
18930 * manual/llio.texi (Synchronizing AIO Operations): Update description
18931 for EBADF error from aio_fsync.
18932
8fc1bee5
SP
189332013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18934
18935 * Rules (bench): Move target definition...
18936 * benchtests/Makefile: ... here.
18937
aba5e333
CD
189382013-04-11 Carlos O'Donell <carlos@redhat.com>
18939
18940 * math/libm-test.inc (cos_test): Fix PI/2 test.
18941 (sincos_test): Likewise.
18942 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18943 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18944
273cdee8
AS
189452013-04-11 Andreas Schwab <schwab@suse.de>
18946
6ecec3b6
AS
18947 [BZ #13988]
18948 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18949 accept exponent character only when digits were seen.
18950 * stdio-common/Makefile (tests): Add bug26.
18951 * stdio-common/bug26.c: New file.
18952
273cdee8
AS
18953 [BZ #14293]
18954 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18955 non-freeable.
18956
8da491f5
SP
189572013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18958
01dc6df9
SP
18959 * Makeconfig (rtld-prefix): Define built linker prefix.
18960 * Rules (run-bench): Use it.
18961 * math/Makefile (run-regen-ulps): Likewise.
18962
8da491f5
SP
18963 * Rules (bench): Remove eval.
18964
abe7f530
SP
189652013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18966 Roland McGrath <roland@hack.frob.com>
18967 Ondrej Bilka <neleai@seznam.cz>
18968
18969 [BZ #15346]
18970 * time/getdate.c: Include ctype.h and alloca.h.
18971 (__getdate_r): Trim leading and trailing spaces of input.
18972 * time/tst-getdate.c (tests): Add tests with leading and
18973 trailing spaces.
18974
61c23e62
RM
189752013-04-08 Roland McGrath <roland@hack.frob.com>
18976
18977 [BZ #14280]
18978 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18979 when computing value.
18980
7208a313
CD
189812013-04-06 Carlos O'Donell <carlos@redhat.com>
18982
085b2d41
CD
18983 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18984 Use testrun.sh to run libm tests.
18985
7208a313
CD
18986 [BZ #15309]
18987 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18988
872c0acd
MM
189892013-04-06 Marko Myllynen <myllynen@redhat.com>
18990
18991 [BZ #15264]
18992 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18993
26510bdd
CD
189942013-04-06 Carlos O'Donell <carlos@redhat.com>
18995
18996 * Makefile.in (regen-ulps): New target.
18997 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18998 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18999 [ifneq (no,$(PERL)] (regen-ulps): New target.
19000 [ifeq (no,$(PERL)] (regen-ulps): New target.
19001 * math/libm-test.inc (ulps_file_name): Define.
19002 (output_dir): New variable.
19003 (options): Add "output-dir" option.
19004 (parse_opt): Handle 'o' case.
19005 (main): If output_dir is non-NULL use it as a prefix
19006 otherwise use "".
19007 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19008
a01f19c8
CD
190092013-04-06 Carlos O'Donell <carlos@redhat.com>
19010
19011 [BZ #10060, #10062]
19012 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19013 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19014 fail configure if __sync_val_compare_and_swap is not inlined.
19015 * sysdeps/i386/configure: Regenerate.
19016 * configure.in: Build for i686 when configured for i386.
19017 * configure: Regenerate.
19018 * README: Remove i386 reference.
19019
b7a329a5
CD
190202013-04-06 Carlos O'Donell <carlos@redhat.com>
19021
19022 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19023 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19024
bf0f50df
TS
190252013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19026
ee091edf
TS
19027 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19028 (lmsnanval): New variables.
19029 (F): Add conversion tests.
19030 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19031 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19032
a8b792d6
TS
19033 * stdio-common/tstdiomisc.c (F): Properly collect individual
19034 tests' results.
19035
a1cbf437
TS
19036 [BZ #14686, #15336]
19037 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19038 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19039 Instead, use input NaN values or generate a qNaN by arithmetic
19040 operation. Also fix bugs to comply with the standard.
19041 * math/libm-test.inc (remainder_test): Add more tests.
19042
8b43a0c9
TS
19043 [BZ #15335, #15342]
19044 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19045 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19046 input NaN values or generate a qNaN by arithmetic operation.
19047
d91da4ce
TS
19048 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19049 unreachable code.
19050
bf0f50df
TS
19051 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19052 definitions.
19053
05e166c8
JM
190542013-04-03 Joseph Myers <joseph@codesourcery.com>
19055
19056 [BZ #14478]
19057 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19058 underflowed result.
19059 * math/s_cexpf.c (__cexpf): Likewise.
19060 * math/s_cexpl.c (__cexpl): Likewise.
19061 * math/libm-test.inc (cexp_test): Add more tests.
19062
1cef1b19
AS
190632013-04-03 Andreas Schwab <schwab@suse.de>
19064
19065 [BZ #15330]
19066 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19067 order arrays from heap if bigger than alloca cutoff.
19068
74d87055
TS
190692013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19070
19071 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19072 (SNAN_TESTS_double): Refer to GCC PR56831.
19073 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19074 GCC PR56828.
19075
d755bba4
SP
190762013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19077
90d5d5bb
SP
19078 * Rules (bench): Move bench.out after the run is complete.
19079
73e0cd5d
SP
19080 * Rules (bench): Echo currently running benchmark.
19081
64aabd4b
SP
19082 * benchtests/Makefile (bench): Add atan and slowatan.
19083 * benchtests/atan-inputs: New file.
19084 * benchtests/slowatan-inputs: New file.
19085 * benchtests/slowatan.c: New file.
19086
c871eccd
SP
19087 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19088 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19089 its value.
19090
d755bba4
SP
19091 [BZ #15305]
19092 * sysdeps/unix/sysv/linux/kernel-features.h
19093 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19094 __ASSUME_XFS_RESTRICTED_CHOWN.
19095 * sysdeps/unix/sysv/linux/pathconf.c
19096 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19097 Save and restore errno.
19098
52ce4860
JM
190992013-04-02 Joseph Myers <joseph@codesourcery.com>
19100
19101 [BZ #15327]
19102 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19103 arguments using __kernel_casinh.
19104 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19105 arguments using __kernel_casinhf.
19106 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19107 arguments using __kernel_casinhl.
19108 * math/libm-test.inc (cacosh_test): Add more tests.
19109 * sysdeps/i386/fpu/libm-test-ulps: Update.
19110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19111
81f311c2
SP
191122013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19113
e7906a47
SP
19114 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19115 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19116
92e3664b
SP
19117 * bench/Makefile (bench): Add sin and slowsin.
19118 * benchtests/sin-inputs: New file.
19119 * benchtests/slowsin-inputs: New file.
19120 * benchtests/slowsin.c: New file.
19121
81f311c2
SP
19122 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19123 (bench): Add slowexp and slowpow.
19124 (exp-ITER): Increase iterations.
19125 (pow-ITER): Likewise.
19126 * benchtests/exp-inputs: Change input.
19127 * benchtests/pow-inputs: Likewise.
19128 * benchtests/slowexp-inputs: New file.
19129 * benchtests/slowexp.c: New file.
19130 * benchtests/slowpow-inputs: New file.
19131 * benchtests/slowpow.c: New file.
19132
ab0f1aa9
AZ
191332013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19134
19135 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19136 instructions.
19137 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19138 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19139 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19140 * benchtests/Makefile: Add rint benchtest.
19141 * benchtests/rint-inputs: Input for rint benchtest.
19142
57267616
TS
191432013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19144
19145 * Versions.def (libm): Add GLIBC_2.18.
19146 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19147 hidden libm prototypes.
19148 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19149 * math/Makefile (libm-calls): Add s_issignaling.
19150 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19151 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19152 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19153 declaration.
19154 * math/math.h [__USE_GNU] (issignaling): New macro.
19155 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19156 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19157 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19158 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19159 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19160 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19161 * manual/arith.texi (issignaling): New section.
19162 * manual/libm-err-tab.pl (@all_functions): Update comment.
19163 * math/gen-libm-test.pl (parse_args): Apply special handling for
19164 issignaling.
19165 * math/libm-test.inc (print_float, issignaling_test): New
19166 functions.
19167 (check_float_internal): Add issignaling checks.
19168 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19169 default definition.
19170 * sysdeps/powerpc/math-tests.h: New file.
19171 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19172 tests.
19173 * math/test-snan.c (TEST_FUNC): Likewise.
19174
6142896d
DM
191752013-03-30 David S. Miller <davem@davemloft.net>
19176
19177 * po/de.po: Update from translation team.
19178
ccc8cadf
JM
191792013-03-30 Joseph Myers <joseph@codesourcery.com>
19180
19181 [BZ #10357]
19182 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19183 imaginary part less than 1.0 and real part less than 0.5
19184 specially.
19185 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19186 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19187 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19188 (cacos_test): Add more tests.
19189 (casin_test): Likewise.
19190 (casinh_test): Likewise.
19191 * sysdeps/i386/fpu/libm-test-ulps: Update.
19192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19193
0f6a8d4b
SP
191942013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19195
0d1029de
SP
19196 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19197 ONE with its value.
19198
c2d94018
SP
19199 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19200 (__pow_mp): Replace ONE and MONE with their values.
19201 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19202 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19203 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19204 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19205 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19206 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19207
27ec37f1
SP
19208 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19209
a64d7e0e
SP
19210 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19211 (__pow_mp): Replace ZERO and MZERO with their values.
19212 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19213 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19214 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19215 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19216 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19217 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19218 (__sqr): Likewise.
19219
d26dd3eb
SP
19220 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19221
0f6a8d4b
SP
19222 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19223
e57b0c61
RM
192242013-03-28 Roland McGrath <roland@hack.frob.com>
19225
19226 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19227 Declare with __attribute__ ((weak)).
19228 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19229 Call __call_tls_dtors only if it's not NULL.
19230
356b3480
RM
192312013-03-28 Roland McGrath <roland@hack.frob.com>
19232
288f7d79
RM
19233 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19234 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19235 magic __ehdr_start linker symbol if it's defined.
19236 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19237 them up here if it was already done.
19238
dc0a0263
RM
19239 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19240 (_dl_aux_init): Use const in cast when setting it.
19241 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19242 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19243 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19244
3d3436ae
RM
19245 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19246 Declare them here.
19247 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19248 * csu/libc-tls.c: Nor here.
19249 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19250
356b3480
RM
19251 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19252 (__libc_message): Never call vsyslog.
19253
b0f1246a
AM
192542013-03-28 Alan Modra <amodra@gmail.com>
19255
19256 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19257 Define as empty.
19258 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19259 Likewise.
19260
fbbe2b9a
AZ
192612013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19262
19263 [BZ #15214]
19264 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19265 underflow.
19266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19267
1728ab37
SP
192682013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19269
7a86be6e
SP
19270 [BZ #15304]
19271 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19272 Don't add gid passed as argument.
19273
1728ab37
SP
19274 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19275
3a7182a1
JM
192762013-03-27 Joseph Myers <joseph@codesourcery.com>
19277
19278 [BZ #15307]
19279 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19280 imaginary part between 1.0 and 1.5 and real part less than 0.5
19281 specially.
19282 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19283 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19284 * math/libm-test.inc (cacos_test): Add more tests.
19285 (casin_test): Likewise.
19286 (casinh_test): Likewise.
19287 * sysdeps/i386/fpu/libm-test-ulps: Update.
19288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19289
6f2e90e7
SP
192902013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19291
5739f705
SP
19292 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19293 constants.
19294 (norm): Likewise.
19295 (denorm): Likewise.
19296 (__dbl_mp): Likewise.
19297 (add_magnitudes): Likewise.
19298 (sub_magnitudes): Likewise.
19299 (__add): Likewise.
19300 (__sub): Likewise.
19301 (__mul): Likewise.
19302 (__sqr): Likewise.
19303 (__inv): Likewise.
19304 (__dvd): Likewise.
19305
e375e83d
SP
19306 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19307 commented code.
19308 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19309 (__dubcos): Likewise.
19310 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19311 (__ieee754_acos): Likewise.
19312 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19313 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19314 (__exp1): Likewise.
19315 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19316 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19317 (log1): Likewise.
19318 (my_log2): Likewise.
19319 (checkint): Likewise.
19320 * sysdeps/ieee754/dbl-64/e_remainder.c
19321 (__ieee754_remainder): Likewise.
19322 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19323 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19324 (bsloww): Likewise.
19325 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19326
6f2e90e7
SP
19327 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19328 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19329 MANTISSA_STORE_T to store computations on mantissa. Use
19330 macros for rounding and division.
19331 (denorm): Likewise.
19332 (__dbl_mp): Likewise.
19333 (add_magnitudes): Likewise.
19334 (sub_magnitudes): Likewise.
19335 (__mul): Likewise.
19336 (__sqr): Likewise.
19337 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19338 powers of two in terms of TWOPOW macro.
19339 (mp_no): Make type of mantissa as MANTISSA_T.
19340 [!RADIXI]: Define RADIXI.
19341 [!TWO52]: Define TWO52.
19342 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19343
fce14d4e
AZ
193442013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19345
19346 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19347 llroundl symbol when building for PPC32.
19348
9ad027fb
MW
193492013-03-24 Mark H Weaver <mhw@netris.org>
19350
19351 * manual/arith.texi (Normalization Functions): Fix prototypes for
19352 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19353
e42a38dd
AZ
193542013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19355
19356 [BZ #13889]
19357 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19358 high value to check if expl overflow.
19359 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19360 to check for underflow and overflow.
19361 * math/libm-test.inc: Add exp test.
19362
2e0fb521
DL
193632013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19364
19365 [BZ #11120]
19366 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19367 with NOT_IN_libc.
19368
b5784d95
AZ
193692013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19370
19371 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19372 symbol.
19373
5aa4a1a1
TS
193742013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19375
bdef0be7
TS
19376 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19377 wrap blocks consisting of several statements.
19378
5aa4a1a1
TS
19379 * sysdeps/generic/math-tests.h: New file.
19380 * sysdeps/i386/fpu/math-tests.h: Likewise.
19381 * math/test-snan.c: Include it.
19382 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19383
98c48fe5
JM
193842013-03-21 Joseph Myers <joseph@codesourcery.com>
19385
19386 [BZ #15285]
19387 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19388 (__ieee754_j0l): Do not improve calculations using cos of twice
19389 input for inputs above LDBL_MAX / 2.0L.
19390 (__ieee754_y0l): Likewise.
19391 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19392 (__ieee754_j1l): Do not improve calculations using cos of twice
19393 input for inputs above LDBL_MAX / 2.0L.
19394 (__ieee754_y1l): Likewise.
19395 * math/libm-test.inc (j0_test): Add another test.
19396 (j1_test): Likewise.
19397 (y0_test): Likewise.
19398 (y1_test): Likewise.
19399 * sysdeps/i386/fpu/libm-test-ulps: Update.
19400
3775a8bc
SP
194012013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19402
19403 * Rules ($(objpfx)bench-%.c): Include code from a C source
19404 file.
19405
0a1b2ae6
JM
194062013-03-21 Joseph Myers <joseph@codesourcery.com>
19407
19408 [BZ #15287]
19409 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19410 imaginary part 1.0 and real part less than 0.5 specially.
19411 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19412 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19413 * math/libm-test.inc (cacos_test): Add more tests.
19414 (casin_test): Likewise.
19415 (casinh_test): Likewise.
19416 * sysdeps/i386/fpu/libm-test-ulps: Update.
19417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19418
b33d4ce4
SP
194192013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19420
19421 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19422 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19423
bef0b507
JM
194242013-03-20 Joseph Myers <joseph@codesourcery.com>
19425
19426 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19427 * config.make.in (config-cflags-sse4): Remove variable.
19428 (config-cflags-avx): Likewise.
19429 (config-cflags-sse2avx): Likewise.
19430 (config-cflags-novzeroupper): Likewise.
19431 (config-asflags-i686): Likewise.
19432 (have-mfma4): Likewise.
19433 (have-as-vis3): Likewise.
19434 (MIG): Likewise.
19435 * configure.in (MIG): Do not AC_SUBST.
19436 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19437 (libc_cv_cc_sse4): Do not AC_SUBST.
19438 (libc_cv_cc_avx): Likewise.
19439 (libc_cv_cc_sse2avx): Likewise.
19440 (libc_cv_cc_novzeroupper): Likewise.
19441 (libc_cv_cc_fma4): Likewise.
19442 (libc_cv_as_i686): Likewise.
19443 (libc_cv_sparc_as_vis3): Likewise.
19444 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19445 LIBC_CONFIG_VAR.
19446 (config-asflags-i686): Likewise.
19447 (config-cflags-avx): Likewise.
19448 (config-cflags-sse2avx): Likewise.
19449 (have-mfma4): Likewise.
19450 (config-cflags-novzeroupper): Likewise.
19451 * sysdeps/mach/configure.in (MIG): Likewise.
19452 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19453 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19454 LIBC_CONFIG_VAR.
19455 (config-cflags-avx): Likewise.
19456 (config-cflags-sse2avx): Likewise.
19457 (have-mfma4): Likewise.
19458 (config-cflags-novzeroupper): Likewise.
19459 * configure: Regenerated.
19460 * sysdeps/i386/configure: Likewise.
19461 * sysdeps/mach/configure: Likewise.
19462 * sysdeps/sparc/configure: Likewise.
19463 * sysdeps/x86_64/configure: Likewise.
19464
912cc4b3
RM
194652013-03-20 Roland McGrath <roland@hack.frob.com>
19466
19467 [BZ #14812]
19468 * locale/programs/localedef.c (options): Put N_ translation marker
19469 on argument names, not just descriptions.
19470
04eed2b0
MS
194712013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19472
19473 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19474
a065ceff
OB
194752013-03-20 Ondřej Bílka <neleai@seznam.cz>
19476
9bb2a810 19477 [BZ #14176]
a065ceff
OB
19478 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19479
a600e5ce
RM
194802013-03-19 Roland McGrath <roland@hack.frob.com>
19481
19482 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19483 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19484 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19485 [!BEFORE_ABORT] (before_abort): New function.
19486 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19487 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19488 (writev_for_fatal): New function.
19489 (WRITEV_FOR_FATAL): New macro; call that.
19490 (backtrace_and_maps): New function.
19491 (BEFORE_ABORT): New macro; call that.
19492 (struct str_list): Type removed.
19493 (__libc_message, __libc_fatal): Functions removed.
19494 Include <sysdeps/posix/libc_fatal.c> instead.
19495
6b18bea6
JM
194962013-03-19 Joseph Myers <joseph@codesourcery.com>
19497
19498 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19499 constants.
19500 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19501 double constants.
19502
aaa8cb4b
AS
195032013-03-19 Andreas Schwab <schwab@suse.de>
19504
44673770
AS
19505 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19506 * sysdeps/gnu/configure: Regenerate.
19507
aaa8cb4b
AS
19508 * configure.in: Substitute libc_cv_rtlddir.
19509 * configure: Regenerate.
19510 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19511 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19512 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19513 * elf/Makefile (install-others, CFLAGS-interp.c)
19514 (ldso_install, common-ldd-rewrite): Likewise.
19515 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19516 $(inst_slibdir)/$(rtld-installed-name).
19517 * scripts/rellns-sh: Add -p option.
19518 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19519 for source.
19520
d3cfc668
SP
195212013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19522
19523 * manual/nptl.texi: Renamed to ...
19524 * manual/threads.texi: ... this.
19525 * manual/Makefile (chapters): Update.
19526
0e2b9cdd
RM
195272013-03-18 Roland McGrath <roland@hack.frob.com>
19528
19529 [BZ #14812]
19530 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19531 on argument names, not just descriptions.
0e2b9cdd
RM
19532 * malloc/memusagestat.c (options): Likewise.
19533 * nss/getent.c (options): Likewise.
63270c24
RM
19534
195352013-03-18 Benno Schulenberg <bensberg@justemail.net>
19536
19537 [BZ #14812]
19538 * iconv/iconv_prog.c (options): Put N_ translation marker
19539 on argument names, not just descriptions.
19540 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 19541
b2e1393c
OB
195422013-03-18 Ondrej Bilka <neleai@seznam.cz>
19543
19544 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19545 implementation which is faster on all x86_64 architectures.
19546 Tested on AMD, Intel Nehalem, SNB, IVB.
19547 * sysdeps/x86_64/strnlen.S: Likewise.
19548
19549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19550 Remove all multiarch strlen and strnlen versions.
19551 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19552 Remove strlen and strnlen related parts.
19553
19554 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19555 Inline strlen part.
19556 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19557
19558 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19559 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19560 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19561 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19562 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19563 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19564
ec4ff04d
CD
195652013-03-17 Carlos O'Donell <carlos@redhat.com>
19566
19567 * manual/memory.texi (Malloc Tunable Parameters):
19568 Sort parameters alphabetically. Add comments for missing entries.
19569
cd18e90a
DM
195702013-03-17 David S. Miller <davem@davemloft.net>
19571
19572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19573
2a185d32
JM
195742013-03-16 Joseph Myers <joseph@codesourcery.com>
19575
d2f9799e
JM
19576 [BZ #15283]
19577 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19578 for arguments at most half maximum finite value.
19579 * math/libm-test.inc (j0_test): Add more tests.
19580 (j1_test): Likewise.
19581 (y0_test): Likewise.
19582 (y1_test): Likewise.
19583 * sysdeps/i386/fpu/libm-test-ulps: Update.
19584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19585
2a185d32
JM
19586 [BZ #14155]
19587 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19588 1 / x and functions P and Q for arguments above 0x1p256L.
19589 (__ieee754_y0l): Likewise.
19590 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19591 (__ieee754_y1l): Likewise.
19592 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19593 (j1_test): Likewise.
19594 (y0_test): Likewise.
19595 (y1_test): Likewise.
19596
6cbec759
TS
195972013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19598
19599 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19600 variable.
19601
bc16e260
RM
196022013-03-15 Roland McGrath <roland@hack.frob.com>
19603
aefc9b8c
RM
19604 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19605 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19606 zero since it's initialized to EXEC_PAGESIZE.
19607
bc16e260
RM
19608 * sysdeps/unix/sysv/linux/ldsodefs.h
19609 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19610 * sysdeps/generic/ldsodefs.h: ... here.
19611
a57da955
TS
196122013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19613
af00a34d
TS
19614 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19615
495ded2c
TS
19616 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19617 math/test-snan.c.
19618 * math/test-snan.c: Renamed from
19619 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19620 * math/Makefile (tests): Add test-snan.
19621 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19622 test-powerpc-snan.
19623
777b0332
TS
19624 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19625 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19626 functions.
19627 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19628 __builtin_nan family of functions.
19629 * math/libm-test.inc (initialize): Initialize qnan_value with
19630 __builtin_nan family of functions.
19631 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19632 Remove variables.
19633 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19634 Remove functions.
19635 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19636 storage class. Initialize qNaN_var and sNaN_var with
19637 __builtin_nan and __builtin_nans families of functions,
19638 respectively.
19639
64d063b8
TS
19640 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19641 (sqrt_test): Remove duplicate test with qNaN input.
19642 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19643 (round_test, signbit_test, significand_test): Note missing +/-Inf
19644 as well as qNaN tests.
19645
67e971f1
TS
19646 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19647 qNaN_var. Fix a few strings, too.
19648 * math/libm-test.inc (nan_value): Rename to qnan_value.
19649 * math/gen-libm-test.pl (%beautify): Adjust to that.
19650 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19651 * math/test-misc.c (main): Likewise.
19652 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19653 to __qnan_bytes, and __qnan_union, respectively.
19654 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19655 Likewise.
19656 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19657 and lqnanval, respectively.
19658 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19659 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19660 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19661 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19662
64487e12
TS
19663 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19664 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19665 doubles.
19666
e015e27b
TS
19667 * math/test-misc.c (main): Fix copy'n'pastos.
19668 * misc/tst-efgcvt.c (special): Likewise.
19669
a57da955
TS
19670 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19671 Remove declarations.
19672
1e380345
SP
196732013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19674
19675 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19676 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19677 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19678 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19679
ef26eece
AZ
196802013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19681
19682 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19683 macro to return vdso values correctly in IFUNC implementations.
19684 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19685 Optimization by using IFUNC.
19686
8cfdb7e0
SP
196872013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19688 Richard Henderson <rth@redhat.com>
19689 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19690
19691 * Makefile.in (bench): New target.
19692 * NEWS: Mention the benchmark framework.
19693 * Rules (bench): Likewise.
19694 (binaries-bench): Generate binaries for functions to
19695 benchmark.
19696 * benchtests/Makefile: New makefile for benchmark tests.
19697 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19698 programs.
19699 * benchtests/exp-inputs: New input file for EXP function.
19700 * benchtests/pow-inputs: New input file for POW function.
19701 * scripts/bench.pl: New script to generate source files for
19702 benchmark programs.
19703
bcda9880
SP
197042013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19705
d22ca8cd
SP
19706 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19707 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19708 computations on mantissa. Use macros for rounding and
19709 division.
19710 (denorm): Likewise.
19711 (__dbl_mp): Likewise.
19712 (add_magnitudes): Likewise.
19713 (sub_magnitudes): Likewise.
19714 (__mul): Likewise.
19715 (__sqr): Likewise.
19716 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19717 powers of two in terms of TWOPOW macro.
19718 (mp_no): Make type of mantissa as MANTISSA_T.
19719 [!RADIXI]: Define RADIXI.
19720 [!TWO52]: Define TWO52.
19721 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19722
bcda9880
SP
19723 * manual/nptl.texi (cindex): Modify threads to pthreads.
19724
06d5adfb
JM
197252013-03-15 Joseph Myers <joseph@codesourcery.com>
19726
19727 * sysdeps/x86_64/preconfigure: Regenerated.
19728
41c7328e
JM
197292013-03-14 Joseph Myers <joseph@codesourcery.com>
19730
19731 [BZ #14155]
19732 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19733 0x1p28 and above.
19734 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19735 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19736 0x1p28 and above.
19737 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19738 * math/libm-test.inc (j0_test): Do not allow one spurious
19739 underflow exception.
19740 (y1_test): Likewise.
19741
e25cfa60
SP
197422013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19743
0409959c
SP
19744 * manual/Makefile (chapters): Add nptl.
19745 * manual/debug.texi (Debugging Support): Add link to Threads
19746 chapter.
19747 * manual/nptl.texi: New file.
19748
e25cfa60
SP
19749 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19750
58a1335e
PB
197512013-03-14 Petr Baudis <pasky@ucw.cz>
19752
19753 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19754 for non-NULL pointer before the memory validity test. Pointed
19755 out by Holger Brunck <holger.brunck@keymile.com>.
19756
9dc7c64f
AS
197572013-03-13 Andreas Schwab <schwab@suse.de>
19758
19759 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19760 instead of .os.
19761
54206aa6
JM
197622013-03-13 Joseph Myers <joseph@codesourcery.com>
19763
19764 * timezone/zic.c: Update from tzcode 2013b.
19765
e98cdb38
CD
197662013-03-12 Carlos O'Donell <carlos@redhat.com>
19767
19768 * manual/install.texi (Configuring and compiling):
19769 Mention i686 and i586.
19770 * INSTALL: Regenerate.
19771
9967e003
RM
197722013-03-12 Roland McGrath <roland@hack.frob.com>
19773
19774 * sysdeps/init_array/elf-init.c: New file.
19775 * csu/elf-init.c
19776 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19777 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19778
19779 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19780 __gmon_start__ as global, but as static with a .preinit_array pointer.
19781 * sysdeps/init_array/gmon-start.c: New file. Use that.
19782 * sysdeps/init_array/crti.S: New file, empty except for comments.
19783 * sysdeps/init_array/crtn.S: Likewise.
19784
e6b5a293 197852013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
19786
19787 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19788 definining bcopy.
80f844c9
OB
19789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19790 Remove Prefer_SSE_for_memop.
19791 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19792 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19793 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
19794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19795 memset-x86-64.
80f844c9 19796 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 19797 Remove bzero, memset ifunc support.
80f844c9
OB
19798 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19799 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19800 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19801 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19802
fb6b0fcb
AS
198032013-03-11 Andreas Schwab <schwab@suse.de>
19804
19805 [BZ #15234]
19806 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19807 by SHLIB_COMPAT.
19808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19809 (GLIBC_2.16): Remove pthread_atfork.
19810
3e6bd4b1
PP
198112013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19812
19813 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19814 (ptestcases.h): Likewise.
19815
222d7f00
RM
198162013-03-08 Roland McGrath <roland@hack.frob.com>
19817
19818 * Makeconfig ($(common-objpfx)config.status): Depend on
19819 sysdeps/*/preconfigure{,.in} too.
19820
1ba4f030
JM
198212013-03-08 Joseph Myers <joseph@codesourcery.com>
19822
a222d91a
JM
19823 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19824 (__free_hook): Use void * instead of __malloc_ptr_t.
19825 (__malloc_hook): Likewise.
19826 (__realloc_hook): Likewise.
19827 (__memalign_hook): Likewise.
19828 (__after_morecore_hook): Likewise.
19829 * malloc/arena.c (save_malloc_hook): Likewise.
19830 (save_free_hook): Likewise.
19831 * malloc/hooks.c (malloc_hook_ini): Likewise.
19832 (realloc_hook_ini): Likewise.
19833 (memalign_hook_ini): Likewise.
19834 * malloc/malloc.c (malloc_hook_ini): Likewise.
19835 (realloc_hook_ini): Likewise.
19836 (memalign_hook_ini): Likewise.
19837 (__free_hook): Likewise.
19838 (__malloc_hook): Likewise.
19839 (__realloc_hook): Likewise.
19840 (__memalign_hook): Likewise.
19841 (__libc_malloc): Likewise.
19842 (__libc_free): Likewise.
19843 (__libc_realloc): Likewise.
19844 (__libc_memalign): Likewise.
19845 (__libc_valloc): Likewise.
19846 (__libc_pvalloc): Likewise.
19847 (__libc_calloc): Likewise.
19848 (__posix_memalign): Likewise.
19849 * malloc/morecore.c (__sbrk): Likewise.
19850 (__default_morecore): Likewise.
19851
5cc45e10
JM
19852 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19853
dd54b864
JM
19854 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19855 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19856 __malloc_ptrdiff_t.
19857
1ba4f030
JM
19858 * malloc/malloc.h (__malloc_size_t): Remove macro.
19859 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19860 __malloc_size_t.
19861 (old_memalign_hook): Likewise.
19862 (old_realloc_hook): Likewise.
19863 (struct hdr): Likewise.
19864 (flood): Likewise.
19865 (mallochook): Likewise.
19866 (memalignhook): Likewise.
19867 (reallochook): Likewise.
19868 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19869 (tr_old_realloc_hook): Likewise.
19870 (tr_old_memalign_hook): Likewise.
19871 (tr_mallochook): Likewise.
19872 (tr_reallochook): Likewise.
19873 (tr_memalignhook): Likewise.
19874
edf66e57
AZ
198752013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19876
19877 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19878 default_ldbl_pack and using as default implementation.
19879 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19880 implementation.
19881 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19882 redundant definition.
19883 (ldbl_insert_mantissa): Likewise.
19884 (ldbl_canonicalize): Likewise.
19885 (ldbl_nearbyint): Likewise.
19886 (ldbl_pack): Rename to ldbl_pack_ppc.
19887 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19888 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19889 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19890
6d9145d8
SP
198912013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19892
19893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19894 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19895 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19896 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19897 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19898 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19899 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19900 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19901
4dd4e157
AJ
199022013-03-07 Andreas Jaeger <aj@suse.de>
19903
19904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19905 bits/mman-linux.h.
19906
adbb8027
SP
199072013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19908
ce544b5b
SP
19909 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19910 Include mpa.h and declare __MPEXP.
19911 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19912 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19913 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19914 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19915 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19916 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19917 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19918
4cc149fd
SP
19919 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19920 (__slowpow): Use long double EXPL and LOGL functions to
19921 compute POW.
19922 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19923 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19924 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19925 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19926 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19927 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19928
e6ebd4a7
SP
19929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19930 intermediate variable to calculate exponent.
19931 (__sqr): Likewise.
19932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19933 Likewise.
19934 (__sqr): Likewise.
19935
82a9811d
SP
19936 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19937 [!NO__SQR]: Define __sqr.
19938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19939 and NO__SQR. Remove all code except __mul and __sqr. Include
19940 sysdeps/ieee754/dbl-64/mpa.c.
19941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19942
adbb8027
SP
19943 [BZ #12723]
19944 * posix/Makefile (tests): Add tst-pathconf.
19945 * posix/tst-pathconf.c: New test case.
19946 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19947 _PC_PIPE_BUF.
19948 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19949
39120df9
PF
199502013-03-06 Patsy Franklin <pfrankli@redhat.com>
19951
19952 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19953
67525cb8
AJ
199542013-03-06 Andreas Jaeger <aj@suse.de>
19955
664a9ce4
AJ
19956 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19957 definition via __MAP_ANONYMOUS.
19958
8e39047d
AJ
19959 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19960 it's not part of Linux headers.
19961
67525cb8
AJ
19962 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19963 (MAP_HUGE_MASK): Define.
19964
19965 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19966 Define.
19967 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19968 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19969 Define.
19970 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19971 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19972 Define.
19973 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19974 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19975 Define.
19976 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19977
19978 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19979 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19980 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19981 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19982 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19983 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19984
19985 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19986 Handle f2fs.
19987
19988 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19989 Handle f2fs and efivarfs.
19990
19991 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19992 f2fs.
19993
19994 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19995 (EFIVARFS_MAGIC): Add.
19996 (F2FS_LINK_MAX): Add.
19997
e1b42695
PP
199982013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19999
20000 * stdio-common/vfprintf.c: Replace __builtin_expect with
20001 __glibc_unlikely.
20002
2d67d91a
JM
200032013-03-06 Joseph Myers <joseph@codesourcery.com>
20004
20005 [BZ #13550]
20006 * sysdeps/generic/bp-sym.h: Remove file.
20007 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20008 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20009 <bp-sym.h> and <bp-asm.h>.
20010 (__longjmp): Don't use BP_SYM.
20011 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20012 and <bp-asm.h>.
20013 (memcpy): Don't use BP_SYM.
20014 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20015 <bp-sym.h> and <bp-asm.h>.
20016 (memcpy): Don't use BP_SYM.
20017 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20018 <bp-asm.h>.
20019 (memcpy): Don't use BP_SYM.
20020 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20021 <bp-asm.h>.
20022 (memset): Don't use BP_SYM.
20023 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20024 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20025 (__bzero): Don't use BP_SYM.
20026 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20027 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20028 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20029 <bp-sym.h> and <bp-asm.h>.
20030 (memcmp): Don't use BP_SYM. Remove comment about bounded
20031 pointers.
20032 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20033 <bp-sym.h> and <bp-asm.h>.
20034 (memcpy): Don't use BP_SYM.
20035 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20036 <bp-sym.h> and <bp-asm.h>.
20037 (memset): Don't use BP_SYM.
20038 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20039 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20040 (__bzero): Don't use BP_SYM.
20041 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20042 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20043 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20044 <bp-sym.h> and <bp-asm.h>.
20045 (strncmp): Don't use BP_SYM. Remove comment about bounded
20046 pointers.
20047 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20048 <bp-sym.h> and <bp-asm.h>.
20049 (memcpy): Don't use BP_SYM.
20050 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20051 <bp-sym.h> and <bp-asm.h>.
20052 (memset): Don't use BP_SYM.
20053 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20054 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20055 (__bzero): Don't use BP_SYM.
20056 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20057 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20058 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20059 <bp-sym.h> and <bp-asm.h>.
20060 (__memchr): Don't use BP_SYM.
20061 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20062 <bp-sym.h> and <bp-asm.h>.
20063 (memcmp): Don't use BP_SYM. Remove comment about bounded
20064 pointers.
20065 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20066 <bp-sym.h> and <bp-asm.h>.
20067 (memcpy): Don't use BP_SYM.
20068 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20069 <bp-sym.h> and <bp-asm.h>.
20070 (__mempcpy): Don't use BP_SYM.
20071 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20072 <bp-sym.h> and <bp-asm.h>.
20073 (__memrchr): Don't use BP_SYM.
20074 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20075 <bp-sym.h> and <bp-asm.h>.
20076 (memset): Don't use BP_SYM.
20077 (__bzero): Likewise.
20078 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20079 <bp-sym.h> and <bp-asm.h>.
20080 (__rawmemchr): Don't use BP_SYM.
20081 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20082 <bp-sym.h> and <bp-asm.h>.
20083 (__STRCMP): Don't use BP_SYM.
20084 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20085 <bp-sym.h> and <bp-asm.h>.
20086 (strchr): Don't use BP_SYM.
20087 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20088 <bp-sym.h> and <bp-asm.h>.
20089 (__strchrnul): Don't use BP_SYM.
20090 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20091 <bp-sym.h> and <bp-asm.h>.
20092 (strlen): Don't use BP_SYM.
20093 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20094 <bp-sym.h> and <bp-asm.h>.
20095 (strncmp): Don't use BP_SYM. Remove comment about bounded
20096 pointers.
20097 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20098 <bp-sym.h> and <bp-asm.h>.
20099 (__strnlen): Don't use BP_SYM.
20100 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20101 <bp-sym.h> and <bp-asm.h>.
20102 (__GI__setjmp): Don't use BP_SYM.
20103 (_setjmp): Likewise.
20104 (__sigsetjmp): Likewise.
20105 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20106 (L(start_addresses)): Don't use BP_SYM.
20107 (_start): Likewise.
20108 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20109 <bp-asm.h>.
20110 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20111 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20112 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20113 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20114 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20115 <bp-asm.h>.
20116 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20117 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20118 about bounded pointers.
20119 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20120 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20121 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20122 <bp-asm.h>.
20123 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20124 about bounded pointers. Remove GKM FIXME comments.
20125 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20126 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20127 <bp-asm.h>.
20128 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20129 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20130 Remove GKM FIXME comments.
20131 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20132 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20133 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20134 <bp-asm.h>.
20135 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20136 about bounded pointers. Remove GKM FIXME comment.
20137 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20138 and <bp-asm.h>.
20139 (strncmp): Don't use BP_SYM. Remove comment about bounded
20140 pointers.
20141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20142 <bp-sym.h> and <bp-asm.h>.
20143 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20145 <bp-sym.h> and <bp-asm.h>.
20146 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20147 comment.
20148
cdcf361f
PP
201492013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20150
20151 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20152 call free(NULL).
20153
3c4a2b15
DM
201542013-03-05 David S. Miller <davem@davemloft.net>
20155
20156 * po/es.po: Update from translation team.
20157
cdcf361f 201582013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
20159
20160 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20161 <bits/mman-linux.h>.
20162 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20163 is fine.
20164 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20165 <bits/mman-linux.h> to end of file.
20166 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20167 is fine.
20168 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20169 <bits/mman-linux.h> to end of file.
20170 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20171 is fine.
20172 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20173 <bits/mman-linux.h> to end of file.
20174
20175 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20176 (MCL_CURRENT, MCL_FUTURE): Define here.
20177
5f67c04f
AK
201782013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20179
8a4473cc 20180 [BZ #15232]
5f67c04f
AK
20181 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20182 attribute_hidden.
20183 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20184
c3e94a95
AK
201852013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20186
20187 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20188 fourth parameter needed for rt_sigprocmask syscall.
20189 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20190 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20191 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20192 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20193 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20194 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20195
cfb6382a
JM
201962013-03-04 Joseph Myers <joseph@codesourcery.com>
20197
20198 [BZ #13550]
20199 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20200 comment about bounded pointers.
20201 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20202 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20203
539d8e01
AJ
202042013-03-04 Andreas Jaeger <aj@suse.de>
20205
20206 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20207 common definitions.
20208
20209 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20210 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20211 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20212 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20213 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
20214 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20215
2e167a70 202162013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
20217
20218 [BZ #15055]
20219 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20220 __ieee754_sqrl instead of __sqrl.
20221
68508633
JM
202222013-03-01 Joseph Myers <joseph@codesourcery.com>
20223
20224 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20225 * sysdeps/powerpc/fpu_control.h: ... here.
20226 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20227 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20228 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20229 * sysdeps/powerpc/bits/mathinline.h: ... here.
20230
7775448e
RM
202312013-03-01 Roland McGrath <roland@hack.frob.com>
20232
20233 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20234 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20235 to just [NEED_DL_SYSINFO_DSO].
20236 * elf/dl-support.c: Likewise.
20237 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20238 * elf/rtld.c (dl_main): Likewise.
20239 * elf/setup-vdso.h (setup_vdso): Likewise.
20240 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20241 * sysdeps/unix/sysv/linux/dl-sysdep.c
20242 (_dl_discover_osversion): Likewise.
20243
4e9b5995
CD
202442013-03-01 Carlos O'Donell <carlos@redhat.com>
20245
20246 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20247 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20248
e23872c8
SP
202492013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20250
e5c74c63
SP
20251 * NEWS: Mention libm performance improvements and non-x86 PI
20252 futex support.
20253
e23872c8
SP
20254 * csu/libc-start.c (__pthread_initialize_minimal): Change
20255 function arguments.
20256 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20257
b5510883
JM
202582013-02-28 Joseph Myers <joseph@codesourcery.com>
20259
20260 [BZ #13550]
20261 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20262 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20263 <bp-sym.h> and <bp-asm.h>.
20264 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20265 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20266 and <bp-asm.h>.
20267 (memcpy): Don't use BP_SYM.
20268 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20269 <bp-asm.h>.
20270 (__mpn_add_n): Don't use BP_SYM.
20271 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20272 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20273 and <bp-asm.h>.
20274 (__mpn_addmul_1): Don't use BP_SYM.
20275 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20276 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20277 <bp-sym.h>.
20278 (_setjmp): Don't use BP_SYM.
20279 (__novmx_setjmp): Likewise.
20280 (__GI__setjmp): Likewise.
20281 (__vmx_setjmp): Likewise.
20282 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20283 <bp-sym.h>.
20284 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20285 (__bzero): Don't use BP_SYM.
20286 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20287 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20288 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20289 <bp-sym.h> and <bp-asm.h>.
20290 (memcpy): Don't use BP_SYM.
20291 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20292 <bp-sym.h> and <bp-asm.h>.
20293 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20294 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20295 <bp-sym.h> and <bp-asm.h>.
20296 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20297 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20298 <bp-asm.h>.
20299 (__mpn_lshift): Don't use BP_SYM.
20300 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20301 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20302 <bp-asm.h>.
20303 (memset): Don't use BP_SYM.
20304 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20305 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20306 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20307 <bp-asm.h>.
20308 (__mpn_mul_1): Don't use BP_SYM.
20309 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20310 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20311 <bp-sym.h> and <bp-asm.h>.
20312 (memcmp): Don't use BP_SYM.
20313 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20314 <bp-sym.h> and <bp-asm.h>.
20315 (memcpy): Don't use BP_SYM.
20316 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20317 <bp-sym.h> and <bp-asm.h>.
20318 (memset): Don't use BP_SYM.
20319 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20320 <bp-sym.h> and <bp-asm.h>.
20321 (strncmp): Don't use BP_SYM.
20322 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20323 <bp-sym.h> and <bp-asm.h>.
20324 (memcpy): Don't use BP_SYM.
20325 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20326 <bp-sym.h> and <bp-asm.h>.
20327 (memset): Don't use BP_SYM.
20328 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20329 <bp-sym.h> and <bp-asm.h>.
20330 (__memchr): Don't use BP_SYM.
20331 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20332 <bp-sym.h> and <bp-asm.h>.
20333 (memcmp): Don't use BP_SYM.
20334 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20335 <bp-sym.h> and <bp-asm.h>.
20336 (memcpy): Don't use BP_SYM.
20337 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20338 <bp-sym.h> and <bp-asm.h>.
20339 (__mempcpy): Don't use BP_SYM.
20340 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20341 <bp-sym.h> and <bp-asm.h>.
20342 (__memrchr): Don't use BP_SYM.
20343 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20344 <bp-sym.h> and <bp-asm.h>.
20345 (memset): Don't use BP_SYM.
20346 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20347 <bp-sym.h> and <bp-asm.h>.
20348 (__rawmemchr): Don't use BP_SYM.
20349 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20350 <bp-sym.h> and <bp-asm.h>.
20351 (__STRCMP): Don't use BP_SYM.
20352 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20353 <bp-sym.h> and <bp-asm.h>.
20354 (strchr): Don't use BP_SYM.
20355 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20356 <bp-sym.h> and <bp-asm.h>.
20357 (__strchrnul): Don't use BP_SYM.
20358 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20359 <bp-sym.h> and <bp-asm.h>.
20360 (strlen): Don't use BP_SYM.
20361 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20362 <bp-sym.h> and <bp-asm.h>.
20363 (strncmp): Don't use BP_SYM.
20364 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20365 <bp-sym.h> and <bp-asm.h>.
20366 (__strnlen): Don't use BP_SYM.
20367 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20368 <bp-asm.h>.
20369 (__mpn_rshift): Don't use BP_SYM.
20370 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20371 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20372 <bp-sym.h> and <bp-asm.h>.
20373 (__sigsetjmp): Don't use BP_SYM.
20374 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20375 (L(start_addresses)): Don't use BP_SYM.
20376 (_start): Likewise.
20377 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20378 <bp-asm.h>.
20379 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20380 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20381 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20382 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20383 <bp-asm.h>.
20384 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20385 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20386 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20387 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20388 <bp-asm.h>.
20389 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20390 comments.
20391 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20392 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20393 <bp-asm.h>.
20394 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20395 FIXME comments.
20396 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20397 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20398 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20399 <bp-asm.h>.
20400 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20401 comment.
20402 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20403 and <bp-asm.h>.
20404 (strncmp): Don't use BP_SYM,
20405 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20406 <bp-asm.h>.
20407 (__mpn_sub_n): Don't use BP_SYM.
20408 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20409 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20410 and <bp-asm.h>.
20411 (__mpn_submul_1): Don't use BP_SYM.
20412 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20414 <bp-sym.h> and <bp-asm.h>.
20415 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20417 <bp-sym.h> and <bp-asm.h>.
20418 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20419 comment.
20420
8d19fe64
SP
204212013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20422
20423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20424 Use ZK to minimize writes to Z.
20425 (sub_magnitudes): Simplify code a bit.
20426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20427 Use ZK to minimize writes to Z.
20428 (sub_magnitudes): Simplify code a bit.
20429
85bd816a
RM
204302013-02-27 Roland McGrath <roland@hack.frob.com>
20431
20432 * csu/gmon-start.c: Add special exception to license text.
20433
b5977bf2
RH
204342013-02-27 Richard Henderson <rth@redhat.com>
20435
20436 * scripts/config.guess: Update from config.git.
20437 * scripts/config.sub: Likewise.
20438
11d6e2f2
SP
204392013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20440
09c14ed2
SP
20441 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20442
a688864e
SP
20443 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20444
6295157a
SP
20445 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20446
b8de2202
SP
20447 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20448
11d6e2f2
SP
20449 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20450
7e80ddb8
RM
204512013-02-26 Roland McGrath <roland@hack.frob.com>
20452
20453 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20454 [$(build-shared = yes].
7e80ddb8 20455
7da6d9ed
SP
204562013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20457
45f05884
SP
20458 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20459 (__mul): Reduce iterations for calculating mantissa.
20460
2236d359
SP
20461 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20462 MPTWO.
20463 (__mpranred): Likewise.
20464
7da6d9ed
SP
20465 [BZ #15160]
20466 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20467 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20468
b7688c42
PE
204692013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20470
20471 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20472 Define __attribute__.
20473
53a5c423
SP
204742013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20475
20476 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20477 unused.
20478 * posix/regex_internal.h (__attribute): Remove.
20479 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20480 (re_string_context_at): Likewise.
20481 (bitset_not): Use __attribute__ and mark function as possibly
20482 unused.
20483 (bitset_merge): Likewise.
20484 (bitset_mask): Likewise.
20485 (re_string_char_size_at): Likewise.
20486 (re_string_wchar_at): Likewise.
20487 (re_string_elem_size_at): Likewise.
20488
60f5a8b5
SP
204892013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20490
2a983a2e
SP
20491 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20492 code.
20493 (cc32): Likewise.
20494
e69804d1
SP
20495 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20496 (__acr): Likewise.
20497 (__cpy): Likewise.
20498 (norm): Likewise.
20499 (denorm): Likewise.
20500 (__dbl_mp): Likewise.
20501 (add_magnitudes): Likewise.
20502 (sub_magnitudes): Likewise.
20503 (__mul): Likewise.
20504 (__inv): Likewise.
20505
2f22a1e8
SP
20506 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20507 style.
20508
8930ddc7
SP
20509 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20510 style.
20511
dc60cb11
SP
20512 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20513 code.
20514
60f5a8b5
SP
20515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20516 up changes with default code.
20517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20518 Likewise.
20519
b4d1fd33
AM
205202013-02-24 Allan McRae <allan@archlinux.org>
20521
faf6f8bc
AM
20522 * manual/socket.texi (The Internet Namespace): Order menu items
20523 to match that in the file.
20524
b4d1fd33
AM
20525 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20526 node listing of the info page menu.
20527
2366713d
JM
205282013-02-21 Joseph Myers <joseph@codesourcery.com>
20529
20530 [BZ #13550]
20531 * sysdeps/i386/bp-asm.h: Remove file.
20532 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20533 (PARMS): Do not use macros from bp-asm.h.
20534 (S1): Likewise.
20535 (S2): Likewise.
20536 (SIZE): Likewise.
20537 (__mpn_add_n): Do not use BP_SYM
20538 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20539 "bp-asm.h".
20540 (PARMS): Do not use macros from bp-asm.h.
20541 (S1): Likewise.
20542 (SIZE): Likewise.
20543 (__mpn_addmul_1): Do not use BP_SYM
20544 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20545 "bp-asm.h".
20546 (PARMS): Do not use macros from bp-asm.h.
20547 (SIGMSK): Likewise.
20548 (_setjmp): Likewise. Do not use BP_SYM.
20549 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20550 "bp-asm.h".
20551 (PARMS): Do not use macros from bp-asm.h.
20552 (SIGMSK): Likewise.
20553 (setjmp): Likewise. Do not use BP_SYM.
20554 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20555 "bp-asm.h".
20556 (PARMS): Do not use macros from bp-asm.h.
20557 (__frexp): Do not use BP_SYM.
20558 (frexp): Likewise.
20559 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20560 "bp-asm.h".
20561 (PARMS): Do not use macros from bp-asm.h.
20562 (__frexpf): Do not use BP_SYM.
20563 (frexpf): Likewise.
20564 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20565 "bp-asm.h".
20566 (PARMS): Do not use macros from bp-asm.h.
20567 (__frexpl): Do not use BP_SYM.
20568 (frexpl): Likewise.
20569 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20570 "bp-asm.h".
20571 (PARMS): Do not use macros from bp-asm.h.
20572 (__remquo): Do not use BP_SYM.
20573 (remquo): Likewise.
20574 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20575 "bp-asm.h".
20576 (PARMS): Do not use macros from bp-asm.h.
20577 (__remquof): Do not use BP_SYM.
20578 (remquof): Likewise.
20579 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20580 "bp-asm.h".
20581 (PARMS): Do not use macros from bp-asm.h.
20582 (__remquol): Do not use BP_SYM.
20583 (remquol): Likewise.
20584 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20585 "bp-asm.h".
20586 (PARMS): Do not use macros from bp-asm.h.
20587 (DEST): Likewise.
20588 (SRC): Likewise.
20589 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20590 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20591 "bp-asm.h".
20592 (PARMS): Do not use macros from bp-asm.h.
20593 (strlen): Do not use BP_SYM.
20594 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20595 "bp-asm.h".
20596 (PARMS): Do not use macros from bp-asm.h.
20597 (S1): Likewise.
20598 (S2): Likewise.
20599 (SIZE): Likewise.
20600 (__mpn_add_n): Do not use BP_SYM.
20601 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20602 "bp-asm.h".
20603 (PARMS): Do not use macros from bp-asm.h.
20604 (S1): Likewise.
20605 (SIZE): Likewise.
20606 (__mpn_addmul_1): Do not use BP_SYM.
20607 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20608 weak_alias.
20609 (bzero): Likewise.
20610 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20611 "bp-asm.h".
20612 (PARMS): Do not use macros from bp-asm.h.
20613 (S): Likewise.
20614 (SIZE): Likewise.
20615 (__mpn_lshift): Do not use BP_SYM.
20616 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20617 "bp-asm.h".
20618 (PARMS): Do not use macros from bp-asm.h.
20619 (DEST): Likewise.
20620 (SRC): Likewise.
20621 (LEN): Likewise.
20622 (memcpy): Likewise. Do not use BP_SYM.
20623 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20624 libc_hidden_def and weak_alias.
20625 (mempcpy): Do not use BP_SYM in weak_alias.
20626 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20627 "bp-asm.h".
20628 (PARMS): Do not use macros from bp-asm.h.
20629 (DEST): Likewise.
20630 (LEN): Likewise.
20631 [!BZERO_P] (CHR): Likewise.
20632 (memset): Likewise. Do not use BP_SYM.
20633 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20634 "bp-asm.h".
20635 (PARMS): Do not use macros from bp-asm.h.
20636 (S1): Likewise.
20637 (SIZE): Likewise.
20638 (__mpn_mul_1): Do not use BP_SYM.
20639 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20640 "bp-asm.h".
20641 (PARMS): Do not use macros from bp-asm.h.
20642 (S): Likewise.
20643 (SIZE): Likewise.
20644 (__mpn_rshift): Do not use BP_SYM.
20645 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20646 "bp-asm.h".
20647 (PARMS): Do not use macros from bp-asm.h.
20648 (STR): Likewise.
20649 (CHR): Likewise.
20650 (strchr): Likewise. Do not use BP_SYM.
20651 (index): Do not use BP_SYM in weak_alias.
20652 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20653 "bp-asm.h".
20654 (PARMS): Do not use macros from bp-asm.h.
20655 (DEST): Likewise.
20656 (SRC): Likewise.
20657 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20658 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20659 "bp-asm.h".
20660 (PARMS): Do not use macros from bp-asm.h.
20661 (strlen): Do not use BP_SYM.
20662 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20663 "bp-asm.h".
20664 (PARMS): Do not use macros from bp-asm.h.
20665 (S1): Likewise.
20666 (S2): Likewise.
20667 (SIZE): Likewise.
20668 (__mpn_sub_n): Do not use BP_SYM.
20669 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20670 "bp-asm.h".
20671 (PARMS): Do not use macros from bp-asm.h.
20672 (S1): Likewise.
20673 (SIZE): Likewise.
20674 (__mpn_submul_1): Do not use BP_SYM.
20675 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20676 "bp-asm.h".
20677 (PARMS): Do not use macros from bp-asm.h.
20678 (S1): Likewise.
20679 (S2): Likewise.
20680 (SIZE): Likewise.
20681 (__mpn_add_n): Do not use BP_SYM.
20682 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20683 weak_alias.
20684 (bzero): Likewise.
20685 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20686 "bp-asm.h".
20687 (PARMS): Do not use macros from bp-asm.h.
20688 (BLK2): Likewise.
20689 (LEN): Likewise.
20690 (memcmp): Do not use BP_SYM.
20691 (bcmp): Do not use BP_SYM in weak_alias.
20692 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20693 "bp-asm.h".
20694 (PARMS): Do not use macros from bp-asm.h.
20695 (DEST): Likewise.
20696 (SRC): Likewise.
20697 (LEN): Likewise.
20698 (memcpy): Likewise. Do not use BP_SYM.
20699 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20700 "bp-asm.h".
20701 (PARMS): Do not use macros from bp-asm.h.
20702 (DEST): Likewise.
20703 (SRC): Likewise.
20704 (LEN): Likewise.
20705 (memmove): Likewise. Do not use BP_SYM.
20706 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20707 "bp-asm.h".
20708 (PARMS): Do not use macros from bp-asm.h.
20709 (DEST): Likewise.
20710 (SRC): Likewise.
20711 (LEN): Likewise.
20712 (__mempcpy): Likewise. Do not use BP_SYM.
20713 (mempcpy): Do not use BP_SYM in weak_alias.
20714 * sysdeps/i386/i686/memset.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 (LEN): Likewise.
20719 [!BZERO_P] (CHR): Likewise.
20720 (memset): Likewise. Do not use BP_SYM.
20721 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20722 "bp-asm.h".
20723 (PARMS): Do not use macros from bp-asm.h.
20724 (STR2): Likewise.
20725 (strcmp): Do not use BP_SYM.
20726 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20727 "bp-asm.h".
20728 (PARMS): Do not use macros from bp-asm.h.
20729 (STR): Likewise.
20730 (DELIM): Likewise.
20731 [USE_AS_STRTOK_R] (SAVE): Likewise.
20732 (FUNCTION): Likewise. Do not use BP_SYM.
20733 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20734 aliases.
20735 (strtok_r): Likewise.
20736 (__GI___strtok_r): Likewise.
20737 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20738 (PARMS): Do not use macros from bp-asm.h.
20739 (S): Likewise.
20740 (SIZE): Likewise.
20741 (__mpn_lshift): Do not use BP_SYM.
20742 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20743 (PARMS): Do not use macros from bp-asm.h.
20744 (STR): Likewise.
20745 (CHR): Likewise.
20746 (__memchr): Do not use BP_SYM.
20747 (memchr): Do not use BP_SYM in weak_alias.
20748 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "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/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20755 (PARMS): Do not use macros from bp-asm.h.
20756 (S1): Likewise.
20757 (SIZE): Likewise.
20758 (__mpn_mul_1): Do not use BP_SYM.
20759 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20760 "bp-asm.h".
20761 (PARMS): Do not use macros from bp-asm.h.
20762 (STR): Likewise.
20763 (CHR): Likewise.
20764 (__rawmemchr): Do not use BP_SYM.
20765 (rawmemchr): Do not use BP_SYM in weak_alias.
20766 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20767 (PARMS): Do not use macros from bp-asm.h.
20768 (S): Likewise.
20769 (SIZE): Likewise.
20770 (__mpn_rshift): Do not use BP_SYM.
20771 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20772 (PARMS): Do not use macros from bp-asm.h.
20773 (SIGMSK): Likewise.
20774 (__sigsetjmp): Likewise. Do not use BP_SYM.
20775 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20776 (_start): Do not use BP_SYM.
20777 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20778 (PARMS): Do not use macros from bp-asm.h.
20779 (DEST): Likewise.
20780 (SRC): Likewise.
20781 (__stpcpy): Likewise. Do not use BP_SYM.
20782 (stpcpy): Do not use BP_SYM in weak_alias.
20783 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20784 "bp-asm.h".
20785 (PARMS): Do not use macros from bp-asm.h.
20786 (DEST): Likewise.
20787 (SRC): Likewise.
20788 (LEN): Likewise.
20789 (__stpncpy): Likewise. Do not use BP_SYM.
20790 (stpncpy): Do not use BP_SYM in weak_alias.
20791 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20792 (PARMS): Do not use macros from bp-asm.h.
20793 (STR): Likewise.
20794 (CHR): Likewise.
20795 (strchr): Likewise. Do not use BP_SYM.
20796 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20797 "bp-asm.h".
20798 (PARMS): Do not use macros from bp-asm.h.
20799 (STR): Likewise.
20800 (CHR): Likewise.
20801 (__strchrnul): Likewise. Do not use BP_SYM.
20802 (strchrnul): Do not use BP_SYM in weak_alias.
20803 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20804 "bp-asm.h".
20805 (PARMS): Do not use macros from bp-asm.h.
20806 (STOP): Likewise.
20807 (strcspn): Do not use BP_SYM.
20808 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20809 "bp-asm.h".
20810 (PARMS): Do not use macros from bp-asm.h.
20811 (STR): Likewise.
20812 (STOP): Likewise.
20813 (strpbrk): Likewise. Do not use BP_SYM.
20814 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20815 "bp-asm.h".
20816 (PARMS): Do not use macros from bp-asm.h.
20817 (STR): Likewise.
20818 (CHR): Likewise.
20819 (strrchr): Likewise. Do not use BP_SYM.
20820 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20821 (PARMS): Do not use macros from bp-asm.h.
20822 (SKIP): Likewise.
20823 (strspn): Do not use BP_SYM.
20824 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20825 (PARMS): Do not use macros from bp-asm.h.
20826 (STR): Likewise.
20827 (DELIM): Likewise.
20828 (SAVE): Likewise.
20829 (FUNCTION): Likewise. Do not use BP_SYM.
20830 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20831 aliases.
20832 (strtok_r): Likewise.
20833 (__GI___strtok_r): Likewise.
20834 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20835 (PARMS): Do not use macros from bp-asm.h.
20836 (S1): Likewise.
20837 (S2): Likewise.
20838 (SIZE): Likewise.
20839 (__mpn_sub_n): Do not use BP_SYM.
20840 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20841 "bp-asm.h".
20842 (PARMS): Do not use macros from bp-asm.h.
20843 (S1): Likewise.
20844 (SIZE): Likewise.
20845 (__mpn_submul_1): Do not use BP_SYM.
20846 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20847 <bp-sym.h>.
20848 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20849 and <bp-asm.h>.
20850 (PARMS): Do not use macros from bp-asm.h.
20851 (FLAGS): Likewise.
20852 (PTID): Likewise.
20853 (TLS): Likewise.
20854 (CTID): Likewise.
20855 (__clone): Do not use BP_SYM.
20856 (clone): Do not use BP_SYM in weak_alias.
20857 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20858 and <bp-asm.h>.
20859 (PARMS): Do not use macros from bp-asm.h.
20860 (LEN): Likewise.
20861 (__mmap64): Do not use BP_SYM.
20862 (mmap64): Do not use BP_SYM in weak_alias.
20863 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20864 <bp-sym.h> and <bp-asm.h>.
20865 (PARMS): Do not use macros from bp-asm.h.
20866 (__posix_fadvise64_l64): Do not use BP_SYM.
20867 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20868 (PARMS): Do not use macros from bp-asm.h.
20869 (NSOPS): Likewise.
20870 (semtimedop): Do not use BP_SYM.
20871 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20872 and <bp-asm.h>.
20873
582a3cff
AM
208742013-02-21 Allan McRae <allan@archlinux.org>
20875
20876 * manual/message.texi (Charset conversion in gettext):
20877 Move @end statement to beginning of line.
20878
bab8a695
SP
208792013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20880
80945231
SP
20881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20882 static.
20883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20884 Likewise.
20885
bab8a695
SP
20886 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20887 (denorm): Likewise.
20888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20890
e21d7aa7
AK
208912013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20892
20893 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20894 tail-call to the resolved function if pltexit isn't needed.
20895
4c7a4263
SP
208962013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20897
20898 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20899 or Y being zero as being unlikely.
20900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20901 Likewise.
20902
41f49342
CD
209032013-02-20 Carlos O'Donell <carlos@redhat.com>
20904
20905 * manual/nss.texi (System Databases and Name Service Switch):
20906 Remove frobnicate @pxref.
20907
50022a93
TS
209082013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20909
20910 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20911 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20912
08cbd996
PM
209132013-02-20 Petr Machata <pmachata@redhat.com>
20914
20915 * elf/elf.h (R_ARM_TARGET1): New macro.
20916 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20917 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20918 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20919 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20920 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20921 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20922 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20923 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20924 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20925 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20926 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20927 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20928 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20929 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20930 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20931 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20932 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20933 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20934 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20935 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20936 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20937 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20938 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20939 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20940 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20941 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20942 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20943 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20944 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20945 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20946 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20947 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20948 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20949 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20950 (R_ARM_THM_GOT_BREL12): Likewise.
20951 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20952 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20953 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20954 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20955 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20956 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20957 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20958 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20959 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20960
c7b275d6
TS
209612013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20962
20963 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20964 __attribute_used__ to __attribute__ ((unused)).
20965
20cd7fb3
SP
209662013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20967
20968 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20969 powerpc mpa.c.
20970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20971 comment formatting.
20972 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20973
92945b52
JM
209742013-02-19 Joseph Myers <joseph@codesourcery.com>
20975
20976 [BZ #13550]
20977 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20978 Remove macro.
20979 (ENTER): Remove both macro definitions.
20980 (LEAVE): Likewise.
20981 (CHECK_BOUNDS_LOW): Likewise.
20982 (CHECK_BOUNDS_HIGH): Likewise.
20983 (CHECK_BOUNDS_BOTH): Likewise.
20984 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20985 (RETURN_BOUNDED_POINTER): Likewise.
20986 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20987 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20988 (POP_ERRNO_LOCATION_RETURN): Likewise.
20989 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20990 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20991 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20992 macros.
20993 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20994 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20995 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20996 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20997 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20998 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20999 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21000 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21001 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21002 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21003 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21004 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21005 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21006 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21007 removed macros.
21008 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21009 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21010 macros.
21011 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21012 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21013 * sysdeps/i386/i586/memset.S (memset): Likewise.
21014 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21015 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21016 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21017 macros.
21018 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21019 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21020 Change uses of L(2) to L(out).
21021 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21022 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21023 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21024 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21025 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21026 removed macros.
21027 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21028 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21029 macros.
21030 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21031 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21032 (RETURN): Do not use macro LEAVE.
21033 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21034 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21035 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21036 * sysdeps/i386/i686/memset.S (memset): Likewise.
21037 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21038 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21039 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21040 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21041 Likewise.
21042 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21043 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21044 L(1_2) and L(1_3) into L(1).
21045 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21046 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21047 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21048 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21049 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21050 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21051 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21052 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21053 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21054 macros.
21055 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21056 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21057 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21058 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21059 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21060 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21061 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21062 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21063 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21064 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21065 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21066 * sysdeps/i386/strspn.S (strspn): Likewise.
21067 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21068 conditional code.
21069 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21070 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21071 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21072 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21073 L(1_3) into L(1_1).
21074 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21075 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21076 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21077 macros.
21078 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21079
2389741a
JJ
210802013-02-19 Jakub Jelinek <jakub@redhat.com>
21081
21082 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21083 macro.
21084
2016b3cd
SP
210852013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21086
e4f22324
SP
21087 * math/atest-exp.c (exp_mpn): Remove ROUND.
21088 * math/atest-exp2.c (exp_mpn): Likewise.
21089 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21090
2016b3cd
SP
21091 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21092 * stdlib/tst-tls-atexit-lib.c: Likewise.
21093 * stdlib/tst-tls-atexit.c: Likewise.
21094
4be9b544
MF
210952013-02-18 Mike Frysinger <vapier@gentoo.org>
21096
21097 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21098 and __attribute_alloc_size__.
21099
2f62b9ee
MF
211002013-02-18 Mike Frysinger <vapier@gentoo.org>
21101
21102 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21103 __attribute_alloc_size__.
21104 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21105 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21106
6ff444c4
MF
211072013-02-18 Mike Frysinger <vapier@gentoo.org>
21108
21109 * include/programs/xmalloc.h: New file.
21110 * catgets/gencat.c: Include it.
21111 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21112 * elf/pldd.c: Likewise.
21113 * iconv/iconv_charmap.c: Likewise.
21114 * iconv/iconvconfig.c: Likewise.
21115 * iconv/strtab.c: Likewise.
21116 * locale/programs/locale.c: Likewise.
21117 * locale/programs/localedef.h: Likewise.
21118 * locale/programs/simple-hash.c: Likewise.
21119 * nscd/nscd.h: Likewise.
21120 * nss/makedb.c: Likewise.
21121 * sysdeps/generic/ldconfig.h: Likewise.
21122
be179c8a
SP
211232013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21124
ba384f6e
SP
21125 * Versions.def: Add GLIBC_2.18.
21126 * include/link.h (struct link_map): New member l_tls_dtor_count.
21127 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21128 (__call_tls_dtors): Likewise.
21129 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21130 __cxa_thread_atexit_impl.
21131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21132 Likewise.
21133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21134 Likewise.
21135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21136 Likewise.
21137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21138 Likewise.
21139 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21141 Likewise.
21142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21143 Likewise.
21144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21146 Likewise.
21147 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21148 (tests): Add test case tst-tls-atexit.
21149 (modules-names): Add shared library for tst-tls-atexit.
85891aca 21150 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
21151 (GLIBC_PRIVATE): Add __call_tls_dtors.
21152 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21153 for libstdc++.
21154 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21155 * stdlib/tst-tls-atexit.c: New test case.
21156 * stdlib/tst-tls-atexit-lib.c: New test case.
21157
ffaa74cf 21158 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 21159
be179c8a
SP
21160 * elf/Versions (ld): Add _dl_find_dso_for_object.
21161 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21162 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21163 (dl_open_worker): Use _dl_find_dso_for_object.
21164 * elf/dl-sym.c (do_sym): Likewise.
21165 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21166
f78b5caa
AK
211672013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21168
21169 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21170 Syntactic changes only.
21171 (_dl_runtime_profile): Do a tail-call to the resolved function.
21172
29691210
JM
211732013-02-17 Joseph Myers <joseph@codesourcery.com>
21174
21175 [BZ #13550]
21176 * sysdeps/x86_64/bp-asm.h: Remove file.
21177 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21178 <bp-sym.h> and <bp-asm.h>.
21179 (__clone): Do not use BP_SYM.
21180 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21181 <bp-sym.h> and <bp-asm.h>.
21182 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21183 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21184 "bp-asm.h".
21185 (_setjmp): Do not use BP_SYM.
21186 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21187 "bp-asm.h".
21188 (setjmp): Do not use BP_SYM.
21189 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21190 libc_hidden_def.
21191 (mempcpy): Do not use BP_SYM in weak_alias.
21192 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21193 "bp-asm.h".
21194 (strchr): Do not use BP_SYM.
21195 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21196 "bp-asm.h".
21197 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21198 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21199 (_start): Do not use BP_SYM.
21200 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21201 "bp-asm.h".
21202 (strcat): Do not use BP_SYM.
21203 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21204 "bp-asm.h".
21205 (STRCMP): Do not use BP_SYM.
21206 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21207 "bp-asm.h".
21208 (STRCPY): Do not use BP_SYM.
21209 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21210 "bp-asm.h".
21211 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21212 "bp-asm.h".
21213 (FUNCTION): Do not use BP_SYM.
21214 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21215 weak_alias.
21216 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21217
f238fd19
AJ
212182013-02-17 Andreas Jaeger <aj@suse.de>
21219
21220 * time/Versions: Sort entries.
21221 * string/Versions: Likewise.
21222 * resolv/Versions: Likewise.
21223 * posix/Versions: Likewise.
21224 * iconv/Versions: Likewise.
21225 * elf/Versions: Likewise.
21226 * wcsmbs/Versions: Likewise.
21227
bd07f23c 212282013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 21229
22af19f9
SP
21230 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21231 loop termination condition.
21232
4709fe76
SP
21233 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21234 variable to calculate EZ.
21235 (__sqr): Likewise.
2d0e0f29
SP
21236
21237 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21238 the lower precision input.
21239
daaa7713
JM
212402013-02-15 Joseph Myers <joseph@codesourcery.com>
21241
21242 [BZ #13550]
21243 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21244 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21245 (run-via-rtld-prefix): Do not handle %-bp tests.
21246 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21247 (all-object-suffixes): Remove .ob.
21248 (bppfx): Remove variable.
21249 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21250 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21251 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21252 [$(build-bounded) = yes] (libtype.ob): Likewise.
21253 * Makerules (elide-routines.ob): Remove variable.
21254 (do-tests-clean): Do not handle *-bp.out.
21255 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21256 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21257 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21258 (tests): Do not include $(tests-bp.out).
21259 (xtests): Do not include $(xtests-bp.out).
21260 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21261 [$(build-bounded) = yes] ($(addprefix
21262 $(objpfx),$(binaries-bounded))): Remove rule.
21263 ($(objpfx)%-bp.out): Remove rule.
21264 * config.make.in (build-bounded): Remove variable.
21265 * crypt/Makefile [$(build-bounded) = yes]
21266 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21267 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21268 append to variable.
21269 [$(build-bounded) = yes] (install-lib): Likewise.
21270 [$(build-bounded) = yes] (generated): Likewise.
21271 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21272 Remove rule.
21273 * intl/Makefile [$(build-bounded) = yes]
21274 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21275 * math/Makefile [$(build-bounded) = yes]
21276 ($(tests:%=$(objpfx)%-bp): Likewise.
21277 * misc/Makefile [$(build-bounded) = yes]
21278 ($(objpfx)tst-tsearch-bp): Likewise.
21279 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21280 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21281 Remove dependency.
21282 * string/Makefile (o-objects.ob): Remove variable.
21283 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21284 (CFLAGS-.ob): Remove variable.
21285 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21286 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21287 both definitions of variable.
21288 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21289 (ASFLAGS-.ob): Remove variable.
21290
e97ed6dd
JM
212912013-02-14 Joseph Myers <joseph@codesourcery.com>
21292
2bdd4ca6
JM
21293 [BZ #13550]
21294 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21295 Remove __BOUNDED_POINTERS__ from condition.
21296 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21297 * string/bits/string2.h [!__NO_STRING_INLINES &&
21298 !__BOUNDED_POINTERS__]: Likewise.
21299 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21300 Likewise.
21301 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21302 Remove conditional code.
21303 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21304 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21305 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21306 condition.
21307
e97ed6dd
JM
21308 [BZ #13550]
21309 * csu/libc-start.c: Do not include <bp-sym.h>.
21310 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21311 * elf/dl-open.c: Do not include <bp-sym.h>.
21312 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21313 * math/fegetenv.c: Do not include <bp-sym.h>.
21314 (fegetenv): Do not use BP_SYM in versioned symbols.
21315 * nptl/sysdeps/pthread/bits/libc-lockP.h
21316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21317 <bp-sym.h>.
21318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21319 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21321 (__pthread_mutex_destroy): Likewise.
21322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21323 (__pthread_mutex_lock): Likewise.
21324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21325 (__pthread_mutex_trylock): Likewise.
21326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21327 (__pthread_mutex_unlock): Likewise.
21328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21329 (__pthread_mutexattr_init): Likewise.
21330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21331 (__pthread_mutexattr_destroy): Likewise.
21332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21333 (__pthread_mutexattr_settype): Likewise.
21334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21335 (__pthread_rwlock_init): Likewise.
21336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21337 (__pthread_rwlock_destroy): Likewise.
21338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21339 (__pthread_rwlock_rdlock): Likewise.
21340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21341 (__pthread_rwlock_tryrdlock): Likewise.
21342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21343 (__pthread_rwlock_wrlock): Likewise.
21344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21345 (__pthread_rwlock_trywrlock): Likewise.
21346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21347 (__pthread_rwlock_unlock): Likewise.
21348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21349 (__pthread_key_create): Likewise.
21350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21351 (__pthread_setspecific): Likewise.
21352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21353 (__pthread_getspecific): Likewise.
21354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21355 Likewise.
21356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21357 (_pthread_cleanup_push_defer): Likewise.
21358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21359 (_pthread_cleanup_pop_restore): Likewise.
21360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21361 (pthread_setcancelstate): Likewise.
21362 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21363 <bp-sym.h>.
21364 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21365 (memchr): Do not use BP_SYM in weak_alias.
21366 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21367 (fegetenv): Do not use BP_SYM in versioned symbols.
21368 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21369 (fesetenv): Do not use BP_SYM in versioned symbols.
21370 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21371 (feupdateenv): Do not use BP_SYM in versioned symbols.
21372 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21373 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21374 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21375 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21376 (open64): Do not use BP_SYM in weak_alias.
21377 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21378 (fegetenv): Do not use BP_SYM in versioned symbols.
21379 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21380 (fesetenv): Do not use BP_SYM in versioned symbols.
21381 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21382 (feupdateenv): Do not use BP_SYM in versioned symbols.
21383 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21384 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21385 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21386 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21387 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21388 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21389 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21390 <bp-sym.h>.
21391 (__libc_start_main): Do not use BP_SYM.
21392
d6752ccd
SP
213932013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21394
cb57ce60
SP
21395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21396 redundant return line.
21397 (norm): Likewise.
21398 (denorm): Likewise.
21399 (dbl_mp): Likewise.
21400 (sub_magnitudes): Likewise.
21401 (__add): Likewise.
21402 (__sub): Likewise.
21403 (__mul): Likewise.
21404 (__inv): Likewise.
21405 (__dvd): Likewise.
21406 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21407 (norm): Likewise.
21408 (denorm): Likewise.
21409 (dbl_mp): Likewise.
21410 (sub_magnitudes): Likewise.
21411 (__add): Likewise.
21412 (__sub): Likewise.
21413 (__mul): Likewise.
21414 (__inv): Likewise.
21415 (__dvd): Likewise.
21416
f414520d
SP
21417 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21418 instead of __mul.
21419 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21420 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21421 (cc32): Likewise.
21422
d6752ccd
SP
21423 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21424 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21425 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21426 of __mul for squares.
21427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21428 function
21429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21430 Likewise.
21431 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21432 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21433
70d9946a
JM
214342013-02-13 Joseph Myers <joseph@codesourcery.com>
21435
21436 [BZ #13550]
21437 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21438 code.
21439 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21440 prototype or function definition. Rename ubp_* variables and
21441 parameters. Remove argv definitions conditional on
21442 [__BOUNDED_POINTERS__].
21443 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21444 * elf/dl-runtime.c (_dl_fixup): Likewise.
21445 * include/set-hooks.h (RUN_HOOK): Likewise.
21446 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21447 definition.
21448 * string/strcpy.c (strcpy): Do not use __unbounded.
21449 * sysdeps/generic/frame.h (struct layout): Likewise.
21450 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21451 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21452 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21453 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21454 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21455 (__backtrace): Likewise.
21456 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21457 use __ptrvalue.
21458 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21459 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21460 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21461 Likewise.
21462 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21463 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21464 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21465 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21466 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21467 Do not use __unbounded.
21468 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21469 Rename __unboundedrlimits parameter to rlimits in prototype.
21470 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21471 Do not use __unbounded.
21472 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21473 not use __ptrvalue.
21474 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21475 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21476 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21477 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21478 __ptrvalue or __unbounded.
21479 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21480 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21481 use __unbounded.
21482 (__new_msgctl): Do not use __ptrvalue.
21483 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21484 __unbounded.
21485 (__libc_msgrcv): Do not use __ptrvalue.
21486 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21487 startup_info): Do not use __unbounded.
21488 (__libc_start_main): Likewise. Rename ubp_* variables and
21489 parameters. Remove argv definitions conditional on
21490 [__BOUNDED_POINTERS__].
21491 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21492 __ptrvalue.
21493 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21494 use __unbounded.
21495 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21496 or __ptrvalue.
21497 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21498 use __unbounded.
21499 (__new_shmctl): Do not use __ptrvalue.
21500 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21501 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21502 Likewise.
21503 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21504 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21505 (__libc_sigaction): Likewise.
21506 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21507 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21508 Likewise.
21509 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21510
cc7834d6
OB
215112013-02-13 Ondřej Bílka <neleai@seznam.cz>
21512
ffb1ec7b 21513 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
21514
21515 * string/mempcpy.c: Implement by calling memcpy.
21516
bdf02814
SP
215172013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21518
c2af38aa
SP
21519 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21520
4e92d59e
SP
21521 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21522 evaluation.
21523
909279a5
SP
21524 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21525 values in the mantissa.
21526
bdf02814
SP
21527 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21528 minimize writes to Z.
21529 (sub_magnitudes): Simplify code a bit.
21530
cd525923
RM
215312013-02-12 Roland McGrath <roland@hack.frob.com>
21532
21533 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21534 from the message. The linker prefixes all warnings with that already.
21535
7e2f0d2d
AS
215362013-02-12 Andreas Schwab <schwab@suse.de>
21537
a445af0b
AS
21538 [BZ #15078]
21539 * posix/regexec.c (extend_buffers): Add parameter min_len.
21540 (check_matching): Pass minimum needed length.
21541 (clean_state_log_if_needed): Likewise.
21542 (get_subexp): Likewise.
21543 * posix/Makefile (tests): Add bug-regex34.
21544 (bug-regex34-ENV): Define.
21545 * posix/bug-regex34.c: New file.
21546
7e2f0d2d
AS
21547 [BZ #11561]
21548 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21549 elements compare against the byte sequence of it, not its name.
21550 * posix/Makefile (tests): Add bug-regex35.
21551 (bug-regex35-ENV): Define.
21552 * posix/bug-regex35.c: New file.
21553
a175b684
TV
215542013-02-11 Tom de Vries <tom@codesourcery.com>
21555
21556 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21557 comment.
21558 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21559 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21560 (CHECK_EOL): Add undef.
21561
310998fe 215622013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
21563
21564 * bits/stdlib-bsearch.h: New file.
21565 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 21566 * stdlib/stdlib.h: Likewise.
41eda41d 21567
8ded91fb
RM
215682013-02-11 Roland McGrath <roland@hack.frob.com>
21569
21570 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21571 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21572 declaration.
21573 * manual/search.texi (Array Search Function): Add missing const in
21574 lfind prototype.
21575 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21576 declaration to use rlim_t.
21577 (Basic Scheduling Functions): Remove erroneous const from
21578 sched_getparam prototype. Remove erroneous * from
21579 sched_get_priority_max and sched_get_priority_min prototypes.
21580 (Resource Usage): Fix summary @comment on vtimes to refer to
21581 sys/vtimes.h rather than vtimes.h.
21582 Add missing *s in vtimes prototype.
21583 (Limits on Resources): Fix ulimit prototype to return long int.
21584 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21585 prototypes to use long int rather than double.
21586 (BSD Random): Fix initstate and setstate to use char *, not void *.
21587 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21588 prototype to make second argument 'struct aiocb64 *const[]'.
21589 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21590 (Status of AIO Operations): Remove erroneous const in aio_return and
21591 aio_return64 prototypes.
21592 (Synchronizing I/O): Fix sync prototype to return void.
21593 * manual/startup.texi (Suboptions): Remove an erroneous const in
21594 getsubopt prototype.
21595 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21596 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21597 use size_t rather than int.
21598 (Scanning All Users): Likewise for getpwent_r.
21599 (Setting Groups): Add missing const to setgroups prototype.
21600 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21601 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21602 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21603 'const void *' rather than 'const char *'.
21604 (Host Address Functions): Likewise for inet_ntop.
21605 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21606 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21607 ssize_t for return value.
21608 (Sending Data): Likewise for send, sendto, sendmsg.
21609 (Socket Option Functions): Add a missing const in setsockopt prototype.
21610 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21611 use wchar_t for the argument.
21612 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21613 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21614 take no arguments.
21615 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21616 double/float/long double for second argument.
21617 Fix return types of significand, significandf, significandl.
21618 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21619 argument in fchmod prototype.
21620 (File Owner): Use uid_t and gid_t in fchown prototype.
21621 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21622 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21623 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21624 use 'const struct dirent **' as argument types to CMP function pointer
21625 argument.
21626 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21627 (File Times): Fix summary magic @comment for struct utimbuf and utime
21628 to refer to utime.h, not time.h.
21629 * manual/string.texi (Argz Functions): Add missing const in
21630 argz_extract and argz_next prototypes.
21631 (Finding Tokens in a String): Likewise for basename.
21632 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21633 (Copying and Concatenation): Fix typo in wmemmove prototype.
21634 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21635 (Signal Stack): Remove erroneous const in sigstack prototype.
21636 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21637 prototype.
21638 (Simple Calendar Time): Likewise for stime.
21639 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21640 prototype.
21641 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21642 say sys/sysctl.h instead.
21643 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21644 and vsyslog prototypes.
21645
fe77fe6d
TV
216462013-02-11 Tom de Vries <tom@codesourcery.com>
21647
21648 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21649 Remove.
21650
3a09b620
RM
216512013-02-11 Roland McGrath <roland@hack.frob.com>
21652
21653 * misc/sys/mman.h: Fix typo in mremap comment.
21654
550a0b89
RM
216552013-02-08 Roland McGrath <roland@hack.frob.com>
21656
21657 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21658 the '\0' terminator.
21659
a2da1673
JM
216602013-02-08 Joseph Myers <joseph@codesourcery.com>
21661
21662 [BZ #13550]
21663 * debug/segfault.c: Don't include <bp-checks.h>.
21664 * sysdeps/generic/bp-checks.h: Remove file.
21665 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21666 (__GETDENTS): Don't use CHECK_N.
21667 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21668 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21669 (__getgroups): Don't use CHECK_N.
21670 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21671 (setgroups): Don't use CHECK_N.
21672 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21673 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21674 (__libc_msgrcv): Don't use CHECK_N.
21675 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21676 (__libc_msgsnd): Don't use CHECK_N.
21677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21678 <bp-checks.h>.
21679 (__libc_pread): Don't use CHECK_N.
21680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21681 include <bp-checks.h>.
21682 (__libc_pread64): Don't use CHECK_N.
21683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21684 include <bp-checks.h>.
21685 (__libc_pwrite): Don't use CHECK_N.
21686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21687 include <bp-checks.h>.
21688 (__libc_pwrite64): Don't use CHECK_N.
21689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21690 <bp-checks.h>.
21691 (__libc_pread): Don't use CHECK_N.
21692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21693 include <bp-checks.h>.
21694 (__libc_pread64): Don't use CHECK_N.
21695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21696 include <bp-checks.h>.
21697 (__libc_pwrite): Don't use CHECK_N.
21698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21699 include <bp-checks.h>.
21700 (__libc_pwrite64): Don't use CHECK_N.
21701 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21702 (do_pread): Don't use CHECK_N.
21703 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21704 (do_pread64): Don't use CHECK_N.
21705 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21706 (do_pwrite): Don't use CHECK_N.
21707 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21708 (do_pwrite64): Don't use CHECK_N.
21709 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21710 (__libc_readv): Don't use CHECK_N.
21711 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21712 (semop): Don't use CHECK_N.
21713 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21714 <bp-checks.h>.
21715 (semtimedop): Don't use CHECK_N.
21716 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21717 (__libc_pread): Don't use CHECK_N.
21718 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21719 <bp-checks.h>.
21720 (__libc_pread64): Don't use CHECK_N.
21721 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21722 <bp-checks.h>.
21723 (__libc_pwrite): Don't use CHECK_N.
21724 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21725 <bp-checks.h>.
21726 (__libc_pwrite64): Don't use CHECK_N.
21727 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21728 <bp-checks.h>.
21729 (__libc_msgrcv): Don't use CHECK_N.
21730 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21731 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21732 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21733 (__libc_writev): Don't use CHECK_N.
21734
b84660a8
RM
217352013-02-08 Roland McGrath <roland@hack.frob.com>
21736
7f3e75f8
RM
21737 * string/strcpy.c: Removed unused variable.
21738
b84660a8
RM
21739 * Makeconfig (+sysdep-includes): Define with := rather than =.
21740 Use an existing include/ subdir of each sysdeps dir before it.
21741
471514d3
CD
217422013-02-08 Carlos O'Donell <carlos@redhat.com>
21743
21744 * nscd/connection.c (register_traced_file): Comment function.
21745 [HAVE_INOTIFY] (union __inev): Define.
21746 [HAVE_INOTIFY] (inotify_check_files): New function.
21747 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21748 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21749 clear_db_cache.
21750 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21751
b2d3c3be
CD
217522013-02-08 Carlos O'Donell <carlos@redhat.com>
21753
21754 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21755 loaded if not already and that a failure is permanent.
21756
b39949d2
CD
217572013-02-08 Carlos O'Donell <carlos@redhat.com>
21758
ddacd1db 21759 [BZ #15006]
b39949d2
CD
21760 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21761 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21762
b2c9eff4
JM
217632013-02-08 Joseph Myers <joseph@codesourcery.com>
21764
f3aae3f3
JM
21765 [BZ #13550]
21766 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21767 (CHECK_1_NULL_OK): Likewise.
21768 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21769 (__fxstat): Do not use CHECK_1.
21770 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21771 <bp-checks.h>.
21772 (___fxstat64): Do not use CHECK_1.
21773 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21774 <bp-checks.h>.
21775 (__fxstatat): Do not use CHECK_1.
21776 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21777 <bp-checks.h>.
21778 (__fxstatat64): Do not use CHECK_1.
21779 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21780 <bp-checks.h>.
21781 (__fxstat): Do not use CHECK_1.
21782 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21783 <bp-checks.h>.
21784 (__fxstatat): Do not use CHECK_1.
21785 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21786 <bp-checks.h>.
21787 (__getresgid): Do not use CHECK_1.
21788 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21789 <bp-checks.h>.
21790 (__getresuid): Do not use CHECK_1.
21791 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21792 <bp-checks.h>.
21793 (__lxstat): Do not use CHECK_1.
21794 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21795 <bp-checks.h>.
21796 (__old_msgctl): Do not use CHECK_1.
21797 (__new_msgctl): Likewise.
21798 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21799 <bp-checks.h>.
21800 (__new_setrlimit): Do not use CHECK_1.
21801 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21802 <bp-checks.h>.
21803 (__old_shmctl): Do not use CHECK_1.
21804 (__new_shmctl): Likewise.
21805 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21806 <bp-checks.h>.
21807 (__xstat): Do not use CHECK_1.
21808 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21809 (__lxstat): Do not use CHECK_1.
21810 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21811 <bp-checks.h>.
21812 (___lxstat64): Do not use CHECK_1.
21813 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21814 (__old_msgctl): Do not use CHECK_1.
21815 (__new_msgctl): Likewise.
21816 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21817 <bp-checks.h>.
21818 (__gettimeofday): Do not use CHECK_1.
21819 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21820 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21821 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21822 <bp-checks.h>.
21823 (__gettimeofday): Do not use CHECK_1.
21824 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21825 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21826 (__new_shmctl): Do not use CHECK_1.
21827 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21828 <bp-checks.h>.
21829 (do_sigtimedwait): Do not use CHECK_1.
21830 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21831 <bp-checks.h>.
21832 (do_sigwaitinfo): Do not use CHECK_1.
21833 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21834 <bp-checks.h>.
21835 (msgctl): Do not use CHECK_1.
21836 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21837 <bp-checks.h>.
21838 (shmctl): Do not use CHECK_1.
21839 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21840 (ustat): Do not use CHECK_1.
21841 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21842 <bp-checks.h>.
21843 (__fxstat): Do not use CHECK_1.
21844 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21845 <bp-checks.h>.
21846 (__fxstatat): Do not use CHECK_1.
21847 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21848 <bp-checks.h>.
21849 (__lxstat): Do not use CHECK_1.
21850 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21851 <bp-checks.h>.
21852 (__xstat): Do not use CHECK_1.
21853 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21854 (__xstat): Do not use CHECK_1.
21855 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21856 (___xstat64): Do not use CHECK_1.
21857
b2c9eff4
JM
21858 [BZ #13550]
21859 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21860 definitions.
21861 (CHECK_BOUNDS_HIGH): Likewise.
21862 * string/strcpy.c: Do not include <bp-checks.h>.
21863 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21864
f1d70dad
RM
218652013-02-07 Roland McGrath <roland@hack.frob.com>
21866
21867 * nscd/nscd-client.h (__nscd_drop_map_ref):
21868 Add __attribute__ ((unused)).
21869 * nis/nss-nisplus.h (niserr2nss): Likewise.
21870
21871 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21872 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21873
21874 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21875 Remove inline keyword.
21876 * include/rounding-mode.h (round_away): Likewise.
21877 * libio/wfileops.c (adjust_wide_data): Likewise.
21878 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21879 (__m128i_strloadu_tolower): Likewise.
21880 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21881 (__m128i_strloadu_tolower): Likewise.
21882 * time/mktime.c (ydhms_diff): Likewise.
21883 * locale/elem-hash.h (elem_hash): Likewise.
21884 * locale/setlocale.c (setdata): Likewise.
21885 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21886 (re_string_wchar_at): Likewise.
21887 (bitset_not, bitset_merge, bitset_mask): Likewise.
21888 [!(__GNUC__ > 3)] (inline): Remove macro.
21889 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21890 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21891 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21892 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21893 * string/memcmp.c (memcmp_bytes): Likewise.
21894 * locale/programs/locarchive.c (compute_hashval): Likewise.
21895 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21896 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21897 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21898 * nss/getent.c (print_rpc, print_protocols): Likewise.
21899 (print_passwd, print_group, print_aliases): Likewise.
21900 * nis/nss-nisplus.h (niserr2nss): Likewise.
21901 * nscd/connections.c (restart_p): Likewise.
21902 Change return type to bool.
21903
eab55bfb
RM
219042013-02-05 Roland McGrath <roland@hack.frob.com>
21905
7bd642f5
RM
21906 * Makeconfig (all-Depend-files): Add existing
21907 $(sorted-subdirs:=/Depend) files.
21908 (all-subdirs): Remove nss.
21909 * sysdeps/unix/inet/Subdirs: Add it here instead.
21910 * hesiod/Depend: New file.
21911
573c29b2
RM
21912 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21913 instead of calling alloca.
21914
b2e25af0
RM
21915 * io/lseek.c (__lseek): Rename to __libc_lseek.
21916 Define __lseek as an alias.
21917
eab55bfb
RM
21918 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21919
9a0d1941
CD
219202013-02-04 Carlos O'Donell <carlos@redhat.com>
21921
21922 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21923 else clause and remove check for non-standard endianness.
21924
b83bbec4
DM
219252013-02-04 David S. Miller <davem@davemloft.net>
21926
21927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21928
6277fdab
JM
219292013-02-04 Joseph Myers <joseph@codesourcery.com>
21930
21931 [BZ #13550]
21932 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21933 (__ubp_memchr): Remove prototype.
21934 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21935 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21936 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21937 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21938 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21939 Remove alias.
21940 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21941 (__ubp_memchr): Likewise.
21942 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21943 (__ubp_memchr): Likewise.
21944 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21945 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21946 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21947 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21948 CHECK_STRING.
21949 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21950 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21951 (__getcwd): Do not use CHECK_STRING.
21952 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21953 <bp-checks.h>.
21954 (__real_chown): Do not use CHECK_STRING.
21955 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21956 <bp-checks.h>.
21957 (fchownat): Do not use CHECK_STRING.
21958 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21959 CHECK_STRING.
21960 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21961 <bp-checks.h>.
21962 (__lchown): Do not use CHECK_STRING.
21963 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21964 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21965 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21966 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21968 include <bp-checks.h>.
21969 (truncate64): Do not use CHECK_STRING.
21970 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21971 <bp-checks.h>.
21972 (__real_chown): Do not use CHECK_STRING.
21973 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21974 <bp-checks.h>.
21975 (__lchown): Do not use CHECK_STRING.
21976 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21977 <bp-checks.h>.
21978 (__chown): Do not use CHECK_STRING.
21979 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21980 <bp-checks.h>.
21981 (truncate64): Do not use CHECK_STRING.
21982 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21983 Likewise.
21984 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21985 (__xmknod): Do not use CHECK_STRING.
21986 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21987 <bp-checks.h>.
21988 (__xmknodat): Do not use CHECK_STRING.
21989 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21990 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21991
903ae060
AS
219922013-02-04 Andreas Schwab <schwab@suse.de>
21993
21994 [BZ #14142]
21995 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21996 * include/netdb.h: Likewise for h_errno.
21997 * elf/tst-stackguard1.c: Include <tls.h>.
21998
542f9466
JK
219992013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22000
22001 * elf/link.h (struct link_map): Extend the l_addr comment.
22002 * include/link.h (struct link_map): Likewise.
22003
e782a927
JM
220042013-02-01 Joseph Myers <joseph@codesourcery.com>
22005
22006 [BZ #13550]
22007 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22008 (BOUNDED_1): Remove macro.
22009 * debug/backtrace.c: Don't include <bp-checks.h>.
22010 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22011 (__backtrace): Likewise.
22012 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22013 <bp-checks.h>.
22014 (__backtrace): Don't use BOUNDED_1.
22015 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22016 <bp-checks.h>.
22017 (__backtrace): Don't use BOUNDED_1.
22018 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22019 (__backtrace): Don't use BOUNDED_1.
22020 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22021 (shmat): Don't use BOUNDED_N.
22022
8cf28c5e
JM
220232013-01-31 Joseph Myers <joseph@codesourcery.com>
22024
3a7ac8a0
JM
22025 [BZ #13550]
22026 * sysdeps/generic/bp-start.h: Remove file.
22027 * csu/libc-start.c: Don't include <bp-start.h>.
22028 (LIBC_START_MAIN): Set up __environ directly instead of using
22029 INIT_ARGV_and_ENVIRON.
22030 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22031 <bp-start.h>.
22032
f3499f95
JM
22033 [BZ #13550]
22034 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22035 definitions.
22036 (CHECK_FCNTL): Likewise.
22037 (CHECK_N_PAGES): Likewise.
22038
32a45bea
JM
22039 [BZ #13550]
22040 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22041 definitions.
22042 (CHECK_SIGSET_NULL_OK): Likewise.
22043 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22044 <bp-checks.h>.
22045 (sigpending): Don't use CHECK_SIGSET.
22046 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22047 <bp-checks.h>.
22048 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22049 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22050 <bp-checks.h>.
22051 (do_sigsuspend): Don't use CHECK_SIGSET.
22052 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22053 use CHECK_SIGSET.
22054 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22055 (do_sigwait): Don't use CHECK_SIGSET.
22056 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22057 use CHECK_SIGSET.
22058 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22059 include <bp-checks.h>.
22060 (sigpending): Don't use CHECK_SIGSET.
22061 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22062 include <bp-checks.h>.
22063 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22064 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22065 <bp-checks.h>.
22066 (sigpending): Don't use CHECK_SIGSET.
22067 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22068 <bp-checks.h>.
22069 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22070
2e8a5c8c
JM
22071 [BZ #13550]
22072 * sysdeps/generic/bp-semctl.h: Remove file.
22073 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22074 <bp-checks.h> and <bp-semctl.h>.
22075 (__old_semctl): Don't use CHECK_SEMCTL.
22076 (__new_semctl): Likewise.
22077 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22078 and <bp-semctl.h>.
22079 (__old_semctl): Don't use CHECK_SEMCTL.
22080 (__new_semctl): Likewise.
22081 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22082 <bp-checks.h> and <bp-semctl.h>.
22083 (__old_semctl): Don't use CHECK_SEMCTL.
22084 (__new_semctl): Likewise.
22085 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22086 <bp-checks.h> and <bp-semctl.h>.
22087 (semctl): Don't use CHECK_SEMCTL.
22088
c2d54929
JM
22089 [BZ #13550]
22090 * Makerules (elide-bp-thunks): Remove variable.
22091 (elide-routines.oS): Don't use $(elide-bp-thunks).
22092 (elide-routines.os): Likewise.
22093 (elide-routines.o): Likewise.
22094 (elide-routines.op): Likewise.
22095 (elide-routines.og): Likewise.
22096 (objects): Don't use $(bp-thunks).
22097 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22098 include.
22099 (common-generated): Do not add s-proto-bp.d.
22100 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22101 (int): Likewise.
22102 (typ): Likewise.
22103 Do not generate makefile rules for bounded-pointer thunks.
22104 * sysdeps/generic/bp-thunks.h: Remove file.
22105 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22106 * sysdeps/unix/s-proto-bp.S: Likewise.
22107
8cf28c5e
JM
22108 [BZ #15062]
22109 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22110 parts of result separately when argument is not close to line from
22111 -i to i and one part of argument is small.
22112 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22113 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22114 * math/libm-test.inc (cacos_test): Add more tests.
22115 (casin_test): Likewise.
22116 (casinh_test): Likewise.
22117 * sysdeps/i386/fpu/libm-test-ulps: Update.
22118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22119
c4e33b8d
DM
221202013-01-31 David S. Miller <davem@davemloft.net>
22121
22122 * po/de.po: Update from translation team.
22123
3b60b421
MK
221242013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22125
22126 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22127
bb931195
TS
221282013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22129
b5a5da23
TS
22130 * configure.in (_AC_PROG_CC_C89): New definition.
22131 * configure: Regenerate.
22132
bb931195
TS
22133 * configure.in (AC_PROG_CPP): New definition.
22134 * configure: Regenerate.
22135
8c53a12c
JM
221362013-01-23 Joseph Myers <joseph@codesourcery.com>
22137
22138 * debug/tst-backtrace.h: New file.
22139 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22140 (ret): Remove variable.
22141 (x): Likewise.
22142 (FAIL): Remove macro.
22143 (NO_INLINE): Likewise.
22144 (fn1): Use match function instead of strstr.
22145 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22146 (ret): Remove variable.
22147 (x): Likewise.
22148 (FAIL): Remove macro.
22149 (NO_INLINE): Likewise.
22150 (fn): Use match function instead of strstr.
22151 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22152 (ret): Remove variable.
22153 (x): Likewise.
22154 (FAIL): Remove macro.
22155 (NO_INLINE): Likewise.
22156 (handle_signal): Use match function instead of strstr.
22157 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22158 (ret): Remove variable.
22159 (x): Likewise.
22160 (FAIL): Remove macro.
22161 (NO_INLINE): Likewise.
22162 (handle_signal): Use match function instead of strstr.
22163
4858fa2a
RM
221642013-01-23 Roland McGrath <roland@hack.frob.com>
22165
22166 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22167
bae8e7f5
DM
221682013-01-23 David S. Miller <davem@davemloft.net>
22169
22170 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22171 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22172 argument of CAS if possible.
22173 * sysdeps/sparc/sparc64/bits/atomic.h
22174 (__arch_compare_and_exchange_val_32_acq): Likewise.
22175 (__arch_compare_and_exchange_val_64_acq): Likewise.
22176
9cbbc4ae
PT
221772013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22178
22179 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22180 * sysdeps/posix/ulimit.c: ... this.
92a601b8 22181 Include <limits.h>.
67b3f58c 22182 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 22183
5655a0b5
AC
221842013-01-23 Adam Conrad <adconrad@0c3.net>
22185
22186 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22187 (LDFLAGS-tst-array5): Likewise.
22188
052aff95
JM
221892013-01-23 Joseph Myers <joseph@codesourcery.com>
22190
22191 [BZ #15036]
22192 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22193 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22194 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22195 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22196
7c1e01aa
DM
221972013-01-21 David S. Miller <davem@davemloft.net>
22198
22199 * sysdeps/sparc/backtrace.c: New file.
22200 * sysdeps/sparc/sparc32/backtrace.h: New file.
22201 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22202 * sysdeps/sparc/sparc64/backtrace.h: New file.
22203 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22204 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22205 -funwind-tables.
22206
ab087e0a
AS
222072013-01-21 Andreas Schwab <schwab@suse.de>
22208
22209 [BZ #15020]
22210 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22211 closed its stdout.
22212
ed689c2f
AS
222132013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22214
22215 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22216 "mpa2.h".
22217 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22218
31d470ac
JM
222192013-01-18 Joseph Myers <joseph@codesourcery.com>
22220 Mark Mitchell <mark@codesourcery.com>
22221 Tom de Vries <tom@codesourcery.com>
22222 Paul Pluzhnikov <ppluzhnikov@google.com>
22223
22224 * debug/tst-backtrace2.c: New file.
22225 * debug/tst-backtrace3.c: Likewise.
22226 * debug/tst-backtrace4.c: Likewise.
22227 * debug/tst-backtrace5.c: Likewise.
22228 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22229 (CFLAGS-tst-backtrace3.c): Likewise.
22230 (CFLAGS-tst-backtrace4.c): Likewise.
22231 (CFLAGS-tst-backtrace5.c): Likewise.
22232 (LDFLAGS-tst-backtrace2): Likewise.
22233 (LDFLAGS-tst-backtrace3): Likewise.
22234 (LDFLAGS-tst-backtrace4): Likewise.
22235 (LDFLAGS-tst-backtrace5): Likewise.
22236 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22237 tst-backtrace4 and tst-backtrace5.
22238
90567f30 222392013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
22240 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22241
22242 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22243 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22244 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22245 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22247 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22248 "+r" and remove output regs list as redundant. Add explicit inline
22249 asm to specify register of return val to work around compiler codegen
22250 bug. Remove (int) cast on return value. Add return type parameter to
22251 use in macro so that this macro does not truncate return value for
22252 64-bit values.
22253 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22254 pass to INTERNAL_VSYSCALL_NCS.
22255 (INLINE_VSYSCALL): Add 'long int' as return type to
22256 INTERNAL_VSYSCALL_NCS macro invocation.
22257 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22258 INTERNAL_VSYSCALL_NCS macro invocation.
22259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22260
d3b9ea61
SP
222612013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22262
0b57daeb
SP
22263 [BZ #14496]
22264 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22265 Fix application of SIMD FP exception mask.
22266
caa99d06
SP
22267 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22268 mp_no from a power of two.
22269 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22270 __mpexp_twomm1. Use __pow_mp.
22271
d3b9ea61
SP
22272 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22273 multiplication.
22274
1dbaee3c
DM
222752013-01-17 David S. Miller <davem@davemloft.net>
22276
22277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22278
728d7b43
JM
222792013-01-17 Joseph Myers <joseph@codesourcery.com>
22280
22281 [BZ #15023]
22282 * include/complex.h: Condition contents on [!_COMPLEX_H].
22283 (__kernel_casinhf): New prototype.
22284 (__kernel_casinh): Likewise.
22285 (__kernel_casinhl): Likewise.
22286 * math/Makefile (libm_calls): Add k_casinh.
22287 * math/k_casinh.c: New file.
22288 * math/k_casinhf.c: Likewise.
22289 * math/k_casinhl.c: Likewise.
22290 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22291 finite nonzero arguments.
22292 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22293 finite nonzero arguments.
22294 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22295 finite nonzero arguments.
22296 * math/s_casinh.c: Do not include <float.h>.
22297 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22298 * math/s_casinhf.c: Do not include <float.h>.
22299 (__casinhf): Move code for finite nonzero arguments to
22300 k_casinhf.c.
22301 * math/s_casinhl.c: Do not include <float.h>.
22302 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22303 redefine.
22304 (__casinhl): Move code for finite nonzero arguments to
22305 k_casinhl.c.
22306 * math/libm-test.inc (cacos_test): Add more tests.
22307 * sysdeps/i386/fpu/libm-test-ulps: Update.
22308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22309
2a26ef3a
PT
223102013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22311
22312 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22313 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22314 [!HAVE_MREMAP]: Remove [defined linux] case.
22315 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22316
a897655d
SP
223172013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22318
22319 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22320
881ebe89 223212013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
22322
22323 * elf/elf.h (R_386_SIZE32): New relocation.
22324 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22325 R_386_SIZE32.
22326 (elf_machine_rela): Likewise.
22327 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22328 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22329
59981e9b
JM
223302013-01-17 Joseph Myers <joseph@codesourcery.com>
22331
22332 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22333 (FP_FAST_FMA): Do not define.
22334 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22335 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22336 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22337 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22338 !_SOFT_FLOAT]: Likewise.
22339 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22340 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22341 value.
22342 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22343 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22344 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22345 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22346 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22347 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22348 file.
22349
cfa8054f
AS
223502013-01-16 Andreas Schwab <schwab@suse.de>
22351
22352 [BZ #14327]
22353 * include/stdlib.h (__mktemp): Add declaration.
22354 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22355 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22356
dd930cc5
SP
223572013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22358
881ebe89
SP
22359 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22360 definitions.
22361 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22362 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22363 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22364 definitions here.
22365 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22366 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22367 definitions.
22368 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22369 and ONE.
22370 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22371 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22372 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22373 definitions.
22374 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22375 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22376 definitions.
22377 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 22378
dd930cc5
SP
22379 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22380
c19a9f89
DM
223812013-01-15 David S. Miller <davem@davemloft.net>
22382
1aa61767
DM
22383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22384 trunc{,f} to libm-sysdep_routes.
22385 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22387 file.
22388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22390 file.
22391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22392 file.
22393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22395 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22396 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22397 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22398 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22399 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22400 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22401
c42d5e98
DM
22402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22403 nearbyint{,f} to libm-sysdep_routes.
22404 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22406 New file.
22407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22408 file.
22409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22410 New file.
22411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22412 file.
22413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22415 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22416 file.
22417 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22418 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22419 file.
22420 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22421 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22422 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22423
c19a9f89
DM
22424 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22425 libc_feholdexcept and libc_fesetenv.
22426
357679d2
MF
224272013-01-15 Mike Frysinger <vapier@gentoo.org>
22428
22429 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22430
65a82e3d
DM
224312013-01-14 David S. Miller <davem@davemloft.net>
22432
8b954ab9
DM
22433 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22434 (SPARC_ASM_VIS2_IFUNC): Likewise.
22435 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22437 use of 'siam' instruction.
22438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22439 Likewise.
22440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22441 Likewise.
22442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22443 Likewise.
22444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22446 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22447 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22449 file.
22450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22451 file.
22452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22453 file.
22454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22455 file.
22456 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22457 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22458 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22459 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22461 new VIS2 routines.
22462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22465 Likewise.
22466 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22467 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22468 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22469 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22471 routines to libm-sysdep_routines.
22472 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22473
65a82e3d
DM
22474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22475 fdim/fdimf to libm-sysdep_routines.
22476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22477 file.
22478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22480 file.
22481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22484 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22485 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22486 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22487 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22488
e34ab705
SP
224892013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22490
2a91b573
SP
22491 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22492 to optimize copies.
22493
1066a534
SP
22494 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22495 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22496 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22497
e34ab705
SP
22498 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22499 local variable MPTWO.
22500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22501 Likewise.
22502
aba5e596
MF
225032013-01-13 Mike Frysinger <vapier@gentoo.org>
22504
22505 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22506 GLOB_NOESCAPE.
22507
e557e9e5
MF
225082013-01-13 Mike Frysinger <vapier@gentoo.org>
22509
22510 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22511
0428cec9
MF
225122013-01-13 Mike Frysinger <vapier@gentoo.org>
22513
22514 * manual/pattern.texi (glob_t): Document gl_flags.
22515 (glob64_t): Likewise.
22516
8794a964
DM
225172013-01-11 David S. Miller <davem@davemloft.net>
22518
66438c3f
RM
22519 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22520 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22521 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
22522 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22523 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22524 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22525 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22526 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22527 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22528 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22529 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22530 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22531 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22532
4ae4244d
DM
22533 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22534 sparc V9 rather than using V8 code.
22535 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22536 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22537
8794a964
DM
22538 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22539 Move to...
22540 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22541 Here.
22542
6270516e
RM
225432013-01-11 Roland McGrath <roland@hack.frob.com>
22544
22545 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22546 not in the main loop.
22547 * configure: Regenerated.
22548
6a57d931
JM
225492013-01-11 Joseph Myers <joseph@codesourcery.com>
22550
22551 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22552 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22553 to just #else.
22554 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22555 [!__GLIBC_HAVE_LONG_LONG] case.
22556 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22557 condition to just #else.
22558 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22559 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22560 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22561 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22562 unconditional.
22563 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22564 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22565 #elif condition to just #else.
22566 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22567 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22568 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22569 #elif condition to just #else.
22570
0e8529e9
SE
225712013-01-11 Steve Ellcey <sellcey@mips.com>
22572
22573 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22574 (EF_MIPS_ARCH_64): Fix value.
22575 (EF_MIPS_ARCH_32R2): New.
22576 (EF_MIPS_ARCH_64R2): New.
22577
740b3dbe
L
225782013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22579
22580 * Makeconfig (+link-pie-before-libc): New.
22581 (+link-pie-after-libc): Likewise.
22582 (+link-pie-tests): Likewise.
22583 (+link-pie): Rewritten.
22584 (link-before-libc): Remove $(config-LDFLAGS).
22585 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22586 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22587 (config-LDFLAGS): Renamed to ...
22588 (rtld-LDFLAGS): This.
22589 (rtld-tests-LDFLAGS): New macro.
22590 (link-libc-rpath-link): Likewise.
22591 (link-libc-tests-rpath-link): Likewise.
22592 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22593 (link-libc): Prepand $(link-libc-rpath-link).
22594 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22595 (test-program-prefix): New macro.
22596 (test-via-rtld-prefix): Likewise.
22597 (test-program-cmd): Likewise.
22598 (host-test-program-cmd): Likewise.
22599 * Makefile ($(common-objpfx)testrun.sh): Replace
22600 $(run-program-prefix) with $(test-program-prefix).
22601 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22602 $(rtld-LDFLAGS).
22603 ($(common-objpfx)shlib.lds): Likewise.
22604 (build-module-helper): Likewise.
22605 ($(common-objpfx)format.lds): Likewise.
22606 * Rules (binaries-pie-tests): New.
22607 (binaries-pie-notests): Likewise.
22608 (binaries-pie): Rewritten.
22609 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22610 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22611 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22612 (make-test-out): Replace $(host-built-program-cmd) with
22613 $(host-test-program-cmd).
22614 * config.make.in (build-hardcoded-path-in-tests): New variable.
22615 * configure.in (--enable-hardcoded-path-in-tests): New configure
22616 option.
22617 (hardcoded_path_in_tests): New AC_SUBST.
22618 * configure: Regenerated.
22619 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22620 $(built-program-cmd) with $(test-program-cmd).
22621 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22622 (test_program_cmd): This.
22623 * elf/Makefile ($(objpfx)order.out): Run test with
22624 $(test-program-prefix).
22625 ($(objpfx)order2.out): Likewise.
22626 ($(objpfx)tst-initorder.out): Likewise.
22627 ($(objpfx)tst-initorder2.out): Likewise.
22628 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22629 $(test-program-cmd).
22630 ($(objpfx)tst-array1-static.out): Likewise.
22631 ($(objpfx)tst-array2.out): Likewise.
22632 ($(objpfx)tst-array3.out): Likewise.
22633 ($(objpfx)tst-array4.out): Likewise.
22634 ($(objpfx)tst-array5.out): Likewise.
22635 ($(objpfx)tst-array5-static.out): Likewise.
22636 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22637 $(test-program-cmd).
22638 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22639 $(run-program-prefix) with $(test-program-prefix).
22640 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22641 (test_program_prefix): This.
22642 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22643 $(run-program-prefix) with $(test-program-prefix).
22644 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22645 (test_program_prefix): This.
22646 * iconvdata/tst-tables.sh: Likewise.
22647 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22648 $(run-program-prefix) with $(test-program-prefix).
22649 ($(objpfx)tst-translit.out): Likewise.
22650 ($(objpfx)tst-gettext2.out): Likewise.
22651 ($(objpfx)tst-gettext4.out): Likewise.
22652 ($(objpfx)tst-gettext6.out): Likewise.
22653 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22654 (test_program_prefix): This.
22655 * intl/tst-gettext2.sh: Likewise.
22656 * intl/tst-gettext4.sh Likewise.
22657 * intl/tst-gettext6.sh: Likewise.
22658 * intl/tst-translit.sh: Likewise.
22659 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22660 with $(test-program-cmd).
22661 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22662 $(run-program-prefix) with $(test-program-prefix).
22663 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22664 (test_program_prefix): This.
22665 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22666 $(run-program-prefix) with $(test-program-prefix).
22667 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22668 (test_program_prefix): This.
22669 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22670 * posix/Makefile ($(objpfx)globtest.out): Replace
22671 $(run-via-rtld-prefix) and $(test-wrapper) with
22672 $(test-program-prefix) and $(test-via-rtld-prefix).
22673 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22674 $(test-program-prefix).
22675 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22676 $(host-test-program-cmd).
22677 (tst-spawn-ARGS): Likewise.
22678 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22679 $(test-program-prefix).
22680 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22681 (test_via_rtld_prefix): This.
22682 (test_wrapper): Renamed to ...
22683 (test_program_prefix): This.
22684 (run_program_prefix): Replaced by test_program_prefix.
22685 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22686 (test_program_prefix): This.
22687 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22688 with $(host-test-program-cmd).
22689 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22690 $(run-program-prefix) with $(test-program-prefix).
22691 ($(objpfx)tst-printf.out): Likewise.
22692 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22693 $(test-program-cmd).
22694 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22695 (test_program_prefix): This.
22696 * stdio-common/tst-unbputc.sh: Likewise.
22697 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22698 $(run-program-prefix) with $(test-program-prefix).
22699 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22700 (test_program_prefix): This.
22701 * string/Makefile ($(objpfx)tst-svc.out): Replace
22702 $(built-program-cmd) with $(test-program-cmd).
22703
c6fe55cf
AJ
227042013-01-11 Andreas Jaeger <aj@suse.de>
22705
22706 [BZ #15003]
22707 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22708 value. Sync with Linux 3.7.
22709
9e6919c8
DM
227102013-01-10 David S. Miller <davem@davemloft.net>
22711
22712 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22713 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22714 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22715
1c9f1a02
RM
227162013-01-10 Roland McGrath <roland@hack.frob.com>
22717
22718 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22719 never set.
22720 * configure: Regenerated.
22721
b9de2dde
DM
227222013-01-10 David S. Miller <davem@davemloft.net>
22723
22724 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22725 sparc V9 rather than using V8 code.
22726 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22727 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22728
e7f68ef4
RM
227292013-01-10 Roland McGrath <roland@hack.frob.com>
22730
22731 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22732 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22733 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22734 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22735 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22736 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22737 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22738 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22739 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22740 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22741 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22742 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22743 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22744 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22745 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22746 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22747 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22748 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22749 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22750 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22751 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22752 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22753 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22754 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22755 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22756 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22757 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22758
5a47cc9c
DM
227592013-01-10 David S. Miller <davem@davemloft.net>
22760
22761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22762
4cf8f209
L
227632013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22764
22765 * posix/Makefile (tests-static): New variable.
22766 (tests): Add $(tests-static).
22767 (tst-exec-static-ARGS): New variable.
22768 (tst-spawn-static-ARGS): Likewise.
22769 * posix/tst-exec-static.c: New file.
22770 * posix/tst-spawn-static.c: Likewise.
22771 * posix/tst-exec.c: Support run directly.
22772 * posix/tst-spawn.c: Likewise.
22773
fed0faa1
JM
227742013-01-10 Joseph Myers <joseph@codesourcery.com>
22775
828beb13
JM
22776 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22777 long.
22778 * math/bits/mathcalls.h (llrint): Likewise.
22779 (llround): Likewise.
22780 * stdlib/stdlib.h (struct drand48_data): Likewise.
22781 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22782 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22783 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22784 Likewise.
22785 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22786 Likewise.
22787 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22788 (elf_greg_t): Likewise.
22789 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22790 (__jmp_buf): Likewise.
22791 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22792 definitions.
22793 (llrint): Likewise, for all definitions.
22794 (llrintl): Likewise.
22795
fed0faa1
JM
22796 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22797 Remove [__GNUC__] condition.
22798 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22799 condition to just [__USE_ISOC99].
22800 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22801
1a20cb20
L
228022013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22803
22804 [BZ #14200]
22805 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22806 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22807 defined.
22808 (_POSIX_V6_ILP32_OFF32): Likewise.
22809 (_XBS5_ILP32_OFF32): Likewise.
22810 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22811 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22812
751b85f7
SP
228132013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22814
7490eb81
SP
22815 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22816
751b85f7
SP
22817 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22818 doubles __mpexp_twomm1. Adjust usage.
22819 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22820 Remove.
22821
988197f0
AS
228222013-01-10 Andreas Schwab <schwab@suse.de>
22823
22824 [BZ #14964]
22825 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22826 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22827
e83d7298
DM
228282013-01-09 David S. Miller <davem@davemloft.net>
22829
034ed64b 22830 [BZ #15003]
57f41c40
AS
22831 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22832 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22833 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22834 (TCP_FASTOPEN): Define.
e83d7298
DM
22835 (tcp_repair_opt): New structure.
22836 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22837 enum values.
57f41c40
AS
22838 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22839 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22840 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
22841 (tcp_cookie_transactions): New structure.
22842
d5e0b9bd
AB
228432013-01-09 Anton Blanchard <anton@samba.org>
22844
22845 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22846 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22847 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22848 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22849
0c07e3ea
JM
228502013-01-09 Joseph Myers <joseph@codesourcery.com>
22851
22852 * include/features.h (__USE_ANSI): Remove.
22853
232f7002
RM
228542013-01-09 Roland McGrath <roland@hack.frob.com>
22855
ad98e30c
RM
22856 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22857
232f7002
RM
22858 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22859
950c99ca
SP
228602013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22861
b5792741
SP
22862 * sysdeps/s390/fpu/libm-test-ulps: Update.
22863
47cf2278
SP
22864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22865
950c99ca
SP
22866 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22867 (__acr): Likewise.
22868 (__cpy): Likewise.
22869 (norm): Likewise.
22870 (denorm): Likewise.
22871 (__mp_dbl): Likewise.
22872 (__dbl_mp): Likewise.
22873 (add_magnitudes): Likewise.
22874 (sub_magnitudes): Likewise.
22875 (__add): Likewise.
22876 (__sub): Likewise.
22877 (__mul): Likewise.
22878 (__inv): Likewise.
22879 (__dvd): Likewise.
22880 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22881 (__acr): Likewise.
22882 (__cpy): Likewise.
22883 (norm): Likewise.
22884 (denorm): Likewise.
22885 (__mp_dbl): Likewise.
22886 (__dbl_mp): Likewise.
22887 (add_magnitudes): Likewise.
22888 (sub_magnitudes): Likewise.
22889 (__add): Likewise.
22890 (__sub): Likewise.
22891 (__mul): Likewise.
22892 (__inv): Likewise.
22893 (__dvd): Likewise.
22894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22895 (__acr): Likewise.
22896 (__cpy): Likewise.
22897 (norm): Likewise.
22898 (denorm): Likewise.
22899 (__mp_dbl): Likewise.
22900 (__dbl_mp): Likewise.
22901 (add_magnitudes): Likewise.
22902 (sub_magnitudes): Likewise.
22903 (__add): Likewise.
22904 (__sub): Likewise.
22905 (__mul): Likewise.
22906 (__inv): Likewise.
22907 (__dvd): Likewise.
22908
eede9df9
JM
229092013-01-08 Joseph Myers <joseph@codesourcery.com>
22910
22911 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22912 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22913 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22914 2 && __USE_EXTERN_INLINES]: Likewise.
22915
c40ea3d9
AJ
229162013-01-08 Andreas Jaeger <aj@suse.de>
22917
22918 [BZ# 14985]
22919 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22920 Remove.
22921 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22922 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22923
2ccdea26
AB
229242013-01-07 Anton Blanchard <anton@samba.org>
22925
22926 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22927 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22928 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22929 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22930 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22931 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22932 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22933 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22935 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22936 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22937 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22938 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22939 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22940 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22941 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22942 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22943 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22944 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22945 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22946 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22947 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22948 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22949 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22950 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22951 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22952 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22953 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22954 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22955 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22956 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22958 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22959 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22960 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22961 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22962 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22963 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22964 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22965 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22966 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22967 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22968 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22969
a9708fed
JM
229702013-01-07 Joseph Myers <joseph@codesourcery.com>
22971
375607b9
JM
22972 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22973 (__MALLOC_PMT): Likewise.
22974 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22975 [__GNUC__], only on [_LIBC].
22976 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22977 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22978 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22979 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22980 forward declaration.
22981 (realloc_hook_ini): Likewise.
22982 (memalign_hook_ini): Likewise.
22983 (__libc_memalign): Do not use __MALLOC_PMT in variable
22984 declaration.
22985 (__libc_valloc): Likewise.
22986 (__libc_pvalloc): Likewise.
22987 (__libc_calloc): Likewise.
22988 (__posix_memalign): Likewise.
22989
a9708fed
JM
22990 [BZ #14996]
22991 * math/s_casinh.c: Include <float.h>.
22992 (__casinh): Do not do computation with squaring and square root
22993 for large arguments.
22994 * math/s_casinhf.c: Include <float.h>.
22995 (__casinhf): Do not do computation with squaring and square root
22996 for large arguments.
22997 * math/s_casinhl.c: Include <float.h>.
22998 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22999 (__casinhl): Do not do computation with squaring and square root
23000 for large arguments.
23001 * math/libm-test.inc (casin_test): Add more tests.
23002 (casinh_test): Likewise.
23003 * sysdeps/i386/fpu/libm-test-ulps: Update.
23004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23005
afec409a
L
230062013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23007
23008 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23009 (__x86_64_raw_data_cache_size): Likewise.
23010 (__x86_64_data_cache_size_half): Likewise.
23011 (__x86_64_raw_data_cache_size_half): Likewise.
23012 (__x86_64_shared_cache_size): Likewise.
23013 (__x86_64_raw_shared_cache_size): Likewise.
23014 (__x86_64_shared_cache_size_half): Likewise.
23015 (__x86_64_raw_shared_cache_size_half): Likewise.
23016 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23017 to ...
23018 (__x86_data_cache_size): This.
23019 (__x86_64_raw_data_cache_size): Renamed to ...
23020 (__x86_raw_data_cache_size): This.
23021 (__x86_64_data_cache_size_half): Renamed to ...
23022 (__x86_data_cache_size_half): This.
23023 (__x86_64_raw_data_cache_size_half): Renamed to ...
23024 (__x86_raw_data_cache_size_half): This.
23025 (__x86_64_shared_cache_size): Renamed to ...
23026 (__x86_shared_cache_size): This.
23027 (__x86_64_raw_shared_cache_size): Renamed to ...
23028 (__x86_raw_shared_cache_size): This.
23029 (__x86_64_shared_cache_size_half): Renamed to ...
23030 (__x86_shared_cache_size_half): This.
23031 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23032 (__x86_raw_shared_cache_size_half): This.
23033 * sysdeps/x86_64/memcpy.S: Updated.
23034 * sysdeps/x86_64/memset.S: Likewise.
23035 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23036 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23037 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23038
0b3986d0
DM
230392013-01-04 David S. Miller <davem@davemloft.net>
23040
23041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23042
e47686e9
AS
230432013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23044
d643bac1
AS
23045 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23046 1 to avoid redefinition warning.
23047 (__USE_GNU): Don't define.
23048 (init_signaling_nan): Protoize.
23049
e47686e9
AS
23050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23051
b18decba
SP
230522013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23053
fffb407f
SP
23054 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23056 (__cpymn): Likewise.
23057 (norm): Remove commented code.
23058 (denorm): Likewise.
23059 (__mp_dbl): Likewise.
23060 (__inv): Likewise.
23061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23062 (__cpymn): Likewise.
23063 (norm): Remove commented code.
23064 (denorm): Likewise.
23065 (__mp_dbl): Likewise.
23066 (__inv): Likewise.
23067
b18decba
SP
23068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23069 mp_no value for 1.0 and 2.0.
23070 (norm): Use RADIXI instead of radixi.d.
23071 (denorm): Likewise.
23072 (__mul): Use 0.0 instead of zero.d.
23073 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23074 mp_no value for 1.0 and 2.0.
23075 (norm): Use RADIXI instead of radixi.d.
23076 (denorm): Likewise.
23077 (__mul): Use 0.0 instead of zero.d.
23078
cdc1c96f
JM
230792013-01-04 Joseph Myers <joseph@codesourcery.com>
23080
23081 [BZ #14994]
23082 * math/s_casinh.c (__casinh): Reduce finite argument to first
23083 quadrant then set signs of results at the end.
23084 * math/s_casinhf.c (__casinhf): Likewise.
23085 * math/s_casinhl.c (__casinhl): Likewise.
23086 * math/libm-test.inc (casin_test): Add more tests.
23087 (casinh_test): Likewise.
23088 * sysdeps/i386/fpu/libm-test-ulps: Update.
23089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23090
302913e1
SP
230912013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23092
6420d207
SP
23093 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23094
a9e48ab4
SP
23095 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23096
b7837264
SP
23097 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23098 declarations.
23099 (denorm): Likewise.
23100 (__mp_dbl): Likewise.
23101 (__inv): Likewise.
23102
f8af25d2
SP
23103 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23104 and adjust the header comment.
23105
302913e1
SP
23106 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23107 variable name from declaration.
23108
5d7dd1ca
L
231092013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23110
23111 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23112 Initialize COMMON_CPUID_INDEX_7 element.
23113 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23114 (CPUID_RTM): Likewise.
23115 (HAS_RTM): Likewise.
23116 (COMMON_CPUID_INDEX_7): New enum.
23117
2f5f40f4
AS
231182013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23119
23120 [BZ #14981]
23121 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23122 size is zero, record memory as freed.
23123
4056f4a0
AJ
231242013-01-03 Andreas Jaeger <aj@suse.de>
23125
23126 * po/ia.po: Add new Interlingua translation.
23127
ab15736f 231282012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
23129
23130 * locale/programs/localedef.c: Fix description of '--posix' flag.
23131
568035b7
JM
231322013-01-02 Joseph Myers <joseph@codesourcery.com>
23133
e6898b8d
JM
23134 * NEWS: Update dates in second copyright notice.
23135 * README: Update copyright dates in example.
23136 * manual/libc.texinfo: Update copyright dates.
23137 * scripts/test-installation.pl: Update copyright date in --version
23138 output.
23139
0e2f9562
JM
23140 * hurd/ctty-input.c: Fix copyright notice formatting.
23141 * hurd/ctty-output.c: Likewise.
23142 * hurd/dtable.c: Likewise.
23143 * hurd/hurd-raise.c: Likewise.
23144 * hurd/hurdprio.c: Likewise.
23145 * hurd/msgportdemux.c: Likewise.
23146 * misc/sys/file.h: Likewise.
23147 * misc/sys/ioctl.h: Likewise.
23148 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23149 * sysdeps/mach/hurd/chdir.c: Likewise.
23150 * sysdeps/mach/hurd/fchdir.c: Likewise.
23151 * sysdeps/mach/hurd/rename.c: Likewise.
23152 * sysdeps/mach/hurd/rmdir.c: Likewise.
23153 * sysdeps/mach/hurd/seekdir.c: Likewise.
23154 * sysdeps/mach/hurd/setsid.c: Likewise.
23155 * sysdeps/posix/wait3.c: Likewise.
23156
568035b7
JM
23157 * All files with FSF copyright notices: Update copyright dates
23158 using scripts/update-copyrights.
23159 * intl/plural.c: Regenerated.
23160 * locale/programs/charmap-kw.h: Likewise.
23161 * locale/programs/locfile-kw.h: Likewise.
23162
da08f647
SP
231632013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23164
0f5477af
SP
23165 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23166 four values.
23167
44e0d4c2
SP
23168 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23169 calculation loop and add branch prediction.
23170
4d55b4e5
SP
23171 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23172 check access beyond bounds of m1np.
23173
da08f647
SP
23174 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23175 MPTWO.
23176 (__inv): Remove local variable MPTWO to use the global
23177 constant.
23178 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23179 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23180 variable MPTWO.
23181 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23182 MP3HALFS static const.
23183
8e051029
DM
231842013-01-01 David S. Miller <davem@davemloft.net>
23185
23186 * po/ca.po: Update from translation team.
23187
f4cf5f2d
JM
231882013-01-01 Joseph Myers <joseph@codesourcery.com>
23189
23190 * scripts/update-copyrights: New file.
23191 * Makeconfig: Reformat copyright notice.
23192 * ctype/ctype.h: Likewise.
23193 * debug/swprintf_chk.c: Likewise.
23194 * elf/dl-cache.c: Likewise.
23195 * elf/dl-debug.c: Likewise.
23196 * elf/dl-object.c: Likewise.
23197 * grp/initgroups.c: Likewise.
23198 * hurd/Makefile: Likewise.
23199 * hurd/hurd/signal.h: Likewise.
23200 * hurd/hurdfault.c: Likewise.
23201 * hurd/hurdioctl.c: Likewise.
23202 * hurd/hurdlookup.c: Likewise.
23203 * hurd/intr-msg.c: Likewise.
23204 * iconv/gconv_open.c: Likewise.
23205 * libio/swprintf.c: Likewise.
23206 * locale/lc-ctype.c: Likewise.
23207 * locale/nl_langinfo.c: Likewise.
23208 * mach/Machrules: Likewise.
23209 * mach/Makefile: Likewise.
23210 * malloc/obstack.h: Likewise.
23211 * manual/Makefile: Likewise.
23212 * manual/tsort.awk: Likewise.
23213 * misc/bits/stab.def: Likewise.
23214 * nis/nis_print_group_entry.c: Likewise.
23215 * nis/nis_table.c: Likewise.
23216 * nis/nss_compat/compat-pwd.c: Likewise.
23217 * nis/nss_compat/compat-spwd.c: Likewise.
23218 * po/Makefile: Likewise.
23219 * posix/fnmatch.c: Likewise.
23220 * posix/regex.h: Likewise.
23221 * resolv/Makefile: Likewise.
23222 * resolv/nss_dns/dns-network.c: Likewise.
23223 * resolv/res_hconf.c: Likewise.
23224 * scripts/gen-sorted.awk: Likewise.
23225 * soft-fp/soft-fp.h: Likewise.
23226 * stdio-common/printf.h: Likewise.
23227 * stdlib/monetary.h: Likewise.
23228 * stdlib/random.c: Likewise.
23229 * stdlib/random_r.c: Likewise.
23230 * sysdeps/generic/Makefile: Likewise.
23231 * sysdeps/gnu/Makefile: Likewise.
23232 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23233 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23234 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23235 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23236 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23237 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23238 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23239 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23240 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23241 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23242 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23243 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23244 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23245 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23246 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23247 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23248 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23249 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23250 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23251 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23252 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23253 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23254 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23255 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23256 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23257 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23258 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23259 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23260 * sysdeps/mach/hurd/errnos.awk: Likewise.
23261 * sysdeps/mach/hurd/fork.c: Likewise.
23262 * sysdeps/mach/hurd/getcwd.c: Likewise.
23263 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23264 * sysdeps/mach/hurd/mmap.c: Likewise.
23265 * sysdeps/mach/hurd/utimes.c: Likewise.
23266 * sysdeps/mach/hurd/xmknod.c: Likewise.
23267 * sysdeps/posix/profil.c: Likewise.
23268 * sysdeps/posix/readdir_r.c: Likewise.
23269 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23270 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23271 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23272 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23274 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23275 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23276 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23278 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23279 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23280 * sysdeps/pthread/lio_listio.c: Likewise.
23281 * sysdeps/sparc/dl-procinfo.h: Likewise.
23282 * sysdeps/unix/i386/sysdep.S: Likewise.
23283 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23284 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23285 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23286 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23288 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23289 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23290 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23291 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23292 * sysdeps/wordsize-32/divdi3.c: Likewise.
23293 * time/sys/time.h: Likewise.
23294 * wcsmbs/Makefile: Likewise.
23295
0549fbba
DM
232962013-01-01 David S. Miller <davem@davemloft.net>
23297
a141f1a7
DM
23298 * po/fr.po: Update from translation team.
23299
0549fbba
DM
23300 * catgets/gencat.c: Update copyright year.
23301 * csu/version.c: Likewise.
23302 * debug/catchsegv.sh: Likewise.
23303 * debug/pcprofiledump.c: Likewise.
23304 * debug/xtrace.sh: Likewise.
23305 * elf/ldconfig.c: Likewise.
23306 * elf/ldd.bash.in: Likewise.
23307 * elf/pldd.c: Likewise.
23308 * elf/sotruss.ksh: Likewise.
23309 * elf/sprof.c: Likewise.
23310 * iconv/iconv_prog.c: Likewise.
23311 * iconv/iconvconfig.c: Likewise.
23312 * locale/programs/locale.c: Likewise.
23313 * locale/programs/localedef.c: Likewise.
23314 * login/programs/pt_chown.c: Likewise.
23315 * malloc/memusage.sh: Likewise.
23316 * malloc/memusagestat.c: Likewise.
23317 * malloc/mtrace.pl: Likewise.
23318 * nscd/nscd.c: Likewise.
23319 * nss/getent.c: Likewise.
23320 * nss/makedb.c: Likewise.
23321 * posix/getconf.c: Likewise.
23322
18ea052c
SP
233232012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23324
23325 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23326 numbers.
23327
9c89fca6
MF
233282012-12-30 Mike Frysinger <vapier@gentoo.org>
23329
23330 * math/bits/mathcalls.h (modf): Use __nonnull.
23331
085ec079
SP
233322012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23333
23334 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23335 (split): Use macro CN instead of the bare value.
23336 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23337 could be used.
23338 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23339 instead of the bare value.
23340 (power1): Likewise.
23341
6d9f97e1
SP
233422012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23343
d63f73be
SP
23344 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23345 __ATAN_TWOM.
23346 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23347
6d9f97e1
SP
23348 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23349 their values.
23350 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23351 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23352 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23353 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23354
4c4febf5
AJ
233552012-12-28 Andreas Jaeger <aj@suse.de>
23356
af5843ef
AJ
23357 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23358 values are from Linux 3.7.
23359
4c4febf5
AJ
23360 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23361 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23362
99136f82
SP
233632012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23364
2f216c3c 23365 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
23366 TRUE case.
23367
99136f82
SP
23368 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23369 (norm): Likewise.
23370 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23371 variables with preprocessor constants.
23372 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23373 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23374 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23375
7fffbdff
BH
233762012-12-27 Bruno Haible <bruno@clisp.org>
23377
23378 [BZ #14317]
23379 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23380 only if needed.
23381
b76eb5f0
SP
233822012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23383
31a7fe5c
SP
23384 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23385 and use variable directly.
23386 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23387
b76eb5f0
SP
23388 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23389 MPONE.
23390 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23391 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23392 variable MPONE.
23393 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23394 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23395 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23396 include directive. Remove local variable MPONE.
23397 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23398 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23399 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23400
2c8bfe7d
DM
234012012-12-25 David S. Miller <davem@davemloft.net>
23402
23403 * version.h (RELEASE): Set to "development".
23404 (VERSION): Set to "2.17.90".
23405 * NEWS: Add 2.18 section.
23406
147d03b0
DM
234072012-12-21 David S. Miller <davem@davemloft.net>
23408
23409 * po/hr.po: Update from translation team.
23410
a8ebb2b9
AK
234112012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23412
23413 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23414
95b4f1b6
SE
234152012-12-19 Steve Ellcey <sellcey@mips.com>
23416
b2d94007 23417 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 23418
cedb2a90
MS
234192012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23420
23421 * manual/contrib.texi (Contributors): Spelling correction.
23422
bbf527d6
DM
234232012-12-15 David S. Miller <davem@davemloft.net>
23424
23425 * po/ru.po: Update from translation team.
23426
bc38c906
DM
234272012-12-13 David S. Miller <davem@davemloft.net>
23428
85429b1a
DM
23429 * NEWS: Mention IFUNC testsuite enhancements.
23430
d283e353
DM
23431 * po/pl.po: Update from translation team.
23432 * po/bg.po: Likewise.
23433
bc38c906
DM
23434 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23435 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23436
a181b0d7
DM
234372012-12-11 David S. Miller <davem@davemloft.net>
23438
4641d57e
DM
23439 * po/sv.po: Update from translation team.
23440
f7bc6495
DM
23441 * po/vi.po: Update from translation team.
23442
6fc9048f
DM
23443 * po/cs.po: Update from translation team.
23444
a181b0d7
DM
23445 * po/de.po: Update from translation team.
23446 * po/eo.po: Likewise.
23447 * po/nl.po: Likewise.
23448
f70bfe80
SP
234492012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23450
3c8b4190
SP
23451 [BZ #14246]
23452 * manual/argp.texi (Argp Helper Functions): Move node to follow
23453 Argp Parsing State.
23454
f70bfe80
SP
23455 [BZ #14872]
23456 * manual/conf.texi (Limits on File System Capacity): Mention if
23457 terminating null is included in the max size.
23458
188f0adf
AJ
234592012-12-10 Andreas Jaeger <aj@suse.de>
23460
23461 * po/cs.po: Update from translation team.
23462
56e7d3ad
SP
234632012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23464
23465 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23466 void pointer and cast to uintptr_t.
23467 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23468 path.
23469 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23470 * sysdeps/s390/s390-64/memset.S: Likewise.
23471
76f2d2ea 234722012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
23473
23474 [BZ #14833]
23475 * menual/message.texi (Message Translation): Fix typos.
23476 (Helper programs for gettext): Likewise.
23477
67cbf9a2
AS
234782012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23479
23480 [BZ #14898]
23481 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23482 Change to -1.
23483
682d0e9a
DM
234842012-12-07 David S. Miller <davem@davemloft.net>
23485
23486 * po/libc.pot: Update.
23487
573cd484
RH
234882012-12-07 Richard Henderson <rth@redhat.com>
23489
7e9da188 23490 [BZ #10114]
573cd484
RH
23491 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23492 normal/normal case to before the switch.
23493 (_FP_DIV): Likewise.
23494
e933a943
MF
234952012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23496 Mike Frysinger <vapier@gentoo.org>
23497
23498 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23499 check for __NR_fadvise64_64.
23500
82123268
CM
235012012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23502
23503 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23504 0, not just to plain "0" as a statement.
23505 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23506 with cw.
23507
d9814526
JM
235082012-12-06 Joseph Myers <joseph@codesourcery.com>
23509
23510 * NEWS: Use sourceware.org in Bugzilla URL.
23511
7728c574
SP
235122012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23513
f16946dd
SP
23514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23515 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23516
5704bbcb
SP
23517 * stdio-common/tst-put-error.c (do_test): Add newline to the
23518 padded test to ensure flush.
23519
17aa0516
JL
235202012-12-05 Jeff Law <law@redhat.com>
23521
23522 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23523
363313b5
JM
235242012-12-05 Joseph Myers <joseph@codesourcery.com>
23525
effbd42a
JM
23526 * README: Don't refer to ports add-on as distributed separately.
23527 Mention AArch64 in list of systems supported in the ports add-on.
23528
87600365
JM
23529 * LICENSES: Add more non-FSF copyright and license notices.
23530
a0d7066a
JM
23531 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23532 ((unused)).
23533
66ca5a5b
JM
23534 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23535
363313b5
JM
23536 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23537 10000 as width of padded output.
23538
b37984ad
JM
235392012-12-04 Joseph Myers <joseph@codesourcery.com>
23540
9003570a
JM
23541 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23542
b37984ad
JM
23543 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23544 variable LX with __attribute__ ((unused)).
23545 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23546 Likewise.
23547 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23548 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23549 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23550 with __attribute__ ((unused)).
23551
c8df52ec
DM
235522012-12-04 David S. Miller <davem@abraco.davemloft.net>
23553
23554 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23555
b3b099af
JM
235562012-12-04 Joseph Myers <joseph@codesourcery.com>
23557
c33aa6e3
JM
23558 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23559 (CFLAGS-nldbl-acos.c): New variable.
23560 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23561 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23562 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23563 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23564 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23565 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23566 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23567 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23568 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23569 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23570 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23571 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23572 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23573 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23574 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23575 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23576 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23577 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23578 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23579 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23580 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23581 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23582 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23583 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23584 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23585 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23586 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23587 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23588 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23589 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23590 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23591 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23592 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23593 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23594 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23595 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23596 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23597 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23598 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23599 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23600 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23601 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23602 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23603 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23604 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23605 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23606 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23607 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23608 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23609 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23610 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23611 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23612 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23613 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23614 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23615 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23616 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23617 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23618 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23619 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23620 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23621 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23622 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23623 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23624 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23625 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23626 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23627 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23628 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23629 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23630 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23631 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23632 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23633 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23634 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23635 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23636 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23637 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23638 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23639 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23640 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23641 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23642 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23643 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23644 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23645 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23646 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23647 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23648 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23649 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23650 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23651 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23652 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23653 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23654 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23655 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23656 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23657
20f0018d
JM
23658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23659 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23660
b3b099af
JM
23661 [BZ #14914]
23662 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23663 whole low double instead of just low 47 bits when splitting values
23664 into two parts.
23665
029264d1
AM
236662012-12-03 Allan McRae <allan@archlinux.org>
23667
23668 * manual/stdio.texi (Predefined Printf Handlers): Remove
23669 @hsep and @vsep usage.
23670
c9d6789e
MF
236712012-12-03 Mike Frysinger <vapier@gentoo.org>
23672
23673 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23674 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23675
4b7634a5
JL
236762012-12-03 Jeff Law <law@redhat.com>
23677
23678 * time/sys/time.h (settimeofday): Do not mark TV argument
23679 as __nonnull.
23680
eb6cbd24
MF
236812012-12-01 Mike Frysinger <vapier@gentoo.org>
23682
23683 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23684 when currently writing and seek to current position when not.
23685 * libio/Makefile (tests): Remove bug-fclose1.
23686 * libio/bug-fclose1.c: Delete.
23687
f638872a
JM
236882012-12-01 Joseph Myers <joseph@codesourcery.com>
23689
23690 * manual/arith.texi (feenableexcept): Fix typo.
23691 (fedisableexcept): Likewise.
23692
48085d14
RM
236932012-11-30 Roland McGrath <roland@hack.frob.com>
23694
23695 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23696 second, differently-typed declaration, rather than a cast.
23697
1a538b9f
SP
236982012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23699
23700 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23701 * include/rpc/svc.h: ... here.
23702
d07f2ff1 237032012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
23704
23705 [BZ #13013]
23706 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23707 depending n and resplen2 to catch cases where answer
23708 equals answerp2.
23709
c93ec1f0
CD
237102012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23711
23712 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23713 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23714
37db69de
MF
237152012-11-29 Mike Frysinger <vapier@gentoo.org>
23716
23717 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23718
e10c4e4f
RM
237192012-11-29 Roland McGrath <roland@hack.frob.com>
23720
23721 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23722
2af1b328
JL
237232012-11-28 Jeff Law <law@redhat.com>
23724
23725 [BZ #13761]
23726 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23727 dataset_temporary. Track alloca usage into alloca_used.
23728 If dataset is large allocate and release it via malloc/free.
23729
111db5b1
FW
237302012-06-04 Florian Weimer <fweimer@redhat.com>
23731
f06cc227 23732 [BZ #14197]
111db5b1
FW
23733 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23734
dd694abd
DM
237352012-11-28 David S. Miller <davem@davemloft.net>
23736
23737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23738
9984dd01
JM
237392012-11-28 Joseph Myers <joseph@codesourcery.com>
23740
23741 [BZ #14803]
23742 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23743 of pi/2 rounded to nearest to 64 bits.
23744 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23745 nearest to 64 bits.
23746 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23747 bits.
23748
14bc93a9
JL
237492012-11-28 Jeff Law <law@redhat.com>
23750 Martin Osvald <mosvald@redhat.com>
23751
23752 [BZ #14889]
23753 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23754 * sunrpc/svc.c: Include time.h.
23755 (__svc_accept_failed): New function.
23756 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23757 any reason other than EINTR, call __svc_accept_failed.
23758 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23759 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23760
e3c6aa3a
AS
237612012-11-28 Andreas Schwab <schwab@suse.de>
23762
23763 * scripts/abilist.awk: Also handle indirect functions in .opd
23764 section.
23765
1bead169
JM
237662012-11-28 Joseph Myers <joseph@codesourcery.com>
23767
23768 [BZ #13881]
23769 * sysdeps/x86/fpu/powl_helper.c: New file.
23770 * sysdeps/x86/fpu/Makefile: Likewise.
23771 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23772 (p3): New object.
23773 (__ieee754_powl): Use __powl_helper for finite arguments except
23774 integer exponents below 8.
23775 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23776 (p3): New object.
23777 (__ieee754_powl): Use __powl_helper for finite arguments except
23778 integer exponents below 8.
23779 * math/libm-test.inc (pow_test): Add more tests and enable some
23780 previously disabled tests.
23781 * sysdeps/i386/fpu/libm-test-ulps: Update.
23782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23783
0817d63d
SP
237842012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23785 Carlos O'Donell <carlos_odonell@mentor.com>
23786
23787 * nss/makedb.c (is_prime): Assert that input is odd and greater
23788 than 4. Note that fact in a comment too.
23789 (next_prime): Add 4 to input.
23790
de2fd463
SP
237912012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23792
23793 [BZ #11741]
23794 * libio/Makefile (tests): Add test case tst-fwrite-error.
23795 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23796 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23797 * libio/tst-fwrite-error.c: New test case.
23798
c515fb51
L
237992012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23800
23801 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23802 before casting to void *.
23803 * include/libc-internal.h (__pointer_type): New macro.
23804 (__integer_if_pointer_type_sub): Likewise.
23805 (__integer_if_pointer_type): Likewise.
23806 (cast_to_integer): Likewise.
23807 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23808 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23809 before casting to atomic64_t.
23810 (atomic_exchange_acq): Likewise.
23811 (__arch_exchange_and_add_body): Likewise.
23812 (__arch_add_body): Likewise.
23813 (atomic_add_negative): Likewise.
23814 (atomic_add_zero): Likewise.
23815
4cf77aa9
JM
238162012-11-26 Joseph Myers <joseph@codesourcery.com>
23817
23818 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23819 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23820 (add_fdes): Likewise.
23821 (linear_search_fdes): Likewise.
23822 (binary_search_unencoded_fdes): Likewise.
23823
d260b3b4
AS
238242012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23825
23826 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23827
67060746
AC
238282012-11-24 Adam Conrad <adconrad@0c3.net>
23829
23830 * configure.in: Autodetect C++ header directories.
23831 * configure: Regenerated.
23832
800938a1
MF
238332012-11-23 Mike Frysinger <vapier@gentoo.org>
23834
23835 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23836
4e6e34e6
AS
238372012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23838
23839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23840
7c7feb47
JM
238412012-11-22 Joseph Myers <joseph@codesourcery.com>
23842
7184dcdf
JM
23843 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23844 LDBL_MANT_DIG == 106]: Disable some tests.
23845 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23846 Likewise.
23847 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23848 Likewise.
23849
0a42601f
JM
23850 [BZ #14871]
23851 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23852 input for small inputs. Return +/- pi/2 for large inputs.
23853 * math/libm-test.inc (atan_test): Add more tests.
23854
79c9b9fe
JM
23855 * sysdeps/generic/unwind-dw2-fde-glibc.c
23856 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23857 __attribute__ ((unused)).
23858
c60d3bf2
JM
23859 [BZ #14645]
23860 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23861 x * y if x and y are nonzero and z is zero.
23862
ef1e0867
JM
23863 [BZ #14811]
23864 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23865 nonzero exponents with absolute value below 0x1p-117 to +/-
23866 0x1p-117.
23867
1468ded3
JM
23868 [BZ #14869]
23869 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23870 up arguments below 2**-450, not just those below 2**-500.
23871 * math/libm-test.inc (hypot_test): Add another test.
23872
8e27e3cc
JM
23873 [BZ #14868]
23874 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23875 Return a+b for ratio over 2**120, not 2**60.
23876 * math/libm-test.inc (hypot_test): Add another test.
23877
c9c0279b
JM
23878 * math/libm-test.inc (clog_test): Use
23879 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23880 (clog10_test): Likewise.
23881
7c7feb47
JM
23882 [BZ #6778]
23883 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23884
fff1530e
AS
238852012-11-22 Andreas Schwab <schwab@suse.de>
23886
23887 * sysdeps/i386/fpu/libm-test-ulps: Update.
23888
94558d30
PT
238892012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23890
23891 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23892 printf output with newline.
23893
7e1be741
L
238942012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23895
6bfea974
L
23896 [BZ #14865]
23897 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23898 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23899 -z nodlopen, -z initfirst and -z execstack support.
23900 * configure: Regenerated.
23901
7e1be741
L
23902 * elf/elf.h (DF_1_NODIRECT): New macro.
23903 (DF_1_IGNMULDEF): Likewise.
23904 (DF_1_NOKSYMS): Likewise.
23905 (DF_1_NOHDR): Likewise.
23906 (DF_1_EDITED): Likewise.
23907 (DF_1_NORELOC): Likewise.
23908 (DF_1_SYMINTPOSE): Likewise.
23909 (DF_1_GLOBAUDIT): Likewise.
23910 (DF_1_SINGLETON): Likewise.
23911 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23912 DT_1_SUPPORTED_MASK bits.
23913 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23914
105ce2ce
CD
239152012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23916
23917 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23918
123be9de
TS
239192012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23920
d072f3f7
TS
23921 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23922 macro.
23923
123be9de
TS
23924 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23925 (sendmmsg): Move declarations...
23926 * socket/sys/socket.h: ... here.
23927 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23928 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23929 include it from...
23930 * socket/recvmmsg.c: ... this new file.
23931 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23932 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23933 definition of __sendmmsg hidden.
23934 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23935 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23936 Move ENOSYS stub into and include it from...
23937 * socket/sendmmsg.c: ... this new file.
23938 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23939 (sysdep_routines): Move recvmmsg and sendmmsg...
23940 * socket/Makefile (routines): ... here.
23941 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23942 (GLIBC_PRIVATE): Add __sendmmsg.
23943 * include/sys/socket.h (__sendmmsg): Add declarations.
23944 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23945 sendmmsg.
23946
cf9a5d18
JM
239472012-11-20 Joseph Myers <joseph@codesourcery.com>
23948
23949 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23950 variable I1 with __attribute__ ((unused)).
23951 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23952
ecd4caf9
JM
239532012-11-19 Joseph Myers <joseph@codesourcery.com>
23954
be14d48f
JM
23955 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23956 DUMMY variables with __attribute__ ((unused)).
23957
ecd4caf9
JM
23958 * bits/byteswap.h: Include <bits/types.h>.
23959 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23960
986cab95
PT
239612012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23962
23963 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23964 string_t. Do not manually set errno.
23965 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23966 length with __strnlen. Make sure to both set errno and return it on
23967 failure.
23968
6d33cc9d
DM
239692012-11-19 David S. Miller <davem@davemloft.net>
23970
23971 With help from Joseph Myers.
23972 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23973 very large arguments properly.
23974 * math/libm-test.inc (atan_test): New tests.
23975 (atan2_test): New tests.
23976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23978
ee663277
JM
239792012-11-19 Joseph Myers <joseph@codesourcery.com>
23980
877f2d8e
JM
23981 [BZ #14856]
23982 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23983 Define to 3.
23984
116fc08a
JM
23985 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23986 [POSIX] (EADDRNOTAVAIL): Likewise.
23987 [POSIX] (EAFNOSUPPORT): Likewise.
23988 [POSIX] (EALREADY): Likewise.
23989 [POSIX] (ECONNABORTED): Likewise.
23990 [POSIX] (ECONNREFUSED): Likewise.
23991 [POSIX] (ECONNRESET): Likewise.
23992 [POSIX] (EDESTADDRREQ): Likewise.
23993 [POSIX] (EDQUOT): Likewise.
23994 [POSIX] (EHOSTUNREACH): Likewise.
23995 [POSIX] (EIDRM): Likewise.
23996 [POSIX] (EISCONN): Likewise.
23997 [POSIX] (ELOOP): Likewise.
23998 [POSIX] (EMULTIHOP): Likewise.
23999 [POSIX] (ENETDOWN): Likewise.
24000 [POSIX] (ENETUNREACH): Likewise.
24001 [POSIX] (ENOBUFS): Likewise.
24002 [POSIX] (ENODATA): Likewise.
24003 [POSIX] (ENOLINK): Likewise.
24004 [POSIX] (ENOMSG): Likewise.
24005 [POSIX] (ENOPROTOOPT): Likewise.
24006 [POSIX] (ENOSR): Likewise.
24007 [POSIX] (ENOSTR): Likewise.
24008 [POSIX] (ENOTCONN): Likewise.
24009 [POSIX] (ENOTSOCK): Likewise.
24010 [POSIX] (EOPNOTSUPP): Likewise.
24011 [POSIX] (EOVERFLOW): Likewise.
24012 [POSIX] (EPROTO): Likewise.
24013 [POSIX] (EPROTONOSUPPORT): Likewise.
24014 [POSIX] (EPROTOTYPE): Likewise.
24015 [POSIX] (ESTALE): Likewise.
24016 [POSIX] (ETIME): Likewise.
24017 [POSIX] (ETXTBSY): Likewise.
24018 [POSIX] (EWOULDBLOCK): Likewise.
24019 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24020 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24021 [POSIX] (SEEK_CUR): Likewise.
24022 [POSIX] (SEEK_END): Likewise.
24023 [POSIX || UNIX98] (mode_t): Do not require.
24024 [POSIX] (off_t): Likewise.
24025 [POSIX] (pid_t): Likewise.
24026 [POSIX] (sys/stat.h): Do not allow header.
24027 [POSIX] (unistd.h): Likewise.
24028 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24029 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24030 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24031 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24032 require.
24033 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24034 sigevent): Specify elements.
24035 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24036 entry.
24037 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24038 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24039
a483863f
JM
24040 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24041 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24042 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24043 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24044 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24045 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24046 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24047 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24048 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24049 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24050 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24051 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24052 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24053 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24054 Likewise.
24055 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24056 Likewise.
24057 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24058 Likewise.
24059 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24060 Likewise.
24061 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24062 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24063 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24064 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24065 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24066 Specify lower bound on value.
24067 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24068 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24069 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24070 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24071 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24072 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24073 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24074 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24075 value.
24076 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24077 as optional.
24078 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24079 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24080 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24081 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24082 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24083 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24084 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24085 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24086 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24087 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24088 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24089 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24090 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24091 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24092 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24093 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24094 entry.
24095 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24096 optional.
24097 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24098 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24099 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24100 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24101 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24102 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24103 Likewise.
24104 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24105 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24106 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24107 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24108 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24109 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24110 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24111 as optional.
24112 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24113 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24114 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24115 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24116 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24117 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24118 specify as optional.
24119 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24120 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24121 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24122 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24123 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24124 [XPG3] (NL_LANGMAX): Likewise.
24125 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24126 [POSIX || XPG3] (NL_NMAX): Likewise.
24127 [POSIX || XPG3] (NL_SETMAX): Likewise.
24128 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24129 [XPG3] (NZERO): Likewise.
24130 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24131 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24132 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24133 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24134 (REG_ERANGE): Expect.
24135 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24136 optional-constant.
24137 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24138 Use (void) in prototype.
24139 [POSIX] (*_t): Allow.
24140 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24141 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24142 (WRDE_BADVAL): Expect.
24143
5ba924e3
JM
24144 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24145 expect.
24146 [XPG3 || XPG4] (O_RSYNC): Likewise.
24147 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24148 Likewise.
24149 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24150 [XPG3 || XPG4] (sigqueue): Likewise.
24151 [XPG3 || XPG4] (sigtimedwait): Likewise.
24152 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24153 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24154 [XPG3 || XPG4] (vsnprintf): Likewise.
24155 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24156 Likewise.
24157 [XPG3 || XPG4] (blksize_t): Likewise.
24158 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24159 Likewise.
24160 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24161 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24162 [XPG3 || XPG4] (struct itimerspec): Likewise.
24163 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24164 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24165 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24166 [XPG3 || XPG4] (clockid_t): Likewise.
24167 [XPG3 || XPG4] (timer_t): Likewise.
24168 [XPG3 || XPG4] (clock_getres): Likewise.
24169 [XPG3 || XPG4] (clock_gettime): Likewise.
24170 [XPG3 || XPG4] (clock_settime): Likewise.
24171 [XPG3 || XPG4] (nanosleep): Likewise.
24172 [XPG3 || XPG4] (timer_create): Likewise.
24173 [XPG3 || XPG4] (timer_delete): Likewise.
24174 [XPG3 || XPG4] (timer_gettime): Likewise.
24175 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24176 [XPG3 || XPG4] (timer_settime): Likewise.
24177 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24178 [XPG3 || XPG4] (getlogin_r): Likewise.
24179 [XPG3 || XPG4] (pread): Likewise.
24180 [XPG3 || XPG4] (pthread_atfork): Likewise.
24181 [XPG3 || XPG4] (pwrite): Likewise.
24182
ee663277
JM
24183 [BZ #14835]
24184 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24185 <bits/siginfo.h>.
24186
942caa16
PT
241872012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24188
e19af380
PT
24189 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24190 finalizing MALLSTREAM.
24191
942caa16
PT
24192 * sysdeps/mach/hurd/syncfs.c: New file.
24193
cfde9b46
SP
241942012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24195
24196 [BZ #14719]
24197 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24198 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24199 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24200 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24201 (_nss_dns_gethostbyname4_r): Likewise.
24202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24203 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24204
f6da27e5
PH
242052012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24206
24207 [BZ #13763]
24208 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24209
6665d4a2
SM
242102012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24211
1f51ee92
SM
24212 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24213 * elf/cache.c (print_entry): Print ",AArch64" for
24214 FLAG_AARCH64_LIB64
24215
6665d4a2
SM
24216 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24217 * elf/cache.c (print_entry): Print ",hard-float" for
24218 FLAG_ARM_LIBHF.
24219
05b227bd
DM
242202012-11-18 David S. Miller <davem@davemloft.net>
24221
24222 With help from Joseph Myers.
24223 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24224 cutoff to 2**-13.
24225 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24226 cutoff to 2**-25.
24227 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24228 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24229 small.
24230 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24231 * math/libm-test.inc (y0_test): New tests.
24232 (y1_test): New tests.
24233 * sysdeps/i386/fpu/libm-test-ulps: Update.
24234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24236
786b0b67
AS
242372012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24238
24239 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24240 64-bit targets.
24241 * configure: Regenerated.
24242
8e18b86d
DM
242432012-11-17 David S. Miller <davem@davemloft.net>
24244
24245 [BZ #14811]
24246 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24247 nonzero exponents with absolute value below 0x1p-128 to +/-
24248 0x1p-128.
24249
531f1ae0
JM
242502012-11-17 Joseph Myers <joseph@codesourcery.com>
24251
12df29e2
JM
24252 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24253
150dc1a0
JM
24254 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24255
531f1ae0
JM
24256 * posix/getconf-speclist.c: New file.
24257 * posix/posix-envs.def: Likewise.
24258 * posix/confstr.c (START_ENV_GROUP): New macro.
24259 (END_ENV_GROUP): Likewise.
24260 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24261 (KNOWN_PRESENT_ENV_STRING): Likewise.
24262 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24263 (UNKNOWN_ENVIRONMENT): Likewise.
24264 (confstr): Include posix-envs.def instead of handling
24265 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24266 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24267 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24268 (END_ENV_GROUP): Likewise.
24269 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24270 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24271 (UNKNOWN_ENVIRONMENT): Likewise.
24272 (__sysconf): Include posix-envs.def instead of handling associated
24273 cases directly here.
24274 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24275 preprocessing getconf-speclist.c rather than running getconf or
24276 generating empty file.
24277
a93f9cbc
PT
242782012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24279
24280 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24281
d64d9f87
AL
242822012-11-16 Andrej Lajovic <natrij@gmail.com>
24283
24284 [BZ #14672]
24285 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24286
447885eb
DM
242872012-11-16 David S. Miller <davem@davemloft.net>
24288
24289 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24290 smaller than LDBL_EPSILON/2.0L, just return xm1.
24291
bcbf9830
L
242922012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24293
24294 * elf/tst-array1.c (init): Set constructor priority to 1000.
24295 (fini): Set destructor priority to 1000.
24296 * elf/tst-array2dep.c: Likewise.
24297
2b766585
SP
242982012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24299
24300 [BZ #11741]
24301 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24302 (_IO_new_file_xsputn): Also return EOF if none of the input
24303 data was written when overflow failed.
24304 * libio/iopadn.c (_IO_padn): Likewise.
24305 * libio/iowpadn.c (_IO_wpadn): Likewise.
24306 * stdio-common/tst-put-error.c: Add copyright notice.
24307 (do_test): Add case for printing padded string.
24308 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24309 _IO_padn returned error.
24310 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24311 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24312 return EOF.
24313
b1848fde
SP
243142012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24315
24316 * libio/libioP.h: Add comment note that the references to C++
24317 bits are now obsolete.
24318
2fd89785
MS
243192012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24320
24321 * math/libm-test.inc (check_complex): Use asprintf.
24322
e3ea5409
JM
243232012-11-14 Joseph Myers <joseph@codesourcery.com>
24324
24325 * debug/pcprofiledump.c (print_version): Update copyright year.
24326 * malloc/memusagestat.c (print_version): Likewise.
24327
2e64d265
L
243282012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24329
24330 [BZ #14831]
24331 * elf/Makefile (tests): Add tst-audit8.
24332 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24333 ($(objpfx)tst-audit8.out): New target.
24334 (tst-audit8-ENV): New variable.
24335 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24336 audit if l_reloc_result is NULL.
24337 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24338 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24339 * elf/tst-audit8.c: New file.
24340
c485e4d2
MS
243412012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24342
24343 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24344 * misc/Makefile (CFLAGS-select.c): Define.
24345 * posix/Makefile (CFLAGS-pause.c): Define.
24346
3a0d900a
DM
243472012-11-13 David S. Miller <davem@davemloft.net>
24348
24349 * crypt/Makefile: Move test targets after toplevel Rules
24350 inclusion. Grab any necessary sysdep routines when linking.
24351 * crypt/md5.c (md5_process_block): Remove define, we will always
24352 name it __md5_process_block.
24353 (md5_finish_ctx): Update md5_process_block call.
24354 (md5_stream): Likewise.
24355 (md5_process_bytes): Likewise.
24356 (md5_process_block): Rename to __md5_process_block and move to ...
24357 * crypt/md5-block.c: ... here.
24358 * crypt/sha256.c (sha256_process_block): Move to ...
24359 * crypt/sha256-block.c: ... here.
24360 * crypt/sha512.c (sha512_process_block): Move to ...
24361 * crypt/sha512-block.c: ... here.
24362 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24363 path.
24364 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24365 * sysdeps/sparc/sparc64/multiarch/Makefile
24366 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24367 crypt subdir.
24368 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24369 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24370 multiarch changes.
24371 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24372 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24373 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24374 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24375 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24376 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24377 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24378 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24379 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24380 file.
24381 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24382 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24383 file.
24384 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24385
8ca89318
JM
243862012-11-13 Joseph Myers <joseph@codesourcery.com>
24387
e27d476a
JM
24388 * timezone/tzselect.ksh: Update from tzcode git revision
24389 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24390 * timezone/zdump.c: Likewise.
24391 * timezone/zic.c: Likewise.
24392 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24393 in TZVERSION setting, not $(PKGVERSION).
24394 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24395 REPORT_BUGS_TO settings.
24396
8ca89318
JM
24397 [BZ #14838]
24398 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24399 macro.
24400
47594329
MS
244012012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24402
24403 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24404 detection to immediately after _FP_ROUND().
24405 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24406 bits are 0.
24407
640ac3f1
DM
244082012-11-11 David S. Miller <davem@davemloft.net>
24409
24410 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24411 inttypes.h
24412 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24413 __close rather than their public counterparts.
24414
3d2577bb
JM
244152012-11-10 Joseph Myers <joseph@codesourcery.com>
24416
24417 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24418 file.
24419 [UNIX98] (sem_timedwait): Do not expect.
24420 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24421 [XPG4 || UNIX98] (sockatmark): Do not expect.
24422 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24423 (clock_getcpuclockid): Do not expect.
24424 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24425 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24426 Do not expect.
24427 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24428 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24429 [UNIX98] (vwscanf): Likewise.
24430 [UNIX98] (vswscanf): Likewise.
24431
fb1ae1ee
JM
244322012-11-09 Joseph Myers <joseph@codesourcery.com>
24433
9ec6f8bd
JM
24434 * timezone/version.h: Remove file.
24435 * timezone/README: Do not refer to version.h.
24436 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24437 $(objpfx)version.h.
24438 ($(objpfx)zdump.o): Likewise.
c3f81911 24439 ($(objpfx)version.h): New target.
9ec6f8bd 24440
0aa8f8a1
JM
24441 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24442 2012i.
24443 * timezone/README: Don't mention modification to tzselect.ksh.
24444 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24445 work on unmodified tzselect.ksh. Substitute version numbers in
24446 tzselect.ksh.
24447
4e87147f
JM
24448 * Makefile (format-me): Remove.
24449 (INSTALL): Adjust indentation. Use commands directly instead of
24450 using $(format-me).
24451
8b748aed
JM
24452 * aclocal.m4 (ACX_PKGVERSION): New macro.
24453 (ACX_BUGURL): Likewise.
24454 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24455 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24456 (REPORT_BUGS_TO): Likewise.
24457 * configure: Regenerated.
24458 * config.h.in (PKGVERSION): New macro.
24459 (REPORT_BUGS_TO): Likewise.
24460 * config.make.in (PKGVERSION): New variable.
24461 (PKGVERSION_TEXI): Likewise.
24462 (REPORT_BUGS_TO): Likewise.
24463 (REPORT_BUGS_TEXI): Likewise.
24464 * Makefile (format-me): Use -I$(common-objpfx)manual.
24465 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24466 ($(common-objpfx)manual/%): New target.
24467 (manual/%): Remove target.
24468 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24469 (print_version): Use PKGVERSION.
24470 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24471 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24472 and REPORT_BUGS_TO.
24473 ($(objpfx)xtrace): Likewise.
24474 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24475 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24476 (print_version): Use PKGVERSION.
24477 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24478 (do_version): Use PKGVERSION.
24479 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24480 REPORT_BUGS_TO.
24481 (common-ldd-rewrite): Likewise.
24482 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24483 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24484 (print_version): Use PKGVERSION.
24485 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24486 * elf/pldd.c (argp_program_bug_address): Remove variable.
24487 (more_help): New function.
24488 (argp): Use more_help.
24489 (print_version): Use PKGVERSION.
24490 * elf/sln.c (main): Use PKGVERSION.
24491 (usage): Use REPORT_BUGS_TO.
24492 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24493 (top level): Use PKGVERSION.
24494 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24495 (print_version): Use PKGVERSION.
24496 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24497 (print_version): Use PKGVERSION.
24498 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24499 (print_version): Use PKGVERSION.
24500 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24501 (print_version): Use PKGVERSION.
24502 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24503 (print_version): Use PKGVERSION.
24504 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24505 (print_version): Use PKGVERSION.
24506 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24507 and BUGURL.
24508 ($(objpfx)memusage): Likewise.
24509 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24510 (do_version): Use PKGVERSION.
24511 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24512 (print_version): Use PKGVERSION.
24513 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24514 ($PKGVERSION): New variable.
24515 ($REPORT_BUGS_TO): Likewise.
24516 (usage): Use $REPORT_BUGS_TO.
24517 (top level): Use $PKGVERSION.
24518 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24519 ($(objpfx)pkgvers.texi): New rule.
24520 ($(objpfx)stamp-pkgvers): Likewise.
24521 * manual/install.texi: Include pkgvers.texi.
24522 (--with-pkgversion): Document new configure option.
24523 (--with-bugurl): Likewise.
24524 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24525 than necessarily for this particular distribution. Use
24526 REPORT_BUGS_TO for where to report bugs.
24527 * INSTALL: Regenerated.
24528 * manual/libc.texinfo: Include pkgvers.texi.
24529 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24530 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24531 (print_version): Use PKGVERSION.
24532 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24533 (print_version): Use PKGVERSION.
24534 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24535 (print_version): Use PKGVERSION.
24536 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24537 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24538 macro.
24539 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24540 (print_version): Use PKGVERSION.
24541 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24542 (print_version): Use PKGVERSION.
24543 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24544 and PKGVERSION.
24545
92e4b6a9
JM
24546 * timezone/checktab.awk: Update from tzcode 2012i.
24547 * timezone/ialloc.c: Likewise.
24548 * timezone/private.h: Likewise.
24549 * timezone/scheck.c: Likewise.
24550 * timezone/tzfile.h: Likewise.
24551 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24552 (TZVERSION): Hardcode tzcode version number.
24553 * timezone/zdump.c: Update from tzcode 2012i.
24554 * timezone/zic.c: Likewise.
24555 * timezone/version.h: New file.
24556 * timezone/README: Describe version.h. Update upstream location.
24557
9bde902c
JM
24558 [BZ #14824]
24559 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24560 (mktemp): Enable declaration.
24561 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24562 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24563 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24564 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24565 Likewise.
24566 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24567 Likewise.
24568 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24569 Likewise.
24570 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24571 Likewise.
24572 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24573 Likewise.
24574 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24575 Likewise.
24576
fb1ae1ee
JM
24577 [BZ #14821]
24578 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24579 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24580 for copies of such integer values.
24581 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24582 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24583
2c1adbcb
AJ
245842012-11-09 Andreas Jaeger <aj@suse.de>
24585
24586 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24587 definitions and declarations that are provided by
24588 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24589
d0f8457e
AK
245902012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24591
3a235abb 24592 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
24593 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24594 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24595 definition.
24596
57241e26
MS
245972012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24598
24599 * elf/elf.h: Update comment before AArch64 relocations.
24600
60e8270d
DM
246012012-11-07 David S. Miller <davem@davemloft.net>
24602
24603 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24604 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24605 (__start_context): Declare.
24606 (__makecontext_ret): Delete.
24607 (__makecontext): Hook up __start_context instead of
24608 __makecontext_ret.
24609 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24610 (sysdep_routines): Add __start_context when in stdlib.
24611
0fbb0fbc
JM
246122012-11-07 Joseph Myers <joseph@codesourcery.com>
24613
24614 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24615 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24616 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24617 hardcoded "nm".
24618 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24619 (READELF): New variable. Use it instead of hardcoded "readelf".
24620
eb48db7e
L
246212012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24622
24623 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24624 * sysdeps/x86/Makefile: Here.
24625 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24626 * sysdeps/x86/tst-xmmymm.sh: This.
24627
05bcf62a
JM
246282012-11-07 Joseph Myers <joseph@codesourcery.com>
24629
c4b6cf53
JM
24630 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24631 expectations.
24632 [UNIX98] (pthread_barrier_t): Do not expect.
24633 [UNIX98] (pthread_barrierattr_t): Likewise.
24634 [UNIX98] (pthread_spinlock_t): Likewise.
24635 [UNIX98] (pthread_barrier_destroy): Likewise.
24636 [UNIX98] (pthread_barrier_init): Likewise.
24637 [UNIX98] (pthread_barrier_wait): Likewise.
24638 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24639 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24640 [UNIX98] (pthread_barrierattr_init): Likewise.
24641 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24642 [UNIX98] (pthread_getcpuclockid): Likewise.
24643 [UNIX98] (pthread_mutex_timedlock): Likewise.
24644 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24645 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24646 [UNIX98] (pthread_sigmask): Likewise.
24647 [UNIX98] (pthread_spin_destroy): Likewise.
24648 [UNIX98] (pthread_spin_init): Likewise.
24649 [UNIX98] (pthread_spin_lock): Likewise.
24650 [UNIX98] (pthread_spin_trylock): Likewise.
24651 [UNIX98] (pthread_spin_unlock): Likewise.
24652 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24653 Do not expect.
24654 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24655 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24656 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24657 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24658 [XPG3 || XPG4] (pthread_key_t): Likewise.
24659 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24660 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24661 [XPG3 || XPG4] (pthread_once_t): Likewise.
24662 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24663 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24664 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24665 [XPG3 || XPG4] (pthread_t): Likewise.
24666
cbe6e120
JM
24667 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24668 not expect.
24669 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24670
1b126443
JM
24671 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24672 Change function return type to int.
24673
b961a573
JM
24674 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24675 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24676 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24677 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24678 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24679 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24680 [!POSIX] (posix_madvise): Likewise.
24681 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24682 && !UNIX98].
24683 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24684 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24685 (mode_t): Likewise.
24686 (posix_mem_offset): Likewise.
24687 (posix_typed_mem_get_info): Likewise.
24688 (posix_typed_mem_open): Likewise.
24689
9e188909
JM
24690 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24691 Change condition to [XOPEN2K8].
24692
05bcf62a
JM
24693 * conform/conformtest.pl: Preprocess allow-header data with -x c
24694 instead of from stdin.
24695 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24696 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24697 [C99-based standards] (cerfc): Likewise.
24698 [C99-based standards] (cexp2): Likewise.
24699 [C99-based standards] (cexpm1): Likewise.
24700 [C99-based standards] (clog10): Likewise.
24701 [C99-based standards] (clog1p): Likewise.
24702 [C99-based standards] (clog2): Likewise.
24703 [C99-based standards] (clgamma): Likewise.
24704 [C99-based standards] (ctgamma): Likewise.
24705 [C99-based standards] (cerff): Likewise.
24706 [C99-based standards] (cerfcf): Likewise.
24707 [C99-based standards] (cexp2f): Likewise.
24708 [C99-based standards] (cexpm1f): Likewise.
24709 [C99-based standards] (clog10f): Likewise.
24710 [C99-based standards] (clog1pf): Likewise.
24711 [C99-based standards] (clog2f): Likewise.
24712 [C99-based standards] (clgammaf): Likewise.
24713 [C99-based standards] (ctgammaf): Likewise.
24714 [C99-based standards] (cerfl): Likewise.
24715 [C99-based standards] (cerfcl): Likewise.
24716 [C99-based standards] (cexp2l): Likewise.
24717 [C99-based standards] (cexpm1l): Likewise.
24718 [C99-based standards] (clog10l): Likewise.
24719 [C99-based standards] (clog1pl): Likewise.
24720 [C99-based standards] (clog2l): Likewise.
24721 [C99-based standards] (clgammal): Likewise.
24722 [C99-based standards] (ctgammal): Likewise.
24723 * conform/data/inttypes.h-data [C99-based standards]: Include
24724 stdint.h-data. Remove all expectations for stdint.h contents.
24725 [C99-based standards] (PRI*): Do not allow.
24726 [C99-based standards] (SCN*): Likewise.
24727 [C99-based standards] (*_t): Likewise.
24728 [C99-based-standards] (PRId8): Expect macro.
24729 [C99-based-standards] (PRIi8): Likewise.
24730 [C99-based-standards] (PRIo8): Likewise.
24731 [C99-based-standards] (PRIu8): Likewise.
24732 [C99-based-standards] (PRIx8): Likewise.
24733 [C99-based-standards] (PRIX8): Likewise.
24734 [C99-based-standards] (SCNd8): Likewise.
24735 [C99-based-standards] (SCNi8): Likewise.
24736 [C99-based-standards] (SCNo8): Likewise.
24737 [C99-based-standards] (SCNu8): Likewise.
24738 [C99-based-standards] (SCNx8): Likewise.
24739 [C99-based-standards] (PRIdLEAST8): Likewise.
24740 [C99-based-standards] (PRIiLEAST8): Likewise.
24741 [C99-based-standards] (PRIoLEAST8): Likewise.
24742 [C99-based-standards] (PRIuLEAST8): Likewise.
24743 [C99-based-standards] (PRIxLEAST8): Likewise.
24744 [C99-based-standards] (PRIXLEAST8): Likewise.
24745 [C99-based-standards] (SCNdLEAST8): Likewise.
24746 [C99-based-standards] (SCNiLEAST8): Likewise.
24747 [C99-based-standards] (SCNoLEAST8): Likewise.
24748 [C99-based-standards] (SCNuLEAST8): Likewise.
24749 [C99-based-standards] (SCNxLEAST8): Likewise.
24750 [C99-based-standards] (PRIdFAST8): Likewise.
24751 [C99-based-standards] (PRIiFAST8): Likewise.
24752 [C99-based-standards] (PRIoFAST8): Likewise.
24753 [C99-based-standards] (PRIuFAST8): Likewise.
24754 [C99-based-standards] (PRIxFAST8): Likewise.
24755 [C99-based-standards] (PRIXFAST8): Likewise.
24756 [C99-based-standards] (SCNdFAST8): Likewise.
24757 [C99-based-standards] (SCNiFAST8): Likewise.
24758 [C99-based-standards] (SCNoFAST8): Likewise.
24759 [C99-based-standards] (SCNuFAST8): Likewise.
24760 [C99-based-standards] (SCNxFAST8): Likewise.
24761 [C99-based-standards] (PRId16): Likewise.
24762 [C99-based-standards] (PRIi16): Likewise.
24763 [C99-based-standards] (PRIo16): Likewise.
24764 [C99-based-standards] (PRIu16): Likewise.
24765 [C99-based-standards] (PRIx16): Likewise.
24766 [C99-based-standards] (PRIX16): Likewise.
24767 [C99-based-standards] (SCNd16): Likewise.
24768 [C99-based-standards] (SCNi16): Likewise.
24769 [C99-based-standards] (SCNo16): Likewise.
24770 [C99-based-standards] (SCNu16): Likewise.
24771 [C99-based-standards] (SCNx16): Likewise.
24772 [C99-based-standards] (PRIdLEAST16): Likewise.
24773 [C99-based-standards] (PRIiLEAST16): Likewise.
24774 [C99-based-standards] (PRIoLEAST16): Likewise.
24775 [C99-based-standards] (PRIuLEAST16): Likewise.
24776 [C99-based-standards] (PRIxLEAST16): Likewise.
24777 [C99-based-standards] (PRIXLEAST16): Likewise.
24778 [C99-based-standards] (SCNdLEAST16): Likewise.
24779 [C99-based-standards] (SCNiLEAST16): Likewise.
24780 [C99-based-standards] (SCNoLEAST16): Likewise.
24781 [C99-based-standards] (SCNuLEAST16): Likewise.
24782 [C99-based-standards] (SCNxLEAST16): Likewise.
24783 [C99-based-standards] (PRIdFAST16): Likewise.
24784 [C99-based-standards] (PRIiFAST16): Likewise.
24785 [C99-based-standards] (PRIoFAST16): Likewise.
24786 [C99-based-standards] (PRIuFAST16): Likewise.
24787 [C99-based-standards] (PRIxFAST16): Likewise.
24788 [C99-based-standards] (PRIXFAST16): Likewise.
24789 [C99-based-standards] (SCNdFAST16): Likewise.
24790 [C99-based-standards] (SCNiFAST16): Likewise.
24791 [C99-based-standards] (SCNoFAST16): Likewise.
24792 [C99-based-standards] (SCNuFAST16): Likewise.
24793 [C99-based-standards] (SCNxFAST16): Likewise.
24794 [C99-based-standards] (PRId32): Likewise.
24795 [C99-based-standards] (PRIi32): Likewise.
24796 [C99-based-standards] (PRIo32): Likewise.
24797 [C99-based-standards] (PRIu32): Likewise.
24798 [C99-based-standards] (PRIx32): Likewise.
24799 [C99-based-standards] (PRIX32): Likewise.
24800 [C99-based-standards] (SCNd32): Likewise.
24801 [C99-based-standards] (SCNi32): Likewise.
24802 [C99-based-standards] (SCNo32): Likewise.
24803 [C99-based-standards] (SCNu32): Likewise.
24804 [C99-based-standards] (SCNx32): Likewise.
24805 [C99-based-standards] (PRIdLEAST32): Likewise.
24806 [C99-based-standards] (PRIiLEAST32): Likewise.
24807 [C99-based-standards] (PRIoLEAST32): Likewise.
24808 [C99-based-standards] (PRIuLEAST32): Likewise.
24809 [C99-based-standards] (PRIxLEAST32): Likewise.
24810 [C99-based-standards] (PRIXLEAST32): Likewise.
24811 [C99-based-standards] (SCNdLEAST32): Likewise.
24812 [C99-based-standards] (SCNiLEAST32): Likewise.
24813 [C99-based-standards] (SCNoLEAST32): Likewise.
24814 [C99-based-standards] (SCNuLEAST32): Likewise.
24815 [C99-based-standards] (SCNxLEAST32): Likewise.
24816 [C99-based-standards] (PRIdFAST32): Likewise.
24817 [C99-based-standards] (PRIiFAST32): Likewise.
24818 [C99-based-standards] (PRIoFAST32): Likewise.
24819 [C99-based-standards] (PRIuFAST32): Likewise.
24820 [C99-based-standards] (PRIxFAST32): Likewise.
24821 [C99-based-standards] (PRIXFAST32): Likewise.
24822 [C99-based-standards] (SCNdFAST32): Likewise.
24823 [C99-based-standards] (SCNiFAST32): Likewise.
24824 [C99-based-standards] (SCNoFAST32): Likewise.
24825 [C99-based-standards] (SCNuFAST32): Likewise.
24826 [C99-based-standards] (SCNxFAST32): Likewise.
24827 [C99-based-standards] (PRId64): Likewise.
24828 [C99-based-standards] (PRIi64): Likewise.
24829 [C99-based-standards] (PRIo64): Likewise.
24830 [C99-based-standards] (PRIu64): Likewise.
24831 [C99-based-standards] (PRIx64): Likewise.
24832 [C99-based-standards] (PRIX64): Likewise.
24833 [C99-based-standards] (SCNd64): Likewise.
24834 [C99-based-standards] (SCNi64): Likewise.
24835 [C99-based-standards] (SCNo64): Likewise.
24836 [C99-based-standards] (SCNu64): Likewise.
24837 [C99-based-standards] (SCNx64): Likewise.
24838 [C99-based-standards] (PRIdLEAST64): Likewise.
24839 [C99-based-standards] (PRIiLEAST64): Likewise.
24840 [C99-based-standards] (PRIoLEAST64): Likewise.
24841 [C99-based-standards] (PRIuLEAST64): Likewise.
24842 [C99-based-standards] (PRIxLEAST64): Likewise.
24843 [C99-based-standards] (PRIXLEAST64): Likewise.
24844 [C99-based-standards] (SCNdLEAST64): Likewise.
24845 [C99-based-standards] (SCNiLEAST64): Likewise.
24846 [C99-based-standards] (SCNoLEAST64): Likewise.
24847 [C99-based-standards] (SCNuLEAST64): Likewise.
24848 [C99-based-standards] (SCNxLEAST64): Likewise.
24849 [C99-based-standards] (PRIdFAST64): Likewise.
24850 [C99-based-standards] (PRIiFAST64): Likewise.
24851 [C99-based-standards] (PRIoFAST64): Likewise.
24852 [C99-based-standards] (PRIuFAST64): Likewise.
24853 [C99-based-standards] (PRIxFAST64): Likewise.
24854 [C99-based-standards] (PRIXFAST64): Likewise.
24855 [C99-based-standards] (SCNdFAST64): Likewise.
24856 [C99-based-standards] (SCNiFAST64): Likewise.
24857 [C99-based-standards] (SCNoFAST64): Likewise.
24858 [C99-based-standards] (SCNuFAST64): Likewise.
24859 [C99-based-standards] (SCNxFAST64): Likewise.
24860 [C99-based-standards] (PRIdMAX): Likewise.
24861 [C99-based-standards] (PRIiMAX): Likewise.
24862 [C99-based-standards] (PRIoMAX): Likewise.
24863 [C99-based-standards] (PRIuMAX): Likewise.
24864 [C99-based-standards] (PRIxMAX): Likewise.
24865 [C99-based-standards] (PRIXMAX): Likewise.
24866 [C99-based-standards] (SCNdMAX): Likewise.
24867 [C99-based-standards] (SCNiMAX): Likewise.
24868 [C99-based-standards] (SCNoMAX): Likewise.
24869 [C99-based-standards] (SCNuMAX): Likewise.
24870 [C99-based-standards] (SCNxMAX): Likewise.
24871 [C99-based-standards] (PRIdPTR): Likewise.
24872 [C99-based-standards] (PRIiPTR): Likewise.
24873 [C99-based-standards] (PRIoPTR): Likewise.
24874 [C99-based-standards] (PRIuPTR): Likewise.
24875 [C99-based-standards] (PRIxPTR): Likewise.
24876 [C99-based-standards] (PRIXPTR): Likewise.
24877 [C99-based-standards] (SCNdPTR): Likewise.
24878 [C99-based-standards] (SCNiPTR): Likewise.
24879 [C99-based-standards] (SCNoPTR): Likewise.
24880 [C99-based-standards] (SCNuPTR): Likewise.
24881 [C99-based-standards] (SCNxPTR): Likewise.
24882 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24883 allow.
24884 * conform/data/stdint.h-data: Update comments to clarify
24885 requirements.
24886 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24887 type.
24888 [C99-based standards] (INT8_MAX): Likewise.
24889 [C99-based standards] (INT16_MIN): Likewise.
24890 [C99-based standards] (INT16_MAX): Likewise.
24891 [C99-based standards] (INT32_MIN): Likewise.
24892 [C99-based standards] (INT32_MAX): Likewise.
24893 [C99-based standards] (INT64_MIN): Likewise.
24894 [C99-based standards] (INT64_MAX): Likewise.
24895 [C99-based standards] (UINT8_MAX): Likewise.
24896 [C99-based standards] (UINT16_MAX): Likewise.
24897 [C99-based standards] (UINT32_MAX): Likewise.
24898 [C99-based standards] (UINT64_MAX): Likewise.
24899 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24900 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24901 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24902 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24903 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24904 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24905 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24906 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24907 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24908 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24909 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24910 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24911 [C99-based standards] (INT_FAST8_MIN): Likewise.
24912 [C99-based standards] (INT_FAST8_MAX): Likewise.
24913 [C99-based standards] (INT_FAST16_MIN): Likewise.
24914 [C99-based standards] (INT_FAST16_MAX): Likewise.
24915 [C99-based standards] (INT_FAST32_MIN): Likewise.
24916 [C99-based standards] (INT_FAST32_MAX): Likewise.
24917 [C99-based standards] (INT_FAST64_MIN): Likewise.
24918 [C99-based standards] (INT_FAST64_MAX): Likewise.
24919 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24920 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24921 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24922 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24923 [C99-based standards] (INTPTR_MIN): Likewise.
24924 [C99-based standards] (INTPTR_MAX): Likewise.
24925 [C99-based standards] (UINTPTR_MAX): Likewise.
24926 [C99-based standards] (INTMAX_MIN): Likewise.
24927 [C99-based standards] (INTMAX_MAX): Likewise.
24928 [C99-based standards] (UINTMAX_MAX): Likewise.
24929 [C99-based standards] (PTRDIFF_MIN): Likewise.
24930 [C99-based standards] (PTRDIFF_MAX): Likewise.
24931 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24932 [C99-based standards] (SIZE_MAX): Likewise.
24933 [C99-based standards] (WCHAR_MAX): Likewise.
24934 [C99-based standards] (WINT_MAX): Likewise.
24935 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24936 constraint on value.
24937 [C99-based standards] (WCHAR_MIN): Likewise.
24938 [C99-based standards] (WINT_MIN): Likewise.
24939 [C99-based standards] (*_t): Allow.
24940 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24941 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24942 Include math.h-data and complex.h-data. Remove all expectations
24943 of math.h and complex.h contents.
24944 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24945 at end of line.
24946 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24947 (struct tm): Expect tag.
24948 [C99-based-standards] (wcstof): Expect function.
24949 [C99-based-standards] (wcstold): Likewise.
24950 [C99-based-standards] (wcstoll): Likewise.
24951 [C99-based-standards] (wcstoull): Likewise.
24952 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24953 macro-int-constant. Specify type.
24954 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24955 constraint on value.
24956 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24957 Specify type.
24958 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24959 Specify value.
24960 [ISO C standards]: Do not allow headers.
24961 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24962 wcs[abcdefghijklmnopqrstuvwxyz]*.
24963 [ISO C standards] (*_t): Do not allow.
24964 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24965 Expect function.
24966 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24967 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24968 Specify type.
24969 [ISO C standards]: Do not allow headers.
24970 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24971 is[abcdefghijklmnopqrstuvwxyz]*.
24972 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24973 to[abcdefghijklmnopqrstuvwxyz]*.
24974 [ISO C standards] (*_t): Do not allow.
24975 * conform/data/stdalign.h-data: New file.
24976 * conform/data/stdbool.h-data: Likewise.
24977 * conform/data/stdnoreturn.h-data: Likewise.
24978
7514feb8
RM
249792012-11-07 Roland McGrath <roland@hack.frob.com>
24980
24981 [BZ #14815]
24982 * manual/filesys.texi (Directory Entries): Typo fix.
24983 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24984
19b2ecfc
MS
249852012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24986
24987 * elf/elf.h (EM_AARCH64): New macro.
24988 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24989 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24990 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24991 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24992 (R_AARCH64_TLSDESC): Likewise.
24993 (NT_ARM_TLS): Likewise.
24994 (NT_ARM_HW_BREAK): Likewise.
24995 (NT_ARM_HW_WATCH): Likewise.
24996
60e235ee
JM
249972012-11-07 Joseph Myers <joseph@codesourcery.com>
24998
24999 [BZ #14811]
25000 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25001 (__ieee754_powl): Saturate nonzero exponents with absolute value
25002 below 0x1p-79 to +/- 0x1p-79.
25003 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25004 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25005 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25006 nonzero exponents with absolute value below 0x1p-32 to +/-
25007 0x1p-32.
25008 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25009 (__ieee754_powl): Saturate nonzero exponents with absolute value
25010 below 0x1p-79 to +/- 0x1p-79.
25011 * math/libm-test.inc (pow_test): Add more tests.
25012
0ab234b7
AK
250132012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25014
25015 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25016 _dl_s390_cap_flags with kernel. Increase string length.
25017 (_dl_s390_platforms): Add z196 and zEC12.
25018
45832f74
JM
250192012-11-07 Joseph Myers <joseph@codesourcery.com>
25020
25021 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25022 Change XOPEN21K to XOPEN2K.
25023
19218757
MK
250242012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25025
25026 * string/memmove.c: Use memcpy when possible.
25027
c5f45721
AJ
250282012-11-06 Andreas Jaeger <aj@suse.de>
25029
25030 * po/eo.po: Update from translation team.
25031
82477c28
JM
250322012-11-06 Joseph Myers <joseph@codesourcery.com>
25033
25034 [BZ #14793]
25035 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25036 exponent and small x and y exponents, scale x or y up. Increase
25037 by 2 the exponent used in scaling up.
25038 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25039 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25040 * math/libm-test.inc (fma_test): Add more tests.
25041 (fma_test_towardzero): Likewise.
25042 (fma_test_downward): Likewise.
25043 (fma_test_upward): Likewise.
25044
99252c8c
JM
250452012-11-05 Joseph Myers <joseph@codesourcery.com>
25046
acfa885f
JM
25047 [BZ #14805]
25048 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25049 fenv_t *.
25050
99252c8c
JM
25051 [BZ #14801]
25052 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25053 namespace for names of struct fields.
25054 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25055 fenv_t fields.
25056 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25057 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25058
d6d98dea
ST
250592012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25060
25061 [BZ #3665]
25062 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25063
e10bb107
TS
250642012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25065
25066 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25067 PTR_DEMANGLE.
25068
25069 [BZ #5246]
25070 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25071 PTR_DEMANGLE.
25072
a0c2940d
JM
250732012-11-04 Joseph Myers <joseph@codesourcery.com>
25074
25075 [BZ #14797]
25076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25077 definitely overflow as x * y not x * y + z.
25078 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25079 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25080 * math/libm-test.inc (fma_test): Add more tests.
25081 (fma_test_towardzero): Likewise.
25082 (fma_test_downward): Likewise.
25083 (fma_test_upward): Likewise.
25084
b830319d
TS
250852012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25086
25087 [BZ #157]
25088
25089 * include/stub-tag.h: Remove file.
25090 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25091 '#include' of it.
25092 * manual/maint.texi (Porting): Don't reference it.
25093 * Makerules ($(objpfx)stubs): Likewise.
25094 * dirent/closedir.c: Don't include <stub-tag.h>.
25095 * dirent/dirfd.c: Likewise.
25096 * dirent/fdopendir.c: Likewise.
25097 * dirent/getdents.c: Likewise.
25098 * dirent/getdents64.c: Likewise.
25099 * dirent/opendir.c: Likewise.
25100 * dirent/readdir.c: Likewise.
25101 * dirent/readdir64.c: Likewise.
25102 * dirent/readdir64_r.c: Likewise.
25103 * dirent/readdir_r.c: Likewise.
25104 * dirent/rewinddir.c: Likewise.
25105 * dirent/seekdir.c: Likewise.
25106 * dirent/telldir.c: Likewise.
25107 * gmon/profil.c: Likewise.
25108 * grp/setgroups.c: Likewise.
25109 * inet/if_index.c: Likewise.
25110 * io/access.c: Likewise.
25111 * io/chdir.c: Likewise.
25112 * io/chmod.c: Likewise.
25113 * io/chown.c: Likewise.
25114 * io/close.c: Likewise.
25115 * io/dup.c: Likewise.
25116 * io/dup2.c: Likewise.
25117 * io/dup3.c: Likewise.
25118 * io/euidaccess.c: Likewise.
25119 * io/faccessat.c: Likewise.
25120 * io/fchdir.c: Likewise.
25121 * io/fchmod.c: Likewise.
25122 * io/fchmodat.c: Likewise.
25123 * io/fchown.c: Likewise.
25124 * io/fchownat.c: Likewise.
25125 * io/fcntl.c: Likewise.
25126 * io/flock.c: Likewise.
25127 * io/fstatfs.c: Likewise.
25128 * io/fstatfs64.c: Likewise.
25129 * io/fstatvfs.c: Likewise.
25130 * io/fstatvfs64.c: Likewise.
25131 * io/futimens.c: Likewise.
25132 * io/fxstat.c: Likewise.
25133 * io/fxstat64.c: Likewise.
25134 * io/fxstatat.c: Likewise.
25135 * io/fxstatat64.c: Likewise.
25136 * io/getcwd.c: Likewise.
25137 * io/isatty.c: Likewise.
25138 * io/lchmod.c: Likewise.
25139 * io/lchown.c: Likewise.
25140 * io/link.c: Likewise.
25141 * io/linkat.c: Likewise.
25142 * io/lseek.c: Likewise.
25143 * io/lseek64.c: Likewise.
25144 * io/lxstat64.c: Likewise.
25145 * io/mkdir.c: Likewise.
25146 * io/mkdirat.c: Likewise.
25147 * io/mkfifo.c: Likewise.
25148 * io/mkfifoat.c: Likewise.
25149 * io/open.c: Likewise.
25150 * io/open64.c: Likewise.
25151 * io/openat.c: Likewise.
25152 * io/openat64.c: Likewise.
25153 * io/pipe.c: Likewise.
25154 * io/pipe2.c: Likewise.
25155 * io/poll.c: Likewise.
25156 * io/posix_fadvise.c: Likewise.
25157 * io/posix_fadvise64.c: Likewise.
25158 * io/posix_fallocate.c: Likewise.
25159 * io/posix_fallocate64.c: Likewise.
25160 * io/read.c: Likewise.
25161 * io/readlink.c: Likewise.
25162 * io/readlinkat.c: Likewise.
25163 * io/rmdir.c: Likewise.
25164 * io/sendfile.c: Likewise.
25165 * io/sendfile64.c: Likewise.
25166 * io/statfs.c: Likewise.
25167 * io/statfs64.c: Likewise.
25168 * io/statvfs.c: Likewise.
25169 * io/statvfs64.c: Likewise.
25170 * io/symlink.c: Likewise.
25171 * io/symlinkat.c: Likewise.
25172 * io/ttyname.c: Likewise.
25173 * io/ttyname_r.c: Likewise.
25174 * io/umask.c: Likewise.
25175 * io/unlink.c: Likewise.
25176 * io/unlinkat.c: Likewise.
25177 * io/utime.c: Likewise.
25178 * io/utimensat.c: Likewise.
25179 * io/write.c: Likewise.
25180 * io/xmknod.c: Likewise.
25181 * io/xmknodat.c: Likewise.
25182 * io/xstat.c: Likewise.
25183 * io/xstat64.c: Likewise.
25184 * login/getpt.c: Likewise.
25185 * login/grantpt.c: Likewise.
25186 * login/unlockpt.c: Likewise.
25187 * math/e_acoshl.c: Likewise.
25188 * math/e_acosl.c: Likewise.
25189 * math/e_asinl.c: Likewise.
25190 * math/e_atan2l.c: Likewise.
25191 * math/e_atanhl.c: Likewise.
25192 * math/e_coshl.c: Likewise.
25193 * math/e_expl.c: Likewise.
25194 * math/e_fmodl.c: Likewise.
25195 * math/e_gammal_r.c: Likewise.
25196 * math/e_hypotl.c: Likewise.
25197 * math/e_j0l.c: Likewise.
25198 * math/e_j1l.c: Likewise.
25199 * math/e_jnl.c: Likewise.
25200 * math/e_lgammal_r.c: Likewise.
25201 * math/e_log10l.c: Likewise.
25202 * math/e_log2l.c: Likewise.
25203 * math/e_logl.c: Likewise.
25204 * math/e_powl.c: Likewise.
25205 * math/e_rem_pio2l.c: Likewise.
25206 * math/e_sinhl.c: Likewise.
25207 * math/e_sqrtl.c: Likewise.
25208 * math/fclrexcpt.c: Likewise.
25209 * math/fedisblxcpt.c: Likewise.
25210 * math/feenablxcpt.c: Likewise.
25211 * math/fegetenv.c: Likewise.
25212 * math/fegetexcept.c: Likewise.
25213 * math/fegetround.c: Likewise.
25214 * math/feholdexcpt.c: Likewise.
25215 * math/fesetenv.c: Likewise.
25216 * math/fesetround.c: Likewise.
25217 * math/feupdateenv.c: Likewise.
25218 * math/fgetexcptflg.c: Likewise.
25219 * math/fraiseexcpt.c: Likewise.
25220 * math/fsetexcptflg.c: Likewise.
25221 * math/ftestexcept.c: Likewise.
25222 * math/k_cosl.c: Likewise.
25223 * math/k_rem_pio2l.c: Likewise.
25224 * math/k_sinl.c: Likewise.
25225 * math/k_tanl.c: Likewise.
25226 * math/s_asinhl.c: Likewise.
25227 * math/s_atanl.c: Likewise.
25228 * math/s_cbrtl.c: Likewise.
25229 * math/s_erfl.c: Likewise.
25230 * math/s_expm1l.c: Likewise.
25231 * math/s_log1pl.c: Likewise.
25232 * math/s_tanhl.c: Likewise.
25233 * misc/acct.c: Likewise.
25234 * misc/brk.c: Likewise.
25235 * misc/chflags.c: Likewise.
25236 * misc/chroot.c: Likewise.
25237 * misc/fchflags.c: Likewise.
25238 * misc/fgetxattr.c: Likewise.
25239 * misc/flistxattr.c: Likewise.
25240 * misc/fremovexattr.c: Likewise.
25241 * misc/fsetxattr.c: Likewise.
25242 * misc/fsync.c: Likewise.
25243 * misc/ftruncate.c: Likewise.
25244 * misc/futimes.c: Likewise.
25245 * misc/futimesat.c: Likewise.
25246 * misc/getdomain.c: Likewise.
25247 * misc/getdtsz.c: Likewise.
25248 * misc/gethostid.c: Likewise.
25249 * misc/gethostname.c: Likewise.
25250 * misc/getloadavg.c: Likewise.
25251 * misc/getpagesize.c: Likewise.
25252 * misc/getsysstats.c: Likewise.
25253 * misc/getxattr.c: Likewise.
25254 * misc/gtty.c: Likewise.
25255 * misc/ioctl.c: Likewise.
25256 * misc/lgetxattr.c: Likewise.
25257 * misc/listxattr.c: Likewise.
25258 * misc/llistxattr.c: Likewise.
25259 * misc/lremovexattr.c: Likewise.
25260 * misc/lsetxattr.c: Likewise.
25261 * misc/lutimes.c: Likewise.
25262 * misc/madvise.c: Likewise.
25263 * misc/mincore.c: Likewise.
25264 * misc/mlock.c: Likewise.
25265 * misc/mlockall.c: Likewise.
25266 * misc/mmap.c: Likewise.
25267 * misc/mprotect.c: Likewise.
25268 * misc/msync.c: Likewise.
25269 * misc/munlock.c: Likewise.
25270 * misc/munlockall.c: Likewise.
25271 * misc/munmap.c: Likewise.
25272 * misc/preadv.c: Likewise.
25273 * misc/preadv64.c: Likewise.
25274 * misc/ptrace.c: Likewise.
25275 * misc/pwritev.c: Likewise.
25276 * misc/pwritev64.c: Likewise.
25277 * misc/readv.c: Likewise.
25278 * misc/reboot.c: Likewise.
25279 * misc/remap_file_pages.c: Likewise.
25280 * misc/removexattr.c: Likewise.
25281 * misc/revoke.c: Likewise.
25282 * misc/select.c: Likewise.
25283 * misc/setdomain.c: Likewise.
25284 * misc/setegid.c: Likewise.
25285 * misc/seteuid.c: Likewise.
25286 * misc/sethostid.c: Likewise.
25287 * misc/sethostname.c: Likewise.
25288 * misc/setregid.c: Likewise.
25289 * misc/setreuid.c: Likewise.
25290 * misc/setxattr.c: Likewise.
25291 * misc/sstk.c: Likewise.
25292 * misc/stty.c: Likewise.
25293 * misc/swapoff.c: Likewise.
25294 * misc/swapon.c: Likewise.
25295 * misc/sync.c: Likewise.
25296 * misc/syncfs.c: Likewise.
25297 * misc/syscall.c: Likewise.
25298 * misc/truncate.c: Likewise.
25299 * misc/ualarm.c: Likewise.
25300 * misc/usleep.c: Likewise.
25301 * misc/ustat.c: Likewise.
25302 * misc/utimes.c: Likewise.
25303 * misc/vhangup.c: Likewise.
25304 * misc/writev.c: Likewise.
25305 * posix/_exit.c: Likewise.
25306 * posix/alarm.c: Likewise.
25307 * posix/execve.c: Likewise.
25308 * posix/fexecve.c: Likewise.
25309 * posix/fork.c: Likewise.
25310 * posix/fpathconf.c: Likewise.
25311 * posix/getaddrinfo.c: Likewise.
25312 * posix/getegid.c: Likewise.
25313 * posix/geteuid.c: Likewise.
25314 * posix/getgid.c: Likewise.
25315 * posix/getgroups.c: Likewise.
25316 * posix/getlogin.c: Likewise.
25317 * posix/getlogin_r.c: Likewise.
25318 * posix/getpgid.c: Likewise.
25319 * posix/getpid.c: Likewise.
25320 * posix/getppid.c: Likewise.
25321 * posix/getresgid.c: Likewise.
25322 * posix/getresuid.c: Likewise.
25323 * posix/getsid.c: Likewise.
25324 * posix/getuid.c: Likewise.
25325 * posix/glob64.c: Likewise.
25326 * posix/nanosleep.c: Likewise.
25327 * posix/pathconf.c: Likewise.
25328 * posix/pause.c: Likewise.
25329 * posix/posix_madvise.c: Likewise.
25330 * posix/pread.c: Likewise.
25331 * posix/pread64.c: Likewise.
25332 * posix/pwrite.c: Likewise.
25333 * posix/pwrite64.c: Likewise.
25334 * posix/sched_getaffinity.c: Likewise.
25335 * posix/sched_getp.c: Likewise.
25336 * posix/sched_gets.c: Likewise.
25337 * posix/sched_primax.c: Likewise.
25338 * posix/sched_primin.c: Likewise.
25339 * posix/sched_rr_gi.c: Likewise.
25340 * posix/sched_setaffinity.c: Likewise.
25341 * posix/sched_setp.c: Likewise.
25342 * posix/sched_sets.c: Likewise.
25343 * posix/sched_yield.c: Likewise.
25344 * posix/setgid.c: Likewise.
25345 * posix/setlogin.c: Likewise.
25346 * posix/setpgid.c: Likewise.
25347 * posix/setresgid.c: Likewise.
25348 * posix/setresuid.c: Likewise.
25349 * posix/setsid.c: Likewise.
25350 * posix/setuid.c: Likewise.
25351 * posix/sleep.c: Likewise.
25352 * posix/spawni.c: Likewise.
25353 * posix/sysconf.c: Likewise.
25354 * posix/times.c: Likewise.
25355 * posix/wait.c: Likewise.
25356 * posix/wait3.c: Likewise.
25357 * posix/wait4.c: Likewise.
25358 * posix/waitpid.c: Likewise.
25359 * resolv/gai_sigqueue.c: Likewise.
25360 * resource/getpriority.c: Likewise.
25361 * resource/getrlimit.c: Likewise.
25362 * resource/getrusage.c: Likewise.
25363 * resource/nice.c: Likewise.
25364 * resource/setpriority.c: Likewise.
25365 * resource/setrlimit.c: Likewise.
25366 * resource/ulimit.c: Likewise.
25367 * rt/aio_cancel.c: Likewise.
25368 * rt/aio_fsync.c: Likewise.
25369 * rt/aio_read.c: Likewise.
25370 * rt/aio_sigqueue.c: Likewise.
25371 * rt/aio_suspend.c: Likewise.
25372 * rt/aio_write.c: Likewise.
25373 * rt/clock_getres.c: Likewise.
25374 * rt/clock_gettime.c: Likewise.
25375 * rt/clock_nanosleep.c: Likewise.
25376 * rt/clock_settime.c: Likewise.
25377 * rt/lio_listio.c: Likewise.
25378 * rt/mq_close.c: Likewise.
25379 * rt/mq_getattr.c: Likewise.
25380 * rt/mq_notify.c: Likewise.
25381 * rt/mq_open.c: Likewise.
25382 * rt/mq_receive.c: Likewise.
25383 * rt/mq_send.c: Likewise.
25384 * rt/mq_setattr.c: Likewise.
25385 * rt/mq_timedreceive.c: Likewise.
25386 * rt/mq_timedsend.c: Likewise.
25387 * rt/mq_unlink.c: Likewise.
25388 * rt/shm_open.c: Likewise.
25389 * rt/shm_unlink.c: Likewise.
25390 * rt/timer_create.c: Likewise.
25391 * rt/timer_delete.c: Likewise.
25392 * rt/timer_getoverr.c: Likewise.
25393 * rt/timer_gettime.c: Likewise.
25394 * rt/timer_settime.c: Likewise.
25395 * setjmp/__longjmp.c: Likewise.
25396 * setjmp/setjmp.c: Likewise.
25397 * signal/kill.c: Likewise.
25398 * signal/killpg.c: Likewise.
25399 * signal/raise.c: Likewise.
25400 * signal/sigaction.c: Likewise.
25401 * signal/sigaltstack.c: Likewise.
25402 * signal/sigblock.c: Likewise.
25403 * signal/sigignore.c: Likewise.
25404 * signal/sigintr.c: Likewise.
25405 * signal/signal.c: Likewise.
25406 * signal/sigpause.c: Likewise.
25407 * signal/sigpending.c: Likewise.
25408 * signal/sigqueue.c: Likewise.
25409 * signal/sigreturn.c: Likewise.
25410 * signal/sigset.c: Likewise.
25411 * signal/sigsetmask.c: Likewise.
25412 * signal/sigstack.c: Likewise.
25413 * signal/sigsuspend.c: Likewise.
25414 * signal/sigtimedwait.c: Likewise.
25415 * signal/sigvec.c: Likewise.
25416 * signal/sigwait.c: Likewise.
25417 * signal/sigwaitinfo.c: Likewise.
25418 * signal/sysv_signal.c: Likewise.
25419 * socket/accept.c: Likewise.
25420 * socket/accept4.c: Likewise.
25421 * socket/bind.c: Likewise.
25422 * socket/connect.c: Likewise.
25423 * socket/getpeername.c: Likewise.
25424 * socket/getsockname.c: Likewise.
25425 * socket/getsockopt.c: Likewise.
25426 * socket/isfdtype.c: Likewise.
25427 * socket/listen.c: Likewise.
25428 * socket/recv.c: Likewise.
25429 * socket/recvfrom.c: Likewise.
25430 * socket/recvmsg.c: Likewise.
25431 * socket/send.c: Likewise.
25432 * socket/sendmsg.c: Likewise.
25433 * socket/sendto.c: Likewise.
25434 * socket/setsockopt.c: Likewise.
25435 * socket/shutdown.c: Likewise.
25436 * socket/sockatmark.c: Likewise.
25437 * socket/socket.c: Likewise.
25438 * socket/socketpair.c: Likewise.
25439 * stdio-common/ctermid.c: Likewise.
25440 * stdio-common/cuserid.c: Likewise.
25441 * stdio-common/remove.c: Likewise.
25442 * stdio-common/rename.c: Likewise.
25443 * stdio-common/renameat.c: Likewise.
25444 * stdio-common/tempname.c: Likewise.
25445 * stdlib/getcontext.c: Likewise.
25446 * stdlib/makecontext.c: Likewise.
25447 * stdlib/setcontext.c: Likewise.
25448 * stdlib/swapcontext.c: Likewise.
25449 * stdlib/system.c: Likewise.
25450 * streams/fattach.c: Likewise.
25451 * streams/fdetach.c: Likewise.
25452 * streams/getmsg.c: Likewise.
25453 * streams/getpmsg.c: Likewise.
25454 * streams/putmsg.c: Likewise.
25455 * streams/putpmsg.c: Likewise.
25456 * sysdeps/unix/bsd/getpt.c: Likewise.
25457 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25458 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25459 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25461 Likewise.
25462 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25463 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25464 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25465 * sysvipc/msgctl.c: Likewise.
25466 * sysvipc/msgget.c: Likewise.
25467 * sysvipc/msgrcv.c: Likewise.
25468 * sysvipc/msgsnd.c: Likewise.
25469 * sysvipc/semctl.c: Likewise.
25470 * sysvipc/semget.c: Likewise.
25471 * sysvipc/semop.c: Likewise.
25472 * sysvipc/semtimedop.c: Likewise.
25473 * sysvipc/shmat.c: Likewise.
25474 * sysvipc/shmctl.c: Likewise.
25475 * sysvipc/shmdt.c: Likewise.
25476 * sysvipc/shmget.c: Likewise.
25477 * termios/tcdrain.c: Likewise.
25478 * termios/tcflow.c: Likewise.
25479 * termios/tcflush.c: Likewise.
25480 * termios/tcgetattr.c: Likewise.
25481 * termios/tcgetpgrp.c: Likewise.
25482 * termios/tcsendbrk.c: Likewise.
25483 * termios/tcsetattr.c: Likewise.
25484 * termios/tcsetpgrp.c: Likewise.
25485 * time/adjtime.c: Likewise.
25486 * time/clock.c: Likewise.
25487 * time/getitimer.c: Likewise.
25488 * time/gettimeofday.c: Likewise.
25489 * time/setitimer.c: Likewise.
25490 * time/settimeofday.c: Likewise.
25491 * time/stime.c: Likewise.
25492 * time/time.c: Likewise.
25493
254942012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 25495
a20492cf
PT
25496 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25497 /usr/old/bin.
25498
72e182e3
PT
25499 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25500 instead of spaces.
25501 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25502
fbeafede
JM
255032012-11-03 Joseph Myers <joseph@codesourcery.com>
25504
5b5b04d6
JM
25505 [BZ #14796]
25506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25507 FE_TONEAREST before applying Dekker multiplication and Knuth
25508 addition. Clear inexact exceptions and check for exact zero
25509 results afterwards.
25510 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25511 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25512 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25513 * math/libm-test.inc (fma_test): Add more tests.
25514 (fma_test_towardzero): Likewise.
25515 (fma_test_downward): Likewise.
25516 (fma_test_upward): Likewise.
25517 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25518 function.
25519 (libc_fesetround): New macro.
25520 (libc_fesetroundf): Likewise.
25521 (libc_fesetroundl): Likewise.
25522 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25523 function.
25524 (libc_fesetround_387): Likewise.
25525 (libc_fesetroundf): New macro.
25526 (libc_fesetround): Likewise.
25527 (libc_fesetroundl): Likewise.
25528 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25529 function.
25530 (libc_fesetroundf): New macro.
25531 (libc_fesetround): Likewise.
25532 (libc_fesetroundl): Likewise.
25533 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25534 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25535 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25536 libm_hidden_ver.
25537 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25538 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25539 libm_hidden_def.
25540 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25541 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25542 libm_hidden_ver.
25543 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25544 libm_hidden_def.
25545
fbeafede
JM
25546 [BZ #3439]
25547 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25548 integer constant usable in #if and use that to give value to enum
25549 constant.
25550 (FE_DIVBYZERO): Likewise.
25551 (FE_UNDERFLOW): Likewise.
25552 (FE_OVERFLOW): Likewise.
25553 (FE_INVALID): Likewise.
25554 (FE_INVALID_SNAN): Likewise.
25555 (FE_INVALID_ISI): Likewise.
25556 (FE_INVALID_IDI): Likewise.
25557 (FE_INVALID_ZDZ): Likewise.
25558 (FE_INVALID_IMZ): Likewise.
25559 (FE_INVALID_COMPARE): Likewise.
25560 (FE_INVALID_SOFTWARE): Likewise.
25561 (FE_INVALID_SQRT): Likewise.
25562 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25563 (FE_TONEAREST): Likewise.
25564 (FE_TOWARDZERO): Likewise.
25565 (FE_UPWARD): Likewise.
25566 (FE_DOWNWARD): Likewise.
25567 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25568 (FE_DIVBYZERO): Likewise.
25569 (FE_OVERFLOW): Likewise.
25570 (FE_UNDERFLOW): Likewise.
25571 (FE_INEXACT): Likewise.
25572 (FE_TONEAREST): Likewise.
25573 (FE_DOWNWARD): Likewise.
25574 (FE_UPWARD): Likewise.
25575 (FE_TOWARDZERO): Likewise.
25576 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25577 (FE_UNDERFLOW): Likewise.
25578 (FE_OVERFLOW): Likewise.
25579 (FE_DIVBYZERO): Likewise.
25580 (FE_INVALID): Likewise.
25581 (FE_TONEAREST): Likewise.
25582 (FE_TOWARDZERO): Likewise.
25583 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25584 (FE_OVERFLOW): Likewise.
25585 (FE_UNDERFLOW): Likewise.
25586 (FE_DIVBYZERO): Likewise.
25587 (FE_INEXACT): Likewise.
25588 (FE_TONEAREST): Likewise.
25589 (FE_TOWARDZERO): Likewise.
25590 (FE_UPWARD): Likewise.
25591 (FE_DOWNWARD): Likewise.
25592 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25593 (FE_DIVBYZERO): Likewise.
25594 (FE_OVERFLOW): Likewise.
25595 (FE_UNDERFLOW): Likewise.
25596 (FE_INEXACT): Likewise.
25597 (FE_TONEAREST): Likewise.
25598 (FE_DOWNWARD): Likewise.
25599 (FE_UPWARD): Likewise.
25600 (FE_TOWARDZERO): Likewise.
25601
105ca950
CM
256022012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25603
25604 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25605
a542b389
AS
256062012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25607
25608 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25609 commands. Quote $PWD.
25610 (blacklist_exports): Don't use remove_newlines. Replace "declare
25611 -x" by "export".
25612 (remove_newlines): Remove.
25613
f62c8abc
L
256142012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25615
25616 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25617 * stdlib/stdlib.h (atof): Moved to ...
25618 * include/bits/stdlib-float.h: Here. New file.
25619 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25620 * stdlib/bits/stdlib-float.h: New file.
25621 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25622 -mno-sse -mno-mmx.
25623 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25624 <xmmintrin.h>.
25625
0155d5b2
JM
256262012-11-02 Joseph Myers <joseph@codesourcery.com>
25627
a68d0680
JM
25628 * conform/conformtest.pl (@headers): Add fenv.h.
25629 * conform/data/fenv.h-data: New file.
25630 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25631 include of <math/fenv.h>.
25632
caf7f573
JM
25633 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25634 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25635 && !UNIX98]. Enables tests for XOPEN2K8.
25636 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25637 POSIX2008]: Likewise.
25638
6c073ad6
JM
25639 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25640 (struct rusage): Do not expect type or its members.
25641
0155d5b2
JM
25642 [BZ #3439]
25643 * math/math.h (FP_NAN): Define macro to integer constant usable in
25644 #if and use that to give value to enum constant.
25645 (FP_INFINITE): Likewise.
25646 (FP_ZERO): Likewise.
25647 (FP_SUBNORMAL): Likewise.
25648 (FP_NORMAL): Likewise.
25649
b5dcacb4
AS
256502012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25651
25652 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25653 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25654 arguments.
25655
f7934be8
RM
256562012-11-02 Roland McGrath <roland@hack.frob.com>
25657
25658 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25659 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25660 autoconf-time if not.
25661 * configure.in: Remove AC_PREREQ.
25662
d7d08bde
TMQMF
256632012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25664
25665 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25666 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25667 of the internal implementation.
25668
dcdae19a
JM
256692012-11-02 Joseph Myers <joseph@codesourcery.com>
25670
25671 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25672 except include of <misc/sys/syslog.h>.
25673
d6cffd3e
AS
256742012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25675
25676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25677 function returns with a NULL context exit with zero.
25678
b3563932
TMQMF
256792012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25680
25681 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25682
b288a93d
L
256832012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25684
25685 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25686 (run_program_cmd): This.
25687 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25688 (tst_langinfo): New variable. Use it.
25689
a2421a68
SAS
256902012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25691
25692 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25693 floating point opcodes.
25694
6f796e1b
TS
256952012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25696
7402596b
TS
25697 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25698 variable.
25699
d0d4f868
TS
25700 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25701
6f796e1b
TS
25702 * sysdeps/mach/hurd/powerpc: Remove directory.
25703 * sysdeps/mach/powerpc: Likewise.
25704
4da224a2
AS
257052012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25706
25707 * scripts/check-local-headers.sh: Ignore c++ headers.
25708
341dd673
TS
257092012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25710
25711 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25712 __libc_cleanup_region_start argument.
25713
473611b2
JM
257142012-11-01 Joseph Myers <joseph@codesourcery.com>
25715
25716 [BZ #14784]
25717 [BZ #14785]
25718 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25719 x * y using scaling, not as x * y + z.
25720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25721 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25722 * math/libm-test.inc (fma_test): Add more tests.
25723 (fma_test_towardzero): Likewise.
25724 (fma_test_downward): Likewise.
25725 (fma_test_upward): Likewise.
25726
4078da3d
TS
257272012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25728
25729 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25730
903252aa
JM
257312012-10-31 Joseph Myers <joseph@codesourcery.com>
25732
25733 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25734 New variable.
25735
cbc818d0
TS
257362012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25737
25738 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25739
5a03cb1e
AS
257402012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25741
25742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25743 Fix sort order.
25744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25745 Likewise.
25746
90aff2ff
TMQMF
257472012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25748
25749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25750 Fix the order of the list for glibc 2.17.
25751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25752 Likewise.
25753
1818fcb7
AS
257542012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25755
25756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25757
ef82f4da
JM
257582012-10-31 Joseph Myers <joseph@codesourcery.com>
25759
16a0e2ec
JM
25760 [BZ #14610]
25761 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25762 for low part of x being zero before using __atanl (y).
25763 * math/libm-test.inc (atan2_test): Add another test.
25764
0eb69512
JM
25765 * manual/install.texi (Configuring and compiling): Document
25766 general use of test-wrapper and test-wrapper-env.
25767 * INSTALL: Regenerated.
25768
ef82f4da
JM
25769 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25770 (__fma): Do not extract and scale down low bits on after-rounding
25771 systems when result rounded to normal precision would have normal
25772 exponent.
25773 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25774 (__fmal): Do not extract and scale down low bits on after-rounding
25775 systems when result rounded to normal precision would have normal
25776 exponent.
25777 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25778 (__fmal): Do not extract and scale down low bits on after-rounding
25779 systems when result rounded to normal precision would have normal
25780 exponent.
25781 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25782 macro.
25783 (fma_test): Add more tests.
25784 (fma_test_towardzero): Likewise.
25785 (fma_test_downward): Likewise.
25786 (fma_test_upward): Likewise.
25787
954ef0d9
L
257882012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25789
25790 * sysdeps/i386/tininess.h: Renamed to ...
25791 * sysdeps/x86/tininess.h: This.
25792 * sysdeps/x86_64/tininess.h: Removed.
25793
df61ffb2
JM
257942012-10-30 Joseph Myers <joseph@codesourcery.com>
25795
25796 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25797 input. Use $(build-program-cmd).
25798 ($(objpfx)tst-array1-static.out): Likewise.
25799 ($(objpfx)tst-array2.out): Likewise.
25800 ($(objpfx)tst-array3.out): Likewise.
25801 ($(objpfx)tst-array4.out): Likewise.
25802 ($(objpfx)tst-array5.out): Likewise.
25803 ($(objpfx)tst-array5-static.out): Likewise.
25804
01767843
CM
258052012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25806
47cc1490
CM
25807 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25808 if defined.
25809
01767843
CM
25810 * nss/nsswitch.h (nss_interface_function): Provide new
25811 macro for use with NSS functions.
25812 * grp/initgroups.c: Use new macro.
25813 * nss/getXXbyYY.c: Likewise.
25814 * nss/getXXbyYY_r.c: Likewise.
25815 * nss/getXXent.c: Likewise.
25816 * nss/getXXent_r.c: Likewise.
25817 * sysdeps/posix/getaddrinfo.c: Likewise.
25818
8321aa97
AJ
258192012-10-30 Andreas Jaeger <aj@suse.de>
25820
25821 * po/ru.po: Update Russion translation from translation project.
25822
2a27fd6d
JM
258232012-10-30 Joseph Myers <joseph@codesourcery.com>
25824
8627a232
JM
25825 [BZ #14152]
25826 [BZ #14783]
25827 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25828 result and shift together with sticky bit instead of replicating
25829 round-to-nearest rounding.
25830 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25831 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25832 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25833 missing underflow exceptions.
25834 (fma_test_towardzero): Add more tests.
25835 (fma_test_downward): Likewise.
25836 (fma_test_upward): Likewise.
25837
2a27fd6d
JM
25838 [BZ #14047]
25839 * sysdeps/generic/tininess.h: New file.
25840 * sysdeps/i386/tininess.h: Likewise.
25841 * sysdeps/sh/tininess.h: Likewise.
25842 * sysdeps/x86_64/tininess.h: Likewise.
25843 * stdlib/tst-strtod-underflow.c: Likewise.
25844 * stdlib/tst-tininess.c: Likewise.
25845 * stdlib/strtod_l.c: Include <tininess.h>.
25846 (round_and_return): Do not set errno for exact underflow cases.
25847 Force an underflow exception when setting errno for underflow.
25848 Determine underflow based on rounding to normal precision if
25849 TININESS_AFTER_ROUNDING.
25850 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25851 ERANGE for exact underflow cases.
25852 * stdlib/Makefile (tests): Add tst-tininess and
25853 tst-strtod-underflow.
25854 ($(objpfx)tst-tininess): Use $(link-libm).
25855 ($(objpfx)tst-strtod-underflow): Likewise.
25856
e7170363
AJ
258572012-10-30 Andreas Jaeger <aj@suse.de>
25858
e5088dc6
AJ
25859 [BZ#14767]
25860 * elf/Makefile (tests): Remove conditional for have-initfini-array
25861 since this is now always required and the variable does not exist
25862 anymore.
25863 (tests-static): Likewise.
25864 (modules-names): Likewise.
25865
e7170363 25866 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
25867
25868 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25869 merged with constructor/destructor.
25870 (init_array): Likewise.
25871 * elf/tst-array2dep.c (fini_array): Likewise.
25872 (init_array): Likewise.
25873
60457d8a
MF
258742012-10-29 Mike Frysinger <vapier@gentoo.org>
25875
25876 * manual/message.texi: Delete @cartouche tags.
25877
8bece752
PT
258782012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25879
94ce799f
PT
25880 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25881 EOPNOTSUPP.
25882 * sysdeps/mach/hurd/fsync.c: Likewise.
25883
8bece752
PT
25884 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25885 [_POSIX_REALTIME_SIGNALS]: Change condition to
25886 [_POSIX_REALTIME_SIGNALS > 0].
25887
86ebe6b1
AJ
258882012-10-27 Andreas Jaeger <aj@suse.de>
25889
25890 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25891 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25892 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25893 [__WORDSIZE != 64]: Likewise.
25894
54399c08
L
258952012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25896
25897 * iconvdata/tst-table.sh: Remove ${SHELL}.
25898 * iconvdata/tst-tables.sh: Likewise.
25899
e2211bed
DM
259002012-10-25 David S. Miller <davem@davemloft.net>
25901
25902 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25903 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25904 of strtoull.
25905
f303f97c
DM
25906 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25907 ifunc-impl-list.c
25908 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25909 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25910 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25911 file.
25912
1e9d84cd
RM
259132012-10-25 Roland McGrath <roland@hack.frob.com>
25914
25915 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25916 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25917 __getdirentries.
25918
df381762
JM
259192012-10-25 Joseph Myers <joseph@codesourcery.com>
25920 Jim Blandy <jimb@codesourcery.com>
25921
25922 * scripts/cross-test-ssh.sh: New file.
25923 * manual/install.texi (Configuring and compiling): Document use of
25924 cross-test-ssh.sh.
25925 * INSTALL: Regenerated.
25926
bff64913
PT
259272012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25928
25929 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25930 EOPNOTSUPP.
25931
25fe8932
JM
259322012-10-25 Joseph Myers <joseph@codesourcery.com>
25933
25934 * Makeconfig (run-program-prefix): Fix comment.
25935
cc1290d0
JM
259362012-10-24 Joseph Myers <joseph@codesourcery.com>
25937 Jim Blandy <jimb@codesourcery.com>
25938
25939 * Makeconfig (test-wrapper): New variable,
25940 (test-wrapper-env): Likewise.
25941 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25942 (run-built-tests): Define to yes.
25943 (run-program-prefix): Use $(test-wrapper).
25944 (built-program-cmd): Likewise.
25945 * Rules (make-test-out): Use $(test-wrapper-env) and
25946 $(host-built-program-cmd).
25947 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25948 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25949 tst-pathopt.sh.
25950 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25951 $(test-wrapper-env) to tst-rtld-load-self.sh.
25952 ($(objpfx)order2.out): Use $(test-wrapper).
25953 ($(objpfx)tst-initorder.out): Likewise.
25954 ($(objpfx)tst-initorder2.out): Likewise.
25955 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25956 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25957 (test_wrapper_env): New variable. Use it to run ld.so.
25958 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25959 Use it to run ld.so.
25960 (test_wrapper_env): Likewise.
25961 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25962 $(test-wrapper) to run-iconv-test.sh.
25963 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25964 (ICONV): Use $test_wrapper.
25965 * posix/Makefile ($(objpfx)globtest.out): Pass
25966 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25967 globtest.sh, not $(run-program-prefix).
25968 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25969 (test_wrapper): Likewise.
25970 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25971 set together with run_via_rtld_prefix.
25972 (run_program_prefix): Define in terms of test_wrapper and
25973 run_via_rtld_prefix.
25974
6e6249d0
RM
259752012-10-24 Roland McGrath <roland@hack.frob.com>
25976
25977 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25978 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25979 Targets removed.
25980
25981 [BZ #14743]
25982 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25983 Declare __clock_getres, __clock_gettime, __clock_settime,
25984 __clock_nanosleep, and __clock_getcpuclockid.
25985 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25986 Remove librt_hidden_def (clock_gettime).
25987 * sysdeps/unix/clock_gettime.c: Likewise.
25988 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25989 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25990 * rt/clock_getres.c: Define __clock_getres as an alias.
25991 * sysdeps/posix/clock_getres.c: Likewise.
25992 * rt/clock_settime.c: Define __clock_settime as an alias.
25993 * sysdeps/unix/clock_settime.c: Likewise.
25994 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25995 * sysdeps/unix/clock_nanosleep.c: Likewise.
25996 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25997 * rt/clock-compat.c: New file.
25998 * rt/Makefile (librt-routines): Add clock-compat and move
25999 $(clock-routines) to ...
26000 (routines): ... here, new variable.
26001 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26002 Don't add get_clockfreq here.
26003 * rt/Versions (libc: GLIBC_2.17): New version set.
26004 Add clock_* symbols here.
26005 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26006 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26007 (GLIBC_2.17): Add clock_* symbols.
26008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26010 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26012 Likewise.
26013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26014 Likewise.
26015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26019 * NEWS: Mention the move.
26020
26021 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26022 Use __open, __read, __close rather than their public counterparts.
26023 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26024 (__get_clockfreq_via_cpuinfo): Likewise.
26025 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26026 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26027
26028 * config.h.in (HAVE_IFUNC): New #undef.
26029 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26030 was successful.
26031 * configure: Regenerated.
26032
0cae3f4b
MF
260332012-10-24 Mike Frysinger <vapier@gentoo.org>
26034
26035 * configure.in: Move READELF check to start of file.
26036 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26037 libc_cv_asm_gnu_indirect_function in the process.
26038 * configure: Regenerated.
26039
8175a253
MF
260402012-10-24 Mike Frysinger <vapier@gentoo.org>
26041
26042 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26043 send the output to /dev/null.
26044 (libc_cv_cc_with_libunwind): Likewise.
26045 (libc_cv_as_noexecstack): Likewise.
26046 * configure: Regenerate.
26047
0708a7d1
JM
260482012-10-24 Joseph Myers <joseph@codesourcery.com>
26049
10b40d85
JM
26050 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26051
0708a7d1
JM
26052 * posix/globtest.sh (TMPDIR): Do not set.
26053 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26054 (testout): Likewise.
26055
9fddec1a
AJ
260562012-10-24 Andreas Jaeger <aj@suse.de>
26057
3a8db22f
AJ
26058 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26059 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26060 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26061 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26062 posix_fadvise64, posix_fallocate64.
26063
9fddec1a
AJ
26064 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26065 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26066 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26067 Likewise.
26068 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26069 Likewise.
26070 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26071
26072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26073 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26074 <bits/fcntl-linux.h>.
26075 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26076
26077 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26078 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26079 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26080 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26081 [__WORDSIZE != 64]: Likewise.
26082
ebfd1bbd
JM
260832012-10-23 Joseph Myers <joseph@codesourcery.com>
26084
03ac099f
JM
26085 * Makeconfig (run-built-tests): New variable.
26086 * Rules [$(cross-compiling) = yes]: Change condition to
26087 [$(run-built-tests) = no].
26088 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26089 to [$(run-built-tests) = yes].
26090 * elf/Makefile [$(cross-compiling) = no]: Likewise
26091 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26092 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26093 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26094 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26095 * io/Makefile [$(cross-compiling) = no]: Likewise.
26096 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26097 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26098 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26099 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26100 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26101 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26102 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26103 * string/Makefile [$(cross-compiling) = no]: Likewise.
26104
ebfd1bbd
JM
26105 * posix/Makefile ($(objpfx)globtest.out): Pass
26106 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26107 $(rtld-installed-name).
26108 * posix/globtest.sh (elf_objpfx): Remove variable.
26109 (rtld_installed_name): Likewise.
26110 (library_path): Likewise.
26111 (run_program_prefix): New variable. Use for running globtest
26112 binary.
26113
166bca24
JB
261142012-10-23 Jim Blandy <jimb@codesourcery.com>
26115 Joseph Myers <joseph@codesourcery.com>
26116
26117 * Makeconfig (host-built-program-cmd): New variable.
26118 * elf/Makefile (tst-stackguard1-ARGS): Use
26119 $(host-built-program-cmd).
26120 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26121 (tst-spawn-ARGS): Likewise.
26122 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26123
88866099
JM
261242012-10-23 Joseph Myers <joseph@codesourcery.com>
26125 Jim Blandy <jimb@codesourcery.com>
26126
26127 * Makeconfig (run-via-rtld-prefix): New variable.
26128 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26129 (built-program-cmd): Likewise.
26130
b4b4c296
AJ
261312012-10-22 Andreas Jaeger <aj@suse.de>
26132
26133 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26134 __O_RSYNC if it exists, otherwise to O_SYNC.
26135
6fb54a22
JB
261362012-10-22 Jim Blandy <jimb@codesourcery.com>
26137 Joseph Myers <joseph@codesourcery.com>
26138
26139 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26140 /dev/null.
26141 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26142 from /dev/null
26143 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26144 /dev/null.
26145
481b90b9
AJ
261462012-10-22 Andreas Jaeger <aj@suse.de>
26147
2a0e2669
AJ
26148 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26149 Define always.
26150 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26151
76e38f9a
AJ
26152 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26153 bits/fcntl-linux.h.
26154
7cd37b43
AJ
26155 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26156 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26157
481b90b9
AJ
26158 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26159 to __O_LARGEFILE.
26160 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26161 to __O_LARGEFILE.
26162
aba75984
JB
261632012-10-21 Jim Blandy <jimb@codesourcery.com>
26164 Joseph Myers <joseph@codesourcery.com>
26165
26166 * config.make.in (NM): New variable.
26167
88d4247f
AJ
261682012-10-21 Andreas Jaeger <aj@suse.de>
26169
26170 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26171 definitions and declarations that are provided by
26172 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26173
f2eed205
L
261742012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26175
26176 [BZ #14683]
26177 * elf/Makefile (tests-static): Add tst-leaks1-static.
26178 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26179 ($(objpfx)tst-leaks1-static): New rule.
26180 ($(objpfx)tst-leaks1-static-mem): Likewise.
26181 (tst-leaks1-static-ENV): New macro.
26182 * elf/dl-open.c (dl_open_worker): Check the main application
26183 only if SHARED is defined.
26184 * elf/tst-leaks1-static.c: New file.
26185
335e6931
AJ
261862012-10-20 Andreas Jaeger <aj@suse.de>
26187
26188 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26189 generic values for Linux.
26190 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26191 and declarations that are provided by <bits/fcntl-linux.h> and
26192 include <bits/fcntl-linux.h>.
26193 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26194 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26195
ac5c94d3
RM
261962012-10-20 Roland McGrath <roland@hack.frob.com>
26197
26198 * io/fcntl.h: Move include of <bits/types.h> to the top and
26199 include it unconditionally.
26200
de54b33a
L
262012012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26202
228cfb01
L
26203 * wcsmbs/Makefile (tests-ifunc): New variable.
26204 (tests): Add $(tests-ifunc).
26205 * wcsmbs/test-wcschr-ifunc.c: New file.
26206 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26207 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26208 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26209 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26210 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26211
69f07e5f
L
26212 * string/Makefile (tests-ifunc): New variable.
26213 (tests): Add $(tests-ifunc).
26214 * string/test-memccpy.c (TEST_NAME): New macro.
26215 * string/test-memchr.c (TEST_NAME): Likewise.
26216 * string/test-memcmp.c (TEST_NAME): Likewise.
26217 * string/test-memcpy.c (TEST_NAME): Likewise.
26218 * string/test-memmem.c (TEST_NAME): Likewise.
26219 * string/test-memmove.c (TEST_NAME): Likewise.
26220 * string/test-memset.c (TEST_NAME): Likewise.
26221 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26222 * string/test-stpcpy.c (TEST_NAME): Likewise.
26223 * string/test-stpncpy.c (TEST_NAME): Likewise.
26224 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26225 * string/test-strcasestr.c (TEST_NAME): Likewise.
26226 * string/test-strcat.c (TEST_NAME): Likewise.
26227 * string/test-strchr.c (TEST_NAME): Likewise.
26228 * string/test-strcmp.c(TEST_NAME): Likewise.
26229 * string/test-strcpy.c (TEST_NAME): Likewise.
26230 * string/test-strcspn.c (TEST_NAME): Likewise.
26231 * string/test-strlen.c (TEST_NAME): Likewise.
26232 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26233 * string/test-strncmp.c (TEST_NAME): Likewise.
26234 * string/test-strncpy.c (TEST_NAME): Likewise.
26235 * string/test-strnlen.c (TEST_NAME): Likewise.
26236 * string/test-strpbrk.c (TEST_NAME): Likewise.
26237 * string/test-strrchr.c (TEST_NAME): Likewise.
26238 * string/test-strspn.c (TEST_NAME): Likewise.
26239 * string/test-strstr.c (TEST_NAME): Likewise.
26240 * string/test-bcopy-ifunc.c: New file.
26241 * string/test-bzero-ifunc.c: Likewise.
26242 * string/test-memccpy-ifunc.c: Likewise.
26243 * string/test-memchr-ifunc.c: Likewise.
26244 * string/test-memcmp-ifunc.c: Likewise.
26245 * string/test-memcpy-ifunc.c: Likewise.
26246 * string/test-memmem-ifunc.c: Likewise.
26247 * string/test-memmove-ifunc.c: Likewise.
26248 * string/test-mempcpy-ifunc.c: Likewise.
26249 * string/test-memset-ifunc.c: Likewise.
26250 * string/test-rawmemchr-ifunc.c: Likewise.
26251 * string/test-stpcpy-ifunc.c: Likewise.
26252 * string/test-stpncpy-ifunc.c: Likewise.
26253 * string/test-strcasecmp-ifunc.c: Likewise.
26254 * string/test-strcasestr-ifunc.c: Likewise.
26255 * string/test-strcat-ifunc.c: Likewise.
26256 * string/test-strchr-ifunc.c: Likewise.
26257 * string/test-strchrnul-ifunc.c: Likewise.
26258 * string/test-strcmp-ifunc.c: Likewise.
26259 * string/test-strcpy-ifunc.c: Likewise.
26260 * string/test-strcspn-ifunc.c: Likewise.
26261 * string/test-strlen-ifunc.c: Likewise.
26262 * string/test-strncasecmp-ifunc.c: Likewise.
26263 * string/test-strncat-ifunc.c: Likewise.
26264 * string/test-strncmp-ifunc.c: Likewise.
26265 * string/test-strncpy-ifunc.c: Likewise.
26266 * string/test-strnlen-ifunc.c: Likewise.
26267 * string/test-strpbrk-ifunc.c: Likewise.
26268 * string/test-strrchr-ifunc.c: Likewise.
26269 * string/test-strspn-ifunc.c: Likewise.
26270 * string/test-strstr-ifunc.c: Likewise.
26271
de54b33a
L
26272 * debug/Makefile (tests-ifunc): New variable.
26273 (tests): Add $(tests-ifunc).
26274 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26275 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26276 * debug/test-stpcpy_chk-ifunc.c: New file.
26277 * debug/test-strcpy_chk-ifunc.c: Likewise.
26278
88481c16
SP
262792012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26280
26281 [BZ #13601]
26282 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26283 header is not read in.
26284
135948bd
JM
262852012-10-19 Joseph Myers <joseph@codesourcery.com>
26286
89f1c388
JM
26287 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26288 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26289 directly. Pass built executable to script as
26290 $(built-program-cmd).
26291 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26292 $testprogram without using LD_LIBRARY_PATH and $ldso.
26293
e40a0d21
JM
26294 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26295 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26296 $(rtld-installed-name).
26297 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26298 (rtld_installed_name): Likewise.
26299 (library_path): Likewise.
26300 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26301 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26302 $(run-program-prefix) to tst-tables.sh.
26303 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26304 it to run tst-table-from and tst-table-to.
26305 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26306 Pass it to tst-table.sh.
26307 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26308 $(run-program-prefix) to tst-gettext.sh.
26309 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26310 tst-translit.sh.
26311 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26312 tst-gettext2.sh.
26313 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26314 to run tst-gettext.
26315 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26316 to run tst-gettext2.
26317 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26318 to run tst-translit.
26319 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26320 $(run-program-prefix) to tst-mtrace.sh.
26321 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26322 to run tst-mtrace.
26323 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26324 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26325 $(rtld-installed-name).
26326 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26327 (rtld_installed_name): Likewise.
26328 (run_program_prefix): New variable. Use it to run wordexp-test.
26329
728e272a
JM
26330 * Makeconfig (ARCH): Remove all definitions.
26331 (machine): Likewise.
26332 [ARCH]: Remove conditional code.
26333 [!objdir]: Give error.
26334 [!objdir] (objpfx): Remove.
26335 [!objdir] (common-objpfx): Likewise.
26336 [!objdir] (common-objdir): Likewise.
26337 * configure.in (config_makefile): Remove. Hardcode Makefile in
26338 AC_CONFIG_FILES call.
26339 * configure: Regenerated.
26340
d528cdcf
JM
26341 [BZ #13888]
26342 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26343 or TMPDIR.
26344 (testout): Likewise.
26345
135948bd
JM
26346 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26347 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26348 $(rtld-installed-name).
26349 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26350 (rtld_installed_name): Likwise.
26351 (runit): Remove function.
26352 (run_getconf): New variable, Use it for running getconf binary.
26353
38c78296
L
263542012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26355
26356 [BZ #14716]
26357 * string/test-memmem.c (check_result): New function.
26358 (do_one_test): Use it.
26359 (check1): New function.
26360 (test_main): Use it.
26361
d077f65f
MT
263622012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26363
26364 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26365
ced52c71
JM
263662012-10-18 Joseph Myers <joseph@codesourcery.com>
26367
26368 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26369 (_G_LSEEK64): Likewise.
26370 (_G_MMAP64): Likewise.
26371 (_G_FSTAT64): Likewise.
26372 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26373 (_G_LSEEK64): Likewise.
26374 (_G_MMAP64): Likewise.
26375 (_G_FSTAT64): Likewise.
26376 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26377 unconditional. Call __mmap64 directly.
26378 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26379 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26380 __lseek64 directly.
26381 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26382 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26383 __mmap64 directly.
26384 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26385 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26386 __lseek64 directly.
26387 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26388 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26389 __lseek64 directly.
26390 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26391 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26392 __lseek64 directly.
26393 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26394 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26395 __fxstat64 directly.
26396 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26397 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26398 unconditional.
26399 (freopen64) [!_G_OPEN64]: Remove conditional code.
26400 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26401 unconditional.
26402 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26403 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26404 unconditional.
26405 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26406 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26407 unconditional.
26408 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26409 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26410 unconditional.
26411 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26412 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26413 unconditional.
26414 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26415 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26416 unconditional.
26417 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26418 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26419 unconditional.
26420 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26421
b741de23
SP
264222012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26423
26424 [BZ #12140]
26425 * manual/memory.texi (Malloc Tunable Parameters): Add note
26426 about free list pointers overwriting some perturb bytes.
26427 Wording suggested by Roland McGrath.
26428
f9b9d9c9
JM
264292012-10-17 Joseph Myers <joseph@codesourcery.com>
26430
26431 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26432 (lgamma_test): Likewise.
26433 (tgamma_test): Likewise.
26434
172a631a
FW
264352012-10-16 Florian Weimer <fweimer@redhat.com>
26436
26437 [BZ #14700]
26438 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26439 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26440
e9f37252
MK
264412012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26442
26443 * NEWS: Mention BZ #14716.
26444 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26445 when removing AVAILABLE1_USES_J macro.
26446
d394eb74
L
264472012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26448
26449 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26450 (__bswap_64): __uint64_t for unsigned 64-bit int.
26451
ca38dc17
AS
264522012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26453
26454 * include/string.h (memmem): Declare libc hidden alias.
26455 * string/memmem.c (memmem): Define libc hidden alias.
26456 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26457 __read, __close instead of open, read, close.
26458
9a387d1f
L
264592012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26460
ac49ecaf
L
26461 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26462 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26463 global and hidden.
26464 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26465 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26466 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26467 Likewise.
26468 (__rawmemchr_sse2): Likewise.
26469 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26470 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26471 (__strchr_sse2): Likewise.
26472 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26473 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26474 (__strcasecmp_sse2): Likewise.
26475 (__strncasecmp_sse2): Likewise.
26476 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26477 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26478 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26479 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26480 (__strrchr_sse2): Likewise.
26481 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26482 ifunc-impl-list.c.
26483 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26484 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26485 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26486 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26487 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26488 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26489 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26490 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26491 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26492 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26493 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26494 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26495 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26496 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26497 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26498 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26499 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26500 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26501 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26502 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26503 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26504 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26505 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26506 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26507 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26508 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26509 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26510 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26511 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26512 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26513
b090e8ea
L
26514 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26515 global and hidden.
26516 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26517 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26518 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26519 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26520 Likewise.
26521 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26522 Likewise.
26523 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26524 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26525 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26526 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26527 ifunc-impl-list.c.
26528 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26529 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26530 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26531 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26532 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26533 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26534 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26535 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26536 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26537 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26538 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26539 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26540 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26541 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26542 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26543 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26544 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26545 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26546 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26547 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26548 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26549 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26550 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26551 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26552 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26553 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26554 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26555 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26556 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26557 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26558 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26559 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26560 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26561 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26562 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26563 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26564 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26565 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26566 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26567 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26568 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26569
11dd4af6
L
26570 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26571 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26572 * include/ifunc-impl-list.h: New file.
26573 * misc/ifunc-impl-list.c: Likewise.
26574 * misc/Makefile (routines): Add ifunc-impl-list.
26575 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26576 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
26577 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26578 TEST_NAME]: New variables.
11dd4af6
L
26579 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26580 are defined.
26581 (test_init): Call __libc_ifunc_impl_list to initialize
26582 func_list if TEST_IFUNC and TEST_NAME are defined.
26583
9a387d1f
L
26584 * string/Makefile (strop-tests): Add bcopy and bzero.
26585 * string/test-bcopy.c: New file.
26586 * string/test-bzero.c: Likewise.
26587 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26588 defined.
26589 * string/test-memset.c: Support bzero test if TEST_BZERO is
26590 defined.
26591 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26592 __libc_memmove.
26593 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26594 __libc_memset.
26595 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26596 of memset.
26597
472371b9
JM
265982012-10-10 Joseph Myers <joseph@codesourcery.com>
26599
1e4a9536
JM
26600 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26601 * configure: Regenerated.
26602
d173d12e
JM
26603 * Makeconfig (+link-static-before-libc): Don't include
26604 $(link-static-libc).
26605
472371b9
JM
26606 * libio/libio.h (_IO_pos_t): Remove.
26607
89a3ad0b
AO
266082012-10-10 Alexandre Oliva <aoliva@redhat.com>
26609
26610 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26611 McGrath.
26612
e7451425
AO
266132012-10-10 Alexandre Oliva <aoliva@redhat.com>
26614
26615 * crypt/crypt-entry.c: Include fips-private.h.
26616 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26617 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26618 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26619 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26620
4ba74a35
AO
266212012-10-10 Alexandre Oliva <aoliva@redhat.com>
26622
26623 * crypt/crypt-private.h: Include stdbool.h.
26624 (_ufc_setup_salt_r): Return bool.
26625 * crypt/crypt-entry.c: Include errno.h.
26626 (__crypt_r): Return NULL with EINVAL for bad salt.
26627 * crypt/crypt_util.c (bad_for_salt): New.
26628 (_ufc_setup_salt_r): Check that salt is long enough and within
26629 the specified alphabet.
26630 * crypt/badsalttest.c: New file.
26631 * crypt/Makefile (tests): Add it.
26632 ($(objpfx)badsalttest): New.
26633
f96f1242
MK
266342012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26635
26636 * NEWS: Add entry for BZ #14602.
26637
0e8e0c1c
JM
266382012-10-09 Joseph Myers <joseph@codesourcery.com>
26639
26640 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26641 type-generic.
26642 * math/libm-test.inc: Update comment listing what functions and
26643 macros are tested.
26644 (isgreater_test): New function.
26645 (isgreaterequal_test): Likewise.
26646 (isless_test): Likewise.
26647 (islessequal_test): Likewise.
26648 (islessgreater_test): Likewise.
26649 (isunordered_test): Likewise.
26650 (main): Call the new functions.
26651
273edc5e
RM
266522012-10-09 Roland McGrath <roland@hack.frob.com>
26653
b8493de0
RM
26654 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26655 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26656 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26657 * sysdeps/i386/configure: Regenerated.
26658 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26659 * sysdeps/mach/configure: Regenerated.
26660 * sysdeps/mach/hurd/configure: Regenerated.
26661 * sysdeps/powerpc/configure: Regenerated.
26662 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26663 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26664 * sysdeps/s390/s390-32/configure: Regenerated.
26665 * sysdeps/s390/s390-64/configure: Regenerated.
26666 * sysdeps/sh/configure: Regenerated.
26667 * sysdeps/sparc/configure: Regenerated.
26668 * sysdeps/unix/sysv/linux/configure: Regenerated.
26669 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26670 * sysdeps/x86_64/configure: Regenerated.
26671
273edc5e
RM
26672 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26673 defined. Don't check if MAP is NULL.
26674
c8450f70
JM
266752012-10-09 Joseph Myers <joseph@codesourcery.com>
26676
26677 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26678 (_G_stat64): Likewise.
26679 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26680 (_G_stat64): Likewise.
26681 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26682 instead of struct _G_stat64.
26683 * libio/fileops.c (mmap_remap_check): Likewise.
26684 (decide_maybe_mmap): Likewise.
26685 (_IO_new_file_seekoff): Likewise.
26686 (_IO_file_stat): Likewise.
26687 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26688 _G_off64_t.
26689 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26690 instead of struct _G_stat64.
26691 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26692
57e605ba
MK
266932012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26694
26695 [BZ #14602]
26696 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26697 Replace with ...
26698 (CHECK_EOL): New macro.
26699 (two_way_short_needle): Check beginning of haystack for EOL. Use
26700 CHECK_EOL.
26701 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26702 Replace with CHECK_EOL.
26703 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26704 Replace with CHECK_EOL.
26705
ef1bb361
JM
267062012-10-08 Joseph Myers <joseph@codesourcery.com>
26707
26708 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26709 type-generic.
26710 * math/libm-test.inc: Update comment listing what functions and
26711 macros are tested.
26712 (finite_test): New function.
26713 (isinf_test): Likewise.
26714 (isnan_test): Likewise.
26715 (fpclassify_test): Test subnormal input.
26716 (isfinite_test): Likewise.
26717 (isnormal_test): Likewise.
26718 (main): Call the new functions.
26719
55f11534
JN
267202012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26721
26722 [BZ #14660]
26723 * Makerules (%.dynsym): Force C locale when running
26724 $(OBJDUMP) --dynamic-syms.
26725
1ab29350
AS
267262012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26727
26728 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26729 <stdint.h>.
26730
f1ecb7ef
DM
267312012-10-06 David S. Miller <davem@davemloft.net>
26732
26733 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26734 upper 32-bits of the length value in %o2 since we use branch-on-register
26735 tests which consider the entire 64-bit register.
26736
5d41d91a
L
267372012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26738
26739 * string/test-strstr.c (check2): Add a test for page boundary.
26740
3baddb72
DM
267412012-10-05 David S. Miller <davem@davemloft.net>
26742
26743 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26744 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26745 file.
26746 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26747 sysdep_routines.
26748 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26749 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26750 and bzero when HWCAP_SPARC_CRYPTO is present.
26751
9cee5585
L
267522012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26753
d7e0dab9
L
26754 [BZ #14602]
26755 * string/test-strstr.c (check2): New function.
26756 (test_main): Call check2.
26757
03759f47
L
26758 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26759 and bug-strchr1.
26760 * string/bug-strcasestr1.c (do_test): Moved to ...
26761 * string/test-strcasestr.c (check1): Here. New function.
26762 (do_one_test): Break out result checking code into ...
26763 (check_result): This. New function.
26764 (do_one_test): Call check_result.
26765 (test_main): Call check1.
26766 * string/bug-strchr1.c (do_test): Moved to ...
26767 * string/test-strchr.c (check1): Here. New function.
26768 (do_one_test): Break out result checking code into ...
26769 (check_result): This. New function.
26770 (do_one_test): Call check_result.
26771 (test_main): Call check1.
26772 * string/bug-strstr1.c (main): Moved to ...
046f153e 26773 * string/test-strstr.c (check1): Here. New function.
03759f47
L
26774 (do_one_test): Break out result checking code into ...
26775 (check_result): This. New function.
26776 (do_one_test): Call check_result.
26777 (test_main): Call check1.
26778 * string/bug-strcasestr1.c: Removed.
26779 * string/bug-strchr1.c: Likewise.
26780 * string/bug-strstr1.c: Likewise.
26781
53cea63e
L
26782 * elf/Makefile (dl-routines): Add hwcaps.
26783 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26784 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26785 (_dl_important_hwcaps): Moved to ...
26786 * elf/dl-hwcaps.c: Here. New file.
26787 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26788
9cee5585 26789 [BZ #14557]
bb859b06
L
26790 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26791 if IS_IN_rtld isn't defined.
26792
9cee5585
L
26793 * elf/dl-support.c (_dl_sysinfo_map): New.
26794 Include "get-dynamic-info.h" and "setup-vdso.h".
26795 (_dl_non_dynamic_init): Call setup_vdso.
26796 * elf/dynamic-link.h: Don't include <assert.h>.
26797 (elf_get_dynamic_info): Moved to ...
26798 * elf/get-dynamic-info.h: Here. New file.
26799 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26800 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26801 * elf/setup-vdso.h: Here. New file.
26802 * elf/rtld.c: Include "setup-vdso.h".
26803 (dl_main): Call setup_vdso.
26804
23c31b76
JM
268052012-10-05 Joseph Myers <joseph@codesourcery.com>
26806
28234b07
JM
26807 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26808 creal in comment listing functions tested. List finite, isinf,
26809 isnan, isless, islessequal, isgreater, isgreaterequal,
26810 islessgreater, isunordered, lgamma_r and pow10 as functions and
26811 macros not tested. Mention which functions not tested are aliases
26812 for other functions. Fix typo. Note that signs of NaNs are not
26813 tested.
26814
23c31b76
JM
26815 * scripts/config.guess: Update from config.git.
26816 * scripts/config.sub: Likewise.
26817
9043e228
RM
268182012-10-04 Roland McGrath <roland@hack.frob.com>
26819
26820 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26821 * misc/madvise.c (madvise): Renamed to __madvise.
26822 Make madvise a weak alias.
26823 * include/sys/mman.h: Declare __madvise.
26824 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26825 * sysdeps/unix/syscalls.list
26826 (madvise): Make __madvise the strong name, and madvise a weak alias.
26827 * sysdeps/unix/sysv/linux/syscalls.list
26828 (madvise, mmap): Remove redundant entries.
26829 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26830 * malloc/malloc.c (mtrim): Likewise.
26831 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26832
f57f8055
RM
268332012-10-03 Roland McGrath <roland@hack.frob.com>
26834
26835 * sysdeps/mach/hurd/dl-cache.c: File removed.
26836 * config.h.in (USE_LDCONFIG): New #undef.
26837 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26838 * configure: Regenerated.
26839 * elf/Makefile (dl-routines): Add dl-cache only under
26840 [$(use-ldconfig) = yes].
26841 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26842 cache on [USE_LDCONFIG].
26843 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26844 [USE_LDCONFIG].
26845 * elf/rtld.c (dl_main): Likewise.
26846
5bb0c10a
PT
268472012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26848
26849 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26850 _SC_LEVEL4_CACHE_LINESIZE.
26851
010188c6
RM
268522012-10-03 Roland McGrath <roland@hack.frob.com>
26853
26854 * sysdeps/unix/bsd/confstr.h: File removed.
26855
b6c5ec07
AO
268562012-10-02 Alexandre Oliva <aoliva@redhat.com>
26857
26858 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26859 sys/sdt-config.h.
26860
408223d4
RM
268612012-10-02 Roland McGrath <roland@hack.frob.com>
26862
26863 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26864 Make 'mapoff' field ElfW(Off) rather than off_t.
26865
bb9510dc
DL
268662012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26867
fc997c6e
DL
26868 * nscd/Makefile: Remove nscd-cflags and all its users.
26869 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26870 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26871
bb9510dc
DL
26872 [BZ #10631]
26873 * malloc.c (malloc_printerr): Clarify error message.
26874
05699367
L
268752012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26876
26877 [BZ #14648]
26878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26879 Set bit_FMA_Usable if FMA is supported.
26880 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26881 macro.
26882 (bit_FMA4_Usable): Updated.
26883 (index_FMA_Usable): New macro.
26884 (CPUID_FMA): Likewise
26885 (HAS_FMA): Defined with bit_FMA_Usable.
26886
51367701
RM
268872012-10-01 Roland McGrath <roland@hack.frob.com>
26888
26889 * bits/types.h (__swblk_t): Type removed.
26890 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26891 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26892 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26893 (__SWBLK_T_TYPE): Likewise.
26894 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26895 (__SWBLK_T_TYPE): Likewise.
26896 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26897 (__SWBLK_T_TYPE): Likewise.
26898 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26899 (__SWBLK_T_TYPE): Likewise.
26900
4d57bf63 269012012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 26902 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
26903
26904 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26905 (xdr_mapname): Use YPMAXMAP as maxsize.
26906 (xdr_peername): Use YPMAXPEER as maxsize.
26907 (xdr_keydat): Use YPAXRECORD as maxsize.
26908 (xdr_valdat): Use YPMAXRECORD as maxsize.
26909
93c65d43
RM
269102012-10-01 Roland McGrath <roland@hack.frob.com>
26911
497a03d6
RM
26912 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26913
93c65d43
RM
26914 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26915 * csu/init-first.c: ... here.
26916 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26917 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26918 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26919 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26920 * sysdeps/i386/init-first.c: File removed.
26921 * sysdeps/sh/init-first.c: File removed.
26922
bec749fd
JM
269232012-10-01 Joseph Myers <joseph@codesourcery.com>
26924
26925 [BZ #14645]
26926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26927 if x * y might underflow to zero and z is zero.
26928 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26929 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26930 * math/libm-test.inc (min_subnorm_value): New variable.
26931 (fma_test): Add more tests.
26932 (fma_test_towardzero): Likewise.
26933 (fma_test_downward): Likewise
26934 (fma_test_upward): Likewise.
26935 (initialize): Set min_subnorm_value.
26936
8ec5b013
JM
269372012-09-29 Joseph Myers <joseph@codesourcery.com>
26938
26939 [BZ #14638]
26940 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26941 0 + 0.
26942 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26943 mode for addition resulting in exact zero.
26944 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26945 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26946 exact 0 + 0.
26947 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26948 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26949 * math/libm-test.inc (fma_test): Add more tests.
26950 (fma_test_towardzero): New function.
26951 (fma_test_downward): Likewise.
26952 (fma_test_upward): Likewise.
26953 (main): Call the new functions.
26954
b1fa802e
DM
269552012-09-28 David S. Miller <davem@davemloft.net>
26956
26957 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26958
d3b9fd9e
RM
269592012-09-28 Roland McGrath <roland@hack.frob.com>
26960
ea4d37b3
RM
26961 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26962 instead of SIGALRM.
26963
ac51c949
RM
26964 * sysdeps/gnu/_G_config.h: Moved to ...
26965 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26966 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26967 * sysdeps/generic/_G_config.h: ... here.
26968
28c195f7
RM
26969 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26970
848917f9
RM
26971 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26972
6bacf05b
RM
26973 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26974 Conditionalize target on [libnss_test1.so-version].
26975
91363dbb
RM
26976 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26977
cc87f7d8
RM
26978 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26979 (elfobjdir): Move out of conditionals.
26980
b1c608fe
RM
26981 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26982 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26983 (__nss_lookup_function): Conditionalize label remove_from_tree on
26984 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 26985
1d9a6d96
DM
269862012-09-28 David S. Miller <davem@davemloft.net>
26987
26988 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26989 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26990 file.
26991 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26992 sysdep_routines.
26993 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26995 when HWCAP_SPARC_CRYPTO is present.
26996
72581615
PT
269972012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26998
26999 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27000
715a900c
JL
270012012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27002
27003 [BZ #6530]
27004 * stdio-common/vfprintf.c (process_string_arg): Revert
27005 2000-07-22 change.
27006
270072011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27008
27009 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27010 for testcase.
27011 * stdio-common/tst-sprintf.c: Include <locale.h>
27012 (main): Test sprintf's handling of incomplete multibyte
27013 characters.
27014
9bac1d86
L
270152012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27016
27017 * elf/dl-runtime.c (VERSYMIDX): Removed.
27018 * elf/dl-version.c (VERSYMIDX): Likewise.
27019 * elf/do-rel.h (VERSYMIDX): Likewise.
27020 (VALIDX): Likewise.
27021 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27022 * elf/rtld.c (VALIDX): Likewise.
27023 (ADDRIDX): Likewise.
9bac1d86
L
27024 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27025 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27026 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
27027 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27028 (VALIDX): Likewise.
27029 (ADDRIDX): Likewise.
9bac1d86 27030
b31606c0
PT
270312012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27032
27033 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27034
11541177
JL
270352012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27036
27037 [BZ #11438]
27038 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27039 to global scope.
27040 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27041 addresses are in the same scope as 192.0.2/24.
27042 * posix/gai.conf: Document new scope table defaults.
27043
adb26fae
SP
270442012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27045
27046 [BZ #5298]
27047 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27048 for ftell. Compute offsets from write pointers instead.
27049 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27050
4573c6b0
SP
270512012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27052
27053 [BZ #14543]
27054 * libio/Makefile (tests): New test case tst-fseek.
27055 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27056 combination works in wide mode.
27057 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27058 state when the external buffer state changes.
27059
aa9bbfe6
DM
270602012-09-27 David S. Miller <davem@davemloft.net>
27061
27062 [BZ #14376]
27063 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27064 pass reloc->r_addend in as the 'high' argument to
27065 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27066
784421e7
DM
27067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27068
c39bc8b8
PT
270692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27070
27071 * rt/tst-aio2.c: Include <pthread.h>.
27072 * rt/tst-aio3.c: Likewise.
27073
1ccc2399
SE
270742012-09-27 Steve Ellcey <sellcey@mips.com>
27075
27076 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27077
31ed4153
L
270782012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27079
25f5f885
L
27080 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27081 contents on [SHARED].
31ed4153 27082
b7bfe116
MP
270832012-09-26 Marek Polacek <polacek@redhat.com>
27084
27085 [BZ #14530]
27086 [BZ #13741]
27087 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27088 for C++ and GCC <4.3 as well as for non GCC compilers.
27089
43c4edba
MT
270902012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27091
27092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27093
6a1bf82f
RM
270942012-09-25 Roland McGrath <roland@hack.frob.com>
27095
27096 * Makefile.in (all, install): Declare with .PHONY.
27097 Reported by Michael Hope <michael.hope@linaro.org>.
27098
8ad11b9a
TMQMF
270992012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27100
27101 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27102 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27103 system header.
27104 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27105 Likewise.
27106 (sydep_routines): Add the new and the internal functions.
27107 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27108 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27110 (GLIBC_2.17): Add the new function.
27111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27112 (GLIBC_2.17): Likewise.
27113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27114 (GLIBC_2.17): Likewise.
27115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27116 (GLIBC_2.17): Likewise.
27117 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27118
7e2fca8d
AM
271192012-09-25 Alan Modra <amodra@gmail.com>
27120
27121 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27122 Add release barrier before setting once_control to say
27123 initialisation is done. Add hints on lwarx. Use macro in
27124 place of isync.
27125 (clear_once_control): Add release barrier.
27126
b87c4b24
JM
271272012-09-25 Joseph Myers <joseph@codesourcery.com>
27128
d032e0d2
JM
27129 [BZ #13629]
27130 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27131 specially.
27132 * math/s_clog10.c (__clog10): Likewise.
27133 * math/s_clog10f.c (__clog10f): Likewise.
27134 * math/s_clog10l.c (__clog10l): Likewise.
27135 * math/s_clogf.c (__clogf): Likewise.
27136 * math/s_clogl.c (__clogl): Likewise.
27137 * math/Makefile (libm-calls): Add x2y2m1.
27138 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27139 (__x2y2m1): Likewise.
27140 (__x2y2m1l): Likewise.
27141 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27142 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27143 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27144 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27145 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27146 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27147 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27148 * sysdeps/i386/fpu/libm-test-ulps: Update.
27149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27150
b87c4b24
JM
27151 [BZ #14621]
27152 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27153 int as type of variable DEPTH.
27154 (glob): Use size_t instead of int as type of variables NEWCOUNT
27155 and OLD_PATHC.
27156
6d3bf199
LD
271572012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27158
22bf5c17
LD
27159 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27160 Add s_sincosf-sse2.
27161 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27162 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27163 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27164 macros for using routine as __sincosf_ia32.
27165 Use macro for function declaration and weak_alias.
27166 * sysdeps/i386/fpu/libm-test-ulps: Update.
27167
27168 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27170
27171 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
27172 subnormal argument.
27173 * math/s_cexpf.c (__cexpf): Likewise.
27174 * math/s_csinf.c (__csinf): Likewise.
27175 * math/s_csinhf.c (__csinhf): Likewise.
27176 * math/s_ctanf.c (__ctanf): Likewise.
27177 * math/s_ctanhf.c (__ctanhf): Likewise.
27178 * math/s_ccosh.c (__ccoshf): Likewise.
27179 * math/s_cexp.c (__cexpl): Likewise.
27180 * math/s_csin.c (__csin): Likewise.
27181 * math/s_csinh.c (__csinh): Likewise.
27182 * math/s_ctan.c (__ctan): Likewise.
27183 * math/s_ctanh.c (ctanh): Likewise.
27184 * math/s_ccoshl.c (__ccoshl): Likewise.
27185 * math/s_cexpl.c (__cexpl): Likewise.
27186 * math/s_csinl.c (__csinl): Likewise.
27187 * math/s_csinhl.c (__csinhl): Likewise.
27188 * math/s_ctanl.c (__ctanl): Likewise.
27189 * math/s_ctanhl.c (__ctanhl): Likewise.
27190
203e5603
JM
271912012-09-25 Joseph Myers <joseph@codesourcery.com>
27192
27193 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27194 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27195 (_IO_off_t): Define to __off_t, not _G_off_t.
27196 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27197 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27198 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27199 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27200 type of __dummy and __dummy2 fields.
27201 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27202 (_G_ssize_t): Likewise.
27203 (_G_off_t): Likewise.
27204 (_G_pid_t): Likewise.
27205 (_G_uid_t): Likewise.
27206 (_G_wchar_t): Likewise.
27207 (_G_wint_t): Likewise.
27208 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27209 (_G_ssize_t): Likewise.
27210 (_G_off_t): Likewise.
27211 (_G_pid_t): Likewise.
27212 (_G_uid_t): Likewise.
27213 (_G_wchar_t): Likewise.
27214 (_G_wint_t): Likewise.
27215 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27216 (_G_ssize_t): Likewise.
27217 (_G_off_t): Likewise.
27218 (_G_pid_t): Likewise.
27219 (_G_uid_t): Likewise.
27220 (_G_wchar_t): Likewise.
27221 (_G_wint_t): Likewise.
27222
9fab36eb
SP
272232012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27224
27225 * malloc/arena.c: Include malloc-sysdep.h.
27226 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27227 is sufficient to shrink the heap or an unmap is needed.
27228 * sysdeps/generic/malloc-sysdep.h: New file. Define
27229 new function check_may_shrink_heap.
27230 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27231 new function check_may_shrink_heap.
27232
2b4f00d1
SP
272332012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27234
27235 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27236 comments.
27237
9a9028b1
DL
272382012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27239
57c69bef
DL
27240 * catgets/test-gencat.sh: Add "set -e".
27241 * elf/tst-pathopt.sh: Likewise.
27242 * grp/tst_fgetgrent.sh: Likewise.
27243 * iconvdata/run-iconv-test.sh: Likewise.
27244 * intl/tst-gettext.sh: Likewise.
27245 * intl/tst-gettext2.sh: Likewise.
27246 * intl/tst-gettext4.sh: Likewise.
27247 * intl/tst-gettext6.sh: Likewise.
27248 * intl/tst-translit.sh: Likewise.
27249 * io/ftwtest-sh: Likewise.
27250 * libio/test-freopen.sh: Likewise.
27251 * malloc/tst-mtrace.sh: Likewise.
27252 * posix/globtest.sh: Likewise.
27253 * posix/tst-getconf.sh: Likewise.
27254 * posix/wordexp-tst.sh: Likewise.
27255 * stdio-common/tst-printf.sh: Likewise.
27256 * stdio-common/tst-unbputc.sh: Likewise.
27257 * stdlib/tst-fmtmsg.sh: Likewise.
27258 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27259 * catgets/Makefile: Do not specify -e option when running
27260 testsuite shell scripts.
27261 * elf/Makefile: Likewise.
27262 * grp/Makefile: Likewise.
27263 * iconvdata/Makefile: Likewise.
27264 * intl/Makefile: Likewise.
27265 * io/Makefile: Likewise.
27266 * libio/Makefile: Likewise.
27267 * malloc/Makefile: Likewise.
27268 * posix/Makefile: Likewise.
27269 * stdio-common/Makefile: Likewise.
27270 * stdlib/Makefile: Likewise.
27271 * sysdeps/x86_64/Makefile: Likewise.
27272
9a9028b1
DL
27273 * io/ftwtest-sh: Add copyright header.
27274 * posix/globtest.sh: Likewise.
27275 * posix/tst-getconf.sh: Likewise.
27276 * posix/wordexp-tst.sh: Likewise.
27277 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27278
ced6f16e
L
272792012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27280
94b32c39
L
27281 [BZ #13679]
27282 * Makeconfig (+link): Defined as $(+link-static) if
27283 $(build-shared) isn't yes.
27284 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27285 isn't yes.
27286 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27287
189e935b
L
27288 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27289
ced6f16e
L
27290 [BZ #14562]
27291 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27292 new chunk size with MALLOC_ALIGN_MASK.
27293
a9f8e53a
JM
272942012-09-24 Joseph Myers <joseph@codesourcery.com>
27295
27296 [BZ #5044]
27297 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27298 <rounding-mode.h>.
27299 (__printf_fphex): Determine rounding using get_rounding_mode and
27300 round_away.
27301 * stdio-common/tst-printf-round.c (struct hex_test): New
27302 structure.
27303 (hex_tests): New variable.
27304 (test_hex_in_one_mode): New function.
27305 (do_test): Also run tests for hex float output.
27306
43153109
JM
273072012-09-21 Joseph Myers <joseph@codesourcery.com>
27308
27309 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27310 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27311 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27312 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27313 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27314 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27315 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27316 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27317
8a26625d
JM
273182012-09-20 Joseph Myers <joseph@codesourcery.com>
27319
27320 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27321 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27322 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27323 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27324
f3fd569c
DL
273252012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27326
27327 [BZ #14579]
27328 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27329 mode only.
27330 * elf/tst-rtld-load-self.sh: New test.
27331 * elf/Makefile: Run it.
27332
63bbedd4
JM
273332012-09-18 Joseph Myers <joseph@codesourcery.com>
27334
27335 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27336 (tst-writev-ENV): Remove.
27337 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27338
626f8b6a
CM
273392012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27340
27341 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27342
b7aaa4d6
JM
273432012-09-17 Joseph Myers <joseph@codesourcery.com>
27344
27345 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27346 unconditional.
27347 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27348 Likewise.
27349 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27350 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27351 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27352 Likewise.
27353
65513990
L
273542012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27355
27356 [BZ #14587]
27357 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27358 * config.make.in (have-cpp-asm-debuginfo): Removed.
27359 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27360 * configure: Regenerated.
27361
784761be
JM
273622012-09-14 Joseph Myers <joseph@codesourcery.com>
27363
27364 [BZ #5044]
27365 * stdio-common/printf_fp.c: Include <stdbool.h> and
27366 <rounding-mode.h>.
27367 (___printf_fp): Determine rounding using get_rounding_mode and
27368 round_away.
27369 * stdio-common/tst-printf-round.c: New file.
27370 * stdio-common/Makefile (tests): Add tst-printf-round.
27371 (link-libm): New variable.
27372 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27373
9503345f
L
273742012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27375
27376 [BZ #14576]
27377 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27378 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27379 Likewise.
27380 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27381 Likewise.
27382
ad35fc00
JM
273832012-09-13 Joseph Myers <joseph@codesourcery.com>
27384
27385 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27386 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27387 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27388 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27389
6c9b0f68
JM
273902012-09-12 Joseph Myers <joseph@codesourcery.com>
27391
27392 [BZ #14518]
27393 * include/rounding-mode.h: New file.
27394 * sysdeps/generic/get-rounding-mode.h: Likewise.
27395 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27396 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27397 (MAX_VALUE): New macro.
27398 (MIN_VALUE): Likewise.
27399 (overflow_value): New function.
27400 (underflow_value): Likewise.
27401 (round_and_return): Use overflow_value and underflow_value to
27402 determine return values in overflow and underflow cases. Use
27403 round_away to determine rounding depending on rounding mode.
27404 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27405 determine return values in overflow and underflow cases.
27406 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27407 (struct test_results): New structure.
27408 (struct test): Use struct test_results to store expected results
27409 for all rounding modes.
27410 (TEST): Include expected results for all rounding modes.
27411 (test_in_one_mode): New function.
27412 (do_test): Use test_in_one_mode to compute and check results.
27413 Check results for all rounding modes.
27414 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27415 $(link-libm).
27416
19fcedd5
AM
274172012-12-09 Allan McRae <allan@archlinux.org>
27418
1e9d84cd 27419 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 27420
8bbfd2f1
JM
274212012-09-11 Joseph Myers <joseph@codesourcery.com>
27422
27423 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27424 (_G_int32_t): Likewise.
27425 (_G_uint16_t): Likewise.
27426 (_G_uint32_t): Likewise.
27427 (_G_HAVE_BOOL): Likewise.
27428 (_G_HAVE_ATEXIT): Likewise.
27429 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27430 (_G_HAVE_IO_FILE_OPEN): Likewise.
27431 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27432 (_G_int32_t): Likewise.
27433 (_G_uint16_t): Likewise.
27434 (_G_uint32_t): Likewise.
27435 (_G_HAVE_BOOL): Likewise.
27436 (_G_HAVE_ATEXIT): Likewise.
27437 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27438 (_G_HAVE_IO_FILE_OPEN): Likewise.
27439 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27440 (_G_int32_t): Likewise.
27441 (_G_uint16_t): Likewise.
27442 (_G_uint32_t): Likewise.
27443 (_G_HAVE_BOOL): Likewise.
27444 (_G_HAVE_ATEXIT): Likewise.
27445 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27446 (_G_HAVE_IO_FILE_OPEN): Likewise.
27447
b1dc5912
L
274482012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27449
27450 * csu/libc-tls.c: Update copyright years.
27451
0e886ef9
JM
274522012-09-10 Joseph Myers <joseph@codesourcery.com>
27453
28361c5e
JM
27454 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27455 [!_G_USING_THUNKS]: Remove conditional code.
27456 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27457 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27458
0e886ef9
JM
27459 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27460 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27461 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27462 (_G_VTABLE_LABEL_PREFIX): Likewise.
27463 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27464 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27465 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27466 (_G_VTABLE_LABEL_PREFIX): Likewise.
27467 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27468 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27469 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27470 (_G_VTABLE_LABEL_PREFIX): Likewise.
27471 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27472
bcba7aa2
L
274732012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27474
27475 * libio/Makefile: Include ../Makeconfig before tests.
27476 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27477 only if $(build-shared) is yes.
27478
06585ee8
L
27479 * iconv/gconv_db.c: Update copyright years.
27480
80ccd52c
LD
274812012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27482
27483 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27484 unwind info if defined PIC. Fix special cases description.
27485 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27486
27487 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27488 DP_HI_MASK entry.
27489 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27490
691bc9c1
L
274912012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27492
3d9b46b3
L
27493 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27494
de2139a9
L
27495 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27496 is NULL.
27497
5ca78dd0
L
27498 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27499 (LDLIBS-tst-chk4): This.
27500 (LDFLAGS-tst-chk5): Renamed to ...
27501 (LDLIBS-tst-chk5): This.
27502 (LDFLAGS-tst-chk6): Renamed to ...
27503 (LDLIBS-tst-chk6): This.
27504 (LDFLAGS-tst-lfschk4): Renamed to ...
27505 (LDLIBS-tst-lfschk4): This.
27506 (LDFLAGS-tst-lfschk5): Renamed to ...
27507 (LDLIBS-tst-lfschk5): This.
27508 (LDFLAGS-tst-lfschk6): Renamed to ...
27509 (LDLIBS-tst-lfschk6): This.
27510
691bc9c1
L
27511 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27512 on $(common-objpfx)soversions.mk.
27513
65cafb1c
JM
275142012-09-07 Joseph Myers <joseph@codesourcery.com>
27515
27516 [BZ #10014]
27517 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27518 example host name.
27519
c78ab094
SP
275202012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27521
27522 * malloc/arena.c (arena_get_retry): New function that gets
27523 another arena for the caller to try its request on.
27524 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27525 current arena cannot fulfill the request.
27526 (__libc_memalign): Likewise.
27527 (__libc_memalign): Likewise.
27528 (__libc_pvalloc): Likewise.
27529 (__libc_calloc): Likewise.
27530
01f49f59
JT
275312012-09-05 John Tobey <john.tobey@gmail.com>
27532
27533 [BZ #13542]
27534 * manual/arith.texi (Operations on Complex): Fix description
27535 of carg branch cut.
27536
4c23fed5
JM
275372012-09-06 Joseph Myers <joseph@codesourcery.com>
27538
1d3c8572
JM
27539 [BZ #10014]
27540 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27541 host name.
27542
4c23fed5
JM
27543 [BZ #10038]
27544 * manual/memory.texi (Memory): Make order of menu items match
27545 order of sections.
27546
04570aaa
L
275472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27548
27549 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27550 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27551 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27552
b80af2f4
L
275532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27554
27555 * csu/libc-tls.c (static_dtv): Renamed to ...
27556 (_dl_static_dtv): This. Make it global.
27557 (_dl_initial_dtv): Removed.
27558 (__libc_setup_tls): Updated.
27559 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27560 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27561 DL_INITIAL_DTV.
27562
2abe9f15
PM
275632012-09-06 Petr Machata <pmachata@redhat.com>
27564
27565 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27566 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27567 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27568 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27569
0948c3af
L
275702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27571
27572 [BZ #14545]
27573 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27574 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27575 freeing dtv[-1].
27576
a5055ad1
L
275772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27578
27579 [BZ #14544]
27580 * Makeconfig (link-static-before-libc): Replace $(+prector)
27581 with $(+prectorT).
27582 (link-static-after-libc): Replace $(+postctor) with
27583 $(+postctorT).
27584 (link-bounded): Replace $(+prector)/$(+postctor) with
27585 $(+prectorT)/$(+postctorT).
27586 (+prectorT): New macro.
27587 (+postctorT): Likewise.
27588
ed8c2ecd
JM
275892012-09-06 Joseph Myers <joseph@codesourcery.com>
27590
27591 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27592 (round_str): Handle values above the maximum for IBM long double
27593 as inexact.
27594 * stdlib/tst-strtod-round.c (tests): Regenerated.
27595
14c996c8
AK
275962012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27597
27598 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27599 assembler flag.
27600 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27601 zarch_nohighgprs around the zarch optimized routines.
27602 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27603 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27604 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27605 for zarch.
27606
430d6ce6
DM
276072012-09-05 David S. Miller <davem@davemloft.net>
27608
27609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27610
57f41c40
AS
27611 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27612 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
27613 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27614 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27615 entries.
27616
24d4e01b
AO
276172012-09-05 Alexandre Oliva <aoliva@redhat.com>
27618
27619 * malloc/arena.c: Fold copyright years.
27620 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27621
61d58174
AO
276222012-09-05 Alexandre Oliva <aoliva@redhat.com>
27623
27624 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27625
20196a5e
AO
276262012-09-05 Alexandre Oliva <aoliva@redhat.com>
27627
27628 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27629
5c447383
AO
276302012-09-05 Alexandre Oliva <aoliva@redhat.com>
27631
27632 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27633 change internal state upon failure.
27634
fad64255
AO
276352012-09-05 Alexandre Oliva <aoliva@redhat.com>
27636
27637 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27638 * malloc/memusage.c (mmap): Likewise.
27639 (mmap64, mremap): Likewise. Adjust name in comment.
27640
1ffb8c90
SP
276412012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27642
27643 * libio/fileops.c: Fix typos in comments.
27644 * libio/oldfileops.c: Likewise.
27645 * libio/wfileops.c: Likewise.
27646
6ef9cc37
SP
276472012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27648
27649 [BZ #1349]
27650 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27651 (tst-malloc-usable-ENV): Set environment for test case.
27652 * malloc/hooks.c (malloc_check_get_size): New function to get
27653 requested size.
27654 * malloc/malloc.c (musable): Use malloc_check_get_size.
27655 * malloc/tst-malloc-usable.c: New test case.
27656
4d038ae3
AS
276572012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27658
27659 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27660
c4e85184
AM
276612012-09-05 Allan McRae <allan@archlinux.org>
27662
b9dafc56 27663 [BZ #13966]
c4e85184
AM
27664 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27665 determine header location.
27666 * configure: Regenerated.
27667
e1343020
AS
276682012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27669
27670 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27671 float format.
27672 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
27673 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27674 format.
e1343020
AS
27675 (test): Regenerate.
27676
0a9f1987
DM
276772012-09-04 David S. Miller <davem@davemloft.net>
27678
27679 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27680 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27681 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27682
29237804
FW
276832012-09-04 Florian Weimer <fweimer@redhat.com>
27684
27685 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27686 failures.
27687
edb3cb88
FW
27688 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27689
60160d83
JM
276902012-09-04 Joseph Myers <joseph@codesourcery.com>
27691
27692 [BZ #9914]
27693 * libio/iogetdelim.c: Include <limits.h>.
27694 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27695 + len + 1 would overflow.
27696
bcd6c8dc
AJ
276972012-09-03 Andreas Jaeger <aj@suse.de>
27698
27699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27700 * sysdeps/i386/fpu/libm-test-ulps: Update.
27701
4ffffbd2
LD
277022012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27703
27704 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27705 Add s_sinf-sse2, s_conf-sse2.
27706
27707 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27708 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27709 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27710 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27711
27712 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27713 for using routine as __sinf_ia32.
27714 Use macro for function declaration and weak_alias.
27715 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27716 for using routine as __cosf_ia32.
27717 Use macro for function declaration and weak_alias.
27718
27719 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27720 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27721
27722 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27723 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27725
27726 * math/libm-test.inc (cos_test): Add more test cases.
27727 (sin_test): Likewise.
27728 (sincos_test): Likewise.
27729
511fa286
AK
277302012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27731
27732 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27733 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27734 hidden.
27735 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27736
5f30cfec
L
277372012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27738
27739 [BZ #14538]
27740 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27741 first element of the GOT.
27742 (elf_machine_load_address): Return the difference between
27743 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27744
0786794f
AM
277452012-09-01 Allan McRae <allan@archlinux.org>
27746
5f30cfec
L
27747 [BZ #13412]
27748 * configure.in (AWK): Require gawk version 3.0 or later.
27749 * configure: Regenerated.
0786794f 27750
26889eac
JM
277512012-09-01 Joseph Myers <joseph@codesourcery.com>
27752
27753 * sysdeps/unix/sysv/linux/kernel-features.h
27754 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27755 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27756 [__NR_clock_getres]: Make code unconditional.
27757 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27758 (clock_getcpuclockid): Remove code left unreachable by removal of
27759 conditionals.
27760 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27761 code unconditional.
27762 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27763 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27764 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27765 Make code unconditional.
27766 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27767 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27768 * sysdeps/unix/sysv/linux/clock_settime.c
27769 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27770 conditional code.
27771 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27772 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27773
d22e28b0
L
277742012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27775
27776 [BZ #14476]
27777 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27778 scripts/test-installation.pl.
27779
27780 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27781 and $ld_so_version if it is set.
27782
050af9c4
SP
277832012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27784
27785 [BZ #14516]
27786 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27787 failure if reading from procfs failed.
27788 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27789
ad845c0b
JM
277902012-08-27 Joseph Myers <joseph@codesourcery.com>
27791
27792 * sysdeps/unix/sysv/linux/kernel-features.h
27793 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27794 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27795 Remove conditional code.
27796 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27797 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27798 Remove conditional code.
27799 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27800 * sysdeps/unix/sysv/linux/i386/fxstat.c
27801 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27802 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27803 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27804 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27805 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27806 * sysdeps/unix/sysv/linux/i386/lxstat.c
27807 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27808 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27809 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27810 Remove conditional code.
27811 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27812 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27813 Remove conditional code.
27814 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27815 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27816 <kernel-features.h>.
27817 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27818 Remove.
27819 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27820 Remove conditional code.
27821 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27822 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27823 Remove conditional.
27824
5dbf56af
MF
278252012-08-27 Mike Frysinger <vapier@gentoo.org>
27826
27827 [BZ #5400]
27828 * NEWS: Add fixed bug number.
27829
d6e70f43
JM
278302012-08-27 Joseph Myers <joseph@codesourcery.com>
27831
7efb4737
JM
27832 [BZ #14519]
27833 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27834 underflowing exponent in case of negative sign.
27835 * stdlib/tst-strtod-round-data: Add more tests.
27836 * stdlib/tst-strtod-round.c (tests): Regenerated.
27837
af92131a
JM
27838 [BZ #3479]
27839 * stdlib/strtod_l.c (NDIG): Remove.
27840 (HEXNDIG): Likewise.
27841 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27842 smallest representable value.
27843 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27844 lie within an exact representation of 1/2 ulp of the result.
27845 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27846 unconditionally.
27847 (TENS_P9_IDX): Define unconditionally.
27848 (TENS_P9_SIZE): Likewise.
27849 (TENS_P10_IDX): Likewise.
27850 (TENS_P10_SIZE): Likewise.
27851 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27852 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27853 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27854 entries for 10^2^13 and 10^2^14.
27855 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27856 (TENS_P13_IDX): Define.
27857 (TENS_P13_SIZE): Likewise.
27858 (TENS_P14_IDX): Likewise.
27859 (TENS_P14_SIZE): Likewise.
27860 (_fpioconst_pow10): Change array size to
27861 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27862 unconditional.
27863 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27864 1024]: Add entries for 10^2^13 and 10^2^14.
27865 [LAST_POW10 > _LAST_POW10]: Remove #error.
27866 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27867 (_fpioconst_pow10): Change array size to
27868 FPIOCONST_POW10_ARRAY_SIZE.
27869 * stdlib/gen-fpioconst.c: New file.
27870 * stdlib/gen-tst-strtod-round.c: Likewise.
27871 * stdlib/tst-strtod-round-data: Likewise.
27872 * stdlib/tst-strtod-round.c: Likewise.
27873 * stdlib/Makefile (tests): Add tst-strtod-round.
27874
d6e70f43
JM
27875 [BZ #14459]
27876 * stdlib/strtod_l.c: Include <stdint.h>.
27877 (NDEBUG): Do not define.
27878 (round_and_return): Change EXPONENT parameter to type intmax_t.
27879 Rearrange calculations to avoid internal overflow possibilities.
27880 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27881 Rearrange calculations to avoid internal overflow possibilities.
27882 Assert that number fits inside MPNSIZE limbs.
27883 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27884 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27885 calculations and add assertions to avoid internal overflow
27886 possibilities. Add casts to avoid signed/unsigned operations.
27887 * stdlib/tst-strtod-overflow.c: New file.
27888 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27889
1f529f7d
MP
278902012-08-25 Marek Polacek <polacek@redhat.com>
27891
27892 * time/time.h: Fix some typos in comments.
27893
59a629f1
RM
278942012-08-23 Roland McGrath <roland@hack.frob.com>
27895
27896 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27897 * posix/tst-rfc3484-2.c: Likewise.
27898 * posix/tst-rfc3484-3.c: Likewise.
27899
d3bafbc9
SM
279002012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27901
27902 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27903 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27904
4efcc022
JM
279052012-08-23 Joseph Myers <joseph@codesourcery.com>
27906
27907 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27908 #include of fxstatat64.c.
27909
3cc3ef96
RM
279102012-08-22 Roland McGrath <roland@hack.frob.com>
27911
f04e2132
RM
27912 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27913 * shadow/getspent_r.c: Likewise.
27914 * shadow/getspnam.c: Likewise.
27915 * shadow/getspnam_r.c: Likewise.
27916 * gshadow/getsgent.c: Likewise.
27917 * gshadow/getsgent_r.c: Likewise.
27918 * gshadow/getsgnam.c: Likewise.
27919 * gshadow/getsgnam_r.c: Likewise.
27920 * inet/getnetbyad.c: Likewise.
27921 * inet/getnetbyad_r.c: Likewise.
27922 * inet/getnetbynm.c: Likewise.
27923 * inet/getnetbynm_r.c: Likewise.
27924 * inet/getnetent.c: Likewise.
27925 * inet/getnetent_r.c: Likewise.
27926 * inet/getproto.c: Likewise.
27927 * inet/getproto_r.c: Likewise.
27928 * inet/getprtent.c: Likewise.
27929 * inet/getprtent_r.c: Likewise.
27930 * inet/getprtname.c: Likewise.
27931 * inet/getprtname_r.c: Likewise.
27932 * inet/getrpcbyname.c: Likewise.
27933 * inet/getrpcbyname_r.c: Likewise.
27934 * inet/getrpcbynumber.c: Likewise.
27935 * inet/getrpcbynumber_r.c: Likewise.
27936 * inet/getrpcent.c: Likewise.
27937 * inet/getrpcent_r.c: Likewise.
27938 * inet/getaliasent.c: Likewise.
27939 * inet/getaliasent_r.c: Likewise.
27940 * inet/getaliasname.c: Likewise.
27941 * inet/getaliasname_r.c: Likewise.
27942 * nscd/getgrgid_r.c: Likewise.
27943 * nscd/getgrnam_r.c: Likewise.
27944 * nscd/gethstbyad_r.c: Likewise.
27945 * nscd/gethstbynm3_r.c: Likewise.
27946 * nscd/getpwnam_r.c: Likewise.
27947 * nscd/getpwuid_r.c: Likewise.
27948 * nscd/getsrvbynm_r.c: Likewise.
27949 * nscd/getsrvbypt_r.c: Likewise.
27950 * nscd/gai.c: Likewise.
27951
c53d909c
RM
27952 * configure.in (build_nscd): New substituted variable, set
27953 by --disable-build-nscd and defaults to $use_nscd.
27954 * configure: Regenerated.
27955 * config.make.in (build-nscd): New substituted variable.
27956 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27957 Change conditional to require [$(build-nscd) = yes] as well.
27958 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27959
3cc3ef96
RM
27960 [BZ# 13696]
27961 * configure.in (use_nscd): New substituted variable, set by
27962 --disable-nscd. If enabled, define USE_NSCD.
27963 * configure: Regenerated.
27964 * config.h.in: Add USE_NSCD.
27965 * config.make.in (use-nscd): New substituted variable.
27966 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27967 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27968 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27969 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27970 (CFLAGS-getgrnam_r.c): Likewise.
27971 (CFLAGS-initgroups.c): Likewise.
27972 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27973 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27974 Variables removed.
27975 * inet/getnetgrent_r.c
27976 (nscd_setnetgrent): New function, broken out of ...
27977 (setnetgrent): ... here. Call it.
27978 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27979 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27980 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27981 * nscd/Makefile (routines, aux): Move definitions after include of
27982 Makeconfig. Conditionalize on [$(use-nscd) != no].
27983 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27984 Conditionalize on [USE_NSCD].
27985 (is_nscd, nscd_init_cb): Likewise.
27986 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27987 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27988 * nss/nss_db/db-init.c: Likewise.
27989 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27990 [USE_NSCD].
27991 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27992 (make_request): Use it.
27993 (cache_valid_p): New function.
27994 (__check_pf): Use it.
27995 * NEWS: Add item for --disable-nscd.
27996
07e51550
DL
279972012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27998
27999 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28000 to support sed >= 4.2.1-20-ga9bf076.
28001 * configure: Regenerated.
28002
35a5b08b
RM
280032012-08-22 Roland McGrath <roland@hack.frob.com>
28004
28005 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28006 Conditionalize whole body on [IREL].
28007
8479f23a
JL
280082012-08-22 Jeff Law <law@redhat.com>
28009
28010 [BZ #14505]
28011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28012 if the family is PF_UNSPEC.
28013
48da0b21
MF
280142012-08-22 Mike Frysinger <vapier@gentoo.org>
28015
28016 * Makerules (lib-version): Rename from V.
28017 (install-lib-nosubdir): Change V to lib-version.
28018
15d0da8c
WS
280192012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28020
28021 [BZ #14252]
28022 * powerpc32/power6/wcschr.c: New file.
28023 * powerpc32/power6/wcscpy.c: New file.
28024 * powerpc32/power6/wcsrchr.c: New file.
28025 * powerpc64/power6/wcschr.c: New file.
28026 * powerpc64/power6/wcscpy.c: New file.
28027 * powerpc64/power6/wcsrchr.c: New file.
28028
bcca0895
MK
280292012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28030
28031 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28032 (two_way_short_needle): Use it.
5a4aaa33
RM
28033 * string/strstr.c (AVAILABLE1_USES_J): Define.
28034 * string/strcasestr.c: Likewise.
99677e57
MK
28035
28036 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28037 array references.
28038 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28039
400726de
MK
28040 [BZ #11607]
28041 * NEWS: Add an entry.
28042 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28043 define their defaults.
28044 (two_way_short_needle): Detect end-of-string on-the-fly.
28045 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28046 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28047 * string/bug-strcasestr1.c: New test.
28048 * string/Makefile: Run it.
28049
20a71f2c
MK
280502012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28051
28052 [BZ #11607]
28053 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28054 the first character.
28055
21ad0558
RM
280562012-08-21 Roland McGrath <roland@hack.frob.com>
28057
28058 * csu/elf-init.c (__libc_csu_irel): Function removed.
28059 * csu/libc-start.c (apply_irel): New function.
28060 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28061
0e1d9911
JM
280622012-08-21 Joseph Myers <joseph@codesourcery.com>
28063
28064 * sysdeps/unix/sysv/linux/kernel-features.h
28065 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28066 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28067 <kernel-features.h>.
28068 [__NR_fadvise64_64]: Make code unconditional.
28069 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28070 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28071 !__NR_fadvise64_64)]: Likewise.
28072 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28073 !__NR_fadvise64_64))]: Likewise.
28074 [__NR_fadvise64]: Make code unconditional.
28075 [!__NR_fadvise64]: Remove conditional code.
28076 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28077 <kernel-features.h>.
28078 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28079 unconditional.
28080 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28081 conditional code.
28082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28083 not include <kernel-features.h>.
28084 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28085 unconditional.
28086 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28087 conditional code.
28088 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28089 include <kernel-features.h>.
28090 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28091 unconditional.
28092 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28093 conditional code.
28094
14a50c9d
WS
280952012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28096
28097 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28098 slight instruction rearrangements per scrollpipe analysis.
28099 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28100
c0f4faf0
RM
281012012-08-20 Roland McGrath <roland@hack.frob.com>
28102
696da859
RM
28103 * manual/syslog.texi (syslog; vsyslog, closelog):
28104 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28105 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28106
c0f4faf0
RM
28107 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28108 DSOCAPS to match condition on defining it.
28109
348363b2
JM
281102012-08-20 Joseph Myers <joseph@codesourcery.com>
28111
a35cbf28
JM
28112 * sysdeps/unix/sysv/linux/kernel-features.h
28113 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28115 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28116 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28118 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28119 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28121 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28122 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28123
445f7ecd
JM
28124 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28125 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28126
348363b2
JM
28127 * sysdeps/unix/sysv/linux/kernel-features.h
28128 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28129 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28130 unconditional.
28131 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28132 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28133 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28134 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28135 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28136 Make code unconditional.
28137 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28138 (__mmap64) [!__NR_mmap2]: Likewise.
28139 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28140 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28141 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28142 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28143 [__NR_mmap2]: Make code unconditional.
28144 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28145 (__mmap64) [!__NR_mmap2]: Likewise.
28146
bc5bc0e5
AK
281472012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28148
28149 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28150
88d506de
AJ
281512012-08-18 Andreas Jaeger <aj@suse.de>
28152
28153 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28154
493387d2
MF
281552012-08-18 Mike Frysinger <vapier@gentoo.org>
28156
28157 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28158 * include/unistd.h (__have_sock_cloexec): Likewise.
28159 (__have_pipe2): Likewise.
28160 (__have_dup3): Likewise.
28161
a277af22
MF
281622012-08-18 Mike Frysinger <vapier@gentoo.org>
28163
28164 [BZ #9685]
28165 * include/unistd.h (__have_pipe2): Change define into an extern int.
28166 (__have_dup3): Likewise.
28167 * socket/have_sock_cloexec.c: Include fcntl.h.
28168 (__have_pipe2): New variable.
28169 (__have_dup3): Likewise.
28170
fdab8fd3
MF
281712012-08-17 Mike Frysinger <vapier@gentoo.org>
28172
28173 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28174
31035e80
MP
281752012-08-17 Marek Polacek <polacek@redhat.com>
28176
28177 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28178 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28179
3bd9e993
RM
281802012-08-17 Roland McGrath <roland@hack.frob.com>
28181
c91c505f
RM
28182 * configure.in: Add AC_SUBST for sysheaders.
28183 * configure: Regenerated.
28184 * config.make.in (sysheaders): New substituted variable.
28185
7c6f9d53
RM
28186 * sysdeps/unix/mkfifo.c: Moved ...
28187 * sysdeps/posix/mkfifo.c: ... here.
28188 * sysdeps/unix/mkfifoat.c: Moved ...
28189 * sysdeps/posix/mkfifoat.c: ... here.
28190
28191 * sysdeps/unix/utime.c: Moved ...
28192 * sysdeps/posix/utime.c: ... here.
28193
28194 * sysdeps/unix/time.c: Moved ...
28195 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
28196 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28197 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
28198
28199 * sysdeps/unix/nice.c: Moved ...
28200 * sysdeps/posix/nice.c: ... here.
28201
28202 * sysdeps/unix/alarm.c: Moved ...
28203 * sysdeps/posix/alarm.c: ... here.
28204
3bd9e993
RM
28205 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28206
d1f09384
JL
282072012-08-17 Jeff Law <law@redhat.com>
28208
28209 * intl/Makefile (codeset_mo): New variable.
28210 ($(codeset_mo)): New target.
28211 (tst-codeset.out): Depend on that. Remove explicit rule.
28212 (tst-gettext3.out, tst-gettext5.out): Likewise.
28213 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28214 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28215 * intl/tst-codeset.sh: Remove.
28216 * intl/tst-gettext3.sh: Likewise.
28217 * intl/tst-gettext5.sh: Likewise.
28218
2ae1ae5c
RM
282192012-08-17 Roland McGrath <roland@hack.frob.com>
28220
c31fdb83
RM
28221 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28222 * sysdeps/unix/syscalls.list: ... here.
28223
a0844057
RM
28224 * sysdeps/posix/getaddrinfo.c
28225 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28226 (gaiconf_init, gaiconf_reload): Use them.
28227 [!_STATBUF_ST_NSEC]
28228 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28229 Define using time_t rather than struct timespec.
28230
750c1f2a
RM
28231 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28232 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28233 Macros removed.
28234 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28235 [!NO_THREADS].
28236 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28237 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28238 Likewise.
28239
2ae1ae5c
RM
28240 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28241 __libc_cleanup_push argument.
28242
e66a42f5
RM
28243 * bits/param.h: New file.
28244 * misc/sys/param.h: New file.
28245 * include/sys/param.h: New file.
28246 * misc/Makefile (headers): Add bits/param.h.
28247 * sysdeps/generic/sys/param.h: File removed.
28248 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28249 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28250 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 28251 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 28252
b7c08a66
RM
28253 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28254 last change.
28255
b2e1c562
RM
28256 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28257 [_IO_MTSAFE_IO].
28258 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28259 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28260 New macros.
28261
c75ccd4c
RM
28262 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28263 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28264 rather than -D_IO_MTSAFE_IO conditionally.
28265 * stdio-common/Makefile (CPPFLAGS): Likewise.
28266 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28267 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28268 Use $(libio-mtsafe).
28269 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28270 of -D_IO_MTSAFE_IO.
28271 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28272 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28273 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28274 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28275 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28276 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28277 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28278 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28279 (CFLAGS-fread_u_chk.c): Likewise.
28280 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28281 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28282 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28283 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28284 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28285 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28286 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28287 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28288 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28289
28290 * libio/Makefile: Test [$(libc-reentrant) = yes]
28291 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28292
28293 * Makeconfig
28294 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28295 * sysdeps/pthread/configure: File removed.
28296 * sysdeps/pthread/Makeconfig: New file.
28297 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28298 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28299
d9195db8
GB
283002012-08-16 Gary Benson <gbenson@redhat.com>
28301
28302 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28303 unmapping the first object in a namespace.
28304
86466cd9
RM
283052012-08-16 Roland McGrath <roland@hack.frob.com>
28306
28307 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28308 (__internal_setnetgrent): ... this. Add internal_function to
28309 definition. Add libc_hidden_def.
28310 (setnetgrent): Update caller.
28311 (internal_endnetgrent): Renamed to ...
28312 (__internal_endnetgrent): ... this. Add internal_function to
28313 definition. Add libc_hidden_def.
28314 (endnetgrent): Update caller.
28315 (internal_getnetgrent_r): Renamed to ...
28316 (__internal_getnetgrent_r): ... this. Add internal_function to
28317 definition. Add libc_hidden_def.
28318 (__getnetgrent_r): Update caller.
28319 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28320
c3c8283c
JM
283212012-08-16 Joseph Myers <joseph@codesourcery.com>
28322
28323 * stdlib/longlong.h: Update from GCC.
28324
db1ee0a8
RM
283252012-08-16 Roland McGrath <roland@hack.frob.com>
28326
28327 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28328 on _QL, which is set by umul_ppmm but never used.
28329 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28330 variables, which are set by GMP macros but never used.
28331 * stdio-common/_itowa.c (_itowa): Likewise.
28332 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28333 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28334
30f69637
CD
283352012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28336
28337 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28338 struct La_sh_regs is not constant.
28339 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28340 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28341 and struct La_sparc64_regs are not constant.
28342
93a78ac4
JM
283432012-08-16 Joseph Myers <joseph@codesourcery.com>
28344
28345 * sysdeps/unix/sysv/linux/kernel-features.h
28346 (__ASSUME_POSIX_TIMERS): Remove.
28347 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28348 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28349 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28350 Make code unconditional.
28351 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28352 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28353 Make code unconditional.
28354 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28355 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28356 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28357 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28358 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28359 Make code unconditional.
28360 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28361 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28362 (__libc_missing_posix_timers): Remove.
28363
dd924cd7
RM
283642012-08-15 Roland McGrath <roland@hack.frob.com>
28365
4b4f2771
RM
28366 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28367 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28368
601c888b
RM
28369 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28370
176790a7
RM
28371 * elf/dl-sym.c: Include <stdlib.h>.
28372
329bc018
RM
28373 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28374 constants, which avoids warnings in 32-bit builds.
28375
e04e272d
RM
28376 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28377 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28378
952bf94a
RM
28379 * misc/lseek.c: File moved to ...
28380 * io/lseek.c: ... here.
28381
7c99b50a
RM
28382 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28383
dd924cd7
RM
28384 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28385 shifting LEN more than 31 bits at once.
28386
b3f479a8
LD
283872012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28388
28389 [BZ #14195]
8c4ae0d4
RM
28390 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28391 segmentation fault for a case of two empty input strings.
b3f479a8
LD
28392 * string/test-strncasecmp.c (check1): Renamed to...
28393 (bz12205): ...this.
28394 (bz14195): Add new testcase for two empty input strings and N > 0.
28395 (test_main): Call new testcase, adapt for renamed function.
28396
9c55864e
AJ
283972012-08-15 Andreas Jaeger <aj@suse.de>
28398
28399 [BZ #14090]
28400 * crypt/md5test2.c: New test, based on test supplied by Serge
28401 Belyshev <belyshev@depni.sinp.msu.ru>.
28402 * crypt/Makefile (xtests): Add md5test-giant..
28403 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28404
02dcb6c5
PE
284052012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28406
28407 [BZ #14090]
28408 * crypt/md5.c (md5_process_block): Don't assume the buffer
28409 length is less than 2**32.
28410 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28411 length is less than 2**64.
28412
a3f95dcc
RM
284132012-08-15 Roland McGrath <roland@hack.frob.com>
28414
be75d758
RM
28415 * string/str-two-way.h: Include <sys/param.h>.
28416 (MAX): Macro removed.
28417
7312ca90
RM
28418 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28419 Move #define and #undef of memmove to just before and after
28420 including <string.h>.
28421
9a0a5486
RM
28422 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28423 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28424 and after including <string.h>. Move declarations of
28425 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28426 to before #include "string/memmove.c".
28427
67cc348d
RM
28428 * include/dirent.h: Declare __getdirentries.
28429
a3f95dcc
RM
28430 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28431 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28432
ca98e171
MF
284332012-08-14 Mike Frysinger <vapier@gentoo.org>
28434
28435 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28436 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28437 * sysdeps/i386/configure: Regenerated.
28438 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28439 STABS_CURRENT_FILE, and STABS_FUN.
28440 (END): Remove call to STABS_FUN_END.
28441 (STABS_CURRENT_FILE1): Delete.
28442 (STABS_CURRENT_FILE): Likewise.
28443 (STABS_FUN): Likewise.
28444 (STABS_FUN_END): Likewise.
28445 (STABS_FUN2): Likewise.
28446 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28447 * sysdeps/x86_64/configure: Regenerated.
28448
5908bf46
RM
284492012-08-14 Roland McGrath <roland@hack.frob.com>
28450
28451 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 28452 * elf/dl-lookup.c: Likewise.
5908bf46 28453
f2c05b9e
JM
284542012-08-14 Joseph Myers <joseph@codesourcery.com>
28455
28456 * sysdeps/unix/sysv/linux/kernel-features.h
28457 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28458 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28459 unconditionally.
28460 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28461 unconditionally.
28462 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28463 condition on __ASSUME_CLONE_THREAD_FLAGS.
28464
e11f5155
AJ
284652012-08-14 Andreas Jaeger <aj@suse.de>
28466
28467 * sysdeps/i386/fpu/libm-test-ulps: Update.
28468
51a9ba86
MK
284692012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28470
2fdd4f78
AJ
28471 * include/atomic.h (atomic_exchange_and_add): Split into ...
28472 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28473 New atomic macros.
51a9ba86 28474
ba6cba9e
MT
284752012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28476
28477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28478
42443a47
JL
284792012-08-13 Jeff Law <law@redhat.com>
28480
28481 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28482 null byte in the output string.
28483
121dce05
JM
284842012-08-10 Joseph Myers <joseph@codesourcery.com>
28485
28486 * sysdeps/unix/sysv/linux/kernel-features.h
28487 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28488 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28489 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28490 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28491 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28492 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28493 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28494
bf51f568
JL
284952012-08-09 Jeff Law <law@redhat.com>
28496
28497 [BZ #13939]
28498 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28499 When avoid_arena is set, don't retry in the that arena. Pick the
28500 next one, whatever it might be.
28501 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28502 (arena_lock): Pass in new parameter to arena_get2.
28503 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28504 arena_get2.
28505 (__libc_malloc): Unify retrying after main arena failure with
28506 __libc_memalign version.
28507 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28508
f85fa270
L
285092012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28510
28511 [BZ #14166]
28512 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28513 to __redirect_strstr.
28514 (__strstr_sse42): Use typeof __redirect_strstr.
28515 (__strstr_ia32): Likewise.
28516 (__libc_strstr): New prototype.
28517 (strstr): Renamed to ...
28518 (__libc_strstr): This.
28519 (strstr): New strong alias of __libc_strstr.
28520 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28521 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28522 __redirect_time.
28523 Include <time.h>.
28524 (__libc_time): New prototype.
28525 (time_ifunc): Replace time with __libc_time.
28526 (time): New strong alias and hidden definition of __libc_time.
28527 (__GI_time): Remove strong alias.
28528 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28529 Include <stddef.h>.
28530 (memmove): Redefined to __redirect_memmove.
28531 (__memmove_sse2): Use typeof __redirect_memmove.
28532 (__memmove_ssse3): Likewise.
28533 (__memmove_ssse3_back): Likewise.
28534 (__libc_memmove): New prototype.
28535 (memmove): Renamed to ...
28536 (__libc_memmove): This.
28537 (memmove): New strong alias of __libc_memmove.
28538
33b4a91e
MS
285392012-08-08 Mark Salter <msalter@redhat.com>
28540
28541 * elf/elf.h
28542 (R_MN10300_TLS_GD): Define.
28543 (R_MN10300_TLS_LD): Likewise.
28544 (R_MN10300_TLS_LDO): Likewise.
28545 (R_MN10300_TLS_GOTIE): Likewise.
28546 (R_MN10300_TLS_IE): Likewise.
28547 (R_MN10300_TLS_LE): Likewise.
28548 (R_MN10300_TLS_DTPMOD): Likewise.
28549 (R_MN10300_TLS_DTPOFF): Likewise.
28550 (R_MN10300_TLS_TPOFF): Likewise.
28551 (R_MN10300_SYM_DIFF): Likewise.
28552 (R_MN10300_ALIGN): Likewise.
28553 (R_MN10300_NUM): Update.
28554
b36137f1
JM
285552012-08-08 Joseph Myers <joseph@codesourcery.com>
28556
28557 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28558 Remove.
28559
cdd915fd
RM
285602012-08-08 Roland McGrath <roland@hack.frob.com>
28561
a2433aac
RM
28562 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28563
cdd915fd
RM
28564 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28565 sysdeps/unix -> sysdeps/posix move.
28566 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28567
bf9b740a
AM
285682012-08-07 Allan McRae <allan@archlinux.org>
28569
28570 [BZ #14303]
28571 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28572 (SUNOS_CPP): Likewise.
28573 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28574 not found.
28575 (open_input): Call CPP using execvp.
28576
93df14ee
JM
285772012-08-07 Joseph Myers <joseph@codesourcery.com>
28578
28579 * sysdeps/unix/sysv/linux/kernel-features.h
28580 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28581 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28582 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28583 (__ASSUME_WAITID_SYSCALL): Likewise.
28584 * sysdeps/unix/sysv/linux/dl-execstack.c
28585 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28586 code unconditional.
28587 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28588 conditional code.
28589 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28590 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28591 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28592 code.
28593 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28594 unconditional.
28595 [__ASSUME_WAITID_SYSCALL]: Likewise.
28596 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28597
d34689de
RM
285982012-08-07 Roland McGrath <roland@hack.frob.com>
28599
a281decc
RM
28600 * sysdeps/unix/closedir.c: Renamed to ...
28601 * sysdeps/posix/closedir.c: ... here.
28602 * sysdeps/unix/dirfd.c: Renamed to ...
28603 * sysdeps/posix/dirfd.c: ... here.
28604 * sysdeps/unix/dirstream.h: Renamed to ...
28605 * sysdeps/posix/dirstream.h: ... here.
28606 * sysdeps/unix/fdopendir.c: Renamed to ...
28607 * sysdeps/posix/fdopendir.c: ... here.
28608 * sysdeps/unix/opendir.c: Renamed to ...
28609 * sysdeps/posix/opendir.c: ... here.
28610 * sysdeps/unix/readdir.c: Renamed to ...
28611 * sysdeps/posix/readdir.c: ... here.
28612 * sysdeps/unix/readdir_r.c: Renamed to ...
28613 * sysdeps/posix/readdir_r.c: ... here.
28614 * sysdeps/unix/rewinddir.c: Renamed to ...
28615 * sysdeps/posix/rewinddir.c: ... here.
28616 * sysdeps/unix/seekdir.c: Renamed to ...
28617 * sysdeps/posix/seekdir.c: ... here.
28618 * sysdeps/unix/telldir.c: Renamed to ...
28619 * sysdeps/posix/telldir.c: ... here.
28620 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28621 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28622 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28623 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28624
22895b47
RM
28625 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28626 * bits/fcntl.h: ... here.
28627
707a53b6
RM
28628 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28629 not 0.
28630 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28631 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28632 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28633 (struct flock): Move l_start, l_len to the beginning.
28634 Use __pid_t for l_pid.
28635 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28636 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28637 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28638 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28639 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28640 [__USE_LARGEFILE64] (struct flock64): New type.
28641 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28642
f0bd3e25
RM
28643 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28644 * bits/dirent.h: ... here.
28645
d34689de
RM
28646 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28647 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28648
6dad2c06
JM
286492012-08-07 Joseph Myers <joseph@codesourcery.com>
28650
28651 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28652 Change from 2.6.0 to 2.6.16.
28653 * sysdeps/unix/sysv/linux/configure: Regenerated.
28654 * sysdeps/unix/sysv/linux/kernel-features.h
28655 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28656 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28657 version.
28658 (__ASSUME_UTIMES): Likewise.
28659 (__ASSUME_CLONE_STOPPED): Remove.
28660 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28661 architectures, not kernel version.
28662 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28663 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28664 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28665 (__ASSUME_WAITID_SYSCALL): Likewise.
28666 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28667 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28668 * README: State 2.6.16 as minimum Linux kernel version. Do not
28669 refer to older versions.
28670
03af9520
RM
286712012-08-06 Roland McGrath <roland@hack.frob.com>
28672
8e49df1d
RM
28673 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28674 Define alphasort64 as an alias.
28675 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28676 Define versionsort64 as an alias.
28677 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28678 Define scandir64 as an alias.
28679 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28680 Define scandirat64 as an alias.
28681 * dirent/alphasort64.c (alphasort64):
28682 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28683 * dirent/versionsort64.c: Likewise.
28684 * dirent/scandir64.c: Likewise.
28685 * dirent/scandirat64.c: Likewise.
28686 * sysdeps/wordsize-64/alphasort.c: File removed.
28687 * sysdeps/wordsize-64/alphasort64.c: File removed.
28688 * sysdeps/wordsize-64/scandir.c: File removed.
28689 * sysdeps/wordsize-64/scandir64.c: File removed.
28690 * sysdeps/wordsize-64/scandirat.c: File removed.
28691 * sysdeps/wordsize-64/scandirat64.c: File removed.
28692 * sysdeps/wordsize-64/versionsort.c: File removed.
28693 * sysdeps/wordsize-64/versionsort64.c: File removed.
28694 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28695 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28696 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28697 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28698 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28699 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28700 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28701 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28702
28703 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28704 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28705 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28706 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28707 [defined __arch64__ || defined __sparcv9]
28708 (__INO_T_MATCHES_INO64_T): New macro.
28709 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28710 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28711 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28712 * sysdeps/unix/sysv/linux/bits/dirent.h
28713 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28714 (_DIRENT_MATCHES_DIRENT64): New macro.
28715
03af9520
RM
28716 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28717 Define lockf64 as an alias.
28718 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28719 Define fseeko64 as an alias.
28720 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28721 Define ftello64 as an alias.
28722 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28723 Define _IO_fgetpos64 and fgetpos64 as aliases.
28724 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28725 Define _IO_fsetpos64 and fsetpos64 as aliases.
28726 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28727 Conditionalize body on this.
28728 * libio/fseeko64.c: Likewise.
28729 * libio/ftello64.c: Likewise.
28730 * libio/iofgetpos64.c: Likewise.
28731 * libio/iofsetpos64.c: Likewise.
28732 * sysdeps/wordsize-64/lockf.c: File removed.
28733 * sysdeps/wordsize-64/lockf64.c: File removed.
28734 * sysdeps/wordsize-64/fseeko.c: File removed.
28735 * sysdeps/wordsize-64/fseeko64.c: File removed.
28736 * sysdeps/wordsize-64/ftello.c: File removed.
28737 * sysdeps/wordsize-64/ftello64.c: File removed.
28738 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28739 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28740 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28741 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28742 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28743 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28744 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28745 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28746 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28747 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28748 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28749 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28750 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28751 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28752
28753 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28754 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28755 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28756 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28757 [defined __arch64__ || defined __sparcv9]
28758 (__OFF_T_MATCHES_OFF64_T): New macro.
28759 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28760 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28761 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28762 (__OFF_T_MATCHES_OFF64_T): New macro.
28763
c5757acd
L
287642012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28765
28766 * stdlib/secure-getenv.c (__secure_getenv): Replace
28767 GLIBC_2_16 with GLIBC_2_17.
28768
3a31811e
L
287692012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28770
28771 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28772 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28773
faa2bccb
DM
287742012-08-03 David S. Miller <davem@davemloft.net>
28775
28776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28777
85fe1997
JM
287782012-08-03 Joseph Myers <joseph@codesourcery.com>
28779
28780 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28781 Remove.
28782 (__ASSUME_CORRECT_SI_PID): Likewise.
28783 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28784 (__ASSUME_TMPFS_NAME): Likewise.
28785 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28786 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28787 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28788 (HAVE_AUX_SECURE): Make definition unconditional.
28789 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28790 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28791
4f75b7a0
RM
287922012-08-03 Roland McGrath <roland@hack.frob.com>
28793
28794 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28795 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28796 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28797 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28798 __eloop_threshold instead of SYMLOOP_MAX.
28799
28800 * sysdeps/generic/eloop-threshold.h: New file.
28801 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28802 of MAXSYMLINKS.
28803 * elf/chroot_canon.c (chroot_canon): Likewise.
28804
7aab07e4
JM
288052012-08-03 Joseph Myers <joseph@codesourcery.com>
28806
28807 [BZ #13717]
28808 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28809 Change to 2.6.0 everywhere.
28810 * sysdeps/unix/sysv/linux/configure: Regenerated.
28811 * sysdeps/unix/sysv/linux/kernel-features.h
28812 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28813 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28814 kernel versions.
28815 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28816 (__ASSUME_FUTEX_REQUEUE): Remove.
28817 (__ASSUME_STATFS64): Define unconditionally.
28818 (__ASSUME_AT_SECURE): Likewise.
28819 (__ASSUME_CORRECT_SI_PID): Likewise.
28820 (__ASSUME_TGKILL): Define without depending on kernel version for
28821 i386.
28822 (__ASSUME_UTIMES): Likewise.
28823 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28824 kernel version.
28825 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28826 (__ASSUME_TMPFS_NAME): Likewise.
28827 * README: Update reference to Linux kernel versions.
28828
b67e9372
MP
288292012-08-02 Marek Polacek <polacek@redhat.com>
28830
1f529f7d 28831 [BZ# 14150]
b67e9372
MP
28832 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28833 libc_cv_asm_type_prefix with %.
28834 * configure: Regenerated.
d2441631
RM
28835 * include/libc-symbols.h: Remove comment about
28836 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
28837 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28838 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28839 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28840 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28841 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28842 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28843 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28844 * elf/tst-unique2mod1.c: Likewise.
28845 * elf/tst-unique1mod2.c: Likewise.
28846 * elf/tst-unique1mod1.c: Likewise.
28847 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28848 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28849 Replace ASM_TYPE_DIRECTIVE with .type.
28850 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28851 * sysdeps/i386/sysdep.h: Likewise.
28852 * sysdeps/x86_64/sysdep.h: Likewise.
28853 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
28854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28855 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 28856 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
28857 * sysdeps/powerpc/powerpc32/sysdep.h:
28858 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
28859 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28860 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28861 * sysdeps/i386/fpu/e_powf.S: Likewise.
28862 * sysdeps/i386/fpu/e_expl.S: Likewise.
28863 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28864 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28865 * sysdeps/i386/fpu/e_pow.S: Likewise.
28866 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28867 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28868 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28869 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28870 * sysdeps/i386/fpu/e_log2.S: Likewise.
28871 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28872 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28873 * sysdeps/i386/fpu/e_powl.S: Likewise.
28874 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28875 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28876 * sysdeps/i386/fpu/e_logl.S: Likewise.
28877 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28878 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28879 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28880 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28881 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28882 * sysdeps/i386/fpu/e_log.S: Likewise.
28883 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28884 * sysdeps/i386/fpu/e_logf.S: Likewise.
28885 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28886 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28887 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28888 * sysdeps/i386/fpu/e_log10.S: Likewise.
28889 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28890 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28891 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28892 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28893 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28894 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28895 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28896 * sysdeps/i386/i686/strtok.S: Likewise.
28897 * sysdeps/i386/i386-mcount.S: Likewise.
28898 * sysdeps/i386/strtok.S: Likewise.
28899 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28900 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28901 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28902 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28903 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28904 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28905 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28906 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28907 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28908 * sysdeps/x86_64/_mcount.S: Likewise.
28909 * sysdeps/x86_64/strtok.S: Likewise.
28910 * sysdeps/sh/_mcount.S: Likewise.
28911
2747bf9a
RM
289122012-08-01 Roland McGrath <roland@hack.frob.com>
28913
28914 * libio/iofopen.c: Include <fcntl.h>.
28915 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28916 (_IO_fopen64, fopen64): Define as aliases.
28917 * libio/iofopen64.c: Include <fcntl.h>.
28918 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28919 Conditionalize body on this.
28920 * sysdeps/wordsize-64/iofopen.c: File removed.
28921 * sysdeps/wordsize-64/iofopen64.c: File removed.
28922
3fb791b8
MP
289232012-08-01 Marek Polacek <polacek@redhat.com>
28924
28925 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28926 Use dlfcn directly instead of a variable.
28927 (binfmt-subdir): Do not define.
28928 (dlfcn): Likewise.
28929
a9f1039f
JM
289302012-08-01 Joseph Myers <joseph@codesourcery.com>
28931
23bddc06
JM
28932 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28933 Remove all definitions.
28934 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28935 <kernel-features.h>.
28936 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28937 (miss_F_GETOWN_EX): Remove all definitions.
28938 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28939 macro definition.
28940 [!__ASSUME_FCNTL64]: Remove conditional code.
28941 [__ASSUME_FCNTL64]: Make code unconditional.
28942 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28943 <kernel-features.h>.
28944 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28945 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28946 (lockf64) [__NR_fcntl64]: Make code unconditional.
28947 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28948
a9f1039f
JM
28949 * sysdeps/unix/sysv/linux/kernel-features.h
28950 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28951 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28952 Make code unconditional.
28953 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28954 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28956 [__NR_vfork]: Make code unconditional.
28957 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28958 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28960 [__NR_vfork]: Make code unconditional.
28961 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28962 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28963
09c0ee5f
RM
289642012-08-01 Roland McGrath <roland@hack.frob.com>
28965
48aec5b9
RM
28966 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28967 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28968
cd97c966
RM
28969 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28970 Define mkstemp64 as an alias.
3f55550c
RM
28971 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28972 Define mkstemps64 as an alias.
cd97c966
RM
28973 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28974 Define mkostemp64 as an alias.
b8625cfc
RM
28975 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28976 Define mkostemps64 as an alias.
cd97c966
RM
28977 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28978 Conditionalize body on this.
28979 * misc/mkostemp64.c: Likewise.
b8625cfc 28980 * misc/mkostemps64.c: Likewise.
3f55550c 28981 * misc/mkstemps64.c: Likewise.
cd97c966
RM
28982 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28983 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28984 * sysdeps/wordsize-64/mkostemp.c: File removed.
28985 * sysdeps/wordsize-64/mkstemp.c: File removed.
28986 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28987 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28988 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28989 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28990
09c0ee5f
RM
28991 [BZ #14138]
28992 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28993 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28994 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28995 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28996
28997 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28998 compat_symbol macros from <shlib-compat.h> rather than the underlying
28999 default_symbol_version and symbol_version macros, so that DEFAULT
29000 lines in shlib-versions are respected.
29001 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29002
7e66ee51
FW
290032012-08-01 Florian Weimer <fweimer@redhat.com>
29004
29005 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29006 Declare with warn_unused_result.
29007 (setgid, setregid, setegid, setresgid): Likewise.
29008 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29009 Likewise.
29010 * WUR-REPORT: Remove set*id functions.
29011
d2a54255
PT
290122012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29013
29014 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29015
7ecdb005
RM
290162012-07-31 Roland McGrath <roland@hack.frob.com>
29017
b4180a5e 29018 [BZ #10191]
789bd351
RM
29019 * include/sys/socket.h (__libc_accept, __libc_accept4):
29020 Add attribute_hidden.
29021 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29022
40ce302d
RM
29023 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29024 use of PTR_MANGLE.
29025 * inet/getnetgrent_r.c (setup): Likewise.
29026
7ecdb005
RM
29027 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29028
e2eabb2c
DM
290292012-07-31 David S. Miller <davem@davemloft.net>
29030
29031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29032
d0419dbf
JM
290332012-07-31 Joseph Myers <joseph@codesourcery.com>
29034
29035 [BZ #13629]
29036 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29037 value between 1.0 and 2.0 and smaller part has absolute value less
29038 than 1.0.
29039 * math/s_clog10.c (__clog10): Likewise.
29040 * math/s_clog10f.c (__clog10f): Likewise.
29041 * math/s_clog10l.c (__clog10l): Likewise.
29042 * math/s_clogf.c (__clogf): Likewise.
29043 * math/s_clogl.c (__clogl): Likewise.
29044 * math/libm-test.inc (clog_test): Add more tests.
29045 (clog10_test): Likewise.
29046 * sysdeps/i386/fpu/libm-test-ulps: Update.
29047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29048
2bc13872
FW
290492012-07-31 Florian Weimer <fweimer@redhat.com>
29050
29051 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29052 Exit with zero in case no suitable GID is found, and write a
29053 message to standard error.
29054
bea9b193
RM
290552012-07-30 Roland McGrath <roland@hack.frob.com>
29056
29057 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29058 rather than to 1.
29059 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29060 (MAXPATHLEN): Removed.
29061 (NOGROUP, NODEV): New macros.
29062 (setbit, clrbit, isset, isclr): New macros.
29063 (howmany, roundup, powerof2): New macros.
29064 (DEV_BSIZE): New macro.
29065
29066 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29067 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29068
29069 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29070 definition on [!__NO_LONG_DOUBLE_MATH].
29071
29072 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29073 PTR_MANGLE and PTR_DEMANGLE.
29074
29075 * socket/accept4.c (accept4): Rename to __libc_accept4.
29076 Define accept4 as a weak alias.
29077
29078 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29079 on [_DIRENT_HAVE_D_TYPE].
29080 * io/ftw.c (ftw_dir): Likewise.
29081
29082 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29083
29084 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29085
29086 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29087 Use the BSD numbers rather than the arbitrary ones we had.
29088 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29089 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29090 (SIGXCPU, SIGXFSZ): New macros.
29091 (_NSIG): Now 32.
29092
29093 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29094 initializer on [_LIBC_REENTRANT].
29095
29096 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29097 definitions inside [_POSIX_MAPPED_FILES].
29098
29099 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29100
29101 * dirent/opendir.c: Include <fcntl.h>.
29102
29103 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29104 (__libc_getspecific): Likewise.
29105 (__libc_key_create): Likewise.
29106
29107 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29108 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29109 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29110 (tmpfile64): Define as alias.
29111 * sysdeps/wordsize-64/tmpfile.c: File removed.
29112 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29113 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29114 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29115
29116 * stdio-common/vfscanf.c: Include <stdbool.h>.
29117 * nss/makedb.c: Likewise.
29118 * stdio-common/_i18n_number.h: Likewise.
29119 * argp/argp-help.c: Likewise.
29120 * posix/wordexp.c: Likewise.
29121 * sysdeps/posix/spawni.c: Likewise.
29122 * nss/nss_files/files-initgroups.c: Likewise.
29123 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29124 * nss/nss_files/files-initgroups.c: Likewise.
29125 * nss/nss_db/db-netgrp.c: Likewise.
29126 * nss/nss_db/db-initgroups.c: Likewise.
29127 * io/fchmodat.c: Include <sys/stat.h>.
29128
29129 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29130 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29131
29132 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29133 [HAVE_MMAP].
29134
29135 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29136 Add multiple inclusion protection.
29137
e5abc686
DM
291382012-07-27 David S. Miller <davem@davemloft.net>
29139
29140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29141
815e6fa3
GB
291422012-07-27 Gary Benson <gbenson@redhat.com>
29143
29144 [BZ #14298]
29145 * elf/rtld.c: Include <stap-probe.h>.
29146 (dl_main): Added static probes "init_start" and "init_complete".
29147 * elf/dl-load.c: Include <stap-probe.h>.
29148 (lose): Take new parameter "nsid".
29149 Added static probe "map_failed".
29150 (_dl_map_object_from_fd): Pass namespace id to lose.
29151 Added static probe "map_start".
29152 (open_verify): Pass namespace id to lose.
29153 * elf/dl-open.c: Include <stap-probe.h>.
29154 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29155 and "reloc_complete".
29156 * elf/dl-close.c: Include <stap-probe.h>.
29157 (_dl_close_worker): Added static probes "unmap_start" and
29158 "unmap_complete".
29159 * elf/rtld-debugger-interface.txt: New file documenting the above.
29160
9f98c16c
RM
291612012-07-26 Roland McGrath <roland@hack.frob.com>
29162
29163 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29164 rather than a string variable.
29165 * sunrpc/rpc_main.c (h_output): Likewise.
29166 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29167
f3c22df3
PT
291682012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29169
29170 * inet/check_native.c: New file.
29171
3129cfc6
JM
291722012-07-26 Joseph Myers <joseph@codesourcery.com>
29173
da865e95
JM
29174 [BZ #13629]
29175 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29176 if larger part has absolute value 1.0.
29177 * math/s_clog10.c (__clog10): Likewise.
29178 * math/s_clog10f.c (__clog10f): Likewise.
29179 * math/s_clog10l.c (__clog10l): Likewise.
29180 * math/s_clogf.c (__clogf): Likewise.
29181 * math/s_clogl.c (__clogl): Likewise.
29182 * math/libm-test.inc (clog_test): Add more tests.
29183 (clog10_test): Likewise.
29184 * sysdeps/i386/fpu/libm-test-ulps: Update.
29185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29186
3129cfc6
JM
29187 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29188 (pltexit): Likewise.
29189 (La_regs): Likewise.
29190 (La_retval): Likewise.
29191 (int_retval): Likewise.
29192 Update #error for removed macros to refer only to definitions in
29193 tst-audit.h.
29194 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29195 macro.
29196 (pltexit): Likewise.
29197 (La_regs): Likewise.
29198 (La_retval): Likewise.
29199 (int_retval): Likewise.
29200 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29201 macro.
29202 (pltexit): Likewise.
29203 (La_regs): Likewise.
29204 (La_retval): Likewise.
29205 (int_retval): Likewise.
29206 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29207 macro.
29208 (pltexit): Likewise.
29209 (La_regs): Likewise.
29210 (La_retval): Likewise.
29211 (int_retval): Likewise.
29212 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29213 macro.
29214 (pltexit): Likewise.
29215 (La_regs): Likewise.
29216 (La_retval): Likewise.
29217 (int_retval): Likewise.
29218 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29219 macro.
29220 (pltexit): Likewise.
29221 (La_regs): Likewise.
29222 (La_retval): Likewise.
29223 (int_retval): Likewise.
29224 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29225 macro.
29226 (pltexit): Likewise.
29227 (La_regs): Likewise.
29228 (La_retval): Likewise.
29229 (int_retval): Likewise.
29230 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29231 macro definitions in tst-audit.h.
29232 * sysdeps/i386/tst-audit.h: New file.
29233 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29234 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29235 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29236 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29237 * sysdeps/sh/tst-audit.h: Likewise.
29238 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29239 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29240 * sysdeps/x86_64/tst-audit.h: Likewise.
29241
bfc07087
AJ
292422012-07-26 Andreas Jaeger <aj@suse.de>
29243
b1b2aaf8
AJ
29244 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29245 ptrace.
29246
29247 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29248 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29249 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29250 PTRACE_O_MASK.
29251 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29252 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29253 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29254
bfc07087
AJ
29255 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29256 value.
29257
29258 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29259 _sigsys.
29260 (si_call_addr, si_syscall, si_arch): Define new macro.
29261 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29262 _sigsys.
29263 (si_call_addr, si_syscall, si_arch): Define new marcro.
29264 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29265 _sigsys.
29266 (si_call_addr, si_syscall, si_arch): Define new macro.
29267 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29268 _sigsys.
29269 (si_call_addr, si_syscall, si_arch): Define new macro.
29270
89b4b02f
JM
292712012-07-25 Joseph Myers <joseph@codesourcery.com>
29272
29273 [BZ #13717]
29274 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29275 Change to 2.4.21 where previously 2.4.1.
29276 * sysdeps/unix/sysv/linux/configure: Regenerated.
29277 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29278 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29279 Linux kernel version.
29280 (__ASSUME_STD_AUXV): Remove.
29281 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29282 kernel version.
29283 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29284 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29285 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29286 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29287 (__ASSUME_NETLINK_SUPPORT): Likewise.
29288 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29289 (__no_netlink_support): Remove conditional definition.
29290 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29291 Remove.
29292 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29293 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29294 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29295 (if_nameindex_ioctl): Remove.
29296 (if_nameindex_netlink): Do not handle __no_netlink_support.
29297 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29298 code.
29299 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29300 Remove conditional code.
29301 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29302 code.
29303 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29304 unconditional.
29305 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29306 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29307 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29308 Remove.
29309 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29310 [!__ASSUME_STD_AUXV]: Remove conditional code.
29311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29312 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29313 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29315 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29316 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29317 code.
29318 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29320 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29321 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29322 conditional code.
29323 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29325 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29326 code.
29327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29328 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29329 conditional code.
29330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29331 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29332 code unconditional.
29333 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29334 conditional code.
29335 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29336 unconditional.
29337 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29338 conditional code.
29339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29340 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29341 unconditional.
29342 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29343 conditional code.
29344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29345 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29346 code unconditional.
29347 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29348 conditional code.
29349 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29350 unconditional.
29351 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29352 conditional code.
29353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29354 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29355 code unconditional.
29356 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29357 conditional code.
29358 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29359 unconditional.
29360 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29361 conditional code.
29362
842a39cd
AS
293632012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29364
29365 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29366 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29367 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29368 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29369 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29370 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29371 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29372 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29373 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29374 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29375 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29376 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29377 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29378 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29379 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29380 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29381 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29382 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29383 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29384 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29385 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29386 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29387 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29388
84b3fd84
FW
293892012-07-25 Florian Weimer <fweimer@redhat.com>
29390
29391 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
29392 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29393 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29394 Introduce __libc_secure_getenv.
0c7936d5
FW
29395 * stdlib/Versions (2.17): Add secure_getenv
29396 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29397 * stdlib/secure-getenv.c: Rename __secure_getenv to
29398 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29399 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
29400 * stdlib/tst-secure-getenv.c: New.
29401 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
29402 * manual/startup.texi (Environment Access): Document
29403 secure_getenv.
84b3fd84
FW
29404 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29405 __libc_secure_getenv.
29406 * inet/ruserpass.c (ruserpass): Likewise.
29407 * malloc/mtrace.c (mtrace): Likewise.
29408 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 29409 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
29410 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29411 * sysdeps/posix/tempname.c: Likewise. Evaluate
29412 HAVE_SECURE_GETENV.
29413 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 29414 __secure_getenv to __libc_secure_getenv.
84b3fd84 29415 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
29416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29417 Likewise.
29418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29419 Likewise.
29420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29422 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 29427
56e49b71
JM
294282012-07-25 Joseph Myers <joseph@codesourcery.com>
29429
29430 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29431 (struct La_i86_retval): Likewise.
29432 (struct La_x86_64_regs): Likewise.
29433 (struct La_x86_64_retval): Likewise.
29434 (struct La_x32_regs): Likewise.
29435 (struct La_x32_retval): Likewise.
29436 (struct La_ppc32_regs): Likewise.
29437 (struct La_ppc32_retval): Likewise.
29438 (struct La_ppc64_regs): Likewise.
29439 (struct La_ppc64_retval): Likewise.
29440 (struct La_sh_regs): Likewise.
29441 (struct La_sh_retval): Likewise.
29442 (struct La_s390_32_regs): Likewise.
29443 (struct La_s390_32_retval): Likewise.
29444 (struct La_s390_64_regs): Likewise.
29445 (struct La_s390_64_retval): Likewise.
29446 (struct La_sparc32_regs): Likewise.
29447 (struct La_sparc32_retval): Likewise.
29448 (struct La_sparc64_regs): Likewise.
29449 (struct La_sparc64_retval): Likewise.
29450 (struct audit_ifaces): Remove architecture-specific pltenter and
29451 pltexit members.
29452 * sysdeps/i386/ldsodefs.h: New file.
29453 * sysdeps/powerpc/ldsodefs.h: Likewise.
29454 * sysdeps/s390/ldsodefs.h: Likewise.
29455 * sysdeps/sh/ldsodefs.h: Likewise.
29456 * sysdeps/sparc/ldsodefs.h: Likewise.
29457 * sysdeps/x86_64/ldsodefs.h: Likewise.
29458
354691b7
MP
294592012-07-25 Marek Polacek <polacek@redhat.com>
29460
29461 [BZ #6808]
29462 * math/libm-test.inc (yn_test): Add another test.
29463 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29464 to ERANGE when the result is +-Inf.
29465 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29466 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29467 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29468 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29469
bf9e2071
JM
294702012-07-24 Joseph Myers <joseph@codesourcery.com>
29471
29472 * conform/data/time.h-data (NULL): Use macro-constant. Require
29473 equal to 0.
29474 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29475 clock_t.
29476 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29477
57633811
TS
294782012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29479
29480 * configure.in <sysdeps resolving>: Correct printing
29481 Implies_before.
29482 * configure: Regenerate.
29483
c23c33b0
TS
294842012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29485
29486 * math/w_ilogb.c: Include <limits.h>.
29487 * math/w_ilogbl.c: Likewise.
29488
b5982523
JM
294892012-07-20 Joseph Myers <joseph@codesourcery.com>
29490
29491 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29492 va_copy. Document allowing for unavailable va_copy only as
29493 pre-C99 compatibility.
29494 * manual/string.texi (Copying and Concatenation): Use va_copy
29495 instead of __va_copy in concat example.
29496
ac4ea442
PT
294972012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29498
29499 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29500 (__sendto): Use create_address_port. Initialize APORT and deallocate
29501 it if not null.
29502
f98eafbd
PT
29503 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29504 with O_NOLINK passed to __file_name_lookup.
29505
898c7aab
PT
29506 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29507 with O_NOLINK passed to __file_name_lookup.
29508
0ced335a
PT
29509 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29510 negative N or less than NGIDS.
29511
b3404dbd
PT
29512 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29513 type to string_t. Set ERANGE as errno and return it if NAME is not big
29514 enough. Use memcpy instead of strncpy.
29515
0f48659e
JM
295162012-07-20 Joseph Myers <joseph@codesourcery.com>
29517
29518 * elf/Makefile (check-data): Remove.
29519 (localplt.data): New vpath directive.
29520 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29521 instead of $(check-data).
29522 * scripts/data/localplt-generic.data: Move to ...
29523 * sysdeps/generic/localplt.data: ... here.
29524 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29525 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29526 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29528 ... here.
29529 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29531 ... here.
29532 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29534 ... here.
29535 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29537 ... here.
29538 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29540 ... here.
29541 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29543 ... here.
29544
d37cbdaa
AZ
295452012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29546
29547 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29548 PPC32 and PPC64 files.
29549 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29550 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29551
46f85fc2
AK
295522012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29553
29554 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29555 __makecontext_ret to ...
29556 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29557 ... here and call exit if uc_link is NULL. New file.
29558 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29559 __makecontext_ret.S.
29560 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29561 __makecontext_ret to ...
29562 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29563 ... here and call exit if uc_link is NULL. New file.
29564 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29565 __makecontext_ret.S.
29566
08f43f9b
AK
295672012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29568
29569 * elf/elf.h (R_390_IRELATIVE): New definition.
29570 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29571 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29572 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29573 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29574 (elf_machine_lazy_rel): Likewise.
29575 * sysdeps/s390/dl-irel.h: New file.
29576 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29577 * sysdeps/s390/s390-64/memset.S: New asm code.
29578 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29579 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29580 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29581 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29582 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29583 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29584 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29585 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29586 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29587 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29588 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29589 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29590 * sysdeps/s390/s390-32/memset.S: New asm code.
29591 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29592
3b05db33
MP
295932012-07-17 Marek Polacek <polacek@redhat.com>
29594
29595 [BZ #14349]
29596 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29597 * sysdeps/s390/s390-64/configure.in: Likewise.
29598 * sysdeps/sparc/configure.in: Likewise.
29599 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29600 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29601 * sysdeps/i386/configure.in: Likewise.
29602 * sysdeps/x86_64/configure.in: Likewise.
29603 * sysdeps/sh/configure.in: Likewise.
29604 * sysdeps/s390/s390-32/configure: Regenerated.
29605 * sysdeps/s390/s390-64/configure: Likewise.
29606 * sysdeps/x86_64/configure: Likewise.
29607 * sysdeps/sh/configure: Likewise.
29608 * sysdeps/powerpc/powerpc64/configure: Likewise.
29609 * sysdeps/powerpc/powerpc32/configure: Likewise.
29610 * sysdeps/sparc/configure: Likwise.
29611 * sysdeps/i386/configure: Likewise.
29612
a66877c6
MP
29613 * elf/dl-open.c: Comment fixes.
29614
cfc82fd8
JM
296152012-07-17 Joseph Myers <joseph@codesourcery.com>
29616
bd29910a
JM
29617 * Makefile [CXX] (check-data): Remove.
29618 [CXX] (c++-types.data): New vpath directive.
29619 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29620 vpath. Do not allow for C++ type data being missing.
29621 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29622 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29623 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29624 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29625 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29626 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29627 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29629 ... here.
29630 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29632 ... here.
29633 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29635 ... here.
29636 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29638 ... here.
29639 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29641 ... here.
29642 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29644 ... here.
29645 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29647 ... here.
29648 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29650
cfc82fd8
JM
29651 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29652 definitions to architecture-specific files.
29653 (TLS_IE): Likewise.
29654 (TLS_LD): Likewise.
29655 (TLS_GD): Likewise.
29656 * sysdeps/i386/tls-macros.h: New file.
29657 * sysdeps/powerpc/tls-macros.h: Likewise.
29658 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29659 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29660 * sysdeps/sh/tls-macros.h: Likewise.
29661 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29662 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29663 * sysdeps/x86_64/tls-macros.h: Likewise.
29664
f7db3170
TS
296652012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29666
07cbfc23
TS
29667 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29668 zero value for regular exit case.
29669
f7db3170
TS
29670 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29671 (__start_context): Preserve zero value for regular exit case.
29672
dc97c227
TS
296732012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29674 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29675
29676 * manual/setjmp.texi (setcontext): Clarify normal process
29677 termination when uc_link is the null pointer.
29678 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29679 exit call.
29680
d0cd7d02
AS
296812012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29682
29683 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29684 preprocessor. Test for each exception mask separately.
29685
dd318934
AJ
296862012-07-16 Andreas Jaeger <aj@suse.de>
29687
29688 * po/ru.po: Update from translation team.
29689
8048311a
JM
296902012-07-15 Joseph Myers <joseph@codesourcery.com>
29691
29692 * conform/data/string.h-data (NULL): Use macro-constant. Require
29693 equal to 0.
29694 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29695 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29696 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29697 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29698 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29699
b637d46e
AJ
297002012-07-13 Andreas Jaeger <aj@suse.de>
29701
29702 * po/fr.po: Update from translation team.
29703
541428fe
MP
297042012-07-12 Marek Polacek <polacek@redhat.com>
29705
29706 [BZ #14173]
29707 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29708 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29709 loop condition.
29710
ec332e94
JM
297112012-07-12 Joseph Myers <joseph@codesourcery.com>
29712
29713 [BZ #13717]
29714 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29715 Change to 2.4.1 where previously 2.4.0.
29716 * sysdeps/unix/sysv/linux/configure: Regenerated.
29717 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29718 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29719 version.
29720 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29721 (__ASSUME_AT_CLKTCK): Remove.
29722 (__ASSUME_AT_PAGESIZE): Likewise.
29723 (__ASSUME_AT_XID): Likewise.
29724 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29725 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29726 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29727 unconditionally.
29728 (HAVE_AUX_PAGESIZE): Likewise.
29729 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29730 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29731 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29732
7b6e99be
JB
297332012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29734
29735 [BZ #14307]
29736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29737 the temporary buffer used to invoke __gethostbyname2_r,
29738 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29739 host_data / struct gaih_addrtuple.
29740 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29741 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29742 header file nss/nsswitch.h.
29743 * nss/nsswitch.h (global scope): Add definition of implementation
29744 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29745 resolv/nss_dns/dns-host.c).
29746
608404eb
AJ
297472012-07-11 Andreas Jaeger <aj@suse.de>
29748
29749 * po/fr.po: Update from translation team.
29750
71220aca
AJ
29751 * po/sv.po: Update from translation team
29752 * po/fr.po: Another update from translation team.
29753
28cfe843
AZ
297542012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29755
29756 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29757 for subnormals or multiply small sinh result by itself.
29758 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29760
6b90f981
DM
297612012-07-11 David S. Miller <davem@davemloft.net>
29762
29763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29764
c6825772
AS
297652012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29766
29767 [BZ #14347]
29768 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29769 (INTERNAL_MARK): Shift it here.
29770
7b8e0d49
MP
297712012-07-10 Marek Polacek <polacek@redhat.com>
29772
29773 [BZ #14151]
29774 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29775 libc_cv_asm_global_directive with .globl.
29776 * configure: Regenerated.
29777 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29778 with .globl.
29779 * sysdeps/i386/configure: Regenerated.
29780 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29781 with .globl.
29782 * sysdeps/x86_64/configure: Regenerated.
29783 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29784 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29785 * elf/tst-unique2mod2.c: Likewise.
29786 * elf/tst-unique2mod1.c: Likewise.
29787 * elf/tst-unique1mod2.c: Likewise.
29788 * elf/tst-unique1mod1.c: Likewise.
29789 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29790 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29791 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29792 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29793 * sysdeps/mach/sysdep.h: Likewise.
29794 * sysdeps/i386/sysdep.h: Likewise.
29795 * sysdeps/i386/i386-mcount.S: Likewise.
29796 * sysdeps/x86_64/_mcount.S: Likewise.
29797 * sysdeps/x86_64/sysdep.h: Likewise.
29798 * sysdeps/sh/_mcount.S: Likewise.
29799 * sysdeps/sh/sysdep.h: Likewise.
29800 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29801 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29802 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29803 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29804 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29805 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29806 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29807 * locale/localeinfo.h: Likewise.
29808 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29809 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29810
6c55cda3
RM
298112012-07-09 Roland McGrath <roland@hack.frob.com>
29812
29813 [BZ #14336]
29814 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29815 system".
29816 * manual/message.texi (The Uniforum approach): Likewise.
29817 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29818 (glibc iconv Implementation): Likewise.
29819
638a572e
JM
298202012-07-09 Joseph Myers <joseph@codesourcery.com>
29821
29822 [BZ #14337]
29823 * math/s_clog.c (__clog): Avoid scaling a value down where that
29824 could result in underflow.
29825 * math/s_clog10.c (__clog10): Likewise.
29826 * math/s_clog10f.c (__clog10f): Likewise.
29827 * math/s_clog10l.c (__clog10l): Likewise.
29828 * math/s_clogf.c (__clogf): Likewise.
29829 * math/s_clogl.c (__clogl): Likewise.
29830 * math/libm-test.inc (clog_test): Add more tests.
29831 (clog10_test): Likewise.
29832 * sysdeps/i386/fpu/libm-test-ulps: Update.
29833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29834
261f4859
AS
298352012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29836
0abaf3e4
AS
29837 [BZ #14283]
29838 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29839 by 7 not 8 to examine high bit of fractional part.
29840
261f4859
AS
29841 [BZ #14042]
29842 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29843 for call to __mcount_internal.
29844 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29845 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29846 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29847
f17ac40d
JM
298482012-07-06 Joseph Myers <joseph@codesourcery.com>
29849
9ad63c23
JM
29850 [BZ #14154]
29851 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29852 approximation for values within 0x1p-13f of an odd multiple of
29853 pi/4.
29854 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29855 exception. Add more tests.
29856 * sysdeps/i386/fpu/libm-test-ulps: Update.
29857
f17ac40d
JM
29858 [BZ #6778]
29859 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29860 inputs and return -1 for them. Do not check for +Inf in case not
29861 reachable for +Inf.
29862 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29863 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29864 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29865 and return -1 for them. Do not check for +Inf in case not
29866 reachable for +Inf.
29867 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29868 define.
29869 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29870 and return -1 for them. Do not check for +Inf in case not
29871 reachable for +Inf.
29872 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29873 spurious underflow.
29874 * sysdeps/i386/fpu/libm-test-ulps: Update.
29875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29876
fb21f89b
MF
298772012-07-06 Mike Frysinger <vapier@gentoo.org>
29878
29879 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29880
cdfe2c5e
JM
298812012-07-05 Joseph Myers <joseph@codesourcery.com>
29882
29883 [BZ #14157]
29884 [BZ #14331]
29885 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29886 could result in spurious underflow. Scale down values above
29887 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29888 * math/s_csqrtf.c (__csqrtf): Likewise.
29889 * math/s_csqrtl.c (__csqrtl): Likewise.
29890 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29891 spurious underflow.
29892 * sysdeps/i386/fpu/libm-test-ulps: Update.
29893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29894
70d35b67
AS
298952012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29896
704bc459
AS
29897 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29898 xopen-msg.sed.
29899 * catgets/xopen-msg.awk: New file.
29900 * catgets/xopen-msg.sed: Removed.
29901
70d35b67
AS
29902 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29903 po2text.sed.
29904 * intl/po2test.awk: New file.
29905 * intl/po2test.sed: Removed.
29906
ca61cf32
JM
299072012-07-04 Joseph Myers <joseph@codesourcery.com>
29908
29909 [BZ #14328]
29910 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29911 or multiply small sinh result by itself.
29912 * math/s_ctanf.c (__ctanf): Likewise.
29913 * math/s_ctanh.c (__ctanh): Likewise.
29914 * math/s_ctanhf.c (__ctanhf): Likewise.
29915 * math/s_ctanhl.c (__ctanhl): Likewise.
29916 * math/s_ctanl.c (__ctanl): Likewise.
29917 * math/libm-test.inc (ctan_test_tonearest): New function.
29918 (ctan_test_towardzero): Likewise.
29919 (ctan_test_downward): Likewise.
29920 (ctan_test_upward): Likewise.
29921 (ctanh_test_tonearest): Likewise.
29922 (ctanh_test_towardzero): Likewise.
29923 (ctanh_test_downward): Likewise.
29924 (ctanh_test_upward): Likewise.
29925 (main): Call these new functions.
29926 * sysdeps/i386/fpu/libm-test-ulps: Update.
29927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29928
ca48a46a
MF
299292012-07-03 Mike Frysinger <vapier@gentoo.org>
29930
29931 * .gitignore: Delete /ports entry.
29932
9d63d37d
AJ
299332012-07-03 Andreas Jaeger <aj@suse.de>
29934
29935 * po/bg.po: Update from translation team.
29936 * po/cs.po: Likewise.
29937 * po/de.po: Likewise.
29938 * po/hr.po: Likewise.
29939 * po/nl.pl: Likewise.
29940 * po/pl.po: Likewise.
29941 * po/vi.po: Likewise.
29942
370ca3d2
JM
299432012-07-03 Joseph Myers <joseph@codesourcery.com>
29944
95f5a9a8
JM
29945 * Makeconfig [!+link] (+link-before-libc): New variable.
29946 [!+link] (+link-after-libc): Likewise.
29947 [!+link] (+link-tests): Likewise.
29948 [!+link] (+link): Define in terms of $(+link-before-libc) and
29949 $(+link-after-libc).
29950 [!+link-static] (+link-static-before-libc): New variable.
29951 [!+link-static] (+link-static-after-libc): Likewise.
29952 [!+link-static] (+link-static-tests): Likewise.
29953 [!+link-static] (+link-static): Define in terms of
29954 $(+link-static-before-libc) and $(+link-static-after-libc).
29955 [build-shared] (link-libc-before-gnulib): New variable.
29956 [build-shared] (link-libc-tests): Likewise.
29957 [build-shared] (link-libc): Define in terms of
29958 $(link-libc-before-gnulib).
29959 [!build-shared] (link-libc-tests): New variable.
29960 (link-libc-static-tests): New variable.
29961 [!gnulib] (gnulib-arch): New variable.
29962 [!gnulib] (gnulib-tests): Likewise.
29963 [!gnulib] (static-gnulib-arch): Likewise.
29964 [!gnulib] (static-gnulib-tests): Likewise.
29965 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29966 Define with "=" instead of ":=".
29967 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29968 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29969 * Rules (binaries-all-notests): New variable.
29970 (binaries-all-tests): Likewise.
29971 (binaries-static-notests): Likewise.
29972 (binaries-static-tests): Likewise.
29973 (binaries-all): Define using $(binaries-all-notests) and
29974 $(binaries-all-tests).
29975 (binaries-static): Define using $(binaries-static-notests) and
29976 $(binaries-static-tests).
29977 (binaries-shared-tests): New variable.
29978 (binaries-shared-notests): Likewise.
29979 (binaries-shared): Remove variable.
29980 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29981 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29982 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29983 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29984 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29985 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29986 * elf/Makefile (sln-modules): New variable.
29987 (extra-objs): Add $(sln-modules:=.o).
29988 (ldconfig-modules): Add static-stubs.
29989 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29990 * elf/static-stubs.c: New file.
29991
7a845b2c
JM
29992 [BZ #14283]
29993 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29994 by 7 not 8 to examine high bit of fractional part. Use volatile
29995 variables when splitting into final array of floats if
29996 __FLT_EVAL_METHOD__ != 0.
29997 * math/libm-test.inc (cos_test): Add another test.
29998 (sin_test): Likewise.
29999 * sysdeps/i386/fpu/libm-test-ulps: Update.
30000
e2283f38
JM
30001 [BZ #14273]
30002 * math/libm-test.inc (cosh_test): Add more tests.
30003
370ca3d2
JM
30004 * version.h (RELEASE): Set to "development".
30005 (VERSION): Set to "2.16.90".
30006
ee9247c3
CD
300072012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30008
30009 * NEWS: Update copyright. Remove last-updated date.
30010 Mention math library bug fixes and timezone data changes.
30011 * README: Mention GNU/Hurd, x32, and HPPA support status.
30012
4648c381
TS
300132012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30014
30015 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30016
aac78a43
AJ
300172012-06-27 Andreas Jaeger <aj@suse.de>
30018
30019 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30020
ed3dbfad
AJ
300212012-06-25 Andreas Jaeger <aj@suse.de>
30022
30023 * sysdeps/s390/fpu/libm-test-ulps: Update.
30024
4d0ee855
AS
300252012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30026 Thomas Schwinge <thomas@codesourcery.com>
30027
30028 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30029 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30030 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30031 fanotify_mark.
30032
af1bce34
TS
300332012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30034
a9fa33ba
TS
30035 * sysdeps/mach/start.c: Remove file.
30036 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30037 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30038 * sysdeps/sh/init-first.c: Likewise.
30039
58f902b8
TS
30040 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30041 registers for frame unwinding purposes, add CFI directives.
30042 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30043 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30044 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30045 Likewise.
30046
1518f58b
TS
30047 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30048 __fortify_fail returning.
30049 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30050
db9b5059
TS
30051 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30052 sysdeps/sh/____longjmp_chk.S.
30053 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30054 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30055 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30056 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30057
967705fe
TS
30058 * sysdeps/sh/abort-instr.h: New file.
30059 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30060 process in case exit returns.
30061
a9def8c4
TS
30062 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30063 initialize the GOT register before use.
30064
2a649725
TS
30065 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30066 calculation of ARGC > 4.
30067
af1bce34
TS
30068 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30069 meaningful names to some local labels.
30070
d230f50a
KK
300712012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30072 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30073
30074 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30075 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30076 (__arch_compare_and_exchange_val_16_acq): Likewise.
30077 (__arch_compare_and_exchange_val_32_acq): Likewise.
30078 (atomic_exchange_and_add): Fix gUSA sequence.
30079 (atomic_add): Likewise.
30080 (atomic_add_negative): Likewise.
30081 (atomic_add_zero): Likewise.
30082 (atomic_bit_test_set): Likewise.
30083
0479b305
AS
300842012-06-22 Andreas Schwab <schwab@redhat.com>
30085
30086 [BZ #13579]
30087 * include/link.h (struct link_map): Add l_free_initfini.
30088 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30089 l_initfini.
30090 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30091 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30092 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30093 set.
30094
0e3933b9
CD
300952012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30096
30097 * configure.in: Use AC_LANG_SOURCE.
30098 * configure: Regenerate.
30099
4248b1b1
RM
301002012-06-22 Roland McGrath <roland@hack.frob.com>
30101
30102 * configure.in (libc_cv_localstatedir): New substituted variable.
30103 * configure: Regenerated.
30104 * config.make.in (localstatedir): New variable, substituted from
30105 libc_cv_localstatedir.
30106 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30107 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30108 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30109 * sysdeps/gnu/configure: Regenerated.
30110
006dd861
JL
301112012-06-21 Jeff Law <law@redhat.com>
30112
30113 [BZ #14277]
30114 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30115 free. Simplify list management for _LIBC case.
30116
79662d42
JM
301172012-06-21 Joseph Myers <joseph@codesourcery.com>
30118
b7abb4bf
JM
30119 [BZ #14273]
30120 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30121 Clear sign bit of 64-bit integer value before comparing against
30122 overflow value.
30123
79662d42
JM
30124 * sysdeps/mach/configure: Regenerated.
30125
1f150908
L
301262012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30127
30128 [BZ #14278]
30129 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30130
28363bbf
JL
301312012-06-21 Jeff Law <law@redhat.com>
30132
30133 [BZ #13882]
30134 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30135 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 30136 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
30137 * elf/dl-open.c (dl_open_worker): Likewise.
30138
09615db4
CD
301392012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30140
30141 * scripts/list-sources.sh: Scan PORTS for translations.
30142 * po/libc.pot: Regenerated.
30143
2174c6dd
AJ
301442012-06-21 Andreas Jaeger <aj@suse.de>
30145
30146 [BZ #12194]
30147 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30148 warning.
30149 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30150 * bits/byteswap-16.h (__bswap_16): Likewise.
30151 * bits/byteswap.h (__bswap_constant_16): Likewise.
30152
3ee947b1
L
301532012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30154
30155 [BZ #14117]
a2f34833
L
30156 * sysdeps/i386/fpu_control.h: Removed.
30157 * sysdeps/x86_64/fpu_control.h: Moved to ...
30158 * sysdeps/x86/fpu_control.h: Here.
30159
3ee947b1
L
30160 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30161 (_FPU_SETCW): Likewise.
30162
ed1825f8
L
301632012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30164
25f1282a
L
30165 [BZ #14117]
30166 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30167 * sysdeps/x86/fpu/bits/mathinline.h: This.
30168 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30169
ed1825f8
L
30170 [BZ #14050]
30171 [BZ #14117]
30172 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30173 functions if __x86_64__ is defined.
30174
36d54b74
CLT
301752012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30176
30177 * string/endian.h: Add !__ASSEMBLER__ condition for including
30178 conversion interfaces.
30179
10285c21
JM
301802012-06-15 Joseph Myers <joseph@codesourcery.com>
30181
30182 [BZ #14241]
30183 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30184 of ABS(x) in calculating zero to negative powers other than odd
30185 integers.
30186 * math/libm-test.inc (pow_test): Add more tests.
30187
06c5abbd
AJ
301882012-06-15 Andreas Jaeger <aj@suse.de>
30189
30190 * manual/contrib.texi (Contributors): Update entry of Liubov
30191 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30192 Machado Filho.
30193
a3aeac40
CH
301942012-06-15 Cyril Hrubis <metan@ucw.cz>
30195
30196 * string/string.h: Add __wur to GNU version of strerror_r.
30197
49bdf4c1
L
301982012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30199
30200 [BZ #14229]
30201 * string/Makefile (tests): Add tst-strtok_r.
30202 * string/tst-strtok_r.c: New file.
30203 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30204 RAX_LP/RDX_LP on SAVE_PTR.
30205
834f9b8d
RM
302062012-06-14 Roland McGrath <roland@hack.frob.com>
30207
30208 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30209
75fa1921
JM
302102012-06-14 Joseph Myers <joseph@codesourcery.com>
30211
30212 * libm_test.inc (csqrt_test): Allow more spurious underflow
30213 exceptions.
30214 (j0_test): Likewise.
30215 (j1_test): Likewise.
30216 (y0_test): Likewise.
30217 (y1_test): Likewise.
30218
771766df
CD
302192012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30220
30221 * po/Makefile (libc.pot): Use UTF-8 charset.
30222
ceb9e56b
PP
302232012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30224
30225 [BZ #14210]
30226 Suppress sign-conversion warning from FD_SET.
30227 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30228 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30229 not unsigned long int.
30230 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30231
ddb28975
L
302322012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30233
30234 [BZ #14050]
30235 [BZ #14117]
30236 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30237 __extern_always_inline instead of __extern_inline.
30238 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30239 (__signbit): Likewise.
30240 (__signbitl): Support C++ namespace.
30241 (lrintf): New inline function.
30242 (lrint): Likewise.
30243 (llrintf): Likewise.
30244 (llrint): Likewise.
30245 (fmaxf): Likewise.
30246 (fmax): Likewise.
30247 (fminf): Likewise.
30248 (fmin): Likewise.
30249 (rint): Likewise.
30250 (rintf): Likewise.
30251 (ceil): Likewise.
30252 (ceilf): Likewise.
30253 (floor): Likewise.
30254 (floorf): Likewise.
30255 (nearbyint): Likewise.
30256 (nearbyintf): Likewise.
30257
d7b4fb26
TS
302582012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30259
30260 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30261 non-default versions.
30262
eb55f5c2
RM
302632012-06-11 Roland McGrath <roland@hack.frob.com>
30264
30265 [BZ #14218]
30266 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30267
366af02c
TS
302682012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30269
99ff6e5c
TS
30270 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30271 (FE_UPWARD, FE_DOWNWARD): Don't define.
30272 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30273 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30274
366af02c
TS
30275 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30276 reading it.
30277 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30278 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30279
793ea851
KK
302802012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30281
30282 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30283 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30284 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30285 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30286
a728a38f
L
302872012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30288
30289 [BZ #14117]
c08010c7
L
30290 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30291 * sysdeps/i386/fpu/Implies: New file.
30292 * sysdeps/x86_64/fpu/Implies: Likewise.
30293 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30294 * sysdeps/x86/fpu/bits/fenv.h: This.
30295
a728a38f
L
30296 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30297 __SSE_MATH__.
30298
6e230d11
SP
302992012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30300
30301 [BZ #14134]
30302 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30303 character 0xffff that matches the last element of the
30304 conversion table.
30305
1b671feb
AZ
303062012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30307
30308 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30309 fmodl commit.
30310
6043738b
AZ
303112012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30312
30313 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30314 values higher than 25.6283.
30315
34ae0b32
AZ
303162012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30317
30318 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30319 subnormal exponent extraction and add some __builtin_expect.
30320 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30321 Fix for subnormal mantissa calculation.
30322
1214ec8f
MF
303232012-06-04 Mike Frysinger <vapier@gentoo.org>
30324
30325 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30326 cpu2 is -1 and errno is not ENOSYS.
30327
f3d1f93c
L
303282012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30329
30330 [BZ #14117]
0e4a3cd7
L
30331 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30332 * sysdeps/x86/bits/string.h: This.
30333 * sysdeps/x86_64/bits/string.h: Removed.
30334
6704c645
L
30335 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30336 if not compiling for x86-64, but compiling for >= i486.
30337
48495318
L
30338 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30339 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30340
14adcbfc
L
30341 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30342 New macro from Linux kernel 3.4.0.
30343 (FP_XSTATE_MAGIC2): Likewise.
30344 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30345 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30346 (struct _fpx_sw_bytes): New struct.
30347 (struct _xsave_hdr): Likewise.
30348 (struct _ymmh_state): Likewise.
30349 (struct _xstate): Likewise.
30350
68e408ab
L
30351 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30352 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30353 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30354 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30355 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30356 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30357
f3d1f93c
L
30358 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30359 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30360 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30361 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30362 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30363 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30364
d9dc34cd
TMQMF
303652012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30366
30367 [BZ #13743]
30368 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30369 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30370 (sysdep_headers): Include sys/platform/ppc.h.
30371 * sysdeps/powerpc/test-gettimebase.c: Test for
30372 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30373 * manual/Makefile (appendices): Include platform.texi.
30374 * manual/contrib.texi (Contributors): Update @node pointers.
30375 * manual/maint.texi (Maintenance): Likewise.
30376 (Platform): New node.
30377 * manual/platform.texi: New file. Document the new features.
30378
4af3879c
SP
303792012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30380 Jakub Jelinek <jakub@redhat.com>
30381
30382 [BZ #14188]
30383 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30384 where __builtin_expect is unavailable.
30385
2fd6ff13
DM
303862012-06-03 David S. Miller <davem@davemloft.net>
30387
30388 * stdlib/longlong.h: Updated from GCC.
30389
173f7220
AS
303902012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30391
30392 [BZ #14042]
30393 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30394 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30395 __mcount_internal.
30396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30397 (GLIBC_2.16): Likewise.
30398
f34a1c6f
L
303992012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30400
30401 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30402
88a4576f
JM
304032012-06-01 Joseph Myers <joseph@codesourcery.com>
30404
ea32bcdd
JM
30405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30406 (default-abi): New variable.
30407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30408 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30409 variable.
30410 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30411 Likewise.
30412 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30413 Likewise.
30414 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30415 Likewise.
30416
88a4576f
JM
30417 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30418 definition. Document in comment.
30419
402fe938
DM
304202012-06-01 David S. Miller <davem@davemloft.net>
30421
30422 * stdlib/longlong.h: Updated from GCC.
30423
3553723f
L
304242012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30425
30426 [BZ #14117]
3bd872c4
L
30427 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30428 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30429 sys/debugreg.h sys/io.h here.
30430 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30431 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30432 sys/io.h.
30433 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30434 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30435 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30436 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30437 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30438 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30439
3553723f
L
30440 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30441 Define only if __x86_64__ is defined.
30442
4842e4fe
JM
304432012-06-01 Joseph Myers <joseph@codesourcery.com>
30444
c5bfe3d5
JM
30445 [BZ #14048]
30446 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30447 Use int64_t for variable i.
30448 * math/libm-test.inc (fmod_test): Add more tests.
30449
4842e4fe
JM
30450 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30451 z computation is not scheduled after fetestexcept.
30452 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30453 Use math_force_eval instead of asm to ensure calculation scheduled
30454 before exception test.
30455 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30456 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30457
efb73488
AJ
304582012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30459
30460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30461 computation is not scheduled after fetestexcept.
30462
29bcce7c
L
304632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30464
30465 [BZ #14117]
30466 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30467 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30468
73a68f94
AZ
304692012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30470
30471 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30472 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30473
67b6df78
L
304742012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30475
edf2933a 30476 [BZ #14117]
ebc64a18
L
30477 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30478 <bits/wordsize.h>.
30479 (__WCHAR_MIN): Support __WORDSIZE == 64.
30480 (__WCHAR_MAX): Likewise.
30481
edf2933a
L
30482 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30483 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30484
57c6cf40
L
30485 [BZ #14183]
30486 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30487 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30488
67b6df78 30489 [BZ #14117]
8eb6281e
L
30490 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30491 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30492
aac639f4
L
30493 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30494 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30495
67b6df78
L
30496 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30497 Defined to 1 if __x86_64__ isn't defined.
30498 (_STAT_VER_LINUX_OLD): New.
30499 (st_atime): Remove duplicate.
30500 (st_mtime): Likewise.
30501 (st_ctime): Likewise.
30502
1c2cfe81
DM
305032012-05-31 David S. Miller <davem@davemloft.net>
30504
30505 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30506 entries.
30507
5be8418c
AS
305082012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30509
e7725326
AS
30510 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30511 gen-libm-test.pl.
30512
5be8418c
AS
30513 [BZ #14132]
30514 * elf/dl-reloc.c: Include <_itoa.h>.
30515 (_dl_reloc_bad_type): Remove use of INTUSE.
30516 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30517 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30518 * stdio-common/psiginfo.c (psiginfo): Likewise.
30519 * stdio-common/psignal.c (psignal): Likewise.
30520 * string/strsignal.c (strsignal): Likewise.
30521 * include/signal.h (_sys_siglist): Declare hidden proto.
30522 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30523 INTVARDEF with libc_hidden_data_def.
30524 * stdio-common/itoa-udigits.c: Likewise.
30525 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30526 (_itoa_lower_digits_internal): Remove declaration.
30527 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30528 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30529 (_sys_sigabbrev_internal): Remove aliases.
30530 (_sys_siglist): Define hidden alias.
30531
507352f1
MT
305322012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30533
30534 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30535 bits/sysctl.h.
30536
42bbb1c3
L
305372012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30538
30539 [BZ #14117]
6bd784b6
L
30540 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30541 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30542
8bca20f0
L
30543 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30544 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30545 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30546 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30547 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30548 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30549
f9e890a9
L
30550 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30551 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30552 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30553
471101a1
L
30554 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30555 with __addr.
30556 (insw): Likewise.
30557 (insl): Likewise.
30558 (outsb): Likewise.
30559 (outsw): Likewise.
30560 (outsl): Likewise.
30561
6451c862
L
30562 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30563 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30564 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30565
a254b8c9
L
30566 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30567 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30568 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30569 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30570 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30571 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30572
b8dfdd92
L
30573 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30574 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30575
578cd270
L
30576 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30577 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30578
de662f5f
L
30579 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30580 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30581 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30582
25653439
L
30583 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30584 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30585 to ...
30586 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30587
6bad24a0
L
30588 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30589 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30590 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30591
42bbb1c3
L
30592 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30593 for x86-64.
30594 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30595
2d10d547
JM
305962012-05-31 Joseph Myers <joseph@codesourcery.com>
30597
30598 * math/math.h (M_El): Use two more decimal places.
30599 (M_LOG2El): Likewise.
30600 (M_LOG10El): Likewise.
30601 (M_LN2l): Likewise.
30602 (M_LN10l): Likewise.
30603 (M_PIl): Likewise.
30604 (M_PI_2l): Likewise.
30605 (M_PI_4l): Likewise.
30606 (M_1_PIl): Likewise.
30607 (M_2_PIl): Likewise.
30608 (M_2_SQRTPIl): Likewise.
30609 (M_SQRT2l): Likewise.
30610 (M_SQRT1_2l): Likewise.
30611
f230c29b
DM
306122012-05-31 David S. Miller <davem@davemloft.net>
30613
30614 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30615 values between float registers.
30616 * sysdeps/sparc/sparc64/memset.S: Likewise.
30617 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30618
fed806c3
MF
306192012-05-31 Mike Frysinger <vapier@gentoo.org>
30620
30621 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30622 -D_FORTIFY_SOURCE=1.
30623 (CPPFLAGS-tst-longjmp_chk.c): Define.
30624 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30625 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30626 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30627 CFLAGS-tst-wchar-h.c.
30628
30917259
MP
306292012-05-31 Marek Polacek <polacek@redhat.com>
30630
30631 [BZ #14132]
30632 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30633 __endmntent_internal): Remove declaration.
30634 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30635 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30636 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30637
1c58d5dc
DM
306382012-05-30 David S. Miller <davem@davemloft.net>
30639
30640 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30641 (___Q_simulate_exceptions): Use real FP ops rather than writing
30642 into the %fsr.
30643 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30644 Likewise.
30645
7dc00e0d
L
306462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30647
30648 [BZ #14117]
0bd53985
L
30649 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30650 * sysdeps/x86/bits/xtitypes.h: This.
30651
3a257e66
L
30652 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30653 * sysdeps/x86/bits/wordsize.h: This.
30654
62f62904
L
30655 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30656 * sysdeps/x86/bits/huge_vall.h: This.
30657
404fe9d9
L
30658 * sysdeps/i386/bits/select.h: Removed.
30659 * sysdeps/x86_64/bits/select.h: Renamed to ...
30660 * sysdeps/x86/bits/select.h: This.
30661
d48d0446
L
30662 * sysdeps/i386/bits/setjmp.h: Removed.
30663 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30664 * sysdeps/x86/bits/setjmp.h: This.
30665
7dc00e0d
L
30666 * sysdeps/i386/bits/mathdef.h: Removed.
30667 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30668 * sysdeps/x86/bits/mathdef.h: This.
30669
03277f8f
AS
306702012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30671
30672 [BZ #14132]
30673 * include/sys/socket.h (__connect_internal)
30674 (__libc_sa_len_internal): Remove declaration.
30675 (__connect, __libc_sa_len): Declare hidden_proto.
30676 (SA_LEN): Remove use of INTUSE.
30677 * socket/connect.c: Add libc_hidden_def.
30678 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30679 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30680 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30681 alias.
30682 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30683 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30684 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30685 of adding _internal alias.
30686
13764867
L
306872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30688
30689 [BZ #14117]
6bd97696
L
30690 * sysdeps/i386/bits/link.h: Removed.
30691 * sysdeps/i386/bits/linkmap.h: Likewise.
30692 * sysdeps/x86_64/bits/link.h: Renamed to ...
30693 * sysdeps/x86/bits/link.h: This.
30694 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30695 * sysdeps/x86/bits/linkmap.h: This.
30696
f726f0bb
L
30697 * sysdeps/i386/bits/endian.h: Removed.
30698 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30699 * sysdeps/x86/bits/endian.h: This.
30700
13764867
L
30701 * sysdeps/i386/bits/byteswap.h: Removed.
30702 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30703 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30704 * sysdeps/x86/bits/byteswap.h: This.
30705 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30706 * sysdeps/x86/bits/byteswap-16.h: This.
30707 * sysdeps/i386/Implies: Add x86.
30708 * sysdeps/x86_64/Implies: Likewise.
30709
ae251b0b
DM
307102012-05-30 David S. Miller <davem@davemloft.net>
30711
30712 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30713 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30714 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30715 (FP_TRAPPING_EXCEPTIONS): Define.
30716 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30717 (FP_TRAPPING_EXCEPTIONS): Define.
30718 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30719 subnormals only when inexact has been signalled or underflow
30720 exceptions are enabled.
30721 (_FP_PACK_CANONICAL): Likewise.
30722
d5c90867
L
307232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30724
30725 [BZ #14183]
30726 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30727 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30728
63f1549e
RH
307292012-05-30 Richard Henderson <rth@twiddle.net>
30730
8d8f2279
RH
30731 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30732 with #ifndef NOT_IN_libc.
30733
63f1549e
RH
30734 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30735 marked to avoid plt entry.
30736
0ab0291b
L
307372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30738
30739 [BZ #14112]
30740 * Makeconfig (default-abi): New macro.
30741 (abi-includes): Likewise.
30742 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30743 $(abi-$(default-abi)-lib-soname) for soname if defined.
30744 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30745 abi-variants.
30746 * Makefile (installed-stubs): Likewise.
30747 * include/stubs-biarch.h: Removed.
30748 * scripts/lib-names.awk: Only handle one library at a time.
30749 * scripts/soversions.awk: Remove WORDSIZE support.
30750 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30751 entries.
30752 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30753 Removed.
30754 (syscall-list-default-condition): Likewise.
30755 (syscall-list-default-condition): Likewise.
30756 (syscall-list-includes): Likewise.
30757 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30758 syscall-list-* with abi-*. Handle undefined abi-variants.
30759 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30760 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30761 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30762 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30763 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30764 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30765 Removed.
30766 (syscall-list-32-options): Likewise.
30767 (syscall-list-32-condition): Likewise.
30768 (syscall-list-64-options): Likewise.
30769 (syscall-list-64-condition): Likewise.
30770 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30771 macro.
30772 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30773 Renamed to ...
30774 (abi-*): This.
30775 (abi-64-ld-soname): New macro.
30776 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30777 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30778 Renamed to ...
30779 (abi-*): This.
30780 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30781 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30782
4da0431d
JM
307832012-05-30 Joseph Myers <joseph@codesourcery.com>
30784
3a85279c
JM
30785 * sysdeps/unix/sysv/linux/kernel-features.h
30786 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30787 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30788 include <kernel-features.h>.
30789 [!__NR_ftruncate64]: Remove conditional code.
30790 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30791 [__NR_ftruncate64]: Make code unconditional.
30792 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30793 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30794 include <kernel-features.h>.
30795 [!__NR_ftruncate64]: Remove conditional code.
30796 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30797 [__NR_ftruncate64]: Make code unconditional.
30798 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30800 include <kernel-features.h>.
30801 [!__NR_ftruncate64]: Remove conditional code.
30802 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30803 [__NR_ftruncate64]: Make code unconditional.
30804 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30806 include <kernel-features.h>.
30807 [!__NR_ftruncate64]: Remove conditional code.
30808 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30809 [__NR_ftruncate64]: Make code unconditional.
30810 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30811
4da0431d
JM
30812 * configure.in (libc_cv_fpie): Weaken to a compile test using
30813 LIBC_TRY_CC_OPTION.
30814 * configure: Regenerated.
30815
11ef492c
AK
308162012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30817
30818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30822 Refreshed.
30823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30829 Refreshed.
30830
d66ef399
DM
308312012-05-27 David S. Miller <davem@davemloft.net>
30832
30833 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30834 (___Q_zero): New.
30835 (__Q_simulate_exceptions): Return void. Change to simulate
30836 exceptions by writing into the %fsr.
30837 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30838 (__Qp_handle_exceptions): Likewise.
30839 (numbers): Delete.
30840 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30841 __Qp_handle_exceptions.
30842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30843 __Qp_handle_exceptions.
30844 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30845 as unused and give dummy FP_RND_NEAREST initializer.
30846 (FP_INHIBIT_RESULTS): Define.
30847 (___Q_simulate_exceptions): Update declaration.
30848 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30849 formatting.
30850 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30851 as unused and give dummy FP_RND_NEAREST initializer.
30852 (__Qp_handle_exceptions): Update declaration.
30853 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30854 formatting.
30855
04fb54b5
TS
308562012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30857
30858 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30859 the temporary FPU control word.
30860 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30861 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30862 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30863 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30864 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30865 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30866 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30867 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30868 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30869 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30870 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30871
3f99608f
KK
308722012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30873
30874 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30875 fields.
30876
65a4de4e
CLT
308772012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30878
30879 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30880 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30881 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30882 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30883 Likewise.
30884 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30885 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30886 Likewise.
30887
15749d40
UD
308882012-05-27 Ulrich Drepper <drepper@gmail.com>
30889
30890 * po/h.po: Update from translation team.
30891
25dbcb27
AS
308922012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30893
3d3f8e55
AS
30894 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30895
25dbcb27
AS
30896 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30897 handling of denormals.
30898 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30899 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30900 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30901 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30902 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30903 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30904 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30905 Likewise.
30906
7ad47a80 309072012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
30908
30909 [BZ #14152]
30910 * math/libm-test.inc (fma_test): Don't always expect underflow
30911 exception.
30912
9c6ea9fa
SP
309132012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30914
30915 [BZ #12416]
30916 * elf/tst-execstack.c: Include stackinfo.h.
30917 (do_test): Adjust test case to ensure that pthread_getattr_np
30918 behaviour remains the same after marking stack executable.
30919
a8239222
JM
309202012-05-25 Joseph Myers <joseph@codesourcery.com>
30921
30922 * sysdeps/unix/sysv/linux/kernel-features.h
30923 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30924 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30925 kernel-features.h.
30926 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30927 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30928 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30929 kernel-features.h.
30930 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30931 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30932
918b5606
L
309332012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30934
30935 * configure.in: Define the default includes to being none.
30936 * configure: Regenerated.
30937
3a097cc7
RM
309382012-05-25 Roland McGrath <roland@hack.frob.com>
30939
8422c9a5
RM
30940 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30941 * sysdeps/x86_64/setjmp.S: Likewise.
30942 * sysdeps/i386/bsd-setjmp.S: Likewise.
30943 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30944 * sysdeps/i386/setjmp.S: Likewise.
30945 * sysdeps/i386/__longjmp.S: Likewise.
30946 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30947 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30948
3a097cc7
RM
30949 * include/stap-probe.h: New file.
30950 * configure.in: Handle --enable-systemtap.
30951 * configure: Regenerated.
30952 * config.h.in (USE_STAP_PROBE): New #undef.
30953 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30954 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30955 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30956
21708942
JM
309572012-05-25 Joseph Myers <joseph@codesourcery.com>
30958
30959 [BZ #13717]
30960 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30961 to 2.4.0 where earlier.
30962 * sysdeps/unix/sysv/linux/configure: Regenerated.
30963 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30964 <kernel-features.h>.
30965 [__ASSUME_32BITUIDS]: Make code unconditional.
30966 [!__ASSUME_32BITUIDS]: Remove conditional code.
30967 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30968 <kernel-features.h>.
30969 [__ASSUME_32BITUIDS]: Make code unconditional.
30970 [!__ASSUME_32BITUIDS]: Remove conditional code.
30971 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30972 [__ASSUME_32BITUIDS]: Make code unconditional.
30973 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30974 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30975 <kernel-features.h>.
30976 [__ASSUME_32BITUIDS]: Make code unconditional.
30977 [!__ASSUME_32BITUIDS]: Remove conditional code.
30978 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30979 <kernel-features.h>.
30980 [__ASSUME_32BITUIDS]: Make code unconditional.
30981 [!__ASSUME_32BITUIDS]: Remove conditional code.
30982 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30983 <kernel-features.h>.
30984 [__ASSUME_32BITUIDS]: Make code unconditional.
30985 [!__ASSUME_32BITUIDS]: Remove conditional code.
30986 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30987 <kernel-features.h>.
30988 [__ASSUME_32BITUIDS]: Make code unconditional.
30989 [!__ASSUME_32BITUIDS]: Remove conditional code.
30990 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30991 <kernel-features.h>.
30992 [__ASSUME_32BITUIDS]: Make code unconditional.
30993 [!__ASSUME_32BITUIDS]: Remove conditional code.
30994 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30995 <kernel-features.h>.
30996 [__ASSUME_32BITUIDS]: Make code unconditional.
30997 [!__ASSUME_32BITUIDS]: Remove conditional code.
30998 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30999 <kernel-features.h>.
31000 [__ASSUME_32BITUIDS]: Make code unconditional.
31001 [!__ASSUME_32BITUIDS]: Remove conditional code.
31002 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31003 <kernel-features.h>.
31004 [__ASSUME_32BITUIDS]: Make code unconditional.
31005 [!__ASSUME_32BITUIDS]: Remove conditional code.
31006 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31007 <kernel-features.h>.
31008 [__ASSUME_32BITUIDS]: Make code unconditional.
31009 [!__ASSUME_32BITUIDS]: Remove conditional code.
31010 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31011 <kernel-features.h>.
31012 [__ASSUME_32BITUIDS]: Make code unconditional.
31013 [!__ASSUME_32BITUIDS]: Remove conditional code.
31014 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31015 <kernel-features.h>.
31016 [__NR_setresgid] (__setresgid): Do not declare.
31017 [__ASSUME_32BITUIDS]: Make code unconditional.
31018 [!__ASSUME_32BITUIDS]: Remove conditional code.
31019 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31020 <kernel-features.h>.
31021 [__NR_setresuid] (__setresuid): Do not declare.
31022 [__ASSUME_32BITUIDS]: Make code unconditional.
31023 [!__ASSUME_32BITUIDS]: Remove conditional code.
31024 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31025 <kernel-features.h>.
31026 [__ASSUME_32BITUIDS]: Make code unconditional.
31027 [!__ASSUME_32BITUIDS]: Remove conditional code.
31028 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31029 <kernel-features.h>.
31030 [__ASSUME_32BITUIDS]: Make code unconditional.
31031 [!__ASSUME_32BITUIDS]: Remove conditional code.
31032 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31033 <kernel-features.h>.
31034 [__ASSUME_32BITUIDS]: Make code unconditional.
31035 [!__ASSUME_32BITUIDS]: Remove conditional code.
31036 * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
31065 (__ASSUME_SETRESUID_SYSCALL): Remove.
31066 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31067 (__ASSUME_32BITUIDS): Likewise.
31068 (__ASSUME_LDT_WORKS): Likewise.
31069 (__ASSUME_O_DIRECTORY): Likewise.
31070 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31071 architecture but not kernel version.
31072 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31073 (__ASSUME_MMAP2_SYSCALL): Likewise.
31074 (__ASSUME_STAT64_SYSCALL): Likewise.
31075 (__ASSUME_IPC64): Likewise.
31076 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31077 <kernel-features.h>.
31078 [__ASSUME_32BITUIDS]: Make code unconditional.
31079 [!__ASSUME_32BITUIDS]: Remove conditional code.
31080 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31081 <kernel-features.h>.
31082 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31083 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31084 132096]: Remove conditional code.
31085 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31086 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
31095 <kernel-features.h>.
31096 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31097 unconditional.
31098 (__setresgid): Do not declare.
31099 [__ASSUME_32BITUIDS]: Make code unconditional.
31100 [!__ASSUME_32BITUIDS]: Remove conditional code.
31101 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31102 <kernel-features.h>.
31103 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31104 unconditional.
31105 (__setresuid): Do not declare.
31106 [__ASSUME_32BITUIDS]: Make code unconditional.
31107 [!__ASSUME_32BITUIDS]: Remove conditional code.
31108 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31109 <kernel-features.h>.
31110 [__ASSUME_32BITUIDS]: Make code unconditional.
31111 [!__ASSUME_32BITUIDS]: Remove conditional code.
31112 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31113 <kernel-features.h>.
31114 [__ASSUME_32BITUIDS]: Make code unconditional.
31115 [!__ASSUME_32BITUIDS]: Remove conditional code.
31116
a386f1cc
RH
311172012-05-25 Richard Henderson <rth@twiddle.net>
31118
31119 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31120 dl_hwcap to ifunc resolver.
31121 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31122 elf_ifunc_invoke.
31123 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31124 dl_hwcap to ifunc resolver.
31125 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31126
b6550497
JM
311272012-05-24 Joseph Myers <joseph@codesourcery.com>
31128
31129 [BZ #14153]
31130 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31131 for |x| <= 2**-26, not 2**-57.
31132 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31133 exception.
31134
b0bc23a1
JL
311352012-05-24 Jeff Law <law@redhat.com>
31136
31137 * stdio-common/Makefile (tests): Add bug25.
31138 * stdio-common/bug25.c: New test.
31139
347c92e9
L
311402012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31141
31142 [BZ #13576]
31143 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31144 multiple of MALLOC_ALIGNMENT in size.
31145 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31146
6bcc8b3f
JM
311472012-05-24 Joseph Myers <joseph@codesourcery.com>
31148
31149 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31150 Require >= 256.
31151 (FILENAME_MAX): Use macro-int-constant.
31152 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31153 (_IOFBF): Use macro-int-constant.
31154 (_IOLBF): Likewise.
31155 (_IONBF): Likewise.
31156 (SEEK_CUR): Likewise.
31157 (SEEK_END): Likewise.
31158 (SEEK_SET): Likewise.
31159 (TMP_MAX): Likewise.
31160 (EOF): Use macro-int-constant. Require < 0.
31161 (NULL): Use macro-constant. Require == 0.
31162 (stdin): Require type to be FILE *.
31163 (stdout): Likewise.
31164 (stderr): Likewise.
31165 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31166 macro-int-constant.
31167 (EXIT_SUCCESS): Likewise.
31168 (NULL): Use macro-constant. Require == 0.
31169 (RAND_MAX): Use macro-int-constant.
31170 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31171 [C99-based standards] (strtof): Require function.
31172 [C99-based standards] (strtold): Likewise.
31173 [C99-based standards] (strtoll): Likewise.
31174 [C99-based standards] (strtoull): Likewise.
31175 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31176 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31177 [ISO || ISO99 || ISO11] (math.h): Likewise.
31178 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31179 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31180 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31181
d18ea0c5
AS
311822012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31183
31184 [BZ #14132]
56d25bb8
AS
31185 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31186 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31187 * intl/dgettext.c (DCGETTEXT): Likewise.
31188 * intl/gettext.c (DCGETTEXT): Likewise.
31189 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31190 * posix/regex_internal.h (gettext): Likewise.
31191 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31192 Remove declaration.
31193 * include/argz.h (__argz_count_internal)
31194 (__argz_stringify_internal): Remove declaration.
31195 (__argz_count, __argz_stringify): Declare hidden proto.
31196 * intl/dcgettext.c: Remove use of INTDEF.
31197 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31198 * string/argz-stringify.c: Likewise.
31199 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31200 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31201 Declare hidden proto.
d18ea0c5
AS
31202 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31203 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31204 Declare hidden proto.
31205 * include/stdio.h (__asprintf_internal): Don't declare.
31206 (__asprintf): Don't define as macro. Declare hidden proto.
31207 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31208 (__fsetlocking): Declare hidden proto.
31209 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31210 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31211 hidden proto.
31212 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31213 (_IO_setlinebuf): Remove use of INTUSE.
31214 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31215 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31216 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31217 Remove declaration.
31218 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31219 (_IO_do_flush): Remove use of INTUSE.
31220 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31221 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31222 (_IO_adjust_column, _IO_least_wmarker)
31223 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31224 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31225 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31226 (_IO_default_doallocate, _IO_wdefault_doallocate)
31227 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31228 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31229 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31230 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31231 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31232 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31233 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31234 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31235 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31236 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31237 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31238 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31239 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31240 proto.
31241 (_IO_flush_all_internal, _IO_adjust_column_internal)
31242 (_IO_default_uflow_internal, _IO_default_finish_internal)
31243 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31244 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31245 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31246 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31247 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31248 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31249 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31250 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31251 (_IO_file_close_internal, _IO_file_close_it_internal)
31252 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31253 (_IO_file_init_internal, _IO_file_attach_internal)
31254 (_IO_file_fopen_internal, _IO_file_read_internal)
31255 (_IO_file_sync_internal, _IO_file_seek_internal)
31256 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31257 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31258 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31259 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31260 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31261 (_IO_list_all_internal, _IO_link_in_internal)
31262 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31263 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31264 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31265 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31266 (_IO_do_write_internal, _IO_padn_internal)
31267 (_IO_getline_info_internal, _IO_getline_internal)
31268 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31269 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31270 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31271 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31272 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31273 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31274 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31275 with libc_hidden_ver, remove use of INTUSE.
31276 * libio/genops.c: Likewise.
31277 * libio/freopen.c: Likewise.
31278 * libio/freopen64.c: Likewise.
31279 * libio/iofclose.c: Likewise.
31280 * libio/iofdopen.c: Likewise.
31281 * libio/iofflush.c: Likewise.
31282 * libio/iofflush_u.c: Likewise.
31283 * libio/iofgets.c: Likewise.
31284 * libio/iofgets_u.c: Likewise.
31285 * libio/iofopen.c: Likewise.
31286 * libio/iofopncook.c: Likewise.
31287 * libio/iofread.c: Likewise.
31288 * libio/iofread_u.c: Likewise.
31289 * libio/ioftell.c: Likewise.
31290 * libio/iofwrite.c: Likewise.
31291 * libio/iogetline.c: Likewise.
31292 * libio/iogets.c: Likewise.
31293 * libio/iogetwline.c: Likewise.
31294 * libio/iopadn.c: Likewise.
31295 * libio/iopopen.c: Likewise.
31296 * libio/ioseekoff.c: Likewise.
31297 * libio/ioseekpos.c: Likewise.
31298 * libio/iosetbuffer.c: Likewise.
31299 * libio/iosetvbuf.c: Likewise.
31300 * libio/ioungetc.c: Likewise.
31301 * libio/ioungetwc.c: Likewise.
31302 * libio/iovdprintf.c: Likewise.
31303 * libio/iovsprintf.c: Likewise.
31304 * libio/iovsscanf.c: Likewise.
31305 * libio/memstream.c: Likewise.
31306 * libio/obprintf.c: Likewise.
31307 * libio/oldfileops.c: Likewise.
31308 * libio/oldiofclose.c: Likewise.
31309 * libio/oldiofdopen.c: Likewise.
31310 * libio/oldiofopen.c: Likewise.
31311 * libio/oldiopopen.c: Likewise.
31312 * libio/oldstdfiles.c: Likewise.
31313 * libio/putc.c: Likewise.
31314 * libio/setbuf.c: Likewise.
31315 * libio/setlinebuf.c: Likewise.
31316 * libio/stdfiles.c: Likewise.
31317 * libio/strops.c: Likewise.
31318 * libio/vasprintf.c: Likewise.
31319 * libio/vscanf.c: Likewise.
31320 * libio/vsnprintf.c: Likewise.
31321 * libio/vswprintf.c: Likewise.
31322 * libio/wfiledoalloc.c: Likewise.
31323 * libio/wfileops.c: Likewise.
31324 * libio/wgenops.c: Likewise.
31325 * libio/wmemstream.c: Likewise.
31326 * libio/wstrops.c: Likewise.
31327 * libio/__fpurge.c: Likewise.
31328 * libio/__fsetlocking.c: Likewise.
31329 * assert/assert.c: Likewise.
31330 * debug/fgets_chk.c: Likewise.
31331 * debug/fgets_u_chk.c: Likewise.
31332 * debug/fread_chk.c: Likewise.
31333 * debug/fread_u_chk.c: Likewise.
31334 * debug/gets_chk.c: Likewise.
31335 * debug/obprintf_chk.c: Likewise.
31336 * debug/vasprintf_chk.c: Likewise.
31337 * debug/vdprintf_chk.c: Likewise.
31338 * debug/vsnprintf_chk.c: Likewise.
31339 * debug/vsprintf_chk.c: Likewise.
31340 * malloc/mtrace.c: Likewise.
31341 * misc/error.c: Likewise.
31342 * misc/syslog.c: Likewise.
31343 * stdio-common/asprintf.c: Likewise.
31344 * stdio-common/fxprintf.c: Likewise.
31345 * stdio-common/getw.c: Likewise.
31346 * stdio-common/isoc99_fscanf.c: Likewise.
31347 * stdio-common/isoc99_scanf.c: Likewise.
31348 * stdio-common/isoc99_vfscanf.c: Likewise.
31349 * stdio-common/isoc99_vscanf.c: Likewise.
31350 * stdio-common/isoc99_vsscanf.c: Likewise.
31351 * stdio-common/printf-prs.c: Likewise.
31352 * stdio-common/printf_fp.c: Likewise.
31353 * stdio-common/printf_fphex.c: Likewise.
31354 * stdio-common/printf_size.c: Likewise.
31355 * stdio-common/putw.c: Likewise.
31356 * stdio-common/scanf.c: Likewise.
31357 * stdio-common/sprintf.c: Likewise.
31358 * stdio-common/tmpfile.c: Likewise.
31359 * stdio-common/vfprintf.c: Likewise.
31360 * stdio-common/vfscanf.c: Likewise.
31361 * stdlib/strfmon_l.c: Likewise.
31362 * sunrpc/openchild.c: Likewise.
31363 * sunrpc/xdr_stdio.c: Likewise.
31364 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31365 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31366
d6c33fda
RM
313672012-05-24 Roland McGrath <roland@hack.frob.com>
31368
c1487492
RM
31369 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31370
31371 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31372 in the third column, to generate for the shared library an IFUNC
31373 that uses _dl_vdso_vsym.
31374 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31375 * Makeconfig (object-suffixes-noshared): New variable.
31376
31377 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31378 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31379 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31380 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31381
d6c33fda
RM
31382 [BZ #14132]
31383 * include/sys/time.h (__gettimeofday): Remove macro.
31384 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31385 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31386 Remove INTDEF.
31387 (__gettimeofday): Add libc_hidden_def.
31388 (gettimeofday): Add libc_hidden_weak.
31389 * sysdeps/mach/gettimeofday.c: Likewise.
31390 * sysdeps/posix/gettimeofday.c: Likewise.
31391 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31392 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31393 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31394 (__gettimeofday_internal): Remove strong_alias.
31395 (__gettimeofday): Add libc_hidden_def.
31396 (gettimeofday): Add libc_hidden_weak.
31397 * sysdeps/unix/syscalls.list (gettimeofday):
31398 Remove __gettimeofday_internal alias.
31399
b5a2bbe6
L
314002012-05-24 Daniel Jacobowitz <drow@false.org>
31401 H.J. Lu <hongjiu.lu@intel.com>
31402
31403 [BZ #12495]
31404 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31405 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31406 (largebin_index_32_big): New.
31407 (largebin_index): Use it for 16-byte alignment.
31408 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31409 correction with front_misalign.
31410
cfba4fda
L
314112012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31412
7f907421
L
31413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31415 Likewise.
31416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31417 Likewise.
31418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31419 Likewise.
31420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31421 Likewise.
31422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31423 Likewise.
31424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31425 Likewise.
31426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31427 Likewise.
31428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31429 Likewise.
31430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31431 Likewise.
31432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31433 Likewise.
31434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31435 Likewise.
31436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31437 Likewise.
31438
cfba4fda
L
31439 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31440 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31441
80bad0cc
JM
314422012-05-24 Joseph Myers <joseph@codesourcery.com>
31443
7a25eb06
JM
31444 [BZ #10846]
31445 [BZ #14036]
31446 * math/libm-test.inc (exp_test): Add test from bug 14036.
31447 (pow_test): Add test from bug 10846.
31448
795405f9
JM
31449 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31450 and other flags.
31451 (special_function): Do not include flags in test name.
31452 (parse_args): Likewise.
31453 * sysdeps/i386/fpu/libm-test-ulps: Update.
31454 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31455 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31456 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31458
80bad0cc
JM
31459 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31460 exceptions.
31461 * math/libm-test.inc ("Philosophy"): Update comment about
31462 exception testing.
31463 (UNDERFLOW_EXCEPTION): New macro.
31464 (UNDERFLOW_EXCEPTION_OK): Likewise.
31465 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31466 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31467 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31468 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31469 (INVALID_EXCEPTION_OK): Update value.
31470 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31471 (OVERFLOW_EXCEPTION_OK): Likewise.
31472 (IGNORE_ZERO_INF_SIGN): Likewise.
31473 (test_exceptions): Handle underflow exceptions.
31474 (acos_test): Update for underflow exception expectations.
31475 (cexp_test): Likewise.
31476 (clog_test): Likewise.
31477 (clog10_test): Likewise.
31478 (csqrt_test): Likewise.
31479 (ctan_test): Likewise.
31480 (ctanh_test): Likewise.
31481 (exp_test): Likewise.
31482 (exp10_test): Likewise.
31483 (exp2_test): Likewise.
31484 (expm1_test): Likewise.
31485 (fma_test): Likewise.
31486 (j0_test): Likewise.
31487 (jn_test): Likewise.
31488 (nexttoward_test): Likewise.
31489 (pow_test): Likewise.
31490 (scalbn_test): Likewise.
31491 (scalbln_test): Likewise.
31492 (tan_test): Likewise.
31493 (y1_test): Likewise.
31494 * sysdeps/i386/fpu/libm-test-ulps: Update.
31495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31496
9e0e3d0b
DM
314972012-05-23 David S. Miller <davem@davemloft.net>
31498
31499 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31500 (__libc_sigaction): Remove unused local variables.
31501
ccd0a08f
L
315022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31503
31504 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31505
62bdf9a6
PE
315062012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31507
f8591f80
PE
31508 mktime: avoid signed integer overflow
31509 * time/mktime.c (__mktime_internal): Do not mishandle the case
31510 where diff == INT_MIN.
31511
94c7d826
PE
31512 mktime: simplify computation of average
31513 * time/mktime.c (ranged_convert): Use new time_t_avg function
31514 instead of rolling our own (probably-slower) code.
31515
ce73d683
PE
31516 mktime: do not assume signed right shift propagates sign bit
31517 * time/mktime.c (isdst_differ): New static function.
31518 (__mktime_internal): No need to normalize tm_isdst now.
31519 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31520 tm_isdst values.
31521
72a22e59
PE
31522 mktime: merge another wrapv change from gnulib
31523 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31524 from some compilers.
31525
68605433
PE
31526 mktime: remove incorrect attempt at unusual arithmetics
31527 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31528 The code didn't really work on such machines anyway.
31529 (TYPE_MINIMUM): Assume two's complement.
31530 (twos_complement_arithmetic): Verify that long_int and time_t
31531 are two's complement (or unsigned, in the latter case).
31532
03cf7fe3
PE
31533 mktime: check signed shifts on long_int and time_t, too
31534 * time/mktime.c (SHR): Check that shifts work as desired
31535 on the types long_int and time_t too, as SHR is used on
31536 such types.
31537
f04dfbc2
PE
31538 mktime: do not assume 'long' is wide enough
31539 * time/mktime.c (verify): Move decl up.
31540 (long_int): New type.
31541 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31542 to remove assumption in the code that 'long' is wide enough to
31543 store year values. This assumption is not true on x32 and on
31544 some non-glibc platforms.
31545
62bdf9a6
PE
31546 mktime: merge wrapv change from gnulib
31547 * time/mktime.c (WRAPV): New macro.
31548 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31549 (guess_time_tm, __mktime_internal): Do not assume that signed
31550 integer overflow wraps around; modern compilers generate code
31551 where this assumption is no longer valid.
31552
5e292e4f
L
315532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31554
31555 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31556 Replace "jmp L(pseudo_end)" with "ret".
31557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31558 Likewise.
31559
8caf8c87
AJ
315602012-05-23 Andreas Jaeger <aj@suse.de>
31561
31562 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31563 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31564
1a09dc56
AJ
315652012-05-23 Andreas Jaeger <aj@suse.de>
31566 Maximilian Attems <max@stro.at>
31567
31568 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31569 New macros.
31570
1c87aba0
L
315712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31572
31573 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31574 code so that pseudo_end is just ret and the stack pointer is
31575 correct also for static library in error case.
31576
40e45bd5
JM
315772012-05-23 Joseph Myers <joseph@codesourcery.com>
31578
c2670533
JM
31579 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31580 move to syscalls.list.
31581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31585
40e45bd5
JM
31586 * manual/install.texi (Running make install): Do not mention Linux
31587 kernel version for which pt_chown is not needed.
31588 (Linux): Do not mention problems with nscd with 2.0 kernels.
31589 * INSTALL: Regenerated.
31590
be08eda5
AJ
315912012-05-23 Andreas Jaeger <aj@suse.de>
31592
31593 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31594 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31595 macro.
31596 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31597 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31598 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31599 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31600 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31601 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31602 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31603 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31604 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31605 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31606 * sysdeps/unix/sysv/linux/bits/in.h
31607 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31608
a6a056bb
RM
316092012-05-22 Roland McGrath <roland@hack.frob.com>
31610
31611 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31612 (PREPARE_VERSION): Just use assert instead, it will be elided
31613 under [NDEBUG] anyway.
31614
c9009328
L
316152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31616
31617 * sysdeps/unix/sysv/linux/Makefile: Include
31618 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 31619 (sysdep_routines): Remove sysctl.
c9009328
L
31620 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31621 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31622 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31623 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31624 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31625
73338355
AJ
316262012-05-22 Andreas Jaeger <aj@suse.de>
31627
31628 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31629 that pseudo_end is just ret and the stack pointer is correct also
31630 for static library in error case.
31631
d44638b0
PP
316322012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31633
31634 [BZ #14122]
31635 * nss/nsswitch.c (defconfig_entries): New variable.
31636 (__nss_database_lookup): Don't leak defconfig entries.
31637 (nss_parse_service_list): Don't leak on error paths.
31638 (free_database_entries): New function.
31639 (free_defconfig): New function.
31640 (free_mem): Move common code to free_database_entries.
31641
31a39bd8
L
316422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31643
da0331a8
L
31644 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31645 Add arch_prctl.
31646 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31647
31a39bd8
L
31648 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31649 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31650 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31651 New macro.
31652 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31653 (INTERNAL_SYSCALL_TYPES): Likewise.
31654 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31655 (LOAD_REGS_TYPES_[1-6]): Likewise.
31656 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31657 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31658
45470df3
AZ
316592012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31660
31661 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31662 copysignl for GLIBC_2_0.
31663 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31664 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31665 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31666 logbl for GLIBC_2_0.
31667 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31668 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31669
98a61bcb
L
316702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31671
a4f6e481
L
31672 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31673 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31674
f63d5db6
L
31675 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31676 Use "neg %eax".
31677
98a61bcb
L
31678 * time/mktime.c: Update copyright years.
31679
95770f14
PE
316802012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31681
6226efbd
PE
31682 mktime: merge comment-quoting-style change from gnulib
31683 * time/mktime.c: Quote 'like this' in comments.
31684 The GNU coding standards suggest that we no longer quote `like this',
31685 as "`" and "'" are typically rendered asymmetrically nowadays.
31686 The typical gnulib style is to quote 'like this' when quoting
31687 code, and "like this" when quoting English.
31688
b99e4f78
PE
31689 * time/mktime.c (compile-command): Add "-I.".
31690
643e01e6
PE
31691 mktime: merge mktime-internal.h change from gnulib
31692 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31693
2554247d
PE
31694 mktime: merge time_r change from gnulib
31695 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31696
826dd0ab
PE
31697 mktime: merge DEBUG change from gnulib
31698 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31699 case system <time.h> has a #define.
31700
bd83aabe
PE
31701 mktime: merge <sys/types.h> change from gnulib
31702 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31703 since <time.t> is now guaranteed to define time_t.
31704
95770f14
PE
31705 mktime: merge HAVE_CONFIG_H change from gnulib
31706 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31707
5e1a27a9
L
317082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31709
0e44a77e
L
31710 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31711 Use "neg %eax".
31712
5e1a27a9
L
31713 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31714 __rlim_t cast.
31715 (struct rusage): Use anonymous union to pad each field to
31716 __syscall_slong_t.
31717
46259bec
DM
317182012-05-21 David S. Miller <davem@davemloft.net>
31719
31720 * Makefules (o-iterator): Remove .s cases.
31721 (compile-command.s): Delete.
31722 (COMPILE.s): Delete.
31723 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31724
59f0c22e
JM
317252012-05-21 Joseph Myers <joseph@codesourcery.com>
31726
31727 * configure.in (libc_cv_predef_stack_protector): Only consider
31728 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31729 * configure: Regenerated.
31730
20c07380
L
317312012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31732
bbb3154b
L
31733 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31734 New macro. Use R*LP on int and pointer.
31735 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
31736 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31737 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
31738 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31739
20c07380
L
31740 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31741 [__WORDSIZE_TIME64_COMPAT32] instead of
31742 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31743 (struct utmp): Likewise.
31744 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31745 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31746 Renamed to ...
31747 (__WORDSIZE_TIME64_COMPAT32): This.
31748 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31749 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31750 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31751 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31752 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31753 (__WORDSIZE_TIME64_COMPAT32): New macro.
31754
d8d1017e
AJ
317552012-05-21 Andreas Jaeger <aj@suse.de>
31756
31757 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31758 only if [SHARED]. Add prototype for __wcschr_ia32.
31759
6c7fb145
RM
317602012-05-21 Roland McGrath <roland@hack.frob.com>
31761
31762 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31763 of %rbp unmolested in the jmp_buf while mangling the low bits.
31764 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31765 unmolested high bits of %rbp while demangling the low bits.
31766 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31767
66274218
AJ
317682012-05-21 Andreas Jaeger <aj@suse.de>
31769
07c58f8f
AJ
31770 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31771 * sunrpc/svc_simple.c: Use it for registerrpc.
31772 * sunrpc/xcrypt.c: Use it for passwd2des.
31773
66274218
AJ
31774 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31775
61f65140
L
317762012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31777
31778 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31779 Don't define if [__SYSCALL_WORDSIZE != 32].
31780 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31781 New macro.
31782
5fefb436
AJ
317832012-05-21 Bruno Haible <bruno@clisp.org>
31784 Andreas Jaeger <aj@suse.de>
31785
31786 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31787 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31788 inptr and inend for must_buffer_ch.
31789 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31790 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31791 * stdio-common/Makefile (tests): Remove bug15.
31792 (bug15-ENV): Remove macro.
31793 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31794 anymore.
31795
d8e272ab
AJ
317962012-05-19 Andreas Jaeger <aj@suse.de>
31797 Roland McGrath <roland@hack.frob.com>
31798
31799 * manual/contrib.texi: Completely rewritten. It contains now an
31800 alphabetical list of contributors and their contributions.
31801
4a56a162
RH
318022012-05-21 Richard Henderson <rth@twiddle.net>
31803
31804 * misc/getauxval.c (__getauxval): Use unsigned long int.
31805 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31806 (getauxval): Use unsigned long int.
31807
d024d23c
L
318082012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31809
31810 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31811
cbc00a03
RM
318122012-05-21 Roland McGrath <roland@hack.frob.com>
31813
31814 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31815 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31816 __alignof__ (long double).
31817
478143fa
AZ
318182012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31819
31820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31821
c7683a6d
RH
318222012-05-20 Richard Henderson <rth@twiddle.net>
31823
31824 * misc/getauxval.c: New file.
31825 * misc/sys/auxv.h: New file.
31826 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31827 (routines): Add getauxval.
31828 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31829 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31830 * elf/dl-sysdep.c (_dl_auxv): Remove.
31831 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31832 * elf/dl-support.c (_dl_auxv): New variable.
31833 (_dl_aux_init): Initialize it.
31834 * manual/startup.texi (Auxiliary Vector): New node.
31835 * sysdeps/generic/bits/hwcap.h: New file.
31836 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31837 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31838 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31839 * sysdeps/sparc/sysdep.h: ... here. Include it.
31840 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31841 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
31842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31843 Update.
c7683a6d
RH
31844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31847 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31852
a6f1845d
AZ
318532012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31854
31855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31856
cbcbe830
DM
318572012-05-19 David S. Miller <davem@davemloft.net>
31858
31859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31860
e0b16cc2
JM
318612012-05-19 Joseph Myers <joseph@codesourcery.com>
31862
31863 [BZ #14123]
31864 * math/s_ccosh.c: Include <float.h>
31865 (__ccosh): Avoid internal overflow calculating sinh and cosh
31866 values before multiplying by sin and cos values.
31867 * math/s_ccoshf.c: Likewise.
31868 * math/s_ccoshl.c: Likewise.
31869 * math/s_csin.c: Likewise.
31870 * math/s_csinf.c: Likewise.
31871 * math/s_csinl.c: Likewise.
31872 * math/s_csinh.c: Likewise.
31873 * math/s_csinhf.c: Likewise.
31874 * math/s_csinhl.c: Likewise.
31875 * math/libm-test.inc (ccos_test): Add more tests.
31876 (ccosh_test): Likewise.
31877 (csin_test): Likewise.
31878 (csinh_test): Likewise.
31879 * sysdeps/i386/fpu/libm-test-ulps: Update.
31880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31881
6ad13e08
L
318822012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31883
f66f0ce8
L
31884 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31885 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31886
6ad13e08
L
31887 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31888
b1d072a7
JM
318892012-05-19 Joseph Myers <joseph@codesourcery.com>
31890
31891 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31892 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31893 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31894 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31895 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31896 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31897 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31898 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31899 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31900 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31901 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31902 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31903 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31904 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31905 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31906 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31907 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31908 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31909 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31910 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31911 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31912 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31913 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31914 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31915 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31916 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31917 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31918 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31919 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31920 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31921 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31922
9eae47cb
AJ
319232012-05-18 Andreas Jaeger <aj@suse.de>
31924
31925 * csu/.gitignore: Delete.
31926
bb07f69f
L
319272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31928
31929 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31930 (timex): Use __syscall_slong_t.
31931
e6bdb741
AJ
319322012-05-18 Andreas Jaeger <aj@suse.de>
31933 Carlos O'Donell <carlos_odonell@mentor.com>
31934
31935 * manual/install.texi (Configuring and compiling): Update
31936 description about files modified in the source directory.
d6c33fda 31937 * INSTALL: Regenerated.
e6bdb741 31938
1b74487e
L
319392012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31940
31941 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31942 value. Use "or" to set return value to -1.
31943 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31944 negate return value.
31945
a88b64b9
TMQMF
319462012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31947
57f41c40
AS
31948 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31949 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
31950 failure if the compiler has Graphite support disabled.
31951 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31952 Likewise.
57f41c40
AS
31953 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31954 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
31955 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31956 Likewise.
31957
3707636e
L
319582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31959
610b8622
L
31960 * sysdeps/x86_64/x32/_itoa.h: New file.
31961
7cd195df
L
31962 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31963 getdents system call only if kernel and user dirents have the
31964 same d_ino and d_off.
31965
94b07d20
L
31966 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31967 LLONG_MAX != LONG_MAX.
31968 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31969 (_fitoa_word): Likewise.
31970
18298070
L
31971 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31972 years.
31973 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31974 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31975 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31976
553c7ea4
L
31977 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31978 include <bits/wordsize.h>. Check __x86_64__ instead of
31979 __WORDSIZE.
31980 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31981 if __x86_64__ is defined. Use anonymous union on fpstate.
31982
3707636e
L
31983 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31984 anonymous union.
31985
b53ef01a
AS
319862012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31987
37fb1dc0
AS
31988 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31989 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31990 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31991 Refer to _rtld_local_ro instead of _rtld_global_ro.
31992 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31993 Likewise.
31994 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31995 Likewise.
31996 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31997 Likewise.
31998 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31999 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32000 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32001
b53ef01a
AS
32002 * sysdeps/powerpc/powerpc32/dl-machine.c
32003 (__elf_machine_runtime_setup) [PROF]: Don't reference
32004 _dl_prof_resolve.
32005
7a185db2
AJ
320062012-05-18 Andreas Jaeger <aj@suse.de>
32007
32008 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32009 function only available for GCCs before 3.4 since GCC 3.4
32010 introduced a builtin.
32011 (lrint): Likewise.
32012 (llrintf): Likewise.
32013 (llrint): Likewise.
32014 (fmaxf): Likewise.
32015 (fmax): Likewise.
32016 (fminf): Likewise.
32017 (fmin): Likewise.
32018 (rint): Likewise.
32019 (rintf): Likewise.
32020 (nearbyint): Likewise.
32021 (nearbyintf): Likewise.
32022 (ceil): Likewise.
32023 (ceilf): Likewise.
32024 (floor): Likewise.
32025 (floorf): Likewise.
32026
3e5aef87
L
320272012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32028
428bd707
L
32029 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32030 on both fields and cast pointer to __syscall_ulong_t.
32031
3e5aef87
L
32032 * bits/types.h (__fsword_t): New type.
32033 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32034 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32035 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32036 (__FSWORD_T_TYPE): Likewise.
32037 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32038 (__FSWORD_T_TYPE): Likewise.
32039 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32040 (__FSWORD_T_TYPE): Likewise.
32041 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32042 (__FSWORD_T_TYPE): Likewise.
32043 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32044 __SWORD_TYPE with __fsword_t.
32045 (statfs64): Likewise.
32046
1ba7c3dc
DM
320472012-05-17 David S. Miller <davem@davemloft.net>
32048
32049 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32050
59910343
AJ
320512012-05-17 Andreas Jaeger <aj@suse.de>
32052
32053 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32054 warning.
32055
2e4c1e9e
L
320562012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32057
32058 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32059
de7f5ce7
AJ
320602012-05-17 Andreas Jaeger <aj@suse.de>
32061
32062 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32063 when it is used.
32064
286abc3d
CM
320652012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32066
32067 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32068
477cc68e
L
320692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32070
32071 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32072 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32073
1a0994f5
CD
320742012-05-17 Andreas Jaeger <aj@suse.de>
32075 Carlos O'Donell <carlos_odonell@mentor.com>
32076
32077 [BZ #14059]
32078 * sysdeps/x86_64/multiarch/init-arch.h
32079 (bit_YMM_Usable): Rename to...
32080 (bit_AVX_Usable): ... this.
32081 (bit_FMA4_Usable): New macro.
32082 (bit_XMM_state): New macro.
32083 (bit_YMM_state): New macro.
32084 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32085 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32086 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32087 (CPUID_OSXSAVE): New macro.
32088 (CPUID_AVX): New macro.
32089 (CPUID_FMA4): New macro.
32090 (index_YMM_Usable): Rename to...
32091 (index_AVX_Usable): ... this.
32092 (HAS_AVX): Use HAS_ARCH_FEATURE.
32093 (HAS_FMA4): Likewise.
32094 (HAS_YMM_USABLE): Remove.
32095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32096 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32097 are present.
32098 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32099 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32100 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32101 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32102 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32103
0af797de
CM
321042012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32105
32106 * math/libm-test.c: Support platforms without multiple rounding modes.
32107 * math/bug-nextafter.c: Support platforms without FP exceptions.
32108 * math/bug-nexttoward.c: Likewise.
32109 * math/test-fenv.c: Likewise.
32110 * math/test-misc.c: Likewise.
32111 * stdlib/bug-getcontext.c: Likewise.
32112
e39745ff
AJ
321132012-05-17 Andreas Jaeger <aj@suse.de>
32114
32115 * manual/examples/search.c (critter_cmp): Change signature to
32116 avoid warnings.
32117 * manual/string.texi (Collation Functions): Likewise.
32118
48970aba
L
321192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32120
32121 * bits/types.h: Fold copyright years.
32122 * bits/typesizes.h: Likewise.
32123 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32124 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32125 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32126 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32127 * time/time.h: Likewise.
32128
bedee953
PP
321292012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32130
32131 [BZ #208]
32132 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32133 in instead of returning them. Return void.
32134 (__libc_mallinfo): Accumulate over all arenas.
32135 (__malloc_stats): Adjust for change in int_mallinfo interface.
32136
61653dfb
RM
321372012-05-16 Roland McGrath <roland@hack.frob.com>
32138
30b99d79
RM
32139 [BZ #10375]
32140 * configure.in (NM): Add AC_CHECK_TOOL for it.
32141 (libc_extra_cflags): New substituted variable.
32142 Check for -fstack-protector being used implicitly.
32143 * configure: Regenerated.
32144 * config.make.in (config-extra-cflags): New variable,
32145 gets @libc_extra_cflags@.
32146 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32147
61653dfb
RM
32148 [BZ #10375]
32149 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32150 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32151 * configure: Regenerated.
32152 * config.make.in (CPPUNDEFS): New substituted variable.
32153 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32154 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32155 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32156
661768bb
L
321572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32158
32159 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32160 (mq_attr): Use __syscall_slong_t.
32161
d4261567
L
321622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32163
32164 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32165 Check __x86_64__ instead of __WORDSIZE.
32166 (_STAT_VER_LINUX): Likewise.
32167 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32168 __syscall_ulong_t and __syscall_slong_t.
32169 (stat64): Likewise.
32170
cf3ff365
L
321712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32172
32173 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32174
76cf3e4d
L
321752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32176
32177 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32178
a637753a
L
321792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32180
32181 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32182 __syscall_ulong_t.
32183
d5e05119
L
32184 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32185 include <bits/wordsize.h>. Check __x86_64__ instead of
32186 __WORDSIZE.
32187 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32188 defined.
32189 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32190
f62ee380
L
32191 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32192 include <bits/wordsize.h>. Check __x86_64__ instead of
32193 __WORDSIZE.
32194 (user_regs_struct): Use "__extension__ unsigned long long"
32195 instead of "unsigned long" if __x86_64__ is defined.
32196 (user): Likewise. Pad after pointer field if __ILP32__ is
32197 defined.
32198
4e124ced
JM
321992012-05-16 Joseph Myers <joseph@codesourcery.com>
32200
6a3951a0
JM
32201 * configure.in (makeinfo): Require version 4.5 or later. Allow
32202 versions 5 to 9.
32203 * configure: Regenerated.
32204 * manual/install.texi (texinfo): Increase version requirement to
32205 4.5 or later.
32206 * INSTALL: Regenerated.
32207
4e124ced
JM
32208 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32209
953ca31a
L
322102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32211
32212 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32213
617aca05
L
32214 * sysdeps/x86_64/x32/ffs.c: New file.
32215
5762f7ae
L
32216 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32217 __syscall_ulong_t.
32218 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32219 defined. Use __syscall_ulong_t.
32220 (shminfo): Use __syscall_ulong_t.
32221 (shm_info): Likewise.
32222
a26b6856
L
32223 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32224 __syscall_ulong_t.
32225
cb2b9ef7
L
32226 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32227 <bits/wordsize.h>.
32228 (msgqnum_t): Use __syscall_ulong_t.
32229 (msglen_t): Likewise.
32230 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32231 __syscall_ulong_t.
32232
34683bb0
L
32233 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32234 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32235
84a68786
L
32236 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32237
48baa5f1
L
32238 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32239 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32240
180be88b
L
32241 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32242 __syscall_slong_t.
32243
5e90c8ad
L
32244 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32245 include <bits/wordsize.h>. Check __x86_64__ instead of
32246 __WORDSIZE.
32247
23dfb58b
L
32248 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32249 "unsigned long long int" if __x86_64__ is defined.
32250 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32251
ce5d54b0
L
32252 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32253 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32254 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32255
13dc9eac
L
32256 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32257 <stdint.h>.
32258 (GET_PC): Cast to uintptr_t first.
32259 (GET_FRAME): Likewise.
32260 (GET_STACK): Likewise.
32261
a7895d15
L
32262 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32263 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32264 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32265 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32266 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32267 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32268 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32269 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32270 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32271 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32272 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32273 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32274 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32275 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32276 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32277 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32278 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32279 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32280 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32281 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32282 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32283 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32284 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32285 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32286 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32287 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32288 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32289 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32290 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32291
656416c9
AS
322922012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32293
5bd66283
AS
32294 * Makerules (+depfiles): Also collect depfiles from .oS in
32295 $(extra-objs).
32296 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32297 .oS, $(libnldbl-routines)).
32298
656416c9
AS
32299 * Makerules (native-compile-mkdep-flags): Define.
32300 * sunrpc/Makefile (extra-objs): Add $(addprefix
32301 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32302 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32303 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32304 calling $(make-target-directory).
32305
a46f2169
L
323062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32307
32308 * bits/types.h (__snseconds_t): Removed.
32309 * time/time.h (struct timespec): Replace __snseconds_t with
32310 __syscall_slong_t.
32311 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32312 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32313 Likewise.
32314 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32315 (__SNSECONDS_T_TYPE): Likewise.
32316 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32317 (__SNSECONDS_T_TYPE): Likewise.
32318 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32319 (__SNSECONDS_T_TYPE): Likewise.
32320
6af6528b
L
323212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32322
32323 * sysdeps/mach/hurd/bits/typesizes.h
32324 (__SYSCALL_SLONG_TYPE): New macro.
32325 (__SYSCALL_ULONG_TYPE): Likewise.
32326
de986b56
L
323272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32328
32329 * bits/types.h (__syscall_slong_t): New type.
32330 (__syscall_ulong_t): Likewise.
32331
32332 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32333 (__SYSCALL_ULONG_TYPE): Likewise.
32334 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32335 (__SYSCALL_SLONG_TYPE): Likewise.
32336 (__SYSCALL_ULONG_TYPE): Likewise.
32337 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32338 (__SYSCALL_SLONG_TYPE): Likewise.
32339 (__SYSCALL_ULONG_TYPE): Likewise.
32340 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32341 (__SYSCALL_SLONG_TYPE): Likewise.
32342 (__SYSCALL_ULONG_TYPE): Likewise.
32343
85736dc7
L
323442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32345
32346 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32347 Add sigaltstack-offsets.sym.
32348 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32349 <sigaltstack-offsets.h>.
32350 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32351 longjmp_msg pointer.
32352 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32353 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32354 signal stack.
32355 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32356
cc03b296
JM
323572012-05-15 Joseph Myers <joseph@codesourcery.com>
32358
a9538892
JM
32359 * elf/stackguard-macros.h: Remove file.
32360 * sysdeps/generic/stackguard-macros.h: New file.
32361 * sysdeps/i386/stackguard-macros.h: Likewise.
32362 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32363 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32364 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32365 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32366 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32367 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32368 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32369 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32370 <elf/stackguard-macros.h>.
32371
cc03b296
JM
32372 [BZ #14109]
32373 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32374 __aligned__ in attribute.
32375 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32376 (gregset_t): Likewise.
32377
93171016
L
323782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32379
32380 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32381 * sysdeps/x86_64/64/Implies-after: Here. New file.
32382 * sysdeps/x86_64/x32/Implies-after: New file.
32383
d86813a0
L
323842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32385
32386 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32387 and access return value for _dl_profile_fixup. Use R10_LP to
32388 load frame size.
32389
2953ec75
L
323902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32391
32392 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32393
3b550e9e
L
323942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32395
32396 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32397 * sysdeps/x86_64/x32/sysdep.h: New file.
32398
eda41706
L
323992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32400
32401 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32402 * sysdeps/x86_64/setjmp.S: Likewise.
32403
9ea01d93
AZ
324042012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32405
32406 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32407 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32408 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32409 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32410 remove unused global constant.
32411
02a91938
CM
324122012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32413
32414 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32415 include of <not-cancel.h>.
32416
6540185f
RM
324172012-05-15 Roland McGrath <roland@hack.frob.com>
32418
32419 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32420
509072a0
AJ
324212012-05-15 Jeff Law <law@redhat.com>
32422 Andreas Jaeger <aj@suse.de>
32423
32424 [BZ #13594]
32425 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32426 out from...
32427 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32428 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32429 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32430 code changing __hst_map_handle.map.
32431
ba75122d
RM
324322012-05-15 Roland McGrath <roland@hack.frob.com>
32433
32434 * configure.in (sysnames): Look for Implies-before and Implies-after
32435 files.
32436 * configure: Regenerated.
32437
890d8bd8
L
324382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32439
32440 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32441 8-byte data alignment with LP_SIZE alignment.
32442
f6ee6623
L
324432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32444
32445 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32446 into R10_LP.
32447
ea2626f6
L
324482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32449
32450 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32451
085f715e
L
324522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32453
32454 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32455 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32456 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32457 Likewise.
32458 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32459
be8498fc
L
324602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32461
32462 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32463 (stackinfo_sub_sp): Likewise.
32464
70bc83b9
L
324652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32466
32467 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32468 RAX_LP.
32469
9bc0b730
L
324702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32471
32472 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32473 into R*_LP.
32474
6d2850e7
L
324752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32476
32477 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32478 sizes into R*_LP.
32479
3cb84561
L
324802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32481
32482 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32483
54e2ed81
L
324842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32485
32486 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32487 into R11_LP and load __x86_64_shared_cache_size_half into
32488 R8_LP.
32489
8a17f349
L
324902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32491
32492 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32493 R8_LP.
32494
777b1eea
AZ
324952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32496
32497 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32498 logb for POWER7.
32499 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32500 logbf for POWER7.
32501 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32502 logbl for POWER7.
32503 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32504 powerpc32/power7/fpu/s_logb.c via #include.
32505 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32506 powerpc32/power7/fpu/s_logbf.c via #include.
32507 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32508 powerpc32/power7/fpu/s_logbl.c via #include.
32509
d20d4ac2
JM
325102012-05-15 Joseph Myers <joseph@codesourcery.com>
32511
32512 * README.libm: Remove file.
32513
6cdef1ab
L
325142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32515
32516 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32517 count for x32. Use R*_LP and omit operand-size suffix.
32518
0b254d8f
L
325192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32520
32521 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32522 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32523 * sysdeps/x86_64/x32/shlib-versions: New file.
32524
ceb809dc
RM
325252012-05-14 Roland McGrath <roland@hack.frob.com>
32526
32527 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32528 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32529 Use _dl_fatal_printf instead.
32530
37f1abd4
JM
325312012-05-14 Joseph Myers <joseph@codesourcery.com>
32532
32533 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32534 set if not set by the user. Do not allow for being unset.
32535 * sysdeps/unix/sysv/linux/configure: Regenerated.
32536
11de3a33
L
325372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32538
32539 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32540 the `q' suffix from lea and replace .quad with ASM_ADDR.
32541
e02f153a
L
325422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32543
32544 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32545 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32546 instead of $17.
32547 (PTR_DEMANGLE): Likewise.
32548
520ae0fd
L
325492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32550
32551 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32552 (LP_OP): Likewise.
32553 (ASM_ADDR): Likewise.
32554 (RAX_LP): Likewise.
32555 (RBP_LP): Likewise.
32556 (RBX_LP): Likewise.
32557 (RCX_LP): Likewise.
32558 (RDI_LP): Likewise.
32559 (RSI_LP): Likewise.
32560 (RSP_LP): Likewise.
32561 (R8_LP): Likewise.
32562 (R9_LP): Likewise.
32563 (R10_LP): Likewise.
32564 (R10_LP): Likewise.
32565 (R11_LP): Likewise.
32566 (R12_LP): Likewise.
32567 (R13_LP): Likewise.
32568 (R14_LP): Likewise.
32569 (R15_LP): Likewise.
32570
b985be81
L
325712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32572
32573 * sysdeps/x86_64/x32/dl-machine.h: New file.
32574
6a4888ff
AJ
325752012-05-14 Andreas Jaeger <aj@suse.de>
32576
32577 * manual/Makefile (subdir): Remove export of subdir.
32578 (all): Remove target.
32579 (.PHONY): Remove all from list.
32580 (mkinstalldirs): Remove.
32581 (.PHONY): Remove installdirs from list.
32582 ($(inst_infodir)/libc.info): Use make-target-directory.
32583 (installdirs): Remove.
32584 (subdir_%): Remove.
32585 (glibc-targets): Remove.
32586 (lib): Remove.
32587 (stubs): Remove.
32588 ($(objpfx)stubs ../po/manual.pot): Remove.
32589 ($(objpfx)stamp%): Remove.
32590 (make-target-directory): Remove.
32591 (subdir_install): Remove.
32592 (routines): Remove.
32593 (aux): Remove.
32594 (sources): Remove.
32595 (objects): Remove.
32596 (headers): Remove.
32597
32598 [BZ #13750]
32599 * manual/.gitignore: Remove, it's not needed anymore.
32600 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32601 all files in it.
32602 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32603 directory.
32604 (texis): Renamed to $(objpfx)texis.
32605 (texis-path): New, contains path to generated files.
32606 (chapters.%): Use texis-path for complete path, add extra argument
32607 libc-texinfo.sh.
32608 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32609 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32610 (summary,texi, stamp-summary): Use complete path of
32611 files. Generate files in build dir.
32612 (dir-add.texi): Build in build dir.
32613 (libm-err.texi,stamp-libm-err): Likewise.
32614 (version.texi, stamp-version): Likewise.
32615 (.%c.texi): Likewise.
32616 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32617 (mostlyclean): Remove target.
32618 (realclean): Remove target.
32619 (generated): Add new variable with contents from mostlyclean and
32620 realclean, remove entries duplicated in common-mostlyclean, add
32621 stamp-libm-err and stamp-version.
32622 (generated-dirs): Add libc directory.
32623 ($(inst_infodir)/libc.info): Install files from build dir.
32624
32625 * manual/install.texi (Configuring and compiling): Adjust since
32626 the info files are not part of the tar ball anymore.
32627
7ac77294
AJ
326282012-05-14 Andreas Jaeger <aj@suse.de>
32629
32630 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32631 variable.
32632
ffb7875d
JM
326332012-05-14 Joseph Myers <joseph@codesourcery.com>
32634
32635 [BZ #13717]
32636 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32637 to 2.2.0 where earlier.
32638 * sysdeps/unix/sysv/linux/configure: Regenerated.
32639 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32640 Remove conditional code.
32641 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32642 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32643 Remove conditional code.
32644 [!__NR_lchown]: Likewise.
32645 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32646 [__NR_lchown]: Likewise.
32647 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32648 comment referencing __ASSUME_LCHOWN_SYSCALL.
32649 * sysdeps/unix/sysv/linux/i386/sigaction.c
32650 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32651 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32652 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32653 Remove conditional code.
32654 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32655 (__protocol_available): Remove #if 0 code.
32656 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32657 conditional code.
32658 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32659 * sysdeps/unix/sysv/linux/kernel-features.h
32660 (__ASSUME_GETCWD_SYSCALL): Don't define.
32661 (__ASSUME_REALTIME_SIGNALS): Likewise.
32662 (__ASSUME_PREAD_SYSCALL): Likewise.
32663 (__ASSUME_PWRITE_SYSCALL): Likewise.
32664 (__ASSUME_POLL_SYSCALL): Likewise.
32665 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32666 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32667 non-SPARC.
32668 (__ASSUME_SIOCGIFNAME): Don't define.
32669 (__ASSUME_MSG_NOSIGNAL): Likewise.
32670 (__ASSUME_SENDFILE): Define unconditionally.
32671 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32672 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32673 conditional code.
32674 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32675 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32676 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32677 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32678 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32679 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32680 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32682 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32683 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32685 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32688 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32689 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32691 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32694 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32695 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32697 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32698 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32700 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32701 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32703 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32704 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32705 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32706 Remove conditional code.
32707 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32708 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32709 Remove conditional code.
32710 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32711 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32712 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32713 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32714 Remove conditional code.
32715 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32716 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32717 Remove conditional code.
32718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32719 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32720 Remove conditional code.
32721 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32722 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32723 Remove conditional code.
32724 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32725 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32726 Remove conditional code.
32727 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32728 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32729 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32730 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32731 * sysdeps/unix/sysv/linux/sigaction.c
32732 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32733 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32734 * sysdeps/unix/sysv/linux/sigpending.c
32735 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32736 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32737 * sysdeps/unix/sysv/linux/sigprocmask.c
32738 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32739 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32740 * sysdeps/unix/sysv/linux/sigsuspend.c
32741 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32742 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32743 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32744 (__libc_missing_rt_sigs): Remove.
32745 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32746 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32747 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32748 Remove conditional code.
32749 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32750 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32751 return 1.
32752 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32753 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32754 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32755 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32756
1bfb7291
AJ
327572012-05-14 Andreas Jaeger <aj@suse.de>
32758
caae5a81
AJ
32759 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32760 it's not used in glibc.
32761 (__coshm1): Likewise.
32762 (__acosh1p): Likewise.
32763 (__sgn): Likewise.
32764
1bfb7291
AJ
32765 * manual/string.texi (Copying and Concatenation): Add missing
32766 variable in concat example.
32767 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32768
c044d724
L
327692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32770
144c5467 32771 [BZ #14103]
c044d724
L
32772 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32773 __builtin_clzl with __builtin_clzll.
32774
2523c62b
L
327752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32776
32777 [BZ #14104]
32778 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32779 libc_freeres_ptr.
32780
d7bb4c42
LD
327812012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32782
32783 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32784 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32785 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32786 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32787
9dc4e1fb
MF
327882012-05-14 Mike Frysinger <vapier@gentoo.org>
32789
32790 * NEWS: Update ia64 info.
32791
c7df0112
AS
327922012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32793
32794 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32795 used as bcopy.
32796
dc70356c
TS
327972012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32798
32799 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32800 * sysdeps/unix/syscalls.list (dup3): Likewise.
32801 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32802 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32803
9fb1a21f
L
328042012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32805
32806 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32807 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32808
4822a2a5
L
328092012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32810
32811 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32812 thread pointer.
32813 (TLS_IE): Use mov/add instead of movq/addq to load thread
32814 pointer.
32815 (TLS_GD_PREFIX): New.
32816 (TLS_GD): Use it.
32817
842b81d6
DM
328182012-05-11 David S. Miller <davem@davemloft.net>
32819
32820 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32821 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32822 (_FPU_SETCW): Likewise.
32823
1cf463cd
L
328242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32825
32826 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32827 is 32-byte aligned.
32828
60cc4a18
AS
328292012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32830
32831 [BZ #11837]
32832 * iconvdata/gb18030.c: Update tables.
32833 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32834 characters specially.
32835 (BODY for TO_LOOP): Add encoding of missing ranges.
32836
febb44a4
TS
328372012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32838
32839 [BZ #13673]
32840 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32841 * sysdeps/mach/hurd/dup3.c: Likewise.
32842 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32843 * sysdeps/powerpc/memmove.c:: Likewise.
32844
0a10fb9e
L
328452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32846
32847 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32848 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32849
df8a552f
L
328502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32851
32852 * elf/elf.h (R_X86_64_RELATIVE64): New.
32853 (R_X86_64_NUM): Updated.
32854 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32855 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32856 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32857 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32858 tst-quad1pie tst-quad2pie
32859 (modules-names): Add tst-quadmod1 tst-quadmod2.
32860 ($(objpfx)tst-quad1): New dependency.
32861 ($(objpfx)tst-quad2): Likewise.
32862 ($(objpfx)tst-quad1pie): Likewise.
32863 ($(objpfx)tst-quad2pie): Likewise.
32864 * sysdeps/x86_64/tst-quad1.c: New file.
32865 * sysdeps/x86_64/tst-quad1pie.c: New file.
32866 * sysdeps/x86_64/tst-quad2.c: Likewise.
32867 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32868 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32869 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32870 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32871 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32872
f34d6f84
ST
328732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32874
f42d41d1
ST
32875 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32876 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32877 * streams/stropts.h (t_scalar_t): Define type.
32878
3c3571fc
ST
32879 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32880 (_PATH_PRESERVE): Set to "/var/lib".
32881 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32882
61f06bd3
ST
32883 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32884 instead of int.
32885
918d4d71
ST
32886 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32887 if __dir_mkfile succeeded.
32888
f34d6f84
ST
32889 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32890 checking for _hurd_dtablesize. Unlock it right after having
32891 finished _hurd_dtable allocation.
32892
10589b4a
TS
328932012-05-10 Thomas Schwinge <thomas@schwinge.name>
32894
674cdbc7
TS
32895 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32896 * sysdeps/mach/hurd/configure: Regenerated.
32897 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32898 special-casing to...
32899 * sysdeps/gnu/configure.in: ... this new file.
32900 * sysdeps/unix/sysv/linux/configure: Regenerated.
32901 * sysdeps/gnu/configure: New generated file.
32902
8e41b99f
TS
32903 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32904 for Linux: use nsec instead of usec, as well as:
32905 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32906 members of type struct timespec.
32907 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32908 New macros.
32909 (struct stat64): Likewise.
32910 (_STATBUF_ST_NSEC): New macro.
32911 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32912
10589b4a
TS
32913 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32914 __strtoul_internal rather than strtoul.
32915
63643c85
PT
329162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32917
32918 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32919 and reject them.
32920
3faebe6a
ST
329212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32922
32923 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32924 which preserves existing values.
32925 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32926
c6474b07
PT
329272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32928
32929 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32930 TIMEOUT values. Return EINVAL for NFDS values either negative or
32931 greater than FD_SETSIZE.
32932
1043890b
ST
329332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32934
32935 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32936 allocated, call __vm_protect to finish enabling the existing space, and
32937 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32938 allocate the remainder.
32939
37ed8b9b
PT
329402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32941
32942 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32943 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32944
db653660
ST
329452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32946
37ed8b9b
PT
32947 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32948 sysdeps/mach/hurd/readlink.c.
b29d4053 32949
db653660
ST
32950 * posix/tst-sysconf.c (posix_options): Only use
32951 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32952 _POSIX_SYNCHRONIZED_IO when they are defined
32953 * sysdeps/mach/hurd/bits/posix_opt.h:
32954 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32955 (_XOPEN_REALTIME): Undefine macro.
32956 (_XOPEN_REALTIME_THREADS): Undefine macro.
32957 (_XOPEN_SHM): Undefine macro.
32958 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32959 macro to -1.
32960 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32961 macro to -1.
32962 (_POSIX_ASYNC_IO): Undefine macro.
32963 (_POSIX_PRIORITIZED_IO): Undefine macro.
32964 (_POSIX_SPIN_LOCKS): Define macro to -1.
32965
ee16e894
ST
32966 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32967 SA_NODEFER, SA_RESETHAND.
32968 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32969 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32970 F_DUPFD_CLOEXEC.
32971
6103ae3b
TS
329722012-05-10 Thomas Schwinge <thomas@schwinge.name>
32973
32974 * elf/Makefile (pldd-modules): Define unconditionally.
32975
80b4e5f3
TS
329762012-05-10 Thomas Schwinge <thomas@schwinge.name>
32977
32978 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32979
edadcbd6
ST
329802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32981
32982 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32983 Return ENOENT when name is empty.
32984 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32985
80694780
TS
329862012-05-10 Thomas Schwinge <thomas@schwinge.name>
32987
1792c087
TS
32988 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32989
80694780
TS
32990 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32991
6b645f0d
ST
329922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32993
80694780
TS
32994 Fix mlock in all cases except non-readable pages.
32995 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32996 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 32997
6b645f0d
ST
32998 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32999 (__mkdir): When path is `/', just fail with EEXIST.
33000 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33001
e468f8a3
TS
330022012-05-10 Thomas Schwinge <thomas@schwinge.name>
33003
33004 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33005 <sys/uio.h> (for writev).
33006 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33007 and <sys/param.h> (for MIN).
33008
a4186cff
PT
330092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33010
33011 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33012 REQUESTED_TIME. Properly set the remaining time and return EINTR
33013 if interrupted.
33014
510bbf14
TS
330152012-05-10 Thomas Schwinge <thomas@schwinge.name>
33016
33017 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33018 Depend on against $(link-rpcuserlibs).
33019
5d5722e8
ST
330202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33021
a4186cff
PT
33022 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33023 (__libc_stack_end): Do not use attribute_relro.
33024 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33025 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 33026 to libthread-provided value.
a4186cff
PT
33027 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33028 attribute_relro.
5d5722e8 33029
37233df9
TS
330302012-05-10 Thomas Schwinge <thomas@schwinge.name>
33031
be971a2b
TS
33032 [BZ #3748]
33033 * bits/libc-lock.h (__libc_once_get): New macro.
33034 * sysdeps/mach/bits/libc-lock.h: Likewise.
33035 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33036 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33037 instead of using implementation details.
33038
37233df9
TS
33039 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33040 * libio/freopen.c: Likewise.
33041 * libio/freopen64.c: Likewise.
33042 * misc/syslog.c: Likewise.
33043 * nscd/connections.c: Likewise.
33044 * nscd/netgroupcache.c: Likewise.
33045 * sysdeps/posix/getcwd.c: Likewise.
33046
38de94a5
RM
330472012-05-10 Roland McGrath <roland@hack.frob.com>
33048
33049 * math/w_ilogbf.c: Add #include <limits.h>.
33050
67530489
ST
330512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33052
a4186cff 33053 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
33054 path instead of returning without unlocking.
33055
67530489
ST
33056 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33057 immediate-write ioctls.
33058 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33059
5aa3a74a
TS
330602012-05-10 Thomas Schwinge <thomas@schwinge.name>
33061
18bad2ae
TS
33062 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33063 __builtin_frame_address instead of making assumptions about the
33064 location of the return address relative to DATA. Force early load of
33065 the return address.
33066 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33067 __builtin_frame_address.
33068
5aa3a74a
TS
33069 dup3 for GNU Hurd.
33070 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33071 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33072 implement dup3 and do some further code clean-ups.
33073 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33074 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33075
ecd0de9a
ST
330762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33077
cd9fa985
ST
33078 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33079
a4186cff
PT
33080 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33081 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33082 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33083 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33084 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33085 d->port.lock.
802ca5a5 33086
a4186cff
PT
33087 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33088 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33089 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 33090
bcf55240
TS
330912012-05-10 Thomas Schwinge <thomas@schwinge.name>
33092
6960eb42
TS
33093 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33094 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33095 definitions.
33096
eb43375f
TS
33097 accept4 for GNU Hurd.
33098 * include/sys/socket.h (__libc_accept4): New prototype.
33099 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33100 to implement __libc_accept4.
33101 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33102 __libc_accept4.
33103 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33104
bcf55240
TS
33105 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33106 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33107 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33108 signal-defines.sym.
33109
6178c55b
ST
331102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33111
a4186cff 33112 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 33113
6f080c2f
TS
331142012-05-10 Thomas Schwinge <thomas@schwinge.name>
33115
33116 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33117 assertion on O_CLOEXEC flag.
33118 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33119 * hurd/intern-fd.c: Likewise.
33120 * hurd/port2fd.c: Likewise.
33121
bcfe3a54
ST
331222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33123
33124 [BZ #3906]
33125 * bits/in.h (IPV6_PKTINFO): Define new macro.
33126 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33127
89c9aa49
AZ
331282012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33129
33130 [BZ #13954]
33131 [BZ #13955]
33132 [BZ #13956]
33133 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33134 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33135 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33136 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33137 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33138 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33139 * math/libm-test.inc (logb_test) : Additional logb tests.
33140
021db4be
AJ
331412012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33142 Andreas Jaeger <aj@suse.de>
33143
33144 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33145 * configure: Regenerated.
33146 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33147 * config.make.in (link-obsolete-rpc): New substituted variable.
33148 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33149 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33150 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33151 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33152 so that libc.a contains the symbols.
33153 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33154 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33155 * sunrpc/auth_none.c: Likewise.
33156 * sunrpc/auth_unix.c: Likewise.
33157 * sunrpc/authdes_prot.c: Likewise.
33158 * sunrpc/authuxprot.c: Likewise.
33159 * sunrpc/clnt_gen.c: Likewise.
33160 * sunrpc/clnt_perr.c: Likewise.
33161 * sunrpc/clnt_raw.c: Likewise.
33162 * sunrpc/clnt_simp.c: Likewise.
33163 * sunrpc/clnt_tcp.c: Likewise.
33164 * sunrpc/clnt_udp.c: Likewise.
33165 * sunrpc/clnt_unix.c: Likewise.
33166 * sunrpc/des_crypt.c: Likewise.
33167 * sunrpc/des_soft.c: Likewise.
33168 * sunrpc/get_myaddr.c: Likewise.
33169 * sunrpc/key_call.c: Likewise.
33170 * sunrpc/key_prot.c: Likewise.
33171 * sunrpc/netname.c: Likewise.
33172 * sunrpc/pm_getmaps.c: Likewise.
33173 * sunrpc/pm_getport.c: Likewise.
33174 * sunrpc/pmap_clnt.c: Likewise.
33175 * sunrpc/pmap_prot.c: Likewise.
33176 * sunrpc/pmap_prot2.c: Likewise.
33177 * sunrpc/pmap_rmt.c: Likewise.
33178 * sunrpc/publickey.c: Likewise.
33179 * sunrpc/rpc_cmsg.c: Likewise.
33180 * sunrpc/rpc_common.c: Likewise.
33181 * sunrpc/rpc_dtable.c: Likewise.
33182 * sunrpc/rpc_prot.c: Likewise.
33183 * sunrpc/rpc_thread.c: Likewise.
33184 * sunrpc/rtime.c: Likewise.
33185 * sunrpc/svc.c: Likewise.
33186 * sunrpc/svc_auth.c: Likewise.
33187 * sunrpc/svc_raw.c: Likewise.
33188 * sunrpc/svc_run.c: Likewise.
33189 * sunrpc/svc_tcp.c: Likewise.
33190 * sunrpc/svc_udp.c: Likewise.
33191 * sunrpc/svc_unix.c: Likewise.
33192 * sunrpc/svcauth_des.c: Likewise.
33193 * sunrpc/xcrypt.c: Likewise.
33194 * sunrpc/xdr.c: Likewise.
33195 * sunrpc/xdr_array.c: Likewise.
33196 * sunrpc/xdr_float.c: Likewise.
33197 * sunrpc/xdr_intXX_t.c: Likewise.
33198 * sunrpc/xdr_mem.c: Likewise.
33199 * sunrpc/xdr_rec.c: Likewise.
33200 * sunrpc/xdr_ref.c: Likewise.
33201 * sunrpc/xdr_sizeof.c: Likewise.
33202 * sunrpc/xdr_stdio.c: Likewise.
33203
b5c086a2
RM
332042012-05-10 Roland McGrath <roland@hack.frob.com>
33205
33206 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33207 change. Update copyright years.
33208
6d74dd09
JM
332092012-05-10 Joseph Myers <joseph@codesourcery.com>
33210
33211 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33212
28e72501
MK
332132012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33214 Joseph Myers <joseph@codesourcery.com>
33215 Paul Pluzhnikov <ppluzhnikov@google.com>
33216
33217 [BZ #14012]
33218 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33219 requiring rpcgen.
33220 [cross-compiling] (extra-libs): Likewise.
33221 [cross-compiling] (extra-libs-others): Likewise.
33222 [cross-compiling] (librpcsvc-routines): Likewise.
33223 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33224 [cross-compiling] (omit-deps): Likewise.
33225 (sunrpc-CPPFLAGS): New variable.
33226 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33227 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33228 (cross-rpcgen-objs): New variable.
33229 (extra-objs): Append $(cross-rpcgen-objs).
33230 ($(cross-rpcgen-objs)): New rule.
33231 ($(objpfx)cross-rpcgen): Likewise.
33232 (rpcgen-cmd): Define to use $(built-program-file). Expand
33233 comment.
33234 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33235 ($(objpfx)x%.stmp): Likewise.
33236 * sunrpc/proto.h [IS_IN_build] (_): Define.
33237 [IS_IN_build] (_libc_intl_domainname): Likewise.
33238
c8c59454
L
332392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33240
33241 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33242 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33243 and R_X86_64_TPOFF64.
33244
6f27cd16
JM
332452012-05-10 Joseph Myers <joseph@codesourcery.com>
33246
33247 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33248 sysdeps/unix/sysv/syscalls.list.
33249 (stime): Likewise.
33250 (utime): Likewise.
33251 * sysdeps/unix/sysv/syscalls.list: Remove file.
33252
02467e1c
PE
332532012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33254
33255 [BZ #3440]
33256 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33257 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33258 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33259 (__LC_IDENTIFICATION): Make these macros useful in #if
33260 expressions, as required by C99.
33261
da392631
AS
332622012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33263
33264 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33265 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33266 after this.
33267
8115f29b
L
332682012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33269
33270 * stdlib/longlong.h: Updated from GCC.
33271
bdd74070
AJ
332722012-05-09 Andreas Jaeger <aj@suse.de>
33273
edfe0dbe
AJ
33274 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33275 default is first entry.
33276 (run_mode): Set type.
33277 (main): Remove informal message about syslog.
33278 (options): Fix typo.
33279
bcfe3a54
ST
33280 [BZ #14053]
33281 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 33282 to asm.
bcfe3a54
ST
33283 (lrint): Likewise.
33284 (llrintf): Likewise.
33285 (llrint): Likewise.
33286 (rint): Likewise.
33287 (rintf): Likewise.
33288 (nearbyint): Likewise.
33289 (nearbyintf): Likewise.
bdd74070 33290
91d8d69e
AJ
332912012-05-09 Andreas Jaeger <aj@suse.de>
33292 Pedro Alves <palves@redhat.com>
33293
33294 * nscd/nscd.c (run_mode): Use enum.
33295 (main): Cleanup coding style issue.
33296
bb90b80b
AJ
332972012-05-09 Alexandre Oliva <aoliva@redhat.com>
33298 Andreas Jaeger <aj@suse.de>
33299
bcfe3a54
ST
33300 * nscd/nscd.c (go_background): Replaced with...
33301 (run_mode): ... this.
bb90b80b 33302 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
33303 (options): Add -F --foreground.
33304 (main): Implement it.
33305 (parse_opt): Parse it.
bb90b80b 33306
1a4b75a1
AJ
333072012-05-09 Andreas Jaeger <aj@suse.de>
33308
33309 [BZ #14083]
33310 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33311 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33312 -Wconversion warning.
33313 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33314 Likewise.
33315
b1cc2472
JM
333162012-05-09 Joseph Myers <joseph@codesourcery.com>
33317
33318 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33319 == 0.
33320 (LC_ALL): Use macro-int-constant.
33321 (LC_COLLATE): Likewise.
33322 (LC_CTYPE): Likewise.
33323 (LC_MESSAGES): Likewise.
33324 (LC_MONETARY): Likewise.
33325 (LC_NUMERIC): Likewise.
33326 (LC_TIME): Likewise.
33327 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33328 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33329 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33330 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33331 Specify type.
33332 [C99-based standards] (float_t): Expect type.
33333 [C99-based standards] (double_t): Expect type.
33334 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33335 type.
33336 [C99-based standards] (HUGE_VALL): Likewise.
33337 [C99-based standards] (INFINITY): Likewise.
33338 [C99-based standards] (NAN): Likewise.
33339 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33340 [C99-based standards] (FP_NAN): Likewise.
33341 [C99-based standards] (FP_NORMAL): Likewise.
33342 [C99-based standards] (FP_SUBNORMAL): Likewise.
33343 [C99-based standards] (FP_ZERO): Likewise.
33344 [C99-based standards] (FP_FAST_FMA): Use
33345 optional-macro-int-constant. Specify type. Require == 1.
33346 [C99-based standards] (FP_FAST_FMAF): Likewise.
33347 [C99-based standards] (FP_FAST_FMAL): Likewise.
33348 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33349 [C99-based standards] (FP_ILOGBNAN): Likewise.
33350 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33351 Specify type.
33352 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33353 [C99-based standards] (math_errhandling): Specify type.
33354 [ISO99 || ISO11] (signgam): Do not allow.
33355 [non-C99-based standards] (copysignf): Do not allow.
33356 [non-C99-based standards] (exp2f): Likewise.
33357 [non-C99-based standards] (log2f): Likewise.
33358 [non-C99-based standards] (modff): Allow.
33359 [non-C99-based standards] (erff): Do not allow.
33360 [non-C99-based standards] (erfcf): Likewise.
33361 [non-C99-based standards] (gammaf): Likewise.
33362 [non-C99-based standards] (hypotf): Likewise.
33363 [non-C99-based standards] (j0f): Likewise.
33364 [non-C99-based standards] (j1f): Likewise.
33365 [non-C99-based standards] (jnf): Likewise.
33366 [non-C99-based standards] (lgammaf): Likewise.
33367 [non-C99-based standards] (tgammaf): Likewise.
33368 [non-C99-based standards] (y0f): Likewise.
33369 [non-C99-based standards] (y1f): Likewise.
33370 [non-C99-based standards] (ynf): Likewise.
33371 [non-C99-based standards] (isnanf): Likewise.
33372 [non-C99-based standards] (acoshf): Likewise.
33373 [non-C99-based standards] (asinhf): Likewise.
33374 [non-C99-based standards] (atanhf): Likewise.
33375 [non-C99-based standards] (cbrtf): Likewise.
33376 [non-C99-based standards] (expm1f): Likewise.
33377 [non-C99-based standards] (ilogbf): Likewise.
33378 [non-C99-based standards] (log1pf): Likewise.
33379 [non-C99-based standards] (logbf): Likewise.
33380 [non-C99-based standards] (nextafterf): Likewise.
33381 [non-C99-based standards] (remainderf): Likewise.
33382 [non-C99-based standards] (rintf): Likewise.
33383 [non-C99-based standards] (scalbf): Likewise.
33384 [non-C99-based standards] (copysignl): Likewise.
33385 [non-C99-based standards] (exp2l): Likewise.
33386 [non-C99-based standards] (log2l): Likewise.
33387 [non-C99-based standards] (modfl): Allow.
33388 [non-C99-based standards] (erfl): Do not allow.
33389 [non-C99-based standards] (erfcl): Likewise.
33390 [non-C99-based standards] (gammal): Likewise.
33391 [non-C99-based standards] (hypotl): Likewise.
33392 [non-C99-based standards] (j0l): Likewise.
33393 [non-C99-based standards] (j1l): Likewise.
33394 [non-C99-based standards] (jnl): Likewise.
33395 [non-C99-based standards] (lgammal): Likewise.
33396 [non-C99-based standards] (tgammal): Likewise.
33397 [non-C99-based standards] (y0l): Likewise.
33398 [non-C99-based standards] (y1l): Likewise.
33399 [non-C99-based standards] (ynl): Likewise.
33400 [non-C99-based standards] (isnanl): Likewise.
33401 [non-C99-based standards] (acoshl): Likewise.
33402 [non-C99-based standards] (asinhl): Likewise.
33403 [non-C99-based standards] (atanhl): Likewise.
33404 [non-C99-based standards] (cbrtl): Likewise.
33405 [non-C99-based standards] (expm1l): Likewise.
33406 [non-C99-based standards] (ilogbl): Likewise.
33407 [non-C99-based standards] (log1pl): Likewise.
33408 [non-C99-based standards] (logbl): Likewise.
33409 [non-C99-based standards] (nextafterl): Likewise.
33410 [non-C99-based standards] (remainderl): Likewise.
33411 [non-C99-based standards] (rintl): Likewise.
33412 [non-C99-based standards] (scalbl): Likewise.
33413 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33414 [non-C99-based standards] (FP_*): Do not allow.
33415 [C99-based standards] (FP_*): Change to
33416 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33417 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33418 allow.
33419 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33420 (SIG_ERR): Likewise.
33421 [X/Open-based standards] (SIG_HOLD): Likewise.
33422 (SIG_IGN): Likewise.
33423 (SIGABRT): Use macro-int-constant. Specify type. Require
33424 positive value.
33425 (SIGFPE): Likewise.
33426 (SIGILL): Likewise.
33427 (SIGINT): Likewise.
33428 (SIGSEGV): Likewise.
33429 (SIGTER): Likewise.
33430 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33431 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33432 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33433 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33434 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33435 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33436 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33437 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33438 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33439 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33440 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33441 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33442 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33443 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33444 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33445 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33446 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33447 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33448 [X/Open-based standards] (SIGTRAP): Likewise.
33449 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33450 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33451 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33452 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33453 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33454 allow.
33455
b9f1922d
IW
334562012-05-08 Ian Wienand <ianw@vmware.com>
33457
33458 [BZ #14080]
33459 * time/tzset.c (__tzset_parse_tz): Update default rules for
33460 daylight time changes in the Energy Policy Act of 2005.
33461
1db86e88
AJ
334622012-05-09 Andreas Jaeger <aj@suse.de>
33463
33464 [BZ #13983]
33465 * elf/ldconfig.c (parse_conf): Change string to make clear that
33466 ldconfig only issued a warning if ld.so.conf does not exist.
33467
dee4a4e3
DM
334682012-05-08 David S. Miller <davem@davemloft.net>
33469
ee0db190
DM
33470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33471 movxtod instead of popping the value on the stack.
33472
dee4a4e3
DM
33473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33474
6a43ec98
CD
334752012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33476
33477 * config.h.in: Add HAVE_ARM_PCS_VFP.
33478
05c2c961
RMG
334792012-05-08 Roland Mc Grath <roland@hack.frob.com>
33480
bcfe3a54
ST
33481 [BZ #13979]
33482 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33483 checking but the checks are disabled for any reason.
05c2c961 33484
4b30f61a
L
334852012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33486
33487 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33488 and ELF64_R_TYPE with ELFW(R_TYPE).
33489
eee2bc67
JM
334902012-05-08 Joseph Myers <joseph@codesourcery.com>
33491
7ea5391a
JM
33492 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33493 (ulimit): Likewise.
33494
eee2bc67
JM
33495 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33496 (settimeofday): Likewise.
33497
abb66a67
MF
334982012-05-08 Mike Frysinger <vapier@gentoo.org>
33499
33500 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33501 a struct th_u2 inside the union, and move tu_block/tu_code into
33502 a new th_u3 union of tu_block/tu_code inside of that. Move
33503 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33504 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33505 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33506 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33507 (th_stuff): Change to th_u1.tu_stuff.
33508 (th_data): Define.
33509 (th_msg): Change to th_u1.th_u2.tu_data.
33510
7f18b530
DM
335112012-05-07 David S. Miller <davem@davemloft.net>
33512
05760585
DM
33513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33514
7f18b530
DM
33515 [BZ #14074]
33516 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33517 (SETUP_PIC_REG): Use it.
33518 (SETUP_PIC_REG_LEAF): Use it.
33519
495fd99f
JM
335202012-05-07 Joseph Myers <joseph@codesourcery.com>
33521
33522 [BZ #13885]
33523 [BZ #13923]
33524 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33525 USE_AS_EXPM1L.
33526 (EXPL_FINITE): Likewise.
33527 (FLDLOG): Likewise.
33528 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33529 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33530 e_expl.S.
33531 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33532 USE_AS_EXPM1L.
33533 (EXPL_FINITE): Likewise.
33534 (FLDLOG): Likewise.
33535 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33536 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33537 e_expl.S.
33538 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33539 test of -max_value argument for long double.
33540 * sysdeps/i386/fpu/libm-test-ulps: Update.
33541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33542
6693d694
DM
335432012-05-06 David S. Miller <davem@davemloft.net>
33544
33545 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33546 quad soft-float symbols whose references which are compiler
33547 generated.
33548 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33549
6c23e11c
JM
335502012-05-06 Joseph Myers <joseph@codesourcery.com>
33551
d8b82cad
JM
33552 [BZ #13884]
33553 [BZ #13914]
33554 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33555 USE_AS_EXP10L.
33556 (EXPL_FINITE): Likewise.
33557 (FLDLOG): Likewise.
33558 (c0): Likewise.
33559 (c1): Likewise.
33560 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33561 Adjust comments for base varying.
33562 (__expl_finite): Change alias to EXPL_FINITE.
33563 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33564 e_expl.S.
33565 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33566 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33567 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33568 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33569 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33570 USE_AS_EXP10L.
33571 (EXPL_FINITE): Likewise.
33572 (FLDLOG): Likewise.
33573 (c0): Likewise.
33574 (c1): Likewise.
33575 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33576 Adjust comments for base varying.
33577 (__expl_finite): Change alias to EXPL_FINITE.
33578 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33579 tests for bugs.
33580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33581
6c23e11c
JM
33582 [BZ #14064]
33583 * math/libm-test.inc (check_float_internal): Correct ulp
33584 calculation for subnormal expected results.
33585
29ba805c
AJ
335862012-05-06 Andreas Jaeger <aj@suse.de>
33587
33588 * Makeconfig (+math-flags): New, set to -frounding-math.
33589 (+cflags): Add +math-flags so that all of glibc gets compiled with
33590 it.
33591
33592 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33593
7b17aeda
JM
335942012-05-05 Joseph Myers <joseph@codesourcery.com>
33595
5779f134
JM
33596 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33597 Disable one test.
33598
41498f4d
JM
33599 [BZ #13787]
33600 [BZ #13922]
33601 [BZ #14036]
33602 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33603 (__ieee754_expl): Allow for and saturate large arguments.
33604 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33605 (u_threshold): Likewise.
33606 (__exp): Call __ieee754_exp before checking for overflow and
33607 underflow.
33608 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33609 (u_threshold): Likewise.
33610 (__expf): Call __ieee754_expf before checking for overflow and
33611 underflow.
33612 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33613 (u_threshold): Likewise.
33614 (__expl): Call __ieee754_expl before checking for overflow and
33615 underflow.
33616 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33617 (__ieee754_expl): Allow for and saturate large arguments.
33618 * math/libm-test.inc (exp_test): Add another test. Do not allow
33619 missing overflow exception on overflow.
33620 (expm1_test): Do not allow missing overflow exception on overflow.
33621
6698b8bf
JM
33622 * sysdeps/i386/fpu/e_expl.c: Move to ...
33623 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33624 rather than using inline asm.
33625 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33626 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33627 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33628
7b17aeda
JM
33629 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33630 (nice): Likewise.
33631 (poll): Likewise.
33632 (signal): Likewise.
33633 (time): Likewise.
33634 (times): Likewise.
33635
f7c85819
JM
336362012-05-04 Joseph Myers <joseph@codesourcery.com>
33637
33638 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33639 sysdeps/unix/common/syscalls.list.
33640 (fchmod): Likewise.
33641 (fchown): Likewise.
33642 (ftruncate): Likewise.
33643 (getrusage): Likewise.
33644 (gettimeofday): Likewise.
33645 (setpgid): Likewise.
33646 (setregid): Likewise.
33647 (setreuid): Likewise.
33648 (sigaction): Likewise.
33649 (truncate): Likewise.
33650 (vhangup): Likewise.
33651 * sysdeps/unix/common/syscalls.list: Remove file.
33652 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33653 * sysdeps/unix/sysv/linux/Implies: Likewise.
33654
336270d0
L
336552012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33656
33657 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33659 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33660 Moved to ...
33661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33662 Here.
33663 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33664 to ...
33665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33666 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33667 to ...
33668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33669 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33670 to ...
33671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33672 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33673 to ...
33674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33675 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33676 to ...
33677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33678 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33679 to ...
33680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33681 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33682 to ...
33683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33684 Here.
33685 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33686 to ...
33687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33688 Here.
33689 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33690 to ...
33691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33692 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33693 Moved to ...
33694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33695 Here.
33696 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33697 to ...
33698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33699
d128e450
JM
337002012-05-04 Joseph Myers <joseph@codesourcery.com>
33701
fa8ee516
JM
33702 * sysdeps/unix/common/bits/dirent.h: Remove file.
33703 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33704
d128e450
JM
33705 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33706 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33707 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33708 * sysdeps/unix/bsd/isatty.c: Likewise.
33709 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33710 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33711 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33712
ff8faaf0 337132012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 33714
62881be4 33715 [BZ #13563]
31dc8730
AZ
33716 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33717 long double comparison inaccuracies.
33718 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33720
6fef930c
AS
337212012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33722
33723 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33724 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33725
8f203e6c
JM
337262012-05-04 Joseph Myers <joseph@codesourcery.com>
33727
33728 [BZ #14049]
33729 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33730 nonzero digits before rounding a hex value.
33731 * stdlib/tst-strtod.c (tests): Add another test.
33732
5197d9c2
AK
337332012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33734
33735 * sysdeps/s390/fpu/libm-test-ulps: Update.
33736
f0c1dedf
AJ
337372012-05-03 Andreas Jaeger <aj@suse.de>
33738
33739 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33740 does not get optimized out.
33741 (malloc_opt_barrier): New.
33742
a65ef2ae 337432012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 33744 Roland McGrath <roland@hack.frob.com>
a65ef2ae 33745
2b942cb7 33746 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 33747 intermediate file deletion.
2b942cb7 33748 (generated): Add .symlist files.
a65ef2ae 33749
54b71e02
JM
337502012-05-03 Joseph Myers <joseph@codesourcery.com>
33751
33752 [BZ #13775]
33753 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33754 Redirect under this condition.
33755 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33756 [__USE_GNU] (__dprintf_chk): Not under this condition.
33757 [__USE_GNU] (__vdprintf_chk): Likewise.
33758 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33759 under this condition.
33760 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33761 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33762 [__USE_XOPEN2K8] (vdprintf): Likewise.
33763 [__USE_GNU] (__dprintf_chk): Not under this condition.
33764 [__USE_GNU] (__vdprintf_chk): Likewise.
33765 [__USE_GNU] (dprintf): Likewise.
33766 [__USE_GNU] (vdprintf): Likewise.
33767
d3dfcc41
RM
337682012-05-03 Roland McGrath <roland@hack.frob.com>
33769
33770 * elf/Makefile (common-generated): Set this instead of generated for
33771 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33772 $(all-built-dso)-derived lists.
33773
7ac30cc5
AJ
337742012-05-03 Andreas Jaeger <aj@suse.de>
33775
0c51e550
AJ
33776 * sysdeps/i386/fpu/libm-test-ulps: Update.
33777
7ac30cc5
AJ
33778 * FAQ: Removed.
33779 * FAQ.in: Likewise.
33780 * scripts/gen-FAQ.pl: Likewise.
33781 * manual/install.texi (Installation): Point to online location of
33782 FAQ.
33783 * Makefile (files-for-dist): Remove FAQ.
33784 (FAQ): Remove.
33785
d4c2917f
AM
337862012-05-02 Allan McRae <allan@archlinux.org>
33787
33788 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33789 (LDFLAGS-reldepmod5.so): Likewise.
33790 (LDFLAGS-reldep6mod1.so): Likewise.
33791 (LDFLAGS-reldep6mod4.so): Likewise.
33792 (LDFLAGS-reldep8mod3.so): Likewise.
33793 (LDFLAGS-unload4mod1.so): Likewise.
33794 (LDFLAGS-unload4mod2.so): Likewise.
33795 (LDFLAGS-tst-initorder): Likewise.
33796 (LDFLAGS-tst-initordera2.so): Likewise.
33797 (LDFLAGS-tst-initordera3.so): Likewise.
33798 (LDFLAGS-tst-initordera4.so): Likewise.
33799 (LDFLAGS-tst-initorderb2.so): Likewise.
33800 (LDFLAGS-noload): Likewise.
33801 (LDFLAGS-next): Likewise.
33802 (LDFLAGS-order2mod1.so): Likewise.
33803 (LDFLAGS-order2mod2.so): Likewise.
33804 (LDFLAGS-tst-initorder2): Likewise.
33805 (LDFLAGS-tst-initorder2a.so): Likewise.
33806 (LDFLAGS-tst-initorder2b.so): Likewise.
33807 (LDFLAGS-tst-initorder2c.so): Likewise.
33808 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33809
d77f993f
DM
338102012-05-02 David S. Miller <davem@davemloft.net>
33811
33812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33813
171a70b4
PP
338142012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33815
33816 [BZ #14055]
33817 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33818
0be196ad
AJ
338192012-05-02 Andreas Jaeger <aj@suse.de>
33820
33821 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33822 since we manipulate rounding mode.
33823 (CPPFLAGS-test-idouble.c): Likewise.
33824 (CPPFLAGS-test-ifloat.c): Likewise.
33825 (CFLAGS-test-ldouble.c): Likewise.
33826 (CFLAGS-test-double.c): Likewise.
33827 (CFLAGS-test-float.c): Likewise.
33828 (CFLAGS-test-misc.c): Likewise.
33829 (CFLAGS-test-test-fenv.c): Likewise.
33830
4f9d04aa
AZ
338312012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33832
2b942cb7
RM
33833 [BZ #2550]
33834 [BZ #2570]
33835 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33836 comparisons to determine direction to adjust input.
4f9d04aa 33837
82a79e7d
RM
338382012-05-01 Roland McGrath <roland@hack.frob.com>
33839
f5a01ca9
RM
33840 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33841 output to the target.
33842
90fe4186
RM
33843 * scripts/localplt.awk: New file.
33844 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33845 (check-localplt-CFLAGS): Variable removed.
33846 ($(all-built-dso:=.jmprel)): New static pattern rule.
33847 (generated): Add those targets.
33848 (localplt-built-dso): New variable.
33849 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33850
33851 * elf/check-localplt.c: File removed.
33852
82397ed6
RM
33853 * scripts/check-execstack.awk: New file.
33854 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33855 (check-execstack-CFLAGS): Variable removed.
33856 ($(objpfx)check-execstack.h): Target removed.
33857 ($(objpfx)execstack-default): New target.
33858 (generated): Add that instead of check-execstack.h.
33859 ($(all-built-dso:=.phdr)): New static pattern rule.
33860 (generated): Add those targets.
33861 * elf/check-execstack.c: File removed.
33862
82a79e7d
RM
33863 * scripts/check-textrel.awk: New file.
33864 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33865 (check-textrel-CFLAGS): Variable removed.
33866 (all-built-dso): Use := to define.o
33867 ($(all-built-dso:=.dyn)): New static pattern rule.
33868 (generated): Add those targets.
33869 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33870 * config.make.in (READELF): New substituted variable.
33871 * elf/check-textrel.c: File removed.
33872
62fde54f 338732012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 33874
615605c9
JM
33875 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33876 allow.
33877 * conform/data/ctype.h-data [C99-based standards] (isblank):
33878 Expect function.
33879 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33880 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33881 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33882 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33883 Specify type. Require positive value.
33884 (EILSEQ): Likewise.
33885 (ERANGE): Likewise.
33886 [ISO || POSIX] (EILSEQ): Do not expect.
33887 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33888 Specify type. Require positive value.
33889 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33890 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33891 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33892 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33893 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33894 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33895 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33896 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33897 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33898 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33899 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33900 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33901 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33902 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33903 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33904 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33905 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33906 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33907 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33908 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33909 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33910 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33911 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33912 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33913 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33914 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33915 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33916 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33917 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33918 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33919 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33920 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33921 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33922 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33923 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33924 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33925 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33926 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33927 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33928 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33929 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33930 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33931 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33932 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33933 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33934 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33935 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33936 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33937 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33938 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33939 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33940 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33941 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33942 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33943 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33944 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33945 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33946 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33947 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33948 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33949 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33950 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33951 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33952 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33953 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33954 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33955 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33956 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33957 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33958 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33959 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33960 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33961 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33962 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33963 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33964 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33965 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33966 Require >= 2.
33967 (FLT_ROUNDS): Expect as macro, not constant.
33968 (FLT_MANT_DIG): Use macro-int-constant.
33969 (DBL_MANT_DIG): Likewise.
33970 (LDBL_MANT_DIG): Likewise.
33971 (FLT_DIG): Likewise.
33972 (DBL_DIG): Likewise.
33973 (LDBL_DIG): Likewise.
33974 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33975 (DBL_MIN_EXP): Likewise.
33976 (LDBL_MIN_EXP): Likewise.
33977 (FLT_MAX_EXP): Use macro-int-constant.
33978 (DBL_MAX_EXP): Likewise.
33979 (LDBL_MAX_EXP): Likewise.
33980 (FLT_MAX_10_EXP): Likewise.
33981 (DBL_MAX_10_EXP): Likewise.
33982 (LDBL_MAX_10_EXP): Likewise.
33983 (FLT_MAX): Use macro-constant.
33984 (DBL_MAX): Likewise.
33985 (LDBL_MAX): Likewise.
33986 (FLT_EPSILON): Use macro-constant. Give upper bound.
33987 (DBL_EPSILON): Likewise.
33988 (LDBL_EPSILON): Likewise.
33989 (FLT_MIN): Likewise.
33990 (DBL_MIN): Likewise.
33991 (LDBL_MIN): Likewise.
33992 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33993 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33994 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33995 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33996 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33997 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33998 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33999 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34000 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34001 [ISO11] (FLT_TRUE_MIN): Likewise.
34002 [ISO11] (LDBL_TRUE_MIN): Likewise.
34003 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34004 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34005 (SCHAR_MIN): Use macro-int-constant. Specify type.
34006 (SCHAR_MAX): Likewise.
34007 (UCHAR_MAX): Likewise.
34008 (CHAR_MIN): Likewise.
34009 (CHAR_MAX): Likewise.
34010 (MB_LEN_MAX): Use macro-int-constant.
34011 (SHRT_MIN): Use macro-int-constant. Specify type.
34012 (SHRT_MAX): Likewise.
34013 (USHRT_MAX): Likewise.
34014 (INT_MAX): Likewise.
34015 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34016 bound negative.
34017 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34018 bound with "U".
34019 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34020 bound with "L".
34021 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34022 bound negative. Suffix upper bound with "L".
34023 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34024 bound with "UL".
34025 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34026 Specify type.
34027 [C99-based standards] (LLONG_MAX): Likewise.
34028 [C99-based standards] (ULLONG_MAX): Likewise.
34029 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34030 == 0.
34031 [ISO11] (max_align_t): Require type.
34032 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34033
c9140a62
JM
34034 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34035 from $CFLAGS, without defining away __attribute__ calls.
34036 (checknamespace): Use $CFLAGS_namespace.
34037
9af0bf29
JM
34038 * conform/conformtest.pl (@keywords): Only include C99 keywords
34039 for standards based on C99 or C11.
34040
343222a2
JM
34041 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34042 Disable tests.
34043 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34044 UNIX98]: Likewise.
34045
661f8cf0
JM
34046 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34047 usability of symbols in #if.
34048
ee74b9cb
JM
34049 * conform/conformtest.pl: If macro or constant types start
34050 "promoted:", expect the symbol to be of the following type
34051 promoted by the integer promotions.
62fde54f 34052
aafc49b3
JM
34053 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34054 in one place. Also handle "macro-constant".
34055
fefdf574
JM
34056 * conform/conformtest.pl: Only accept expected macro values with
34057 "==". Parse all "macro" lines in one place.
34058 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34059
f2d922fe
JM
34060 * conform/conformtest.pl: Handle braced types on "constant" lines
34061 instead of handling "typed-constant".
34062 * conform/data/signal.h-data: Use "constant" instead of
34063 "typed-constant".
34064
d22956c9
JM
34065 * conform/conformtest.pl: Handle "optional-" at start of lines in
34066 one place rather than duplicating several cases. Handle each
34067 format of "macro" line with initial "optional-".
34068
028e2e38
JM
34069 * conform/conformtest.pl: Only accept expected constant or
34070 optional-constant values with "==". Parse all "constant" lines in
34071 one place. Parse all "optional-constant" lines in one place.
34072 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34073 * conform/data/fmtmsg.h-data: Likewise.
34074 * conform/data/netinet/in.h-data: Likewise.
34075 * conform/data/tar.h-data: Likewise.
34076 * conform/data/limits.h-data: Use "==" form on "constant" and
34077 "optional-constant" lines.
34078
1b8f2850
JM
34079 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34080 Use -std=c99 for XOPEN2K.
34081 (@knownproblems): Remove.
34082 (newtoken): Don't check %isknown.
34083
a05a144b
JM
34084 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34085 Do not expect macro.
34086 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34087 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34088 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34089 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34090 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34091 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34092 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34093 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34094 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34095 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34096 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34097 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34098 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34099 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34100 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34101 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34102 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34103 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34104 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34105 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34106 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34107 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34108 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34109 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34110 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34111 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34112 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34113 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34114 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34115 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34116 [XPG3] (acosh): Likewise.
34117 [XPG3] (asinh): Likewise.
34118 [XPG3] (atanh): Likewise.
34119 [XPG3] (cbrt): Likewise.
34120 [XPG3] (expm1): Likewise.
34121 [XPG3] (ilogb): Likewise.
34122 [XPG3] (log1p): Likewise.
34123 [XPG3] (logb): Likewise.
34124 [XPG3] (nextafter): Likewise.
34125 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34126 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34127 [XPG3] (remainder): Likewise.
34128 [XPG3] (rint): Likewise.
34129 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34130 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34131 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34132 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34133 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34134 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34135 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34136 [UNIX98 || XOPEN2K] (scalb): Expect.
34137 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34138 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34139 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34140 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34141 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34142 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34143 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34144 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34145 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34146 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34147 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34148 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34149 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34150 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34151 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34152 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34153 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34154 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34155 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34156 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34157 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34158 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34159 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34160 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34161 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34162 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34163 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34164 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34165 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34166 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34167 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34168 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34169 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34170 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34171 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34172 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34173 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34174 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34175 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34176 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34177 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34178 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34179 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34180 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34181 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34182 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34183 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34184 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34185 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34186 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34187 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34188 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34189 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34190 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34191 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34192 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34193 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34194 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34195 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34196 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34197 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34198 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34199 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34200 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34201 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34202 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34203 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34204 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34205 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34206 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34207 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34208 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34209 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34210 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34211 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34212 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34213 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34214 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34215 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34216 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34217 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34218 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34219 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34220 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34221 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34222 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34223 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34224 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34225 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34226 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34227 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34228 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34229 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34230 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34231 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34232 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34233 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34234 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34235 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34236 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34237 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34238 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34239 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34240 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34241 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34242 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34243 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34244 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34245 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34246 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34247 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34248 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34249 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34250 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34251 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34252 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34253 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34254 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34255 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34256 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34257 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34258 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34259 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34260 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34261 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34262 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34263 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34264 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34265 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34266 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34267 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34268 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34269 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34270 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34271 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34272 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34273 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34274
73c5ebe3
JM
34275 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34276 _XOPEN_SOURCE_EXTENDED for XPG4.
34277
39c33b6c
JM
34278 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34279
62fde54f
JM
34280 * Makeconfig (localtime): Remove variable.
34281 (inst_localtime-file): Likewise.
34282
0741d64c
AS
342832012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34284
34285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34286 Update.
34287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34288 Update.
34289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34290 Update.
34291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34292 Update.
34293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34294 Update.
34295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34296 Update.
34297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34298 Update.
34299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34300 Update.
34301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34302 Update.
34303
7cb029ee
JM
343042012-05-01 Joseph Myers <joseph@codesourcery.com>
34305
34306 [BZ #2550]
34307 [BZ #2570]
34308 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34309 comparisons to determine direction to adjust input.
34310 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34311 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34312 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34313 Likewise.
34314 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34315 Likewise.
34316 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34317 Likewise.
34318 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34319 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34320 Likewise.
34321 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34322 Likewise.
34323 * math/libm-test.inc (nexttoward_test): Add more tests.
34324
412bd966
AS
343252012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34326
34327 [BZ #14040]
34328 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34329 in version GLIBC_2.1, not GLIBC_2.0.
34330 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34331 Likewise.
34332
9568c0c2
JM
343332012-04-30 Joseph Myers <joseph@codesourcery.com>
34334
adfbc8ac
JM
34335 [BZ #13942]
34336 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34337 (1 - x) * (1 + x).
34338 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34339 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34340 * math/libm-test.inc (acos_test): Add more tests.
34341 (asin_test): Likewise.
34342 * sysdeps/i386/fpu/libm-test-ulps: Update.
34343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34344
5ba3cc69
JM
34345 [BZ #14034]
34346 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34347 of square root.
34348 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34349 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34350 * math/libm-test.inc (acos_test_tonearest): New function.
34351 (acos_test_towardzero): Likewise.
34352 (acos_test_downward): Likewise.
34353 (acos_test_upward): Likewise.
34354 (asin_test_tonearest): Likewise.
34355 (asin_test_towardzero): Likewise.
34356 (asin_test_downward): Likewise.
34357 (asin_test_upward): Likewise.
34358 (main): Call the new functions.
34359 * sysdeps/i386/fpu/libm-test-ulps: Update.
34360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34361
9568c0c2
JM
34362 [BZ #13884]
34363 [BZ #13924]
34364 * math/e_exp10.c: Include <float.h>.
34365 (__ieee754_exp10): Handle underflow here rather than multiplying
34366 large negative argument by M_LN10.
34367 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34368 of __ieee754_expf.
34369 * math/e_exp10l.c: Include <float.h>.
34370 (__ieee754_exp10l): Handle underflow here rather than multiplying
34371 large negative argument by M_LN10l.
34372 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34373 spurious overflow exception on underflow.
34374
5ac3ea17
MP
343752012-04-29 Marek Polacek <polacek@redhat.com>
34376
34377 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34378 (__fortify_function): New macro.
34379 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34380 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34381 __extern_always_inline.
34382 * libio/bits/stdio2.h: Likewise.
34383 * libio/bits/stdio.h: Likewise.
34384 * string/string.h: Likewise.
34385 * string/bits/string3.h: Likewise.
34386 * include/stdio.h: Likewise.
34387 * stdlib/bits/stdlib.h: Likewise.
34388 * stdlib/stdlib.h: Likewise.
34389 * rt/bits/mqueue2.h: Likewise.
34390 * rt/mqueue.h: Likewise.
34391 * posix/bits/unistd.h: Likewise.
34392 * posix/unistd.h: Likewise.
34393 * io/bits/poll2.h: Likewise.
34394 * io/bits/fcntl2.h: Likewise.
34395 * io/fcntl.h: Likewise.
34396 * io/sys/poll.h: Likewise.
34397 * misc/bits/syslog.h: Likewise.
34398 * misc/bits/syslog-ldbl.h: Likewise.
34399 * misc/sys/syslog.h: Likewise.
34400 * socket/bits/socket2.h: Likewise.
34401 * socket/sys/socket.h: Likewise.
34402 * debug/tst-chk1.c: Likewise.
34403 * wcsmbs/bits/wchar2.h: Likewise.
34404 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34405 * wcsmbs/wchar.h: Likewise.
34406
ecf0ebfb
AJ
344072012-04-29 Andreas Jaeger <aj@suse.de>
34408
34409 * Makerules (tests): Remove enable-check-abi protection.
34410 (check-abi-warn): Remove.
34411 (check-abi-%): Remove check-abi-warn usage.
34412
34413 * configure.in: Remove check-abi configure option.
34414 * configure: Regenerated.
34415 * config.make.in (enable-check-abi): Remove.
34416
6d5c57fa
AS
344172012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34418
24c5d07e 34419 [BZ #14033]
ded5180a
AS
34420 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34421 double functions to double *_finite functions.
34422
7e0d315d
AS
34423 [BZ #13941]
34424 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34425 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34426 LDBL_MIN_EXP.
34427 * stdio-common/Makefile (tests): Add tst-sprintf3.
34428 * stdio-common/tst-sprintf3.c: New file.
34429
6d5c57fa
AS
34430 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34431 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34432
0749ff8b
JM
344332012-04-28 Joseph Myers <joseph@codesourcery.com>
34434
34435 * conform/conformtest.pl: Remove duplicate typed-constant
34436 handling.
34437
8dbd5d7b
DM
344382012-04-28 David S. Miller <davem@davemloft.net>
34439
34440 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34441 (check-abi-%): Remove AWK script prerequisite and explicit
34442 abilist directory.
34443 (check-abi): Rewrite to just diff the symlist with the abilist.
34444 (config-tls, config-abi-config): Delete, no longer used.
34445 (update-abi-%): Remove AWK script and explicit abilist directory.
34446 (update-abi): Rewrite to simply compare and conditionally copy the
34447 symlist and the sysdep abilist file. Remove update-abi-config
34448 checks.
34449 * abilist/ld.abilist: Remove.
34450 * abilist/libBrokenLocale.abilist: Remove.
34451 * abilist/libanl.abilist: Remove.
34452 * abilist/libcrypt.abilist: Remove.
34453 * abilist/libdl.abilist: Remove.
34454 * abilist/librt.abilist: Remove.
34455 * abilist/libthread_db.abilist: Remove.
34456 * abilist/libutil.abilist: Remove.
34457 * scripts/extract-abilist.awk: Remove.
34458 * scripts/merge-abilist.awk: Remove.
34459 * sysdeps/generic/libcidn.abilist: New file.
34460 * sysdeps/generic/libnss_compat.abilist: New file.
34461 * sysdeps/generic/libnss_db.abilist: New file.
34462 * sysdeps/generic/libnss_dns.abilist: New file.
34463 * sysdeps/generic/libnss_files.abilist: New file.
34464 * sysdeps/generic/libnss_hesiod.abilist: New file.
34465 * sysdeps/generic/libnss_nis.abilist: New file.
34466 * sysdeps/generic/libnss_nisplus.abilist: New file.
34467 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34468 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34469 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34470 file.
34471 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34472 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34473 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34474 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34475 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34476 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34477 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34478 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34479 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34480 file.
34481 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34482 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34483 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34484 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34485 file.
34486 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34487 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34488 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34489 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34490 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34491 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34492 file.
34493 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34494 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34495 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34496 file.
34497 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34499 New file.
34500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34501 New file.
34502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34503 New file.
34504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34505 New file.
34506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34507 New file.
34508 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34509 New file.
34510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34511 New file.
34512 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34513 New file.
34514 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34515 New file.
34516 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34517 New file.
34518 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34519 New file.
34520 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34521 New file.
34522 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34523 New file.
34524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34525 file.
34526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34527 New file.
34528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34529 New file.
34530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34531 file.
34532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34533 New file.
34534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34535 New file.
34536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34537 file.
34538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34539 New file.
34540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34541 New file.
34542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34543 New file.
34544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34545 New file.
34546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34547 New file.
34548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34549 New file.
34550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34552 file.
34553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34554 New file.
34555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34556 file.
34557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34558 file.
34559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34560 file.
34561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34562 file.
34563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34564 file.
34565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34566 New file.
34567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34568 file.
34569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34570 file.
34571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34572 New file.
34573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34574 file.
34575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34577 file.
34578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34579 New file.
34580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34581 file.
34582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34583 file.
34584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34585 file.
34586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34587 file.
34588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34589 file.
34590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34591 New file.
34592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34593 file.
34594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34595 file.
34596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34597 New file.
34598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34599 file.
34600 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34601 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34602 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34603 file.
34604 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34605 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34606 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34607 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34608 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34609 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34610 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34611 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34612 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34613 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34616 file.
34617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34618 New file.
34619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34620 file.
34621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34622 file.
34623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34624 file.
34625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34626 file.
34627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34628 file.
34629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34630 New file.
34631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34632 New file.
34633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34634 file.
34635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34636 New file.
34637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34638 file.
34639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34641 file.
34642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34643 New file.
34644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34645 file.
34646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34647 file.
34648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34649 file.
34650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34651 file.
34652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34653 file.
34654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34655 New file.
34656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34657 New file.
34658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34659 file.
34660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34661 New file.
34662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34663 file.
34664
41d73a1b
JM
346652012-04-28 Joseph Myers <joseph@codesourcery.com>
34666
34667 * conform/conformtest.pl: Fix typo in handling typed-constant from
34668 allow-header.
34669
28aeeda4
JM
346702012-04-27 Joseph Myers <joseph@codesourcery.com>
34671
adae8f5e
JM
34672 * README: Cut down references to pre-2.6 Linux kernels and
34673 Linuxthreads. Update lists of configurations in libc and ports
34674 and sort alphabetically. Say "or newer" with Linux kernel version
34675 requirements.
34676
28aeeda4
JM
34677 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34678
a462cb63
RA
346792012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34680
34681 [BZ #887]
34682 * math/libm-test.inc (logb_test_downward): New test to expose
34683 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34684 rounding mode.
34685
6ad3493e
JM
346862012-04-27 Joseph Myers <joseph@codesourcery.com>
34687
34688 [BZ #14027]
34689 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34690 to be done.
34691 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34692 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34693
2ce4f015
JM
346942012-04-26 Joseph Myers <joseph@codesourcery.com>
34695
5aeb141a
JM
34696 * sysdeps/unix/i386/brk.S: Remove file.
34697 * sysdeps/unix/i386/dl-brk.S: Likewise.
34698 * sysdeps/unix/i386/pipe.S: Likewise.
34699 * sysdeps/unix/i386/sigreturn.S: Likewise.
34700 * sysdeps/unix/i386/syscall.S: Likewise.
34701 * sysdeps/unix/i386/vfork.S: Likewise.
34702 * sysdeps/unix/i386/wait.S: Likewise.
34703
7143acae
JM
34704 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34705 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34706
2ce4f015
JM
34707 * configure.in (arm*-none*): Do not allow without
34708 --enable-hacker-mode.
34709 (netbsd*): Remove case setting base_os.
34710 (386bsd*): Likewise.
34711 (freebsd*): Likewise.
34712 (bsdi*): Likewise.
34713 (osf*): Likewise.
34714 (sunos*): Likewise.
34715 (ultrix*): Likewise.
34716 (newsos*): Likewise.
34717 (dynix*): Likewise.
34718 (*bsd*): Likewise.
34719 (sysv*): Likewise.
34720 (isc*): Likewise.
34721 (esix*): Likewise.
34722 (sco*): Likewise.
34723 (minix*): Likewise.
34724 (irix4*): Likewise.
34725 (irix6*): Likewise.
34726 (solaris[2-9]*): Likewise.
34727 (none): Likewise.
34728 * configure: Regenerated.
34729
0ac229c8
AZ
347302012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34731
34732 [BZ #11521]
34733 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34734 overflow or cancellation in calculating denominator.
34735 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34736 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34737 down expression to avoid unexpected rounding in newer GCCs.
34738 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34739
33f244f4
DM
347402012-04-26 David S. Miller <davem@davemloft.net>
34741
34742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34743 long-double compat symbols.
34744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34757
cfa1f3e8
DM
347582012-04-25 David S. Miller <davem@davemloft.net>
34759
34760 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34761 HWCAP_* values only after the memory barriers have been defined.
34762 (atomic_full_barrier): Define.
34763 (atomic_read_barrier): Define.
34764 (atomic_write_barrier): Define.
34765
6e236b92
SP
347662012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34767
34768 * shlib-versions: Add libgcc_s version information.
34769 * sysdeps/generic/libgcc_s.h: Remove.
34770 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34771 libgcc_s.h.
34772 * sysdeps/gnu/unwind-resume.c: Likewise.
34773 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34774
aab39a09
DM
347752012-04-25 David S. Miller <davem@davemloft.net>
34776
34777 * sysdeps/unix/sparc/brk.S: Delete.
34778 * sysdeps/unix/sparc/dl-brk.S: Delete.
34779 * sysdeps/unix/sparc/pipe.S: Delete.
34780 * sysdeps/unix/sparc/sysdep.S: Delete.
34781 * sysdeps/unix/sparc/sysdep.h: Delete.
34782 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
34783 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34784 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34785 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34786 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
34787 (JUMPTARGET): Remove.
34788 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34789 sysdeps/unix/sparc/sysdep.h
34790 (ENTRY, END): Remove.
34791 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34792
a3cc4f48
JM
347932012-04-25 Joseph Myers <joseph@codesourcery.com>
34794
2ed8cda2
JM
34795 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34796 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34797 -DIS_IN_build.
34798
35d76d59
JM
34799 * timezone/README: Update upstream location and email address for
34800 tzcode and tzdata.
34801 * timezone/zdump.c: Update from tzcode 2012b.
34802 * timezone/zic.c: Likewise.
34803
a3cc4f48
JM
34804 * configure.in (libc_cv_as_needed): Remove test.
34805 * configure: Regenerated.
34806 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34807 conditional definition.
34808 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34809 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34810 * config.make.in (have-as-needed): Remove variable.
34811
ceab42c3
SP
348122012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34813 Paul Pluzhnikov <ppluzhnikov@google.com>
34814
34815 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34816 strings correctly.
34817
3ce2865f
CLT
348182012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34819
34820 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34821 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34822 * sysdeps/sh/strlen.S: Likewise.
34823
f37e0d68
JM
348242012-04-24 Joseph Myers <joseph@codesourcery.com>
34825
ae186e9a
JM
34826 * sysdeps/unix/fork.S: Remove file.
34827 * sysdeps/unix/i386/fork.S: Likewise.
34828 * sysdeps/unix/sparc/fork.S: Likewise.
34829
b96914af
JM
34830 * sysdeps/unix/system.c: Remove file.
34831 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34832
f37e0d68
JM
34833 * sysdeps/unix/getegid.S: Remove file.
34834 * sysdeps/unix/geteuid.S: Likewise.
34835
87ef29ca
RM
348362012-04-24 Roland McGrath <roland@hack.frob.com>
34837
83bcd236
RM
34838 * scripts/check-localplt.awk: New file.
34839 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34840 of diff.
34841 * scripts/data/localplt-generic.data: Add a comment.
34842
87ef29ca
RM
34843 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34844 NODE when __dir_mkfile failed.
34845 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34846 Reported by Ludovic Courtès <ludo@gnu.org>.
34847
e5a6e567
AJ
348482012-04-24 Andreas Jaeger <aj@suse.de>
34849
34850 * Makerules (common-clean): Also remove gen-as-const-headers
34851 files.
34852
c1820385
JM
348532012-04-24 Joseph Myers <joseph@codesourcery.com>
34854
34855 * Makerules (native-compile): Do not change working directory for
34856 build. Use $(OUTPUT_OPTION) in command.
34857 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34858
94e02fc4
AZ
348592012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34860
34861 [BZ #13886]
34862 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34863 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34864 * math/libm-test.inc (floor_test): Add more tests.
34865 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34866
3a533ca3
JM
348672012-04-24 Joseph Myers <joseph@codesourcery.com>
34868
940ab4b3
JM
34869 * sysdeps/unix/getdents.c: Remove file.
34870 * sysdeps/unix/sysv/getdents.c: Likewise.
34871 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34872
90e037bd
JM
34873 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34874 sysdeps/unix/mman/syscalls.list.
34875 (mmap): Likewise.
34876 (mprotect): Likewise.
34877 (msync): Likewise.
34878 (munmap): Likewise.
34879 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34880 * sysdeps/unix/mman/syscalls.list: Remove.
34881 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34882
3a533ca3
JM
34883 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34884 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34885 * configure: Regenerated.
34886 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34887 $(libgcc_s_suffix).
34888 * config.make.in (libgcc_s_suffix): Remove variable.
34889
1ad743de
JM
348902012-04-23 Joseph Myers <joseph@codesourcery.com>
34891
4ad451e2
JM
34892 * sysdeps/unix/sysv/gethostname.c: Move to ...
34893 * sysdeps/posix/gethostname.c: ... here.
34894
5e37ce39
JM
34895 * sysdeps/unix/execve.S: Remove file.
34896
1ad743de
JM
34897 * sysdeps/unix/_exit.S: Remove file.
34898
4e681b5b
AJ
348992012-04-23 Andreas Jaeger <aj@suse.de>
34900
34901 [BZ #13739]
34902 * manual/Makefile: Remove make dist support, there's no
34903 need for a stand-alone documentation tar ball.
34904 (TEXI2DVI): Define always, it's not in Makeconfig.
34905 (dist): Removed.
34906 (tar-it): Removed.
34907 (edition): Removed.
34908 (glibc-doc-$(edition).tar): Removed
34909 (%.Z): Removed.
34910 (%.gz): Removed.
34911 (%.uu): Removed.
34912 (ETAGS): Remove, it's in Makeconfig.
34913 (move-if-change): Remove, it's in Makeconfig.
34914
38686a03 349152012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
34916
34917 [BZ #13970]
34918 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34919 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34920 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34921 (strtod_l, strtof_l, strtold_l): Remove __wur.
34922 It is not necessarily an error to ignore strtol's return value.
34923 One can reliably look at the stored endptr to decide whether
34924 the number had valid syntax.
34925
7c0616fa
AJ
349262012-04-21 Andreas Jaeger <aj@suse.de>
34927
803cb6b7 34928 [BZ #13739]
7c0616fa
AJ
34929 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34930
b0fe253f
JM
349312012-04-21 Joseph Myers <joseph@codesourcery.com>
34932
34933 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34934 * sysdeps/unix/sysv/Versions: Remove file.
34935
8280f22d
MT
349362012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34937
34938 [BZ #13927]
34939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34940
75ce411f 349412012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
34942
34943 [BZ #7064]
34944 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34945 version from __vm86.
34946
097d59fa
JM
349472012-04-20 Joseph Myers <joseph@codesourcery.com>
34948
a90f3bcb
JM
34949 * sysdeps/unix/common/lxstat.c: Remove file.
34950 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34951
edc7ea78
JM
34952 * sysdeps/unix/sysv/Makefile: Remove file.
34953
cb78c221
JM
34954 * sysdeps/unix/sysv/direct.h: Remove file.
34955
efa6a45f
JM
34956 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34957 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34958 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34959 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34960 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34961 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34962 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34963
9c9f2d0c
JM
34964 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34965
4541c83b
JM
34966 * sysdeps/unix/xmknod.c: Remove file.
34967 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34968
f5d153a0
JM
34969 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34970
aa746595
JM
34971 * sysdeps/unix/sysv/i386/time.S: Remove file.
34972
cce5905e
JM
34973 * sysdeps/unix/fxstat.c: Remove file.
34974 * sysdeps/unix/xstat.c: Likewise.
34975 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34976
37fa3841
JM
34977 * sysdeps/unix/sysv/sigaction.c: Remove file.
34978
ff1962a3
JM
34979 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34980 (sysdep_headers): Remove variable.
34981 [termio.h not in sysdep_headers] (generated): Likewise.
34982 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34983 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34984 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34985 * sysdeps/unix/sysv/tcflow.c: Likewise.
34986 * sysdeps/unix/sysv/tcflush.c: Likewise.
34987 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34988 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34989 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34990 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34991 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34992
e7740d31
JM
34993 * sysdeps/unix/siglist.c: Remove file.
34994
ee06f18b
JM
34995 * sysdeps/unix/getppid.S: Remove file.
34996
097d59fa
JM
34997 * sysdeps/unix/mkdir.c: Remove file.
34998 * sysdeps/unix/rmdir.c: Likewise.
34999
ff3d51ec
AS
350002012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35001
35002 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35003 ERR_MAX value.
35004 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35005 errlist-compat value.
35006
50f81fd7
DM
350072012-04-18 David S. Miller <davem@davemloft.net>
35008
35009 * sysdeps/generic/memcopy.h (reg_char): Delete.
35010 * debug/strcat_chk.c: Use char, not reg_char.
35011 * debug/strcpy_chk.c: Likewise.
35012 * debug/strncat_chk.c: Likewise.
35013 * debug/strncpy_chk.c: Likewise.
35014 * string/memchr.c: Likewise.
35015 * string/memrchr.c: Likewise.
35016 * string/rawmemchr.c: Likewise.
35017 * string/strcat.c: Likewise.
35018 * string/strchr.c: Likewise.
35019 * string/strchrnul.c: Likewise.
35020 * string/strcmp.c: Likewise.
35021 * string/strcpy.c: Likewise.
35022 * string/strncat.c: Likewise.
35023 * string/strncmp.c: Likewise.
35024 * string/strncpy.c: Likewise.
35025
8ff41c46
WS
350262012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35027
35028 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35029 __builtin_memcopy is called when src and dest ranges are known to not
35030 overlap.
35031
6b652f46
WS
350322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35033
35034 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35035 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35036 fwd_align_merge macro call.
35037 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35038 bwd_align_merge macro call.
35039 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35040
b282631e
WS
350412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35042
35043 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35044 bwd_align_merge macros.
35045 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35046 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35047 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35048
95aa737c
DM
350492012-04-18 David S. Miller <davem@davemloft.net>
35050
35051 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35052
7a99a614
AJ
350532012-04-18 Andreas Jaeger <aj@suse.de>
35054
35055 [BZ# 6794]
35056 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35057 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35058 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35059
35060 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35061 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35062 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35063
35064 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35065 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35066 Adjust for changed ldbl-128 files.
35067
35068 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35069 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35070 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35071
e5270c23
DM
350722012-04-17 David S. Miller <davem@davemloft.net>
35073
35074 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35075
fb5e92c9
AS
350762012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35077
35078 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35079 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35080 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35081 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35082 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35083 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35084
76da7265
AZ
350852012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35086
35087 [BZ #6794]
35088 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35089 * math/libm-test.inc: Add ilogb errno and exception tests.
35090 * math/w_ilogb.c: New file: ilogb wrapper.
35091 * math/w_ilogbf.c: New file: ilogbf wrapper.
35092 * math/w_ilogbl.c: New file: ilogbl wrapper.
35093 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35094 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35095 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35096 exception being thrown with 0.0 as argument.
35097 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35098 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35099 exception being thrown with 0.0 as argument.
35100 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35101 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35102 exception being thrown with 0.0 as argument.
35103 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35104 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35105 exception being thrown with 0.0 as argument.
35106 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35107 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 35108 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
35109 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35110 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35111 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35112 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35113 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35114 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35115
0396e69d
PB
351162012-04-17 Petr Baudis <pasky@ucw.cz>
35117
35118 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35119 with altivec.
35120
750b5926
MP
351212012-04-16 Marek Polacek <polacek@redhat.com>
35122
35123 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35124
751728a1
MP
351252012-04-16 Marek Polacek <polacek@redhat.com>
35126
35127 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35128 operands of fdivp instruction.
35129
34a27407
L
351302012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35131
35132 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35133 * elf/tst-auditmod3b.c: Likewise.
35134 * elf/tst-auditmod4b.c: Likewise.
35135 * elf/tst-auditmod5b.c: Likewise.
35136 * elf/tst-auditmod6b.c: Likewise.
35137 * elf/tst-auditmod6c.c: Likewise.
35138 * elf/tst-auditmod7b.c: Likewise.
35139 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35140 * sysdeps/x86_64/preconfigure.in: Likewise.
35141 * sysdeps/x86_64/preconfigure: Regenerated.
35142
7e73e17d
L
351432012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35144
35145 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35146 __ILP32__.
35147
c7a6ab72
AB
351482012-04-13 Antoine Balestrat <merkil33@gmail.com>
35149
35150 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35151 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35152
a9e8e0e0
CL
351532012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35154
35155 [BZ #13973]
35156 * locale/iso-639.def: Fix gl language name. Spotted by
35157 Yaron Shahrabani.
35158
ec98af7d
RM
351592012-04-12 Roland McGrath <roland@hack.frob.com>
35160
35161 [BZ #2074]
35162 * libio/libio.h (__io_write_fn): Update comment.
35163
247c3ede
PB
351642012-04-12 Petr Baudis <pasky@ucw.cz>
35165
35166 [BZ #2074]
35167 * stdio.texi (Hook Functions): The user provided writer function
35168 is not allowed to return -1.
35169
55939d6d
DM
351702012-04-11 David S. Miller <davem@davemloft.net>
35171
35172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35173
90020f5a
MF
351742012-04-11 Mike Frysinger <vapier@gentoo.org>
35175
35176 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35177 Add a leading slash to rtkaio.
35178
288f9098
JM
351792012-04-11 Jim Meyering <meyering@redhat.com>
35180
90020f5a
MF
35181 [BZ #11959]
35182 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35183 It is not necessarily an error to ignore fwrite's return
35184 value. One can reliably use ferror to test for errors after
35185 the fact.
288f9098 35186
4be2b570
L
351872012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35188
35189 * bits/types.h (__snseconds_t): New type.
35190 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35191
35192 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35193 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35194 (__SNSECONDS_T_TYPE): Likewise.
35195 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35196 (__SNSECONDS_T_TYPE): Likewise.
35197 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35198 (__SNSECONDS_T_TYPE): Likewise.
35199
288f9098 352002012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
35201
35202 [BZ #2636]
35203 * manual/time.texi (Processor Time): Return type of times is
35204 elapsed real time since an arbitrary point in the past.
35205 (CPU Time): Move CLK_TCK from here...
35206 (Processor Time): ...to here. Correct description.
35207 * manual/conf.texi (Constants for Sysconf): Correct description of
35208 _SC_CLK_TCK.
35209
d7dd4413
DM
352102012-04-10 David S. Miller <davem@davemloft.net>
35211
35212 [BZ #13967]
35213 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35214 where the is a gap between DT_REL(A) and DT_JMPREL.
35215
b46068fc
L
352162012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35217
35218 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35219 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35220 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35221
73d65cc3
SP
352222012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35223
35224 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35225 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35226 (dl_main): Handle --inhibit-cache.
35227 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35228 _dl_inhibit_cache.
35229 * elf/dl-load.c (_dl_map_object): Use it.
35230 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35231
bcc8d661
JM
352322012-04-09 Joseph Myers <joseph@codesourcery.com>
35233
8f9a2fae
JM
35234 [BZ #13872]
35235 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35236 (__ieee754_powl): Saturate large exponents rather than testing for
35237 overflow of y*log2(x).
35238 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35239 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35240 exceptions.
35241
bcc8d661
JM
35242 [BZ #11521]
35243 * math/s_ctan.c: Include <float.h>.
35244 (__ctan): Avoid internal overflow or cancellation in calculating
35245 denominator.
35246 * math/s_ctanf.c: Likewise.
35247 * math/s_ctanl.c: Likewise.
35248 * math/s_ctanh.c: Likewise.
35249 * math/s_ctanhf.c: Likewise.
35250 * math/s_ctanhl.c: Likewise.
35251 * math/libm-test.inc (ctan_test): Add more tests.
35252 (ctanh_test): Likewise.
35253 * sysdeps/i386/fpu/libm-test-ulps: Update.
35254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35255
823fbbb4
AJ
352562012-04-09 Andreas Jaeger <aj@suse.de>
35257
03879793
AJ
35258 [BZ #6894]
35259 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35260 is an optional BSD extension.
35261
823fbbb4
AJ
35262 [BZ #10254]
35263 * manual/stdio.texi (Opening Streams): Document additional fopen
35264 parameters.
35265
8de131cb
RM
352662012-04-09 Roland McGrath <roland@hack.frob.com>
35267
35268 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35269 %eax without telling the compiler.
35270
c0ed9d7d
CD
352712012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35272
35273 [BZ # 13963]
35274 * manual/install.texi: Use sourceware.org.
35275
c483f6b4
JM
352762012-04-09 Joseph Myers <joseph@codesourcery.com>
35277
d7dd9453
JM
35278 [BZ #13873]
35279 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35280 (__ieee754_pow): Generate overflow and underflow using huge*huge
35281 and tiny*tiny rather than just returning constant infinity or zero
35282 for large exponents.
35283 * math/libm-test.inc (pow_test): Require overflow exceptions for
35284 applicable cases of large exponents.
35285
c483f6b4
JM
35286 [BZ #706]
35287 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35288 (__ieee754_pow): Use iterative multiplication algorithm only for
35289 integer exponents with absolute value below 1024. Check for odd
35290 integer exponents when using algorithm for real exponents.
35291 * math/libm-test.inc (pow_test): Add more tests.
35292 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35293
d2de7579
JM
352942012-04-08 Joseph Myers <joseph@codesourcery.com>
35295
35296 [BZ #13705]
35297 * math/libm-test.inc (exp_test): Do not allow overflow exception
35298 on underflow test.
35299
f77f1232
AJ
353002012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35301
35302 [BZ #13705]
35303 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35304 instead of __kernel_standard_f.
35305
3884932b
MF
353062012-04-08 Mike Frysinger <vapier@gentoo.org>
35307
35308 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35309 * sysdeps/x86_64/memset_chk.S: Likewise.
35310
54472e9c
AJ
353112012-04-08 Andreas Jaeger <aj@suse.de>
35312
6ab0fbfc
AJ
35313 [BZ #10153]
35314 * manual/startup.texi (Environment Access): Describe return value
35315 for putenv and setenv.
35316
61efba8c
AJ
35317 [BZ #6895]
35318 * manual/filesys.texi (Directory Entries): Add description for
35319 DT_LNK.
35320
95c3f29a
AJ
35321 [BZ #6890]
35322 * manual/filesys.texi (Directory Entries): Clarify that it's file
35323 system not operating system in the description of DT_UNKNOWN.
35324
54472e9c
AJ
35325 [BZ #6578]
35326 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35327
624254b1
SC
353282012-04-08 Stephen Compall <s11@member.fsf.org>
35329
35330 [BZ #6649]
35331 * manual/llio.texi (Opening and Closing Files): Add cross
35332 reference to explain mode argument.
35333
1e4920e0
MF
353342012-04-07 Mike Frysinger <vapier@gentoo.org>
35335
35336 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35337 * sysdeps/x86_64/memset_chk.S: Likewise.
35338
5ed848f3
DM
353392012-04-07 David S. Miller <davem@davemloft.net>
35340
35341 * elf/elf.h (R_SPARC_WDISP10): Define.
35342 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35343 R_SPARC_SIZE32.
35344 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35345 R_SPARC_SIZE64 and R_SPARC_H34.
35346
96154cd8
CD
353472012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35348
35349 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35350 conditions and remove no longer applicable assertion.
35351
9904dc47
L
353522012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35353
35354 * bits/byteswap.h: Include <features.h>.
35355 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35356 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35357
f8887d0a
L
353582012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35359
35360 * bits/byteswap.h (__bswap_16): Removed.
35361 Include <bits/byteswap-16.h> to get __bswap_16.
35362 * sysdeps/i386/bits/byteswap.h: Likewise.
35363 * sysdeps/s390/bits/byteswap.h: Likewise.
35364 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35365 * bits/byteswap-16.h: New file.
35366 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35367 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35368 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35369 * string/Makefile (headers): Add bits/byteswap-16.h.
35370
62470f60
PP
353712012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35372
35373 [BZ #13895]
35374 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35375 extra indirection.
35376 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35377 * nss/tst-nss-static.c: New.
35378
4dad7bab
RM
353792012-04-06 Robert Millan <rmh@gnu.org>
35380
35381 [BZ #6486]
35382 * manual/llio.texi (File Position Primitive): lseek
35383 refers to WHENCE when it really means OFFSET.
35384
e9142a17
AJ
353852012-04-06 Andreas Jaeger <aj@suse.de>
35386
2c040eff
AJ
35387 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35388 strncmp declarations.
35389
e9142a17
AJ
35390 * abilist/libc.abilist: Add __poll and __ppoll.
35391
ff9f1c5f
DM
353922012-04-05 David S. Miller <davem@davemloft.net>
35393
dcd2ae90
DM
35394 * scripts/check-local-headers.sh: Accept a host triplet in the
35395 path matched by the exclude regexp.
35396
993eb054
DM
35397 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35398 definition.
35399 * sysdeps/powerpc/powerpc32/dl-machine.h
35400 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35401 * sysdeps/s390/s390-32/dl-machine.h
35402 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35403 * sysdeps/sparc/sparc32/dl-machine.h
35404 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35405 * sysdeps/sparc/sparc64/dl-machine.h
35406 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35407
ff9f1c5f
DM
35408 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35409 lazy binding.
48e2e132 35410 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
35411 undefined symbol errors.
35412
48e2e132 35413 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
35414 DT_NEEDED entries.
35415
e80d6f94
MM
354162012-04-05 Michael Matz <matz@suse.de>
35417
35418 [BZ #13592]
35419 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35420
349fa79f
AJ
354212012-04-05 Andreas Jaeger <aj@suse.de>
35422
35423 [BZ #13908]
35424 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35425 comment.
35426
f402708f
KK
354272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35428
35429 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35430 which ROUND is no valid rounding mode.
35431
2ecccfc9
KK
354322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35433
35434 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35435 read again.
35436 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35437
8a53f50f
KK
354382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35439
35440 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35441 an exception using FPU order intentionally.
35442
354432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35444
35445 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35446 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35447 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35448 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35449
d653abb7
SJ
354502012-04-05 Simon Josefsson <simon@josefsson.org>
35451
35452 [BZ #12340]
35453 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35454 EINVAL when BUFLEN is too smal.
35455
c3b1bf7d
TS
354562012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35457
35458 [BZ #13553]
35459 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35460 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35461
b1aa60f3
AJ
354622012-04-03 Andreas Jaeger <aj@suse.de>
35463
c3b1bf7d 35464 [BZ #13938]
67f60a26
AJ
35465 * manual/setjmp.texi (System V contexts): Fix sentence.
35466
b1aa60f3
AJ
35467 [BZ #13926]
35468 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35469 New macro for this case.
35470 [!__GNUC__] (__bswap_64): New inline function for this case.
35471 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35472 * bits/byteswap.h: Likewise.
35473 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35474 ull, guard with __GLIBC_HAVE_LONG_LONG.
35475
35476 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35477 __GLIBC_HAVE_LONG_LONG.
35478
35479 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35480 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35481
39c59c35
TMQMF
354822012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35483
35484 [BZ #13691]
35485 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35486 inptr and inend, rather than using last_ch.
35487
135ffda8
DM
354882012-04-02 David S. Miller <davem@davemloft.net>
35489
35490 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35491 * stdio-common/printf-parse.h (read_int): Change return type to
35492 'int', return -1 on INT_MAX overflow.
35493 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35494 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35495 overflows INT_MAX. Check for overflow of in-format-string precision
35496 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35497 SIZE_MAX not INT_MAX for integer overflow test.
35498 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35499 skip the construct in the format string but do not record anything.
35500 * stdio-common/bug22.c: Adjust to test both width/prevision
35501 INT_MAX overflow as well as total length INT_MAX overflow. Check
35502 explicitly for proper errno values.
35503
228c019e
TS
355042012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35505
302cadd3
TS
35506 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35507 CHAR_MAX.
35508 * string/test-strcmp.c [! WIDE]: Likewise.
35509 * time/tst-mktime2.c: Likewise for INT_MAX.
35510 * string/test-string.h: #include <sys/param.h> for MIN.
35511
228c019e
TS
35512 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35513 * sysdeps/i386/init-first.c (init): Likewise.
35514 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35515 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35516 * sysdeps/sh/init-first.c (init): Likewise.
35517
cfa633f5
UD
355182012-04-01 Ulrich Drepper <drepper@gmail.com>
35519
35520 * po/ru.po: Update from translation team.
d1635ef8 35521 * po/vi.po: Likewise.
cfa633f5 35522
6cd0a5ea
SP
355232012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35524
35525 * resolv/nss_dns/dns-host.c: Merge copyright years.
35526
4b43400f
LD
355272012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35528
35529 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35530 Optimize memcpy with prefetch if
35531 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35532 src, dst pointers have unequal 16 byte alignments.
35533
48c41d04
SP
355342012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35535
35536 [BZ #13928]
35537 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35538 from a CNAME entry and return the minimum ttl for the query.
35539 (gaih_getanswer_slice): Likewise.
35540
b8dc394d
JL
355412012-03-30 Jeff Law <law@redhat.com>
35542
35543 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35544 due to long keys.
35545 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35546 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35547
2f5a5ed0
JL
35548 * resolv/nss_dns/dns-host.c: Update copyright year.
35549
1d39e359
UD
355502012-03-30 Ulrich Drepper <drepper@gmail.com>
35551
c030f70c 35552 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 35553 requests to save a system call. Fix check that all bytes are sent.
c030f70c 35554
1d39e359
UD
35555 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35556 comments for sendmmsg.
35557
355582012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
35559
35560 [BZ #13691]
35561 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35562 with only 1 character between 0x0041 and 0x01b0.
35563 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35564 * wcsmbs/tst-mbsnrtowcs.c: New file.
35565
20fde227
DM
355662012-03-29 David S. Miller <davem@davemloft.net>
35567
35568 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35569 small copies by hand.
35570
984a4237
JL
355712012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35572
35573 [BZ #13761]
57f41c40
AS
35574 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35575 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35576 group memberships.
984a4237 35577
18c9d62b
DM
355782012-03-28 David S. Miller <davem@davemloft.net>
35579
88d85d4f
DM
35580 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35581 that branches into memcpy.
35582 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35583 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35584 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35585 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35586 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35587 bits.
35588 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35589 implementation too.
35590 * sysdeps/sparc/mempcpy.S: New file.
35591
e5aa83e1
DM
35592 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35593 the IFUNC routine in the libc case.
35594 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35595
88570753
DM
35596 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35597 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35598 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35599 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35600 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35601 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35602 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35603 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35604
249d7567
DM
35605 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35606 loop to 256 bytes instead of 64 bytes and fix test signedness.
35607
18c9d62b
DM
35608 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35609 * sysdeps/sparc/sparc32/Makefile: rather than here...
35610 * sysdeps/sparc/sparc64/Makefile: and here.
35611
05f3d1f6
UD
356122012-03-28 Ulrich Drepper <drepper@gmail.com>
35613
35614 * malloc/mallocbug.c: Avoid warnings about unused variables.
35615
86ae07a8
JL
356162012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35617
35618 [BZ #13760]
35619 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35620 in the right place. Discard and retry query if response is
35621 larger than input buffer size.
35622
41bf21a1
JM
356232012-03-28 Joseph Myers <joseph@codesourcery.com>
35624
d6270972
JM
35625 [BZ #369]
35626 [BZ #2678]
35627 [BZ #3866]
35628 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35629 x for large integer exponent.
35630 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35631 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35632 sign of result as needed afterwards.
35633 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35634 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35635 result for underflowing pow the same as for overflow.
35636 (__kernel_standard_l): Handle powl overflow and underflow here
35637 rather than calling __kernel_standard.
35638 * math/libm-test.inc (pow_test): Add more tests.
35639
414fca03 35640 [BZ #3868]
41bf21a1
JM
35641 [BZ #13879]
35642 [BZ #13910]
35643 [BZ #13911]
35644 [BZ #13912]
35645 [BZ #13913]
35646 [BZ #13915]
35647 [BZ #13916]
35648 [BZ #13917]
35649 [BZ #13918]
35650 [BZ #13919]
35651 [BZ #13920]
35652 [BZ #13921]
35653 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35654 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35655 (__kernel_standard_l): New function.
35656 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35657 __kernel_standard.
35658 * math/w_acosl.c (__acosl): Likewise.
35659 * math/w_asinl.c (__asinl): Likewise.
35660 * math/w_atan2l.c (__atan2l): Likewise.
35661 * math/w_atanhl.c (__atanhl): Likewise.
35662 * math/w_coshl.c (__coshl): Likewise.
35663 * math/w_exp10l.c (__exp10l): Likewise.
35664 * math/w_exp2l.c (__exp2l): Likewise.
35665 * math/w_fmodl.c (__fmodl): Likewise.
35666 * math/w_hypotl.c (__hypotl): Likewise.
35667 * math/w_j0l.c (__j0l, __y0l): Likewise.
35668 * math/w_j1l.c (__j1l, __y1l): Likewise.
35669 * math/w_jnl.c (__jnl, __ynl): Likewise.
35670 * math/w_lgammal.c (__lgammal): Likewise.
35671 * math/w_log10l.c (__log10l): Likewise.
35672 * math/w_log2l.c (__log2l): Likewise.
35673 * math/w_logl.c (__logl): Likewise.
35674 * math/w_powl.c (__powl): Likewise.
35675 * math/w_remainderl.c (__remainderl): Likewise.
35676 * math/w_scalbl.c (sysv_scalbl): Likewise.
35677 * math/w_sinhl.c (__sinhl): Likewise.
35678 * math/w_sqrtl.c (__sqrtl): Likewise.
35679 * math/w_tgammal.c (__tgammal): Likewise.
35680 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35681 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35682 * math/libm-test.inc (acos_test): Add more tests.
35683 (acosh_test): Likewise.
35684 (asin_test): Likewise.
35685 (atanh_test): Likewise.
35686 (exp_test): Likewise.
35687 (exp10_test): Likewise.
35688 (exp2_test): Likewise.
35689 (expm1_test): Likewise.
35690 (lgamma_test): Likewise.
35691 (log_test): Likewise.
35692 (log10_test): Likewise.
35693 (log1p_test): Likewise.
35694 (log2_test): Likewise.
35695 (pow_test): Do not allow some spurious overflow exceptions.
35696 (sqrt_test): Add more tests.
35697 (tgamma_test): Likewise.
35698 (y0_test): Likewise.
35699 (y1_test): Likewise.
35700 (yn_test): Likewise.
35701
dd62fda6
AB
357022012-03-27 Anton Blanchard <anton@samba.org>
35703
35704 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35705 MAP_HUGETLB.
35706 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35707 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35708 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35709
1e3cdfda
AJ
357102012-03-27 David S. Miller <davem@davemloft.net>
35711
b855ab85
DM
35712 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35713
1e3cdfda
AJ
35714 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35715 have-as-vis3 check.
35716
357172012-03-27 Andreas Jaeger <aj@suse.de>
35718
35719 * sysdeps/x86_64/elf/configure.in: Moved to ...
35720 * sysdeps/x86_64/configure.in: ... here.
35721 * sysdeps/x86_64/elf/start.S: Moved to ...
35722 * sysdeps/x86_64/start.S: ... here.
35723 * sysdeps/x86_64/elf/configure: Delete.
35724
35725 * sysdeps/x86_64/configure.in: Merge contents from
35726 sysdeps/i386/configure.in (without i686 check).
35727
35728 * sysdeps/i386/elf/Versions: Merge into ...
35729 * sysdeps/i386/Versions: ... this.
35730 * sysdeps/i386/elf/Versions: Delete file.
35731 * sysdeps/i386/elf/start.S: Moved to ...
35732 * sysdeps/i386/start.S: ...here.
35733 * sysdeps/i386/elf/configure.in: Merge into...
35734 * sysdeps/i386/configure.in: ...here.
35735 * sysdeps/i386/elf/configure.in: Delete file.
35736 * sysdeps/i386/elf/configure: Delete file.
35737
35738 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35739 * debug/backtracesyms.c: ... here.
35740 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35741 * debug/backtracesymsfd.c: ... here.
35742 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35743 * sysdeps/generic/ifunc-sel.h: ... here.
35744
35745 * sysdeps/unix/i386/start.c: Delete file.
35746 * sysdeps/unix/sparc/start.c: Delete file.
35747 * sysdeps/unix/start.c: Delete file.
35748
35749 * sysdeps/sh/elf/configure.in: Moved to ...
35750 * sysdeps/sh/configure.in: ... here.
35751 * sysdeps/sh/elf/start.S: Moved to ...
35752 * sysdeps/sh/start.S: ... here.
35753 * sysdeps/sh/elf/configure: Delete file.
35754
35755 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35756 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35757 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35758 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35759 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35760 * sysdeps/powerpc/powerpc64/start.S: here.
35761 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35762 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35763 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35764 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35765 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35766
35767 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35768 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35769 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35770 * sysdeps/powerpc/powerpc32/start.S: ... here.
35771 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35772 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35773 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35774
35775 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35776 * sysdeps/powerpc/ifunc-sel.h: ... here.
35777 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35778 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35779
35780 * sysdeps/sparc/elf/configure.in: Moved to ...
35781 * sysdeps/sparc/configure.in: ... here.
35782 * sysdeps/sparc/elf/configure: Delete file.
35783 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35784 * sysdeps/sparc/sparc32/start.S: ... here.
35785 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35786 * sysdeps/sparc/sparc64/start.S: ... here.
35787 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35788 * sysdeps/sparc/sparc32/Makefile: ... this.
35789 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35790 * sysdeps/sparc/sparc64/Makefile: ... this.
35791
35792 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35793 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35794 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35795 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35796 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35797 * sysdeps/s390/s390-32/setjmp.S: ... here.
35798 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35799 * sysdeps/s390/s390-32/configure.in: ... here.
35800 * sysdeps/s390/s390-32/elf/configure: Delete file.
35801 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35802 * sysdeps/s390/s390-32/start.S: ... here.
35803
35804 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35805 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35806 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35807 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35808 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35809 * sysdeps/s390/s390-64/setjmp.S: ... here.
35810 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35811 * sysdeps/s390/s390-64/configure.in: ... here
35812 * sysdeps/s390/s390-64/elf/configure: Delete file.
35813 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35814 * sysdeps/s390/s390-64/start.S: ... here.
35815 * sysdeps/s390/s390-64/elf/configure: Delete.
35816
35817 * configure.in: Remove support for elf directories in sysdeps.
35818
35819 * configure: Regenerated.
35820 * sysdeps/i386/configure: Regenerated.
35821 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35822 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35823 * sysdeps/s390/s390-32/configure: Regenerated.
35824 * sysdeps/s390/s390-64/configure: Regenerated.
35825 * sysdeps/sh/configure: Regenerated.
35826 * sysdeps/sparc/configure: Regenerated.
35827 * sysdeps/x86_64/configure: Regenerated.
35828
a3f61311
AS
358292012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35830
c876e002
AS
35831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35832
a3f61311
AS
35833 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35834 denormal result into account.
35835
ac4c54f0
RM
358362012-03-25 Roland McGrath <roland@hack.frob.com>
35837
35838 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35839 Reported by Allan McRae <allan@archlinux.org>.
35840
6a9b9c02
JL
358412012-03-23 Jeff Law <law@redhat.com>
35842
35843 * nss/getnssent.c (__nss_getent): Fix typo.
35844
4c42a0c1
DM
358452012-03-23 David S. Miller <davem@davemloft.net>
35846
35847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35848
1532c7ac
L
358492012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35850
35851 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35852 to pad to uint64_t for each field.
35853 (dl_tls_index): Replace unsigned long with uint64_t.
35854
3ff42526
PP
358552012-03-23 Daniel Jacobowitz <dmj@google.com>
35856 Paul Pluzhnikov <ppluzhnikov@google.com>
35857
35858 [BZ #6528]
35859 * grp/Makefile (otherlibs): Don't set it.
35860 * inet/Makefile (otherlibs): Likewise.
35861 * login/Makefile (otherlibs): Likewise.
35862 * nscd/Makefile (otherlibs): Likewise.
35863 * posix/Makefile (otherlibs): Likewise.
35864 * pwd/Makefile (otherlibs): Likewise.
35865 * rt/Makefile (otherlibs): Likewise.
35866 * sunrpc/Makefile (otherlibs): Likewise.
35867 * nss/Makefile (otherlibs): Likewise.
35868 Add libnss_files to routines and static-only-routines.
35869 ($(objpfx)getent): Remove rule.
35870 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35871 static-only-routines.
35872
7c69cd14
JM
358732012-03-22 Joseph Myers <joseph@codesourcery.com>
35874
35875 [BZ #13892]
35876 * math/s_cexp.c: Include <float.h>.
35877 (__cexp): Handle exp result overflowing not necessarily
35878 overflowing both real and imaginary parts of result.
35879 * math/s_cexpf.c: Likewise.
35880 * math/s_cexpl.c: Likewise.
35881 * math/libm-test.inc (cexp_test): Add more tests.
35882 * sysdeps/i386/fpu/libm-test-ulps: Update.
35883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35884
81b035fe
L
358852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35886
35887 * include/link.h (ELFW): New macro.
35888 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35889 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35890
1da7940c
L
358912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35892
35893 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35894 with uint64_t.
35895
b749dbb9
L
358962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35897
35898 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35899 declaration.
35900 (struct La_x32_retval): Likewise.
35901
2ff87f3f
L
359022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35903
35904 * sysdeps/x86_64/preconfigure.in: New file.
35905 * sysdeps/x86_64/preconfigure: New generated file.
35906
c0df8e69
JM
359072012-03-22 Joseph Myers <joseph@codesourcery.com>
35908
48e44791
JM
35909 [BZ #13824]
35910 * math/e_exp2l.c: Include <float.h>.
35911 (__ieee754_exp2l): Handle overflow and underflow cases
35912 separately. Only pass fractional part of argument to
35913 __ieee754_expl.
35914 * math/libm-test.inc (exp2_test): Add more tests.
35915
c0df8e69
JM
35916 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35917 negating x to take absolute value.
35918 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35919 Likewise.
35920 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35921 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35922 Likewise.
35923 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35924 computing low part if x was negated.
35925 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35926
c8e43ba7
L
359272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35928
35929 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35930 la_x32_gnu_pltexit.
35931 (pltexit): Cast int_retval to ptrdiff_t.
35932 * elf/tst-auditmod3b.c: Likewise.
35933 * elf/tst-auditmod4b.c: Likewise.
35934 * elf/tst-auditmod5b.c: Likewise.
35935 * elf/tst-auditmod6b.c: Likewise.
35936 * elf/tst-auditmod6c.c: Likewise.
35937 * elf/tst-auditmod7b.c: Likewise.
35938
35939 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35940 and x32_gnu_pltexit.
35941
35942 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35943 __ELF_NATIVE_CLASS.
35944 (La_x32_regs): New macro.
35945 (La_x32_retval): Likewise.
35946 (la_x32_gnu_pltenter): New function prototype.
35947 (la_x32_gnu_pltexit): Likewise.
35948
7998fa78
AS
359492012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35950
dcb33988
AS
35951 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35952 exponent.
35953
233fc563
AS
35954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35955
7998fa78
AS
35956 * configure.in (libc_cv_cc_nofma): Check for option to disable
35957 generation of FMA instructions.
35958 * configure: Regenerate.
35959 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35960 * sysdeps/ieee754/dbl-64/Makefile: New file.
35961 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35962 Remove brandred-fma4.
35963 (CFLAGS-brandred-fma4.c): Remove.
35964 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35965 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35966 define.
35967 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35968 define.
35969
8e95c99a
L
359702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35971
35972 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35973 LLONG_MAX != LONG_MAX.
35974 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35975 (_fitoa_word): Likewise.
35976 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35977 LLONG_MAX != LONG_MAX.
35978 * stdio-common/_itowa.h: Include <_itoa.h>.
35979 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35980 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35981 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35982 only if not defined.
35983 (_ITOA_WORD_TYPE): Likewise.
35984 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35985 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35986
6f4db457
DM
359872012-03-21 David S. Miller <davem@davemloft.net>
35988
35989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35990
7785fe5a
L
359912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35992
35993 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35994 of x86_64 when setting libc_cv_slibdir, libdir and
35995 libc_cv_localedir.
35996 * sysdeps/unix/sysv/linux/configure: Regenerated.
35997
4535cd55
JM
359982012-03-21 Joseph Myers <joseph@codesourcery.com>
35999
36000 * manual/lang.texi (Old Varargs): Remove section.
36001 (How Variadic): Update menu.
36002 (va_start): Do not mention varargs.h.
36003
17228132
TS
360042012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36005 Joseph Myers <joseph@codesourcery.com>
36006
36007 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36008 link test.
36009 * configure: Regenerated.
36010
8149f976
TS
360112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36012
05f3d1f6
UD
36013 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36014 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36015 conformtest.pl
8149f976 36016
1a4ac776
JM
360172012-03-21 Joseph Myers <joseph@codesourcery.com>
36018
be22ce65
JM
36019 * NOTES: Remove.
36020 * Makefile (files-for-dist): Remove NOTES.
36021 (NOTES): Remove rule.
36022 * README: Don't refer to NOTES.
36023 * manual/creature.texi: Don't include macros.texi.
36024 * manual/intro.texi (creature.texi): Remove comment referring to
36025 NOTES.
36026
40b601fb
JM
36027 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36028 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36029 * configure: Regenerated.
36030 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36031 LIBC_TRY_CC_OPTION.
36032 (libc_cv_as_i686): Likewise.
36033 (libc_cv_cc_avx): Likewise.
36034 (libc_cv_cc_sse2avx): Likewise.
36035 (libc_cv_cc_fma4): Likewise.
36036 (libc_cv_cc_novzeroupper): Likewise.
36037 * sysdeps/i386/configure: Regenerated.
36038
1a4ac776
JM
36039 [BZ #13883]
36040 * sysdeps/i386/fpu/s_cexp.S: Remove.
36041 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36042 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36043 * math/libm-test.inc (cexp_test): Add more tests.
36044 * sysdeps/i386/fpu/libm-test-ulps: Update.
36045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36046
a458e7fe
AM
360472012-03-21 Allan McRae <allan@archlinux.org>
36048
36049 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36050
0cb7efc5
JM
360512012-03-21 Joseph Myers <joseph@codesourcery.com>
36052
36053 [BZ #13871]
36054 * math/w_exp2.c: Do not include <float.h>.
36055 (o_threshold, u_threshold): Remove.
36056 (__exp2): Calculate result before checking finiteness and calling
36057 __kernel_standard.
36058 * math/w_exp2f.c: Likewise.
36059 * math/w_exp2l.c: Likewise.
36060 * math/libm-test.inc (exp2_test): Require overflow exception for
36061 1e6 input.
2460d3aa
JM
36062
36063 [BZ #3866]
36064 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36065 range of signed 64-bit integers before using fistpll. Remove
36066 checks for whether integers fit in mantissa bits.
36067 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36068 the range of signed 32-bit integers before using fistpl. Remove
36069 checks for whether integers fit in mantissa bits.
36070 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36071 (__ieee754_powl): Test for y outside the range of signed 64-bit
36072 integers before using fistpll. Reduce 64-bit values to 63-bit
36073 ones as needed.
36074 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36075 divide-by-zero is raised for zero to large negative powers.
36076 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36077 (__ieee754_powl): Test for y outside the range of signed 64-bit
36078 integers before using fistpll. Reduce 64-bit values to 63-bit
36079 ones as needed.
36080 * math/libm-test.inc (pow_test): Add more tests.
36081
eb96ffb0
L
360822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36083
36084 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36085 <stdio-common/_itoa.h>.
36086 * debug/segfault.c: Likewise.
36087 * elf/dl-cache.c: Likewise.
36088 * elf/dl-minimal.c: Likewise.
36089 * elf/dl-misc.c: Likewise.
36090 * elf/dl-sysdep.c: Likewise.
36091 * elf/dl-version.c: Likewise.
36092 * elf/rtld.c: Likewise.
36093 * hurd/hurdsock.c: Likewise.
36094 * hurd/lookup-retry.c: Likewise.
36095 * malloc/malloc.c: Likewise.
36096 * malloc/mtrace.c: Likewise.
36097 * nscd/nscd_getgr_r.c: Likewise.
36098 * nscd/nscd_getpw_r.c: Likewise.
36099 * nscd/nscd_getserv_r.c: Likewise.
36100 * posix/getopt_init.c: Likewise.
36101 * posix/wordexp.c: Likewise.
36102 * stdio-common/_itoa.c: Likewise.
36103 * stdio-common/printf_fphex.c: Likewise.
36104 * stdio-common/vfprintf.c: Likewise.
36105 * string/_strerror.c: Likewise.
36106 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36107 * sysdeps/i386/i686/hp-timing.h: Likewise.
36108 * sysdeps/mach/_strerror.c: Likewise.
36109 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36110 * sysdeps/mach/hurd/sethostid.c: Likewise.
36111 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36112 * sysdeps/mach/xpg-strerror.c: Likewise.
36113 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36114 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36115 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36116 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36117 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36118 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36119 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36120 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36121 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36122 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36123 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36124 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36125 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36126 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36127 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36128 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36129 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36130 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36131 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36132 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36133 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36134
36135 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36136
36137 * stdio-common/_itoa.h: Moved to ...
36138 * sysdeps/generic/_itoa.h: Here.
36139
36140 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36141
36142 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36143 instead of "_itoa.h" and "_itowa.h".
36144 * stdio-common/vfprintf.: Likewise.
36145
d1af992d
L
361462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36147
36148 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36149 <bits/wordsize.h>.
36150 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36151 (__signbit): Likwise.
36152 (llrintf): Likwise.
36153 (llrint): Likwise.
36154
114883e0
L
361552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36156
36157 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36158 __WORDSIZE != 64.
36159
c135cc1b
JM
361602012-03-20 Joseph Myers <joseph@codesourcery.com>
36161
36162 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36163 OVERFLOW_EXCEPTION_OK.
36164 * math/libm-test.inc ("Philosophy"): Update comment about
36165 exception testing.
36166 (OVERFLOW_EXCEPTION): Define.
36167 (OVERFLOW_EXCEPTION_OK): Likewise.
36168 (INVALID_EXCEPTION_OK): Renumber.
36169 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36170 (IGNORE_ZERO_INF_SIGN): Likewise.
36171 (test_exceptions): Handle FE_OVERFLOW.
36172 (exp10_test): Expect overflow exceptions.
36173 (exp2_test): Likewise.
36174 (expm1_test): Likewise.
36175 (nextafter_test): Likewise.
36176 (pow_test): Likewise.
36177 (scalbn_test): Likewise.
36178 (scalbln_test): Likewise.
36179
95443d88
L
361802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36181
36182 * sysdeps/x86_64/bits/atomic.h
36183 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36184 64bit integer.
36185 (atomic_exchange_acq): Likewise.
36186 (__arch_exchange_and_add_body): Likewise.
36187 (__arch_add_body): Likewise.
36188 (atomic_add_negative): Likewise.
36189 (atomic_add_zero): Likewise.
36190
490df6c4
L
361912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36192
c2722551 36193 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
36194 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36195
5e52b189
L
361962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36197
36198 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36199 Check __x86_64__ instead of __WORDSIZE.
36200
a9879d4c
L
362012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36202
36203 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36204
5df98260
DM
362052012-03-19 David S. Miller <davem@davemloft.net>
36206
e1497744
DM
36207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36208
5df98260
DM
36209 * sysdeps/sparc/fpu/fenv_private.h: New file.
36210 * sysdeps/sparc/fpu/math_private.h: Use it.
36211 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36212 Remove.
57f41c40 36213 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
36214 (libc_feholdexcept_setroundl): Remove.
36215 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36216 Remove.
36217 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36218 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36219
b4c35121
L
362202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36221
36222 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36223 int64_t instead of long int.
36224 (INSERT_WORDS64): Likwise.
36225
56965fd7
L
362262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36227
36228 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36229 _Unwind_GetCFA return to _Unwind_Ptr first.
36230
83d1aec8
JM
362312012-03-19 Joseph Myers <joseph@codesourcery.com>
36232
1897ad44
JM
36233 [BZ #13629]
36234 * math/s_clog.c: Include <float.h>.
36235 (__clog): Scale large or subnormal inputs.
36236 * math/s_clogf.c: Likewise.
36237 * math/s_clogl.c: Likewise.
36238 * math/s_clog10.c: Include <float.h>.
36239 (M_LOG10_2): Define.
36240 (__clog10): Scale large or subnormal inputs.
36241 * math/s_clog10f.c: Likewise.
36242 * math/s_clog10l.c: Likewise.
36243 * math/libm-test.inc (clog_test): Add more tests.
36244 (clog10_test): Likewise.
36245 * sysdeps/i386/fpu/libm-test-ulps: Update.
36246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36247
7726d6a9
JM
36248 [BZ #11451]
36249 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36250 x and y.
36251 * math/libm-test.inc (atan2_test): Add another test.
36252
83d1aec8
JM
36253 * Makerules (common-objdir-compile): Remove.
36254 * sysdeps/unix/Makefile (config-generated): Do not add
36255 $(unix-generated) to variable.
36256 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36257 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36258 Remove rule.
36259 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36260 Likewise.
36261 [generic bits/local_lim.h] (before-compile): Do not append to
36262 variable.
36263 [generic bits/local_lim.h] (common-generated): Likewise.
36264 [generic sys/param.h] (before-compile): Do not append to variable.
36265 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36266 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36267 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36268 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36269 include.
36270 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36271 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36272 [generic sys/param.h] ($(addprefix
36273 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36274 [generic sys/param.h] (common-generated): Do not append to
36275 variable.
36276 [generic sys/param.h] (sysdep_headers): Likewise.
36277 [generic bits/errno.h] (before-compile): Do not append to
36278 variable.
36279 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36280 rule.
36281 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36282 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36283 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36284 [generic bits/errno.h] (common-generated): Do not append to
36285 variable.
36286 [generic bits/ioctls.h] (before-compile): Do not append to
36287 variable.
36288 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36289 rule.
36290 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36291 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36292 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36293 rule.
36294 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36295 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36296 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36297 [generic bits/ioctls.h] (common-generated): Do not append to
36298 variable.
36299 [generic sys/syscall.h] (syscall.h): Remove variable.
36300 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36301 rule.
36302 [generic sys/syscall.h] (before-compile): Do not append to
36303 variable.
36304 [generic sys/syscall.h] (common-generated): Likewise.
36305 * sysdeps/unix/errnos-tmpl.c: Remove file.
36306 * sysdeps/unix/errnos.awk: Likewise.
36307 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36308 * sysdeps/unix/ioctls.awk: Likewise.
36309 * sysdeps/unix/mk-local_lim.c: Likewise.
36310 * sysdeps/unix/snarf-ioctls: Likewise.
36311
4851a949
RH
363122012-03-19 Richard Henderson <rth@twiddle.net>
36313
bd37f2ee
RH
36314 * sysdeps/i386/fpu/fenv_private.h: New file.
36315 * sysdeps/i386/fpu/math_private.h: Use it.
36316 (math_opt_barrier, math_force_eval): Remove.
36317 (libc_feholdexcept_setround_53bit): Remove.
36318 (libc_feupdateenv_53bit): Remove.
36319 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36320 (math_opt_barrier, math_force_eval): Remove.
36321 (libc_feholdexcept): Remove.
36322 (libc_feholdexcept_setround): Remove.
36323 (libc_fetestexcept, libc_fesetenv): Remove.
36324 (libc_feupdateenv_test): Remove.
36325 (libc_feupdateenv, libc_feholdsetround): Remove.
36326 (libc_feresetround): Remove.
36327
d0adc922
RH
36328 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36329 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36330
0fe0f1f8
RH
36331 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36332 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36333 (libc_feupdateenv_testl): New.
36334 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36335 (libc_feupdateenv_testf): New.
36336 (libc_feupdateenv): Use libc_feupdateenv_test.
36337 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36338 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36339
eb92c487
RH
36340 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36341 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36342 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36343 (libc_feresetround_noex): New.
36344 (libc_feresetround_noexf): New.
36345 (libc_feresetround_noexl): New.
36346 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36347 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36348 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36349 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36350 SET_RESTORE_ROUND.
36351 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36352 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36353 (__cos): Likewise.
36354 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36355 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36356 SET_RESTORE_ROUND_NOEX.
36357 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36358 SET_RESTORE_ROUND_NOEXF.
36359 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36360 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36361 (libc_feholdsetroundf): New.
36362 (libc_feresetround, libc_feresetroundf): New.
36363
7d2e8012
RH
36364 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36365 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36366 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36367
b4dabbb4
RH
36368 * sysdeps/generic/math_private.h: Include <fenv.h>.
36369 (default_libc_feholdexcept): New.
36370 (default_libc_feholdexcept_setround): New.
36371 (default_libc_fesetenv, default_libc_feupdateenv): New.
36372 (libc_feholdexcept): Only define if undefined.
36373 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36374 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36375 (libc_feholdexcept_setroundl): Likewise.
36376 (libc_feholdexcept_setround_53bit): Likewise.
36377 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36378 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36379 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36380 (libc_feupdateenv_53bit): Likewise.
36381 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36382 (libc_feholdexcept): Convert from macro to inline function.
36383 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36384 (libc_fesetenv, libc_feupdateenv): Likewise.
36385
4851a949
RH
36386 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36387 not previously defined.
36388 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36389 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36390 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36391 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36392 * sysdeps/ieee754/flt-32/math_private.h: New file.
36393 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36394 math_private.h below SET_FLOAT_WORD.
36395 (__isnan, __isinf_ns, __finite): Remove.
36396 (__isnanf, __isinf_nsf, __finitef): Remove.
36397
e79d442e
AS
363982012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36399
36400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36401
90b80344
DM
364022012-03-17 David S. Miller <davem@davemloft.net>
36403
36404 [BZ #6471]
36405 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36406 for 2.16.
36407
edc21804
DM
364082012-03-16 David S. Miller <davem@davemloft.net>
36409
77e927af
DM
36410 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36411 warnings.
36412
374976dd
DM
36413 [BZ #6471]
36414 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36415 properly.
36416 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36417 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36418 sysdep_routines when subdir is sysvipc.
36419 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36420 __getshmlba helper.
36421
edc21804
DM
36422 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36423
473c3ef3
L
364242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36425
36426 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36427 [__LP64__].
36428
eb0f39b6
L
364292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36430
36431 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36432 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36433 (__lround): Renamed to ...
36434 (__llround): This. Replace long int with long long int.
36435 Define lround functions as aliases of llround functions.
36436 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36437
6b6cd74b
L
364382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36439
36440 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36441 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36442 adresses to uintptr_t. Replace "long int" and "unsigned long
36443 int" with "greg_t" on va_arg.
36444
f1a77b01
L
364452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36446
36447 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36448 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36449
36450 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36451 Move e_machine check before EI_CLASS check. Handle x32
36452 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36453 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36454 SKIP_EM_IA_64 and include
36455 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36456
36457 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36458 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36459 (add_system_dir): New macro.
36460
36461 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36462 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36463
11b90b9f
JM
364642012-03-16 Joseph Myers <joseph@codesourcery.com>
36465
c36e1d23
JM
36466 [BZ #2551]
36467 [BZ #2552]
36468 [BZ #2553]
36469 [BZ #2554]
36470 [BZ #2562]
36471 [BZ #2563]
36472 [BZ #2565]
36473 [BZ #2566]
36474 [BZ #2576]
36475 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36476 (y0): Likewise.
36477 * math/w_j0f.c (j0f): Likewise.
36478 (y0f): Likewise.
36479 * math/w_j0l.c (__j0l): Likewise.
36480 (__y0l): Likewise.
36481 * math/w_j1.c (j1): Likewise.
36482 (y1): Likewise.
36483 * math/w_j1f.c (j1f): Likewise.
36484 (y1f): Likewise.
36485 * math/w_j1l.c (__j1l): Likewise.
36486 (__y1l): Likewise.
36487 * math/w_jn.c (jn): Likewise.
36488 (yn): Likewise.
36489 * math/w_jnf.c (jnf): Likewise.
36490 (ynf): Likewise.
36491 * math/w_jnl.c (__jnl): Likewise.
36492 (__ynl): Likewise.
36493 * math/libm-test.inc (j0_test): Add more tests.
36494 (j1_test): Likewise.
36495 (jn_test): Likewise. Add trailing semicolon to existing test.
36496 (y0_test): Likewise.
36497 (y1_test): Likewise.
36498 * sysdeps/i386/fpu/libm-test-ulps: Update.
36499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36500
11b90b9f
JM
36501 [BZ #13851]
36502 [BZ #13854]
36503 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36504 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36505 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36506 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36507 (__tanl): Set errno for infinite argument.
36508 * sysdeps/i386/fpu/mptan.c: Remove.
36509 * sysdeps/i386/fpu/s_tan.S: Likewise.
36510 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36511 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36512 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36513 * math/libm-test.inc (tan_test): Add more tests and enable more
36514 tests for double and long double.
36515 * sysdeps/i386/fpu/libm-test-ulps: Update.
36516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36517
6a1bd2a1
JK
365182012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36519
36520 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36521 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36522
10a803e0
RM
365232012-03-16 Roland McGrath <roland@hack.frob.com>
36524
36525 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36526 * configure.in: Use it for both main tree and add-ons.
36527 * configure: Regenerated.
36528
f196c7f7
L
365292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36530
36531 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36532
8848d99d
JM
365332012-03-16 Joseph Myers <joseph@codesourcery.com>
36534
96cbe7f4
JM
36535 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36536 in comment.
36537
8848d99d
JM
36538 [BZ #13851]
36539 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36540 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36541 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36542 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36543 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36544 infinite argument.
36545 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36546 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36547 != 0 for prec == 2.
36548 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36549 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36550 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36551 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36552 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36553 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36554 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36555 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36556 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36557 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36558 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36559 * math/libm-test.inc (cos_test): Add more tests and enable more
36560 tests for long double.
36561 (sin_test): Likewise.
36562 (sincos_test): Likewise.
36563 * sysdeps/i386/fpu/libm-test-ulps: Update.
36564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36565
dd7f4703
DM
365662012-03-16 David S. Miller <davem@davemloft.net>
36567
36568 * sysdeps/sparc/fpu/math_private.h: New file.
36569
006f1daa
DM
365702012-03-15 David S. Miller <davem@davemloft.net>
36571
c0c83bc8
DM
36572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36573 file.
e6a62e18 36574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
36575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36576 file.
e6a62e18
DM
36577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36582 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36583 sysdep routines.
36584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36585
88cb87d9
DM
36586 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36587 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36588
006f1daa 36589 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
36590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36591 sparc-ifunc.h
006f1daa 36592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
36593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36594 Likewise.
36595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36596 Likewise.
006f1daa
DM
36597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
36600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36601 Likewise.
006f1daa
DM
36602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
36606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36607 Likewise.
36608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36609 Likewise.
006f1daa
DM
36610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36614 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36615 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36616 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36617 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36618 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36628 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36629 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36630 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36631 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36632 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36633 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36634
11e0098e
AS
366352012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36636
36637 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36638 scaling.
36639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36640
e85b09d0
AJ
366412012-03-15 Andreas Jaeger <aj@suse.de>
36642
36643 [BZ #13852]
36644 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36645 ieee754/flt-32 implementation for sin, cos and sincos.
36646 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36647 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36648 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36649 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36650 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36651 ieee754/flt-32 implementation for tan.
36652
36653 * math/libm-test.inc (cos_test): Enable some large input tests for
36654 float as well
36655 (sin_test): Likewise.
36656 (sincos_test): Likewise.
36657 (tan_test): Add tests for large input.
36658
36659 * sysdeps/i386/fpu/libm-test-ulps: Update.
36660
81c64153
AJ
366612012-03-15 Andreas Jaeger <aj@suse.de>
36662
36663 [BZ #13658]
36664 * math/libm-test.inc (cos_test): Add more test cases.
36665 (sin_test): Likewise.
36666 (sincos_test): Likewise.
36667
7bbfa5c6
AJ
366682012-03-15 Andreas Jaeger <aj@suse.de>
36669
36670 [BZ #13837]
36671 * math/libm-test.inc (cos_test): Add a test case for large input
36672 value.
36673 (sin_test): Likewise.
36674 (sincos_test): Likewise.
36675
57f41c40
AS
366762012-03-15 Andreas Jaeger <aj@suse.de>
36677 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
36678
36679 [BZ #13658]
0671f479 36680 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
36681 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36682 * sysdeps/i386/fpu/branred.c: Likewise.
36683 * sysdeps/i386/fpu/dosincos.c: Likewise.
36684 * sysdeps/i386/fpu/mpa.c: Likewise.
36685 * sysdeps/i386/fpu/s_cos.S: Likewise.
36686 * sysdeps/i386/fpu/s_sin.S: Likewise.
36687 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36688 * sysdeps/i386/fpu/sincos32.c: Likewise.
36689
36690 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36691 Define.
36692 (libc_feupdateenv_53bit): Define.
36693 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36694 Define.
36695 (libc_feupdateenv_53bit): Define.
36696
36697 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36698 53 bit (without extend i386 double precision).
36699
36700 * math/libm-test.inc (sincos_test): Add tests for large input.
36701 (sin): Likewise.
36702 (cos): Likewise.
36703
36704 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36705
9cad04ea
AS
367062012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36707
36708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36709
f7062b9a
DM
367102012-03-15 David S. Miller <davem@davemloft.net>
36711
36712 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36713 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36714 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36715 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
36727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36728 file.
f7062b9a 36729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
36730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36731 file.
f7062b9a 36732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
36733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36734 file.
f7062b9a 36735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
36736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36737 file.
f7062b9a
DM
36738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36739 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36740 fmin/fmax sysdep routines.
36741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36742
7bd951ff
DM
367432012-03-14 David S. Miller <davem@davemloft.net>
36744
559398ab
DM
36745 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36746 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36747 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36749 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36750 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36751 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36765 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36766 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36767 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36768 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36769 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36770 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36771 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36772 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36773 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36774 routines.
36775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36776 file.
559398ab 36777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
36778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36779 file.
559398ab 36780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
36781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36782 file.
559398ab 36783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
36784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36785 file.
559398ab 36786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
36787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36788 file.
559398ab 36789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
36790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36791 file.
36792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36793 file.
36794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36795 file.
36796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36797 file.
36798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36799 New file.
36800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36801 file.
36802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36803 file.
559398ab 36804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
36805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36806 file.
559398ab 36807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36809 file.
559398ab 36810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
36811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36812 file.
559398ab 36813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
36814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36815 VIS3 routines.
559398ab
DM
36816
36817 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36818 New file.
36819
5a1c1e32
DM
36820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36821
eae47a36
DM
36822 * sysdeps/sparc/configure.in: New file.
36823 * sysdeps/sparc/configure: Generate.
36824 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36825 * configure: Regenerate.
36826 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36827 * config.make.in (have-as-vis3): New.
36828 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36829 available use -Av9d instead of -Av9a.
36830 * sysdeps/sparc/sparc64/Makefile: Likewise.
36831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
36832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36833 New file.
36834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36835 file.
36836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36837 New file.
36838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36839 file.
eae47a36
DM
36840 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36841 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36842 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36843 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36844 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36845
c0c83bc8
DM
36846 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36847 fzeros/fnegs to load 0x80000000 into a float register instead of
36848 using the stack.
7bd951ff
DM
36849 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36850
bd951ccb
JM
368512012-03-14 Joseph Myers <joseph@codesourcery.com>
36852
36853 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36854 bits/syscall.h.
36855 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36856 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36857 ($(inst_includedir)/bits/syscall.h): Remove rule.
36858 ($(objpfx)bits/syscall.d): Include instead of
36859 $(objpfx)syscall-list.d.
36860 (generated): Change syscall-list.h and syscall-list.d to
36861 bits/syscall.h and bits/syscall.d.
36862
bb4e6db2
RM
368632012-03-14 Roland McGrath <roland@hack.frob.com>
36864
36865 [BZ #13846]
36866 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36867
aa4a2ae1
JM
368682012-03-14 Joseph Myers <joseph@codesourcery.com>
36869
e456826d
JM
36870 [BZ #13841]
36871 * math/s_csqrt.c: Include <float.h>.
36872 (__csqrt): Scale large or subnormal inputs.
36873 * math/s_csqrtf.c: Likewise.
36874 * math/s_csqrtl.c: Likewise.
36875 * math/libm-test.inc (csqrt_test): Add more tests.
36876 * sysdeps/i386/fpu/libm-test-ulps: Update.
36877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36878
aa4a2ae1
JM
36879 [BZ #13840]
36880 * math/libm-test.inc (hypot_test): Add more tests.
36881
7c10fd35
DM
368822012-03-13 David S. Miller <davem@davemloft.net>
36883
36884 [BZ #13840]
36885 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36886 double-precision for the calculation instead of scaling.
36887
f453b98b
JM
368882012-03-13 Joseph Myers <joseph@codesourcery.com>
36889
36890 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36891 manipulate bits before adding and subtracting TWO52[sx].
36892 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36893 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36894 Likewise.
36895 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36896
09a3453f
DM
368972012-03-13 David S. Miller <davem@davemloft.net>
36898
8e59da90
DM
36899 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36900 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36902 rtld-global-offsets.h
36903 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36904
2a8ab7f2
DM
36905 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36906 large parameters.
36907
10f62770
DM
36908 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36909
5f0bdb18
DM
36910 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36911 'err' in the ifdef scope in which it is actually used.
36912
09a3453f
DM
36913 * nss/nss_db/db-init.c: Include string.h
36914
b4b2eb5e
DM
369152012-03-12 David S. Miller <davem@davemloft.net>
36916
98bb2f1c
DM
36917 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36918 masking out of the most significant byte of random value used.
36919 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36920 Fix coding style in previous change.
36921
b4b2eb5e
DM
36922 * sysdeps/unix/sysv/linux/kernel-features.h
36923 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36924 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36925 expression.
36926 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36927 later.
36928
6e226b09
DM
369292012-03-11 David S. Miller <davem@davemloft.net>
36930
a1bcbd40
DM
36931 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36932 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36933 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36934 for 'resultvar' otherwise things get truncated on 64-bit.
36935
cb9d6174
DM
36936 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36937 Fix masking out of the most significant byte of random value used.
36938
6e226b09
DM
36939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36940
058c132d
AS
369412012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36942
36943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36944
2d2cd515
DM
369452012-03-09 David S. Miller <davem@davemloft.net>
36946
36947 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36948 variables with appropriate CPP guards.
57f41c40
AS
36949 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36950 from the frame pointer, not the stack pointer. Correct layout
36951 comments. Fix test on resulting framesize and the management of
36952 the outregs buffer for pltexit. Preserve floating point return
36953 values across _dl_call_pltexit call.
2d2cd515
DM
36954 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36955 framesize and the management of the outregs buffer for pltexit.
36956 Preserve floating point return values across _dl_call_pltexit
36957 call.
57f41c40
AS
36958 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36959 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36960 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
36961 (print_exit): Fix format string for return register value.
36962
9a07f9d0
JM
369632012-03-10 Joseph Myers <joseph@codesourcery.com>
36964
36965 * sunrpc/Makefile (others): Add rpcgen.
36966 ($(objpfx)rpcgen): Remove special build rule and dependency on
36967 libc.
36968 * sunrpc/rpcgen.c: New file.
36969
547b5e30
PE
369702012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36971
c524201a
PE
36972 [BZ #13673]
36973 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36974 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36975 * sysdeps/i386/crti.S: Likewise.
36976 * sysdeps/i386/crtn.S: Likewise.
36977 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36978 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36979 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36980 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36981 * sysdeps/sh/crti.S: Likewise.
36982 * sysdeps/sh/crtn.S: Likewise.
36983 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36984
7b6235f2
PE
36985 [BZ #13673]
36986 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36987 with URL.
36988 * locale/programs/locfile-kw.gperf: Likewise.
36989 * locale/programs/charmap-kw.h: Regenerated.
36990 * locale/programs/locfile-kw.h: Likewise.
36991
547b5e30
PE
36992 [BZ #13673]
36993 * intl/plural.y: Replace FSF snail mail address with URL.
36994 * intl/plural.c: Regenerated.
36995
5f0a5dae
RH
369962012-03-09 Richard Henderson <rth@twiddle.net>
36997
36998 * include/math_private.h: Remove file.
36999 * math/math_private.h: Move file ...
37000 * sysdeps/generic/math_private.h: ... here.
37001
b8c03620
RH
37002 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37003 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37004 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37005
4e234f5d 37006 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
37007 and <math_private.h>.
37008 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37009 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37010 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37011 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37012 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37013 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37014 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37015 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37016 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37017 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37019 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37020 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37021 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37022 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37023 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37024 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37025 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37026 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37027 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37028 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37029 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37030 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37031 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37032 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37033 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37034 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37035 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37036 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37037 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37038 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37039 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37040 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37041 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37042 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37043 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37044 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37045 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37046 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37048 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37049 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37050 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37051 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37052 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37053 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37054 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37055 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37056 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37057 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37058 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37059 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37060 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37061 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37062 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37063 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37064 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37065 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37066 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37067 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37068 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37069 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37070 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37071 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37072 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37073 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37074 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37075 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37076 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37077 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37078 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37079 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37080 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37081 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37082 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37083 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37084 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37085 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37086 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37087 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37088 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37089 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37090 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37091 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37092 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37093 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37094 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37095 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37096 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37097 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37098 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37099 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37100 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37101 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37102 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37103 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37104 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37105 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37106 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37107 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37108 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37109 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37110 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37111 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37112 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37113 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37114 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37115 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37116 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37117 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37118 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37119 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37120 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37121 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37122 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37123 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37124 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37125 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37126 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37127 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37128 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37129 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37130 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37131 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37132 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37133 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37134 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37135 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37136 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37137 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37138 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37139 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37140 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37141 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37142 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37143 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37144 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37145 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37146 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37147 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37148 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37149 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37150 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37151 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37152 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37153 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37154 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37155 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37156 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37157 * sysdeps/ieee754/k_standard.c: Likewise.
37158 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37159 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37160 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37161 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37162 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37163 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37164 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37165 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37166 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37167 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37168 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37169 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37170 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37171 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37172 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37173 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37174 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37175 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37176 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37177 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37178 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37179 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37180 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37181 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37182 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37183 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37184 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37185 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37186 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37187 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37188 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37189 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37190 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37191 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37192 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37193 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37194 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37195 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37196 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37197 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37198 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37199 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37200 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37201 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37202 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37203 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37204 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37205 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37206 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37207 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37208 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37209 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37210 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37211 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37212 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37213 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37214 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37215 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37216 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37217 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37218 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37219 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37220 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37221 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37222 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37223 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37224 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37225 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37226 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37227 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37228 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37229 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37230 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37231 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37232 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37233 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37234 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37235 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37236 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37237 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37238 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37239 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37240 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37241 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37242 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37243 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37244 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37245 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37246 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37247 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37248 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37249 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37250 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37251 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37252 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37253 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37254 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37255 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37256 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37257 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37258 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37259 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37260 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37261 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37262 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37263 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37264 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37265 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37266 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37267 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37268 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37269 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37270 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37271 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37272 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37273 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37274 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37275 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37276 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37277 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37278 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37279 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37280 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37281 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37282 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37283 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37284 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37285 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37286 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37287 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37288 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37289 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37290 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37291 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37292 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37293 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37294 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37295 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37296 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37297 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37298 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37299 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37300 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37301 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37302 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37303 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37304 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37305 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37306 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37307 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37308 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37309 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37310 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37311 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37312 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37313 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37314 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37315 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37316 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37317 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37318 * sysdeps/ieee754/s_lib_version.c: Likewise.
37319 * sysdeps/ieee754/s_matherr.c: Likewise.
37320 * sysdeps/ieee754/s_signgam.c: Likewise.
37321 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37322 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37323 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37324 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37325 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37326 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37327 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37328 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37329 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37330 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37331 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37332 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37333 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37334 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37335 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37336 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37337 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37338 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37339 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37340 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37341 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 37342
1991fa03
JM
373432012-03-09 Joseph Myers <joseph@codesourcery.com>
37344
37345 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37346 * sunrpc/rpc_main.c: Likewise.
37347 * sunrpc/rpc_svcout.c: Likewise.
37348
60d6f5a6
DM
373492012-03-09 David S. Miller <davem@davemloft.net>
37350
37351 * include/math_private.h: New file.
37352
4962050e
JM
373532012-03-09 Joseph Myers <joseph@codesourcery.com>
37354
02a6f887
JM
37355 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37356 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37357 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37358 from <bits/socket_type.h>.
37359 (enum __socket_type): Don't define here.
37360 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37362 bits/socket_type.h.
37363
c6e013c1
JM
37364 [BZ #13566]
37365 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37366 checking __USE_GNU.
37367
4962050e
JM
37368 * Makerules ($(inst_includedir)/%.h): New rule.
37369 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37370 (install-others): Remove variable setting.
37371 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37372
38842f45
RH
373732012-03-08 Richard Henderson <rth@twiddle.net>
37374
67bb6da6
RH
37375 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37376 from macro to inline function; merge with the
37377 !__LIBC_INTERNAL_MATH_INLINES version.
37378 (__ieee754_sqrtf): Likewise.
37379
15194b4b
RH
37380 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37381 to inline function.
37382 (__rintf, __floor, __floorf): Likewise.
37383
64e21ede
RH
37384 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37385 macro to inline function.
37386 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37387
38842f45
RH
37388 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37389 not <math/math_private.h>.
37390
c64bf5fe
DM
373912012-03-08 David S. Miller <davem@davemloft.net>
37392
37393 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37394 copyright year.
37395 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37396
82d86f28
TS
373972012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37398
37399 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37400 normalization.
37401 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37402 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37403
aea5d727
UD
374042012-03-08 Ulrich Drepper <drepper@gmail.com>
37405
37406 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37407 be defined individually, they must be defined as a block. Define
37408 S for printing a string instead of hidint the different by using a
37409 macro for adding the 'l'.
37410 * stdio-common/tst-fphex-wide.c: Adjust.
37411
70bca0a3
MP
374122012-03-07 Marek Polacek <polacek@redhat.com>
37413
37414 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37415
65b81130
MP
374162012-03-08 Marek Polacek <polacek@redhat.com>
37417
37418 [BZ #13806]
37419 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37420 * stdio-common/tst-fphex.c: Define a few macros to make the
37421 test reusable. Use them.
37422 * stdio-common/tst-fphex-wide.c: New file.
37423
07037eeb
JM
374242012-03-08 Joseph Myers <joseph@codesourcery.com>
37425
a7a93d50
JM
37426 [BZ #6911]
37427 * manual/macros.texi (gnusystems): New macro.
37428 (nongnusystems): Likewise.
37429 (gnulinuxhurdsystems): Likewise.
37430 (gnuhurdsystems): Likewise..
37431 (gnulinuxsystems): Likewise.
37432 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37433 variants of the GNU system, not "GNU system".
37434 * manual/conf.texi: Likewise.
37435 * manual/errno.texi: Likewise. Update example of errno macro
37436 expansion.
37437 * manual/filesys.texi: Likewise.
37438 (getumask): Document as specific to GNU/Hurd.
37439 * manual/install.texi: Likewise. Reword some references to
37440 GNU/Linux.
37441 * manual/intro.texi: Likewise.
37442 * manual/io.texi: Likewise.
37443 (File Name Portability): Detail which constraints are inapplicable
37444 to all GNU systems and which are only inapplicable to GNU/Hurd.
37445 * manual/job.texi: Likewise.
37446 * manual/llio.texi: Likewise.
37447 (O_NOCTTY): Document as present on GNU/Linux.
37448 * manual/maint.texi: Likewise.
37449 * manual/memory.texi: Likewise.
37450 * manual/pattern.texi: Likewise.
37451 * manual/pipe.texi: Likewise.
37452 * manual/process.texi: Likewise.
37453 * manual/resource.texi: Likewise.
37454 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37455 child on GNU/Hurd.
37456 * manual/setjmp.texi: Likewise.
37457 * manual/signal.texi: Likewise.
37458 * manual/startup.texi: Likewise.
37459 * manual/stdio.texi: Likewise.
37460 * manual/terminal.texi: Likewise.
37461 (ONLCR): Document as POSIX.
37462 (OXTABS): Document availability on GNU/Linux as XTABS.
37463 (ONOEOT): Document availability separately from other bits.
37464 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37465 * manual/time.texi: Likewise.
37466 * manual/users.texi: Likewise.
37467 * INSTALL: Regenerated.
37468 * sysdeps/gnu/errlist.c: Regenerated.
37469
07037eeb
JM
37470 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37471 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37472 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37473 puts.
37474 * configure: Regenerated.
37475
d1d3431a
JM
374762012-03-07 Joseph Myers <joseph@codesourcery.com>
37477
af6a1e37
JM
37478 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37479 default includes instead of AC_HEADER_CHECK.
37480 * sysdeps/i386/configure: Regenerated.
37481
d1d3431a
JM
37482 [BZ #10716]
37483 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37484 * math/s_cacoshf.c (__cacoshf): Likewise.
37485 * math/s_cacoshl.c (__cacoshl): Likewise.
37486 * math/s_casinh.c (__casinh): Set signs of result from argument.
37487 * math/s_casinhf.c (__casinhf): Likewise.
37488 * math/s_casinhl.c (__casinhl): Likewise.
37489 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37490 (casinh_test): Add more tests.
37491 * sysdeps/i386/fpu/libm-test-ulps: Update.
37492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37493
482ff4da
UD
374942012-03-07 Ulrich Drepper <drepper@gmail.com>
37495
872fda05
UD
37496 * po/zh_TW.po: Update from translation team.
37497
a4300c7a
UD
37498 * login/Makefile (distribute): Remove variable.
37499 * catgets/Makefile: Likewise.
37500 * mach/Makefile: Likewise.
37501 * malloc/Makefile: Likewise.
37502 * misc/Makefile: Likewise.
37503 * iconv/Makefile: Likewise.
37504 * nscd/Makefile: Likewise.
37505 * hurd/Makefile: Likewise.
37506 * manual/Makefile: Likewise.
37507 * locale/Makefile: Likewise.
37508 * intl/Makefile: Likewise.
37509 * conform/Makefile: Likewise.
37510 * nss/Makefile: Likewise.
37511 * time/Makefile: Likewise.
37512 * soft-fp/Makefile: Likewise.
37513 * dirent/Makefile: Likewise.
37514 * gmon/Makefile: Likewise.
37515 * po/Makefile: Likewise.
37516 * rt/Makefile: Likewise.
37517 * socket/Makefile: Likewise.
37518 * math/Makefile: Likewise.
37519 * signal/Makefile: Likewise.
37520 * debug/Makefile: Likewise.
37521 * elf/Makefile: Likewise.
37522 * timezone/Makefile: Likewise.
37523 * stdlib/Makefile: Likewise.
37524 * iconvdata/Makefile: Likewise.
37525 * sunrpc/Makefile: Likewise.
37526 * io/Makefile: Likewise.
37527 * argp/Makefile: Likewise.
37528 * inet/Makefile: Likewise.
37529 * hesiod/Makefile: Likewise.
37530 * grp/Makefile: Likewise.
37531 * csu/Makefile: Likewise.
37532 * wctype/Makefile: Likewise.
37533 * crypt/Makefile: Likewise.
37534 * libio/Makefile: Likewise.
37535 * string/Makefile: Likewise.
37536 * nis/Makefile: Likewise.
37537 * resolv/Makefile: Likewise.
37538 * stdio-common/Makefile: Likewise.
37539 * wcsmbs/Makefile: Likewise.
37540 * dlfcn/Makefile: Likewise.
37541 * posix/Makefile: Likewise.
37542
3b7c4e74 37543 [BZ #6959]
482ff4da
UD
37544 * timezone/Makefile: Don't install timezone files, just the programs
37545 and scripts.
37546
f72ed77d
UD
375472012-03-06 Ulrich Drepper <drepper@gmail.com>
37548
a000466f
UD
37549 * nss/databases.def: Add missing gshadow entry.
37550
f72ed77d
UD
37551 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37552
a53b7a4e
MP
375532012-03-06 Marek Polacek <polacek@redhat.com>
37554
37555 [BZ #13726]
37556 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37557 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37558 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37559 * stdio-common/tst-long-dbl-fphex.c: New file.
37560
e9258400
DM
375612012-03-06 David S. Miller <davem@davemloft.net>
37562
37563 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37564 (set_obp_int): New function.
37565 (get_obp_int): New function.
37566 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
37567 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37568 Avoid unused variable warnings on 'val' and use builtin_expect.
37569 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37570 __builtin_expect.
e9258400
DM
37571 (INLINE_CLONE_SYSCALL): Likewise.
37572
3bd2c723
DM
375732012-03-05 David S. Miller <davem@davemloft.net>
37574
37575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37576
bbb78d03
AS
375772012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37578
884c5db4
AS
37579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37580
bbb78d03
AS
37581 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37582 only for |x| >= 40.
37583 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37584
1c9f702a 375852012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
37586
37587 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37588 Replace gettimeofday with __vdso_gettimeofday.
37589
7be16f82
RM
37590 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37591 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37592 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
37593
37594 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37595 time with __vdso_time.
37596
ed58a00f
JM
375972012-03-05 Joseph Myers <joseph@codesourcery.com>
37598
37599 * manual/lang.texi (size_t): Note types to which size_t may be
37600 equivalent with the GNU C Library, but do not describe when
37601 differences between them are significant.
37602
30ee4ced
AJ
376032012-03-05 Andreas Jaeger <aj@suse.de>
37604
37605 * sysdeps/i386/fpu/libm-test-ulps: Update.
37606
b7cd39e8
JM
376072012-03-05 Joseph Myers <joseph@codesourcery.com>
37608
37609 [BZ #3976]
37610 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37611 (__ieee754_pow): Save and restore rounding mode and use
37612 round-to-nearest for main computations.
37613 * math/libm-test.inc (pow_test_tonearest): New function.
37614 (pow_test_towardzero): Likewise.
37615 (pow_test_downward): Likewise.
37616 (pow_test_upward): Likewise.
37617 (main): Call the new functions.
37618 * sysdeps/i386/fpu/libm-test-ulps: Update.
37619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
37620
37621 [BZ #3976]
37622 * math/libm-test.inc (cosh_test_tonearest): New function.
37623 (cosh_test_towardzero): Likewise.
37624 (cosh_test_downward): Likewise.
37625 (cosh_test_upward): Likewise.
37626 (sinh_test_tonearest): Likewise.
37627 (sinh_test_towardzero): Likewise.
37628 (sinh_test_downward): Likewise.
37629 (sinh_test_upward): Likewise.
37630 (main): Call the new functions.
37631 * sysdeps/i386/fpu/libm-test-ulps: Update.
37632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37633
6c6a98c9
TV
376342012-03-05 Tom de Vries <tom@codesourcery.com>
37635
37636 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37637 default stack guard is set in last bytes.
37638 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37639
21bb2d2e 376402012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 37641
21bb2d2e 37642 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 37643
21bb2d2e
AJ
37644 [BZ #13656]
37645 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37646 possibly allocate from heap instead of stack.
37647 * stdio-common/bug-vfprintf-nargs.c: New file.
37648 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 37649
c6922934
AS
376502012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37651
37652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37653
bc957d53
MP
376542012-03-03 Marek Polacek <polacek@redhat.com>
37655
37656 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37657 * math/math_private.h: Likewise.
37658 * stdlib/tst-strtod.c: Likewise.
37659 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37660 * sysdeps/x86_64/bits/atomic.h: Likewise.
37661
6358490d
DM
376622012-03-02 David S. Miller <davem@davemloft.net>
37663
37664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37668 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37669 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37670 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37671 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37672
01ae168d
RM
376732012-03-02 Roland McGrath <roland@hack.frob.com>
37674
d9a17c07
RM
37675 [BZ #13792]
37676 * manual/examples/README: New file, says the example source files
37677 can be used under GPL>=2.
37678 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37679 line containing just "*/".
37680 * manual/examples/add.c: Add copyright header (GPL>=2).
37681 * manual/examples/argp-ex1.c: Likewise.
37682 * manual/examples/argp-ex2.c: Likewise.
37683 * manual/examples/argp-ex3.c: Likewise.
37684 * manual/examples/argp-ex4.c: Likewise.
37685 * manual/examples/atexit.c: Likewise.
37686 * manual/examples/db.c: Likewise.
37687 * manual/examples/dir.c: Likewise.
37688 * manual/examples/dir2.c: Likewise.
37689 * manual/examples/execinfo.c: Likewise.
37690 * manual/examples/filecli.c: Likewise.
37691 * manual/examples/filesrv.c: Likewise.
37692 * manual/examples/fmtmsgexpl.c: Likewise.
37693 * manual/examples/genpass.c: Likewise.
37694 * manual/examples/inetcli.c: Likewise.
37695 * manual/examples/inetsrv.c: Likewise.
37696 * manual/examples/isockad.c: Likewise.
37697 * manual/examples/longopt.c: Likewise.
37698 * manual/examples/memopen.c: Likewise.
37699 * manual/examples/memstrm.c: Likewise.
37700 * manual/examples/mkfsock.c: Likewise.
37701 * manual/examples/mkisock.c: Likewise.
37702 * manual/examples/mygetpass.c: Likewise.
37703 * manual/examples/pipe.c: Likewise.
37704 * manual/examples/popen.c: Likewise.
37705 * manual/examples/rprintf.c: Likewise.
37706 * manual/examples/search.c: Likewise.
37707 * manual/examples/select.c: Likewise.
37708 * manual/examples/setjmp.c: Likewise.
37709 * manual/examples/sigh1.c: Likewise.
37710 * manual/examples/sigusr.c: Likewise.
37711 * manual/examples/stpcpy.c: Likewise.
37712 * manual/examples/strdupa.c: Likewise.
37713 * manual/examples/strftim.c: Likewise.
37714 * manual/examples/strncat.c: Likewise.
37715 * manual/examples/subopt.c: Likewise.
37716 * manual/examples/swapcontext.c: Likewise.
37717 * manual/examples/termios.c: Likewise.
37718 * manual/examples/testopt.c: Likewise.
37719 * manual/examples/testpass.c: Likewise.
37720 * manual/examples/timeval_subtract.c: Likewise.
37721
01ae168d
RM
37722 [BZ #13792]
37723 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37724 function to ...
37725 * manual/timeval_subtract.c.texi: ... here, new file.
37726
49efa33d
DM
377272012-03-02 David S. Miller <davem@davemloft.net>
37728
37729 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37730
28afd92d
JM
377312012-03-02 Joseph Myers <joseph@codesourcery.com>
37732
804360ed
JM
37733 [BZ #3976]
37734 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37735 (__sin): Save and restore rounding mode and use round-to-nearest
37736 for all computations.
37737 (__cos): Save and restore rounding mode and use round-to-nearest
37738 for all computations.
37739 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37740 <fenv.h>.
37741 (tan): Save and restore rounding mode and use round-to-nearest for
37742 all computations.
37743 * math/libm-test.inc (cos_test_tonearest): New function.
37744 (cos_test_towardzero): Likewise.
37745 (cos_test_downward): Likewise.
37746 (cos_test_upward): Likewise.
37747 (sin_test_tonearest): Likewise.
37748 (sin_test_towardzero): Likewise.
37749 (sin_test_downward): Likewise.
37750 (sin_test_upward): Likewise.
37751 (tan_test_tonearest): Likewise.
37752 (tan_test_towardzero): Likewise.
37753 (tan_test_downward): Likewise.
37754 (tan_test_upward): Likewise.
37755 (main): Call the new functions.
37756 * sysdeps/i386/fpu/libm-test-ulps: Update.
37757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37758
a6d06d7b
JM
37759 [BZ #10135]
37760 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37761 small n, then large n, before computing and testing k+n.
37762 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37763 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37764 Likewise.
37765 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37766 Likewise.
37767 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37768 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37769 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37770 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37771 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37772 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37773 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37774 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37775 * math/libm-test.inc (scalbn_test): Add more tests.
37776 (scalbln_test): Likewise.
37777
07e12bb3
JM
37778 * manual/filesys.texi (mode_t): Describe constraints on size and
37779 signedness, not exact equivalence to a particular type.
37780 (ino_t): Likewise.
37781 (ino64_t): Likewise.
37782 (dev_t): Likewise.
37783 (nlink_t): Likewise.
37784 (blkcnt_t): Likewise.
37785 (blkcnt64_t): Likewise.
37786 * manual/llio.texi (off_t): Likewise.
37787
28afd92d
JM
37788 [BZ #3976]
37789 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37790 (__ieee754_exp): Save and restore rounding mode and use
37791 round-to-nearest for all computations.
37792 * math/libm-test.inc (exp_test_tonearest): New function.
37793 (exp_test_towardzero): Likewise.
37794 (exp_test_downward): Likewise.
37795 (exp_test_upward): Likewise.
37796 (main): Call the new functions.
37797 * sysdeps/i386/fpu/libm-test-ulps: Update.
37798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37799
b1eeb65d
CD
378002012-03-01 Chris Demetriou <cgd@google.com>
37801
37802 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37803 have predictable order.
37804
53362a4b
DM
378052012-03-01 David S. Miller <davem@davemloft.net>
37806
3c969083
DM
37807 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37808
759707de
DM
37809 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37810 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37811 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37812 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37813
dfdb8ff2
DM
37814 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37815 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37816 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37818 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37819 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37820 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37821 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37822 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37823
ead89f96
DM
37824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37825
7f66bd07
DM
37826 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37827 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37828 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37829
53362a4b
DM
37830 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37831 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37832 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37833 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37834 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37835 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37836 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37837 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37838 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37839 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37840 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37841 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37842 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37843 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37844 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37845 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37846 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37847 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37848 * sysdeps/sparc/elf/configure: Regenerated.
37849
7b1902cb
JM
378502012-03-01 Joseph Myers <joseph@codesourcery.com>
37851
bec039bc
JM
37852 * configure.in (AS, LD): Require binutils 2.20 or later.
37853 * configure: Regenerated.
37854 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37855 as required minimum version.
37856 * INSTALL: Regenerated.
37857
7b1902cb
JM
37858 [BZ #2541]
37859 [BZ #4108]
37860 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37861 before squaring exponent.
37862 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37863 bottom long double and 27 bits of top long double before squaring
37864 exponent.
37865 * math/libm-test.inc (erfc_test): Add more tests.
37866 * sysdeps/i386/fpu/libm-test-ulps: Update.
37867 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37869
f775c276
KT
378702012-03-01 Kai Tietz <ktietz@redhat.com>
37871
37872 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37873 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37874 containing bit-fields.
37875 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37876 * soft-fp/single.h (_FP_UNION_S): Likewise.
37877 * soft-fp/double.h (_FP_UNION_D): Likewise.
37878
5b8a4d4a
JM
378792012-02-29 Joseph Myers <joseph@codesourcery.com>
37880
0bab47b6
JM
37881 [BZ #13786]
37882 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37883 not include ../strcmp.S.
37884 [USE_AS_STRNCASECMP_L]: Likewise.
37885 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37886 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37887 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37888 (__strncasecmp_l_ia32): Define as alias to
37889 __strncasecmp_l_nonascii.
37890
0fcad3e2
JM
37891 [BZ #5794]
37892 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37893 * sysdeps/i386/fpu/libm-test-ulps: Update.
37894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37895
5b8a4d4a
JM
37896 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37898
8fdceb2e
JL
378992012-02-29 Jeff Law <law@redhat.com>
37900
37901 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37902 out of bounds read.
37903
1f393a11
MP
379042012-02-29 Marek Polacek <polacek@redhat.com>
37905
37906 [BZ #13706]
37907 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37908 * elf/Makefile: Add rules to run tst-unused-dep.out.
37909
8847f037
DM
379102012-02-28 David S. Miller <davem@davemloft.net>
37911
37912 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37913 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37914 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37915 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37916 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37917 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37918
169d7f11
JM
379192012-02-29 Joseph Myers <joseph@codesourcery.com>
37920
37921 * math/libm-test.inc (llround_test): Move one test from
37922 lround_test. Use TEST_f_L in moved test.
37923 (lround_test): Move misplaced test to llround_test. Add testcase
37924 from bug 2561.
37925
39adf059
UD
379262012-02-28 Ulrich Drepper <drepper@gmail.com>
37927
37928 * sysdeps/x86_64/fpu/e_expf.S: New file.
37929 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37930
71b5d1c5
SB
379312012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37932
37933 [BZ #13637]
37934 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37935 of remain_len that may cause incomplete multi-byte character and
37936 false match.
37937 * posix/bug-regex33.c: New file.
37938 * posix/Makefile (tests): Add bug-regex33.
37939
1f77f049
JM
379402012-02-28 Joseph Myers <joseph@codesourcery.com>
37941
37942 * manual/macros.texi: New file.
37943 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37944 * manual/libc.texinfo: Include macros.texi.
37945 * manual/creatute.texi: Likewise.
37946 * manual/install.texi: Likewise.
37947 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37948 @glibcadj{} in references to the GNU C Library.
37949 * manual/charset.texi: Likewise.
37950 * manual/conf.texi: Likewise.
37951 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37952 when not using those macros.
37953 * manual/creature.texi: Likewise.
37954 * manual/crypt.texi: Likewise.
37955 * manual/errno.texi: Likewise.
37956 * manual/filesys.texi: Likewise.
37957 * manual/header.texi: Likewise.
37958 * manual/install.texi: Likewise.
37959 * manual/intro.texi: Likewise.
37960 * manual/io.texi: Likewise.
37961 * manual/job.texi: Likewise.
37962 * manual/lang.texi: Likewise.
37963 * manual/libc.texiinfo: Likewise.
37964 * manual/llio.texi: Likewise.
37965 * manual/locale.texi: Likewise.
37966 * manual/maint.texi: Likewise.
37967 * manual/math.texi: Likewise.
37968 * manual/memory.texi: Likewise.
37969 * manual/message.texi: Likewise.
37970 * manual/nss.texi: Likewise.
37971 * manual/pattern.texi: Likewise.
37972 * manual/process.texi: Likewise.
37973 * manual/resource.texi: Likewise.
37974 * manual/search.texi: Likewise.
37975 * manual/setjmp.texi: Likewise.
37976 * manual/signal.texi: Likewise.
37977 * manual/socket.texi: Likewise.
37978 * manual/startup.texi: Likewise.
37979 * manual/stdio.texi: Likewise.
37980 * manual/string.texi: Likewise.
37981 * manual/sysinfo.texi: Likewise.
37982 * manual/syslog.texi: Likewise.
37983 * manual/terminal.texi: Likewise.
37984 * manual/time.texi: Likewise.
37985 * manual/users.texi: Likewise.
37986 * INSTALL: Regenerated.
37987 * NOTES: Regenerated.
d40c5d54 37988 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 37989
450bf206
AS
379902012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37991
37992 * include/dirent.h: Include <dirstream.h> before
37993 <dirent/dirent.h>.
37994
741a235b
DM
379952012-02-28 David S. Miller <davem@davemloft.net>
37996
37997 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37998 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37999 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38000 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38001
d6b5aa58
DM
380022012-02-27 David S. Miller <davem@davemloft.net>
38003
1aff59a3
DM
38004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38006 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38007 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38008
d6b5aa58
DM
38009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38010 frame pointer instead of stack pointer relative arg slot.
38011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38012 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38013 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38014
433f48bf
CD
380152012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38016
38017 [BZ #3992]
38018 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38019
d674b76d
DM
380202012-02-27 David S. Miller <davem@davemloft.net>
38021
38022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38026 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38027 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38028 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38029 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38030
0e7727f7
JM
380312012-02-27 Joseph Myers <joseph@codesourcery.com>
38032
38033 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38034 later. Allow versions 5-9.
43be4ca2 38035 * configure: Regenerated.
0e7727f7
JM
38036 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38037 required minimum version and 4.6 as recommended version. Do not
38038 mention bugs in GCC 2.7 and 2.8.
43be4ca2 38039 * INSTALL: Regenerated.
0e7727f7 38040
a78bc654
DM
380412012-02-27 David S. Miller <davem@davemloft.net>
38042
428d5830
DM
38043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38047 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38048 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38049 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38050 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38051
a78bc654
DM
38052 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38053 manipulate bits before adding and subtracting TWO112[sx].
38054 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38055
4579f81c
RM
380562012-02-27 Roland McGrath <roland@hack.frob.com>
38057
36c8acb4
RM
38058 [BZ #13775]
38059 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38060 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38061 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38062 being in POSIX, because they are in 1003.1-2008.
38063
84ad622b
RM
38064 * rt/tst-aio.c: Include <fcntl.h>.
38065 * rt/tst-aio7.c: Likewise.
38066 * rt/tst-aio64.c: Likewise.
38067
4579f81c
RM
38068 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38069
abd923db
JM
380702012-02-27 Joseph Myers <joseph@codesourcery.com>
38071
38072 * manual/install.texi (--with-headers): Describe headers as
38073 interface headers, not private headers.
38074 (Specific advice for GNU/Linux systems): Describe use of headers
38075 from "make headers_install", not private headers from older
38076 kernels.
43be4ca2 38077 * INSTALL: Regenerated.
abd923db
JM
38078 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38079 Change to 2.6.19.
38080 * sysdeps/unix/sysv/linux/configure: Regenerated.
38081
6664049b
JM
38082 * manual/llio.texi (fclean): Remove documentation.
38083
bb8b6697
JM
38084 * manual/Makefile (libc-texi-generated): New variable. Include
38085 version.texi.
38086 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38087 $(libc-texi-generated), not duplicated list of files.
38088 (version.texi, stamp-version): New rules.
38089 (realclean): Remove $(libc-texi-generated), not individual files
38090 from that list. Do not remove dir-add.texinfo.
38091 * manual/libc.texinfo: Comment out uses of edition numbers and
38092 references to printed manual. Remove last-updated dates.
38093 (EDITION): Comment out.
38094 (ISBN): Likewise.
38095 (VERSION, UPDATED): Remove.
38096 (version.texi): Include.
38097
12e5c3b9
AS
380982012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38099
38100 * sysdeps/posix/spawni.c: Include <signal.h>.
38101 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38102 * sysdeps/pthread/aio_fsync.c: Likewise.
38103
4efeffc1 381042012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 38105
ba63ba08
UD
38106 * conform/Makefile (tests): Run only when not cross-compiling and
38107 when fast-check is not defined.
38108
d94a4670
UD
38109 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38110 * conform/data/limits.h-data: Fixes for POSIX2008.
38111 * conform/run-conformtest.sh: Run all tests.
38112 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38113 headers.
38114 * include/bits/dlfcn.h: Likewise.
38115 * include/langinfo.h: Likewise.
38116 * include/monetary.h: Likewise.
38117 * include/sys/poll.h: Likewise.
38118
38119 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38120 for __USE_GNU.
38121 * posix/spawn.h: Define __need_sigset_t.
38122 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38123 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38124 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38125 to get sigevent_t only.
38126 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38127 only for __USE_GNU.
38128 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38129 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38130 process_vm_writev only for __USE_GNU.
38131 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
38132
38133 * conform/Makefile: For now ignore errors from run-conformtest.
38134 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38135 POSIX to avoid namespace pollution. Don't prepend headers.
38136 * conform/data/aio.h-data: Fixes for POSIX testing.
38137 * conform/data/fcntl.h-data: Likewise.
38138 * conform/data/glob.h-data: Likewise.
38139 * conform/data/grp.h-data: Likewise.
38140 * conform/data/pthread.h-data: Likewise.
38141 * conform/data/pwd.h-data: Likewise.
38142 * conform/data/signal.h-data: Likewise.
38143 * conform/data/spawn.h-data: Likewise.
38144 * conform/data/stdio.h-data: Likewise.
38145 * conform/data/stdlib.h-data: Likewise.
38146 * conform/data/stropts.h-data: Likewise.
38147 * conform/data/sys/mman.h-data: Likewise.
38148 * conform/data/sys/stat.h-data: Likewise.
38149 * conform/data/sys/types.h-data: Likewise.
38150 * conform/data/sys/wait.h-data: Likewise.
38151 * conform/data/time.h-data: Likewise.
38152 * conform/data/unistd.h-data: Likewise.
38153 * conform/data/utime.h-data: Likewise.
38154
38155 * io/sys/stat.h: fchmod was always in POSIX.
38156 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38157 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38158 * rt/aio.h: Define __need_timespec before including <time.h>.
38159 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38160 struct. Add forward declaration of pthread_attr_t and use it in
38161 sigevent.
38162 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38163 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38164 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38165 always remove CLK_TCK definition.
38166
c20105c3
AS
381672012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38168
38169 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38170
7a270350
UD
381712012-02-25 Ulrich Drepper <drepper@gmail.com>
38172
31341567
UD
38173 * conform/run-conformtest.sh: New file.
38174 * conform/Makefile: Run run-conformtest for tests.
38175 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38176 support.
38177
38178 * conform/data/uchar.h-data: New file.
38179 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38180 * conform/data/arpa/inet.h-data: Likewise.
38181 * conform/data/assert.h-data: Likewise.
38182 * conform/data/complex.h-data: Likewise.
38183 * conform/data/cpio.h-data: Likewise.
38184 * conform/data/ctype.h-data: Likewise.
38185 * conform/data/dirent.h-data: Likewise.
38186 * conform/data/dlfcn.h-data: Likewise.
38187 * conform/data/errno.h-data: Likewise.
38188 * conform/data/fcntl.h-data: Likewise.
38189 * conform/data/float.h-data: Likewise.
38190 * conform/data/fmtmsg.h-data: Likewise.
38191 * conform/data/fnmatch.h-data: Likewise.
38192 * conform/data/ftw.h-data: Likewise.
38193 * conform/data/glob.h-data: Likewise.
38194 * conform/data/grp.h-data: Likewise.
38195 * conform/data/iconv.h-data: Likewise.
38196 * conform/data/inttypes.h-data: Likewise.
38197 * conform/data/langinfo.h-data: Likewise.
38198 * conform/data/libgen.h-data: Likewise.
38199 * conform/data/limits.h-data: Likewise.
38200 * conform/data/locale.h-data: Likewise.
38201 * conform/data/math.h-data: Likewise.
38202 * conform/data/monetary.h-data: Likewise.
38203 * conform/data/mqueue.h-data: Likewise.
38204 * conform/data/ndbm.h-data: Likewise.
38205 * conform/data/net/if.h-data: Likewise.
38206 * conform/data/netdb.h-data: Likewise.
38207 * conform/data/netinet/in.h-data: Likewise.
38208 * conform/data/nl_types.h-data: Likewise.
38209 * conform/data/poll.h-data: Likewise.
38210 * conform/data/pthread.h-data: Likewise.
38211 * conform/data/pwd.h-data: Likewise.
38212 * conform/data/regex.h-data: Likewise.
38213 * conform/data/sched.h-data: Likewise.
38214 * conform/data/search.h-data: Likewise.
38215 * conform/data/semaphore.h-data: Likewise.
38216 * conform/data/setjmp.h-data: Likewise.
38217 * conform/data/signal.h-data: Likewise.
38218 * conform/data/spawn.h-data: Likewise.
38219 * conform/data/stdarg.h-data: Likewise.
38220 * conform/data/stdio.h-data: Likewise.
38221 * conform/data/stdlib.h-data: Likewise.
38222 * conform/data/string.h-data: Likewise.
38223 * conform/data/strings.h-data: Likewise.
38224 * conform/data/stropts.h-data: Likewise.
38225 * conform/data/sys/ipc.h-data: Likewise.
38226 * conform/data/sys/mman.h-data: Likewise.
38227 * conform/data/sys/msg.h-data: Likewise.
38228 * conform/data/sys/resource.h-data: Likewise.
38229 * conform/data/sys/select.h-data: Likewise.
38230 * conform/data/sys/sem.h-data: Likewise.
38231 * conform/data/sys/shm.h-data: Likewise.
38232 * conform/data/sys/socket.h-data: Likewise.
38233 * conform/data/sys/stat.h-data: Likewise.
38234 * conform/data/sys/statvfs.h-data: Likewise.
38235 * conform/data/sys/time.h-data: Likewise.
38236 * conform/data/sys/timeb.h-data: Likewise.
38237 * conform/data/sys/times.h-data: Likewise.
38238 * conform/data/sys/types.h-data: Likewise.
38239 * conform/data/sys/uio.h-data: Likewise.
38240 * conform/data/sys/un.h-data: Likewise.
38241 * conform/data/sys/utsname.h-data: Likewise.
38242 * conform/data/sys/wait.h-data: Likewise.
38243 * conform/data/syslog.h-data: Likewise.
38244 * conform/data/tar.h-data: Likewise.
38245 * conform/data/termios.h-data: Likewise.
38246 * conform/data/utime.h-data: Likewise.
38247 * conform/data/utmpx.h-data: Likewise.
38248 * conform/data/varargs.h-data: Likewise.
38249 * conform/data/wchar.h-data: Likewise.
38250 * conform/data/wctype.h-data: Likewise.
38251 * conform/data/wordexp.h-data: Likewise.
38252
38253 * include/stropts.h: New file.
38254 * include/uchar.h: New file.
38255 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38256 * include/assert.h: Likewise.
38257 * include/ctype.h: Likewise.
38258 * include/dirent.h: Likewise.
38259 * include/dlfcn.h: Likewise.
38260 * include/fcntl.h: Likewise.
38261 * include/fnmatch.h: Likewise.
38262 * include/glob.h: Likewise.
38263 * include/grp.h: Likewise.
38264 * include/libio.h: Likewise.
38265 * include/locale.h: Likewise.
38266 * include/math.h: Likewise.
38267 * include/net/if.h: Likewise.
38268 * include/netdb.h: Likewise.
38269 * include/netinet/in.h: Likewise.
38270 * include/pthread.h: Likewise.
38271 * include/pwd.h: Likewise.
38272 * include/regex.h: Likewise.
38273 * include/sched.h: Likewise.
38274 * include/search.h: Likewise.
38275 * include/setjmp.h: Likewise.
38276 * include/signal.h: Likewise.
38277 * include/stdio.h: Likewise.
38278 * include/stdlib.h: Likewise.
38279 * include/string.h: Likewise.
38280 * include/sys/cdefs.h: Likewise.
38281 * include/sys/mman.h: Likewise.
38282 * include/sys/msg.h: Likewise.
38283 * include/sys/resource.h: Likewise.
38284 * include/sys/select.h: Likewise.
38285 * include/sys/socket.h: Likewise.
38286 * include/sys/stat.h: Likewise.
38287 * include/sys/statvfs.h: Likewise.
38288 * include/sys/time.h: Likewise.
38289 * include/sys/times.h: Likewise.
38290 * include/sys/uio.h: Likewise.
38291 * include/sys/utsname.h: Likewise.
38292 * include/sys/wait.h: Likewise.
38293 * include/termios.h: Likewise.
38294 * include/time.h: Likewise.
38295 * include/ulimit.h: Likewise.
38296 * include/unistd.h: Likewise.
38297 * include/utime.h: Likewise.
38298 * include/wchar.h: Likewise.
38299 * include/wctype.h: Likewise.
38300 * include/wordexp.h: Likewise.
38301
38302 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38303
7a270350
UD
38304 * time/time.h: TIME_UTC must be a macro.
38305 Make timespec_get available for ISO C11 only as well.
38306
7724defc
UD
383072012-02-24 Ulrich Drepper <drepper@gmail.com>
38308
38309 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38310 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38311
6b1d1d46
JM
383122012-02-24 Joseph Myers <joseph@codesourcery.com>
38313
38314 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 38315
0f8bbd69
JM
383162012-02-24 Joseph Myers <joseph@codesourcery.com>
38317
38318 * manual/texinfo.tex: Update to version 2012-01-19.16.
38319
66ab80bc
JM
383202012-02-24 Joseph Myers <joseph@codesourcery.com>
38321
38322 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38323
74981cc5
RM
383242012-02-24 Roland McGrath <roland@hack.frob.com>
38325
ee968201
RM
38326 [BZ #13738]
38327 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38328 * manual/fdl-1.3.texi: New file.
38329 * manual/fdl-1.1.texi: File removed.
38330
74981cc5
RM
38331 [BZ #13738]
38332 * manual/libc.texinfo (FDL_VERSION): New @set.
38333 Use it for mention of FDL in cover text.
38334 (Documentation License): Use it in @include file name.
38335
7bb764bc
JM
383362012-02-22 Joseph Myers <joseph@codesourcery.com>
38337 Roland McGrath <roland@hack.frob.com>
38338
38339 [BZ #5461]
57f41c40
AS
38340 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38341 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
38342 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38343 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38344 name.
38345 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38346
6cbeae47
JM
383472012-02-22 Joseph Myers <joseph@codesourcery.com>
38348
38349 [BZ #2547]
38350 [BZ #11365]
38351 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38352 manipulate bits before adding and subtracting TWO23[sx].
38353 * math/libm-test.inc (nearbyint_test): Add more tests.
38354
fe45ce09
JM
383552012-02-22 Joseph Myers <joseph@codesourcery.com>
38356
38357 [BZ #2548]
38358 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38359 bits before adding and subtracting TWO23[sx].
38360 * math/libm-test.inc (rint_test): Add more tests.
38361 (rint_test_tonearest): Likewise.
38362 (rint_test_towardzero): Likewise.
38363 (rint_test_downward): Likewise.
38364 (rint_test_upward: Likewise.
38365
ff3b3d82
JM
383662012-02-22 Joseph Myers <joseph@codesourcery.com>
38367
38368 [BZ #10110]
38369 * include/stdc-predef.h: New file. Extracted from features.h.
38370 * include/features.h: Include stdc-predef.h.
38371 * Makefile (headers): Add stdc-predef.h.
38372 * CONFORMANCE (Compiler limitations): Update.
38373
ef0aab35
JM
383742012-02-22 Joseph Myers <joseph@codesourcery.com>
38375
38376 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38377
58639409
DM
383782012-02-21 David S. Miller <davem@davemloft.net>
38379
38380 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38381 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38382
c0e70b25
DM
383832012-02-20 David S. Miller <davem@davemloft.net>
38384
38385 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38386 using a normal save/restore sequence, rather than allocating a
38387 dummy stack frame just to store a frame pointer and restore.
38388 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38389
fb06851d
JM
383902012-02-21 Joseph Myers <joseph@codesourcery.com>
38391
38392 * manual/install.texi: Fix stray word in line-wrapped comment.
38393
7a8b71c3
DM
383942012-02-20 David S. Miller <davem@davemloft.net>
38395
d510c123
DM
38396 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38397 both binutils and gcc support GOTDATA.
38398
0722d7c2
DM
38399 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38400 "rd %pc" in the PIC register setup sequences.
38401
3d2b3019
DM
38402 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38403 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38404 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38405 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38406 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38408 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38409 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38410 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38411 (SYSCALL_ERROR_HANDLER): Likewise.
38412 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38413 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38414 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38415 (SYSCALL_ERROR_HANDLER): Likewise.
38416
c80098a9
DM
38417 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38418 (HAVE_GCC_GOTDATA): New.
38419 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38420 relocation support in both binutils and gcc.
38421 * sysdeps/sparc/elf/configure: Regenerate.
38422
3a2545a0
DM
38423 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38424 * sysdeps/sparc/sparc32/elf/configure: Delete.
38425 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38426 * sysdeps/sparc/sparc64/elf/configure: Delete.
38427 * sysdeps/sparc/elf/configure.in: New file.
38428 * sysdeps/sparc/elf/configure: Generate.
38429
7a8b71c3
DM
38430 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38431 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38432 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38433 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38434 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38435
f1e86fca
JM
384362012-02-21 Joseph Myers <joseph@codesourcery.com>
38437
38438 * manual/install.texi: Do not mention specific glibc version
38439 numbers.
38440 * manual/libc.texinfo (VERSION, UPDATED): Update.
38441 (@copying): Use @copyright{} and range of years.
38442
0e7dfaef
JM
384432012-02-21 Joseph Myers <joseph@codesourcery.com>
38444
38445 [BZ #13695]
38446 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38447 [crti.S not in sysdirs] (generated): Do not append.
38448 [crti.S not in sysdirs] (omit-deps): Likewise.
38449 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38450 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38451 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38452 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38453 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38454 Likewise.
38455 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38456 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38457 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38458 * csu/defs.awk: Remove file.
38459 * sysdeps/generic/initfini.c: Likewise.
38460 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38461 variable.
38462 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38463 Likewise.
38464
599af3ca
JM
384652012-02-20 Joseph Myers <joseph@codesourcery.com>
38466
38467 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38468 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38469 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38470 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38471 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38472 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38473 <bits/epoll.h>.
38474 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38475 (__EPOLL_PACKED): Define to empty if not defined by
38476 <bits/epoll.h>.
38477 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38479 bits/epoll.h.
38480
0e499750
JM
384812012-02-20 Joseph Myers <joseph@codesourcery.com>
38482
38483 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38484 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38485 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38486 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38487 <bits/timerfd.h>.
38488 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38490 bits/timerfd.h.
38491
5ad91f6e
JM
384922012-02-20 Joseph Myers <joseph@codesourcery.com>
38493
38494 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38495 in C locale.
38496 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38497 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38498 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38500
06b99b02
AJ
385012012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38502
38503 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38504 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38505
7638c0fd
AS
385062012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38507
38508 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38509 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38510 defined.
38511 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38512 Likewise.
38513 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38514 entry for 2.16.
38515
92221550
AJ
385162012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38517
38518 * math/w_acos.c: Use non-signaling floating-point comparisons.
38519 * math/w_acosf.c: Likewise.
38520 * math/w_acosh.c: Likewise.
38521 * math/w_acoshf.c: Likewise.
38522 * math/w_acoshl.c: Likewise.
38523 * math/w_acosl.c: Likewise.
38524 * math/w_asin.c: Likewise.
38525 * math/w_asinf.c: Likewise.
38526 * math/w_asinl.c: Likewise.
38527 * math/w_atanh.c: Likewise.
38528 * math/w_atanhf.c: Likewise.
38529 * math/w_atanhl.c: Likewise.
38530 * math/w_exp2.c: Likewise.
38531 * math/w_exp2f.c: Likewise.
38532 * math/w_exp2l.c: Likewise.
38533 * math/w_j0.c: Likewise.
38534 * math/w_j0f.c: Likewise.
38535 * math/w_j0l.c: Likewise.
38536 * math/w_j1.c: Likewise.
38537 * math/w_j1f.c: Likewise.
38538 * math/w_j1l.c: Likewise.
38539 * math/w_jn.c: Likewise.
38540 * math/w_jnf.c: Likewise.
38541 * math/w_log.c: Likewise.
38542 * math/w_log10.c: Likewise.
38543 * math/w_log10f.c: Likewise.
38544 * math/w_log10l.c: Likewise.
38545 * math/w_log2.c: Likewise.
38546 * math/w_log2f.c: Likewise.
38547 * math/w_log2l.c: Likewise.
38548 * math/w_logf.c: Likewise.
38549 * math/w_logl.c: Likewise.
38550 * math/w_sqrt.c: Likewise.
38551 * math/w_sqrtf.c: Likewise.
38552 * math/w_sqrtl.c: Likewise.
38553 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38554 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38555 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38556 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38557 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38558
ebaf36eb
JM
385592012-02-19 Joseph Myers <joseph@codesourcery.com>
38560
38561 [BZ #9739]
38562 * manual/string.texi (strnlen): Use correct parameter name in
38563 equivalent expression.
38564
71c254a6
JM
385652012-02-19 Joseph Myers <joseph@codesourcery.com>
38566
38567 [BZ #11174]
38568 * manual/users.texi (seteuid): Consistently use neweuid for
38569 argument name.
38570
16d2c631
JM
385712012-02-19 Joseph Myers <joseph@codesourcery.com>
38572
38573 [BZ #13704]
38574 * manual/nss.texi (Services in the NSS configuration): Correct
38575 list of services in example configuration file.
38576
cd837b09
NB
385772012-02-19 Nick Bowler <nbowler@draconx.ca>
38578
38579 [BZ #11322]
38580 * manual/arith.texi: Remove statements about negative zero
38581 behaving identically to zero.
38582
02c4bbad
JM
385832012-02-18 Joseph Myers <joseph@codesourcery.com>
38584
38585 [BZ #5993]
38586 * manual/install.texi: Do not document upgrading from libc5.
38587
366842e7
JM
385882012-02-18 Joseph Myers <joseph@codesourcery.com>
38589
38590 [BZ #4596]
38591 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38592
dd54084d
DM
385932012-02-18 David S. Miller <davem@davemloft.net>
38594
38595 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38596 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38597 %o7 across the call.
38598 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38599 instead.
38600 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38601 SETUP_PIC_REG_LEAF.
38602 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38603 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38604 * sysdeps/sparc/crtn.S: Likewise.
38605
2bcc53a3
UD
386062012-02-17 Ulrich Drepper <drepper@gmail.com>
38607
38608 * aout/Makefile: Remove.
38609
09c093b5
RK
386102012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38611
38612 [BZ #13058]
38613 * manual/examples/argp-ex1.c (main): Format definition in GNU
38614 style.
38615 * manual/examples/argp-ex2.c (main): Likewise.
38616 * manual/examples/argp-ex3.c (main): Likewise.
38617 * manual/examples/argp-ex4.c (main): Likewise.
38618 * manual/examples/longopt.c (main): Use new-style prototype
38619 definition.
38620 * manual/examples/strncat.c (main): Specify return type and use
38621 (void) for arguments.
38622 * manual/examples/subopt.c (main): Use char **argv argument.
38623
2ee633a2
JM
386242012-02-17 Joseph Myers <joseph@codesourcery.com>
38625
38626 [BZ #5077]
38627 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38628 rounding modes.
38629
0520adde
FB
386302012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38631
38632 [BZ #6907]
38633 * manual/string.texi (strchr): Change when strchrnul is
38634 recommended.
38635
3f4081cd
DGM
386362012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38637
38638 [BZ #174]
38639 * manual/locale.texi (setlocale): Document LOCPATH.
38640
d1b10e78
JM
386412012-02-17 Joseph Myers <joseph@codesourcery.com>
38642
38643 [BZ #10210]
38644 * manual/process.texi (execle): Move @dots{} before last argument.
38645
79c6869c
PB
386462012-02-17 Paul Bolle <pebolle@tiscali.nl>
38647
38648 [BZ #12047]
38649 * manual/charset.texi (Generic Charset Conversion): Fix typo
38650 (LC_TYPE -> LC_CTYPE).
38651
cc6e48bc
NB
386522012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38653
38654 [BZ #5805]
38655 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38656 (scalbnf): Likewise.
38657 (scalbnl): Likewise.
38658 (scalbln): Likewise.
38659 (scalblnf): Likewise.
38660 (scalblnl): Likewise.
38661 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38662 (vwarnx): Likewise.
38663 (verr): Likewise.
38664 (verrx): Likewise.
38665 * manual/filesys.texi (telldir): Use braces around return type.
38666 * manual/llio.texi (mmap): Add space after comma.
38667 (mmap64): Likewise.
38668 * manual/math.texi (jn): Use @var{} on parameter names.
38669 (jnf): Likewise.
38670 (jnl): Likewise.
38671 (yn): Likewise.
38672 (ynf): Likewise.
38673 (ynl): Likewise.
38674 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38675 line.
38676 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38677 "...".
38678 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38679 (sched_get_priority_max): Likewise.
38680 * manual/signal.texi (sigvec): Add space after comma.
38681 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38682 names.
38683 (if_indextoname): Likewise.
38684 (if_freenameindex): Likewise.
38685 (sendto): Use ',' instead of '.' in prototype.
38686 * manual/startup.texi (syscall): Use @dots{} instead of literal
38687 "...".
38688 * manual/stdio.texi (__fpending): Separate initial words of
38689 paragraph from @deftypefun line.
38690 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38691 "...".
38692 (vsyslog): Use @var{} on parameter names.
38693 * manual/terminal.texi (stty): Use @var{} on parameter names.
38694 * manual/users.texi (getutmp): Use @var{} on parameter names.
38695 (getutmpx): Likewise.
38696
5b23062f
JM
386972012-02-17 Joseph Myers <joseph@codesourcery.com>
38698
38699 [BZ #6884]
38700 * manual/stdio.texi (fopen): Fix typos in description of
38701 ",ccs=STRING".
38702
8dee4833
AJ
387032012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38704
38705 [BZ #4026]
38706 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38707 get clock_id definition.
38708
9078ce93
TS
387092012-02-17 Thomas Schwinge <thomas@schwinge.name>
38710
38711 [BZ #4822]
38712 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38713 (madvise): Cast every argument to void on its own.
38714
3835c55f
JM
387152012-02-17 Joseph Myers <joseph@codesourcery.com>
38716
38717 [BZ #9902]
38718 * manual/startup.texi (Exit Status): Fix typo.
38719
35c47e37
JM
387202012-02-17 Joseph Myers <joseph@codesourcery.com>
38721
38722 [BZ #10140]
38723 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38724 * manual/examples/argp-ex2.c: Likewise.
38725 * manual/examples/argp-ex3.c: Likewise.
38726
e3b69ca7
RH
387272012-02-16 Richard Henderson <rth@redhat.com>
38728
38729 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38730 * sysdeps/s390/s390-32/initfini.c: Remove.
38731 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38732 * sysdeps/s390/s390-64/initfini.c: Remove.
38733
df83af67
KK
387342012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38735
38736 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38737 compiler output for sysdeps/generic/initfini.c.
38738 * sysdeps/sh/elf/initfini.c: Remove file.
38739
f63f3380
DM
387402012-02-16 David S. Miller <davem@davemloft.net>
38741
fb59b3a4
DM
38742 [BZ #11494]
38743 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38744
f63f3380
DM
38745 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38746 * sysdeps/sparc/crti.S: New file.
38747 * sysdeps/sparc/crtn.S: New file.
38748 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38749 * sysdeps/sparc/sparc64/Makefile: Likewise.
38750
df6a4a4a
MF
387512012-02-15 Mike Frysinger <vapier@gentoo.org>
38752
6dd8f3dc 38753 [BZ #3335]
df6a4a4a
MF
38754 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38755
1cac7236
RM
387562012-02-15 Roland McGrath <roland@hack.frob.com>
38757
d2c736f8
RM
38758 [BZ #4822]
38759 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38760
1cac7236
RM
38761 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38762 (write, read, close): Likewise.
38763 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38764
8e475601
JM
387652012-02-15 Joseph Myers <joseph@codesourcery.com>
38766
38767 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38768 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38769 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38770 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38771 <bits/signalfd.h>.
38772 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38774 bits/signalfd.h.
38775
ed656b40
MP
387762012-02-14 Marek Polacek <polacek@redhat.com>
38777
38778 * sysdeps/x86_64/crti.S: New file.
38779 * sysdeps/x86_64/crtn.S: New file.
38780 * sysdeps/x86_64/elf/initfini.c: Remove file.
38781
2a979d3a
JM
387822012-02-13 Joseph Myers <joseph@codesourcery.com>
38783
38784 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38785 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38786 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38787 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38788 <bits/inotify.h>.
38789 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38790 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38791 bits/inotify.h.
38792
2a418ac3
JM
387932012-02-13 Joseph Myers <joseph@codesourcery.com>
38794
38795 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38796 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38797 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38798 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38799 <bits/eventfd.h>.
38800 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38802 bits/eventfd.h.
38803
fb779be7
TS
388042012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38805
e19e83c5
RM
38806 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38807 __feraiseexcept instead of feraiseexcept.
7c35ffed 38808
fb779be7
TS
38809 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38810 nanosleep invocations.
38811 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38812 strings, and add error checking for a nanosleep invocations.
38813
59ba27a6
PE
388142012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38815
38816 Replace FSF snail mail address with URLs, as per GNU coding standards.
38817 Most of the snail mail addresses were wrong anyway, and omitting
38818 them makes the source code easier to maintain. Almost all of the
38819 changes are to license notices and to locale LC_IDENTIFICATION
38820 addresses, except for this one:
38821 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38822 not its snail mail address.
38823
57b957eb
RH
388242012-02-09 Richard Henderson <rth@twiddle.net>
38825
af850b1c
RH
38826 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38827 of kernel-features.h.
38828
57b957eb
RH
38829 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38830
6b73181a
MP
388312012-02-08 Marek Polacek <polacek@redhat.com>
38832
38833 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38834 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38835 * sysdeps/gnu/_G_config.h: Likewise.
38836 * sysdeps/generic/_G_config.h: Likewise.
38837
26ecc33a
AS
388382012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38839
6c6dbc63
AS
38840 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38841 tests.
38842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38843
e216c012
AS
38844 * sysdeps/powerpc/powerpc32/crti.S: New file.
38845 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38846 * sysdeps/powerpc/powerpc64/crti.S: New file.
38847 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38848
26ecc33a
AS
38849 * Makeconfig (have-initfini): Don't set.
38850 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38851 * configure.in (nopic_initfini): Don't substitute.
38852 * config.h.in (HAVE_INITFINI): Don't #undef.
38853 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38854 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38855
3add8e13
JM
388562012-02-08 Joseph Myers <joseph@codesourcery.com>
38857
38858 Support crti.S and crtn.S provided directly by architectures.
38859 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38860 [crti.S in sysdirs] (omit-deps): Likewise.
38861 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38862 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38863 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38864 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38865 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38866 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38867 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38868 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38869 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38870 compiler output for sysdeps/generic/initfini.c.
38871 * sysdeps/i386/elf/Makefile: Remove file.
38872 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38873
a22f12b4
MP
388742012-02-07 Marek Polacek <polacek@redhat.com>
38875
38876 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38877 * sysdeps/gnu/_G_config.h: Likewise.
38878 * sysdeps/mach/hurd/_G_config.h: Likewise.
38879
148cf100
MP
388802012-02-07 Marek Polacek <polacek@redhat.com>
38881
38882 * math/Makefile (tests): Add tst-CMPLX2.
38883 * math/tst-CMPLX2.c: New file.
38884
cfdc0dd7
AS
388852012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38886
84ba42c4
AS
38887 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38888
cfdc0dd7
AS
38889 * math/libm-test.inc (jn_test): Add missing L suffix.
38890
622c86f4
MP
388912012-02-06 Marek Polacek <polacek@redhat.com>
38892
38893 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38894 * sysdeps/i386/fpu/e_powf.S: Likewise.
38895 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38896 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38897 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38898 * sysdeps/i386/fpu/e_pow.S: Likewise.
38899 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38900 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38901 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38902 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38903 * sysdeps/i386/fpu/e_log2.S: Likewise.
38904 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38905 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38906 * sysdeps/i386/fpu/e_powl.S: Likewise.
38907 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38908 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38909 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38910 * sysdeps/i386/fpu/e_logl.S: Likewise.
38911 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38912 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38913 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38914 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38915 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38916 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38917 * sysdeps/i386/fpu/e_log.S: Likewise.
38918 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38919 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38920 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38921 * sysdeps/i386/fpu/e_logf.S: Likewise.
38922 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38923 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38924 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38925 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38926 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38927 * sysdeps/i386/fpu/e_log10.S: Likewise.
38928 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38929 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38930 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38931 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38932 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38933 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38934 * sysdeps/i386/asm-syntax.h: Likewise.
38935 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38936 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38937 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38938 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38939 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38940 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38941 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38942 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38943 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38944 * sysdeps/powerpc/sysdep.h: Likewise.
38945 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38946 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38947
d4a54ac6
JM
389482012-02-06 Joseph Myers <joseph@codesourcery.com>
38949
38950 [BZ #411]
38951 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38952
314054ea
JM
389532012-02-06 Joseph Myers <joseph@codesourcery.com>
38954
38955 * sysdeps/i386/sysdep.h: Include <features.h>.
38956 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38957 version.
38958
d8e0ca50
JM
389592012-02-05 Joseph Myers <joseph@codesourcery.com>
38960
38961 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38962 Define.
38963 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38964 LOAD_PIC_REG_STR.
38965
b1da7dd9
JM
389662012-02-03 Joseph Myers <joseph@codesourcery.com>
38967
38968 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38969 (SETUP_PIC_REG): Use GET_PC_THUNK.
38970 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38971 macro.
38972
9a1d9254
JM
389732012-02-03 Joseph Myers <joseph@codesourcery.com>
38974
38975 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38976 for non-PIC compilation.
38977 (SETUP_PIC_REG): Add .p2align directive.
38978 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38979 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38980 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38981 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38982 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38983 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38984 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38985 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38986 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38987 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38988 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38989 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38990 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38991 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38992 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38993 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38994 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38995 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38996 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38997 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38998 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38999 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39000 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39001 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39002 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39003 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39004 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39005 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39006 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39007 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39008 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39009 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39010 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39011 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39012 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39013 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39014 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39015 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39016 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39017 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39018 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39019
65dc3b75
JM
390202012-02-03 Joseph Myers <joseph@codesourcery.com>
39021
39022 * math/tst-CMPLX.c: Include <stdio.h>.
39023
d55bf177
JM
390242012-01-31 Joseph Myers <joseph@codesourcery.com>
39025
39026 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39027 float.
39028 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39029 * sysdeps/sparc/bits/mathdef.h: Likewise.
39030
69db4f8f
MP
390312012-01-31 Marek Polacek <polacek@redhat.com>
39032
39033 * libio/libio.h: Don't define _PARAMS.
39034 * locale/programs/config.h: Don't define PARAMS.
39035 * stdlib/strtol_l.c: Likewise.
39036 (__strtol_l): Remove PARAMS from the prototype.
39037
41b81892
UD
390382012-01-31 Ulrich Drepper <drepper@gmail.com>
39039
3b49edc0
UD
39040 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39041 names. Just use the correct names. Remove unnecessary wrapper
39042 functions.
39043 * malloc/arena.c: Likewise.
39044 * malloc/hooks.c: Likewise.
39045
41b81892
UD
39046 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39047 ARENA_TEST says not to. Simplify test for creation of a new arena.
39048 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39049
27a25b6e
UD
390502012-01-30 Ulrich Drepper <drepper@gmail.com>
39051
39052 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39053 into tail calls.
39054 (update_get_addr): New function.
39055 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39056 GET_ADDR_MODULE parameter.
39057
c8a89e7d
JM
390582012-01-30 Joseph Myers <joseph@codesourcery.com>
39059
39060 * crypt/cert.c: Remove __STDC__ conditionals.
39061 * crypt/crypt-entry.c: Likewise.
39062 * crypt/crypt_util.c: Likewise.
39063 * libio/filedoalloc.c: Likewise.
39064 * libio/fileops.c: Likewise.
39065 * libio/genops.c: Likewise.
39066 * libio/iofclose.c: Likewise.
39067 * libio/iofdopen.c: Likewise.
39068 * libio/iofopen.c: Likewise.
39069 * libio/iofopen64.c: Likewise.
39070 * libio/iogetdelim.c: Likewise.
39071 * libio/iopopen.c: Likewise.
39072 * libio/obprintf.c: Likewise.
39073 * libio/oldfileops.c: Likewise.
39074 * libio/oldiofclose.c: Likewise.
39075 * libio/oldiofdopen.c: Likewise.
39076 * libio/oldiofopen.c: Likewise.
39077 * libio/oldiopopen.c: Likewise.
39078 * libio/wfiledoalloc.c: Likewise.
39079 * libio/wgenops.c: Likewise.
39080 * locale/programs/xmalloc.c: Likewise.
39081 * misc/syslog.c: Likewise.
39082 * stdio-common/xbug.c: Likewise.
39083 * string/memchr.c: Likewise.
39084 * string/memcmp.c: Likewise.
39085 * string/memrchr.c: Likewise.
39086 * string/rawmemchr.c: Likewise.
39087 * sysdeps/posix/getcwd.c: Likewise.
39088 * time/strftime_l.c: Likewise.
39089
3b100462
JM
390902012-01-30 Joseph Myers <joseph@codesourcery.com>
39091
39092 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
39093 * config.make.in (config-cflags-sse2avx): Define.
39094 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39095 Fix typo.
39096
607998af
CM
390972012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39098
39099 * scripts/config.guess: Update from upstream config git repository.
39100 * scripts/config.sub: Likewise.
39101
3601428f
CM
391022012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39103
3ac8b282
CM
39104 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39105 (EM_NUM): Update.
39106 (R_TILEPRO_*, R_TILEGX_*): New macros.
39107
e034841e
CM
39108 * scripts/firstversions.awk: Fix bug in version range handling.
39109
540d7568
CM
39110 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39111
3601428f
CM
39112 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39113
463de862
CM
39114 * include/sys/epoll.h: New file.
39115 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39116 libc_hidden_def.
39117
73139a76
UD
391182012-01-28 Ulrich Drepper <drepper@gmail.com>
39119
96bc5b45
UD
39120 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39121 Avoid unnecessary __WORDSIZE == 64 test.
39122 (fmaxf): Use VEX format if possible.
39123 (fmax): Likewise.
39124 (fminf): Likewise.
39125 (fmin): Likewise.
39126
56f6f6a2
UD
39127 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39128 * math/math_private.h: Remove libc_fegetround* and
39129 libc_fesetround*.
39130 * sysdeps/i386/configure.in: Check for -msse2avx.
39131 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39132 also if SSE2AVX is defined.
39133 Remove libc_fegetround* and libc_fesetround*.
39134 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39135 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39136 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39137 of HAS_YMM_USABLE.
39138 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39139 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39140 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39141 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39142 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39143
73139a76
UD
39144 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39145
d73f93a4
AZ
391462012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39147
39148 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39149 size is not set.
39150 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39151
6ee65ed6
UD
391522012-01-27 Ulrich Drepper <drepper@gmail.com>
39153
39154 [BZ #13618]
39155 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39156 relocation.
39157 * Makeconfig (libm): Define.
39158 * elf/Makefile: Add rules to build and run tst-relsort1.
39159 * elf/tst-relsort1.c: New file.
39160 * elf/tst-relsort1mod1.c: New file.
39161 * elf/tst-relsort1mod2.c: New file.
39162
8db21882
JM
391632012-01-27 Joseph Myers <joseph@codesourcery.com>
39164
39165 * math/s_ldexp.c: Remove __STDC__ conditionals.
39166 * math/s_ldexpf.c: Likewise.
39167 * math/s_ldexpl.c: Likewise.
39168 * math/s_nextafter.c: Likewise.
39169 * math/s_nexttowardf.c: Likewise.
39170 * math/s_significand.c: Likewise.
39171 * math/s_significandf.c: Likewise.
39172 * math/s_significandl.c: Likewise.
39173 * math/w_jnl.c: Likewise.
39174 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39175 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39176 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39177 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39178 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39179 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39180 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39181 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39182 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39183 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39184 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39185 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39186 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39187 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39188 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39189 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39190 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39191 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39192 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39193 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39194 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39195 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39196 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39197 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39198 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39199 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39200 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39201 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39202 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39203 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39204 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39205 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39206 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39207 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39208 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39209 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39210 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39211 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39212 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39213 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39214 * sysdeps/ieee754/k_standard.c: Likewise.
39215 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39216 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39217 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39218 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39219 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39220 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39221 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39222 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39223 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39224 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39225 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39226 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39227 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39228 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39229 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39230 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39231 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39232 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39233 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39234 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39235 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39236 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39237 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39238 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39239 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39240 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39241 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39242 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39243 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39244 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39245 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39246 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39247 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39248 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39249 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39250 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39251 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39252 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39253 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39254 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39255 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39256 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39257 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39258 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39259 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39260 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39261 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39262 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39263 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39264 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39265 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39266 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39267 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39268 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39269 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39270 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39271 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39272 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39273 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39274 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39275 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39276 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39277 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39278 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39279 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39280 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39281 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39282 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39283 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39284 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39285 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39286 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39287 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39288 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39289 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39290 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39291 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39292 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39293 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39294 * sysdeps/ieee754/s_matherr.c: Likewise.
39295 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39296 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39297 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39299
965a54a4
JM
393002012-01-26 Joseph Myers <joseph@codesourcery.com>
39301
39302 * crypt/md5.h: Remove __STDC__ conditionals.
39303 * libio/libioP.h: Likewise.
39304 * locale/programs/config.h: Likewise.
39305 * sysdeps/generic/sysdep.h: Likewise.
39306 * sysdeps/i386/asm-syntax.h: Likewise.
39307 * sysdeps/s390/asm-syntax.h: Likewise.
39308 * sysdeps/unix/sysdep.h: Likewise.
39309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39311
7071ad79
JM
393122012-01-26 Joseph Myers <joseph@codesourcery.com>
39313
39314 * libio/libio.h: Remove __STDC__ conditionals.
39315 * malloc/obstack.h: Likewise.
39316 * math/complex.h: Likewise.
39317 * math/math.h: Likewise.
39318 * sysdeps/generic/_G_config.h: Likewise.
39319 * sysdeps/gnu/_G_config.h: Likewise.
39320 * sysdeps/mach/hurd/_G_config.h: Likewise.
39321 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39322 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39323 * sysdeps/sparc/bits/mathdef.h: Likewise.
39324
afc5ed09
UD
393252012-01-26 Ulrich Drepper <drepper@gmail.com>
39326
39327 [BZ #13583]
39328 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 39329 Clean up HAS_* macros.
afc5ed09 39330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
39331 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39332 possible.
39333 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39334 HAS_AVX.
39335 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39336 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39337 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39338 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39339 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 39340
bdb6de1d
JM
393412012-01-25 Joseph Myers <joseph@codesourcery.com>
39342
39343 * elf/tst-unique3.cc (gets): Remove declaration.
39344 * elf/tst-unique3lib.cc (gets): Likewise.
39345 * elf/tst-unique3lib2.cc (gets): Likewise.
39346 * elf/tst-unique4.cc (gets): Likewise.
39347
b15549e6
UD
393482012-01-24 Ulrich Drepper <drepper@gmail.com>
39349
39350 * include/stdio.h: Add C++ protection. Add gets declarations and
39351 definitions.
39352 * debug/tst-chk1.c: Don't declare gets here.
39353 * stdio-common/tst-gets.c: Likewise.
39354
a037381f
JM
393552012-01-24 Joseph Myers <joseph@codesourcery.com>
39356
39357 * posix/glob: Remove directory.
39358
f1d4aa75
JM
393592012-01-24 Joseph Myers <joseph@codesourcery.com>
39360
39361 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39362
81c0c964
PT
393632012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39364
39365 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39366 of the non-standard EPFNOSUPPORT.
39367
0ea698ae
ST
393682011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39369
39370 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39371 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39372 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39373
d220b117
UD
393742012-01-21 Ulrich Drepper <drepper@gmail.com>
39375
39376 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39377
3e1aa84e
UD
393782012-01-20 Ulrich Drepper <drepper@gmail.com>
39379
39380 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39381 transient errors.
39382 * nscd/grpcache.c (cache_addgr): Likewise.
39383 * nscd/hstcache.c (cache_addhst): Likewise.
39384 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39385 * nscd/pwdcache.c (cache_addpw): Likewise.
39386 * nscd/servicescache.c (cache_addserv): Likewise.
39387
400aa020
UD
393882012-01-16 Ulrich Drepper <drepper@gmail.com>
39389
d77e7869
UD
39390 * malloc/malloc.c: Various cleanups.
39391 * malloc/hooks.c: Likewise.
39392
400aa020
UD
39393 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39394 * stdlib/bug-fmtmsg1.c: New file.
39395
39396 * stdlib/fmtmsg.c (init): Add missing unlock.
39397 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39398
e0a309cf
MP
393992012-01-12 Marek Polacek <polacek@redhat.com>
39400
39401 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39402 and _GNU_SOURCE.
39403
929d11c7
WS
394042012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39405
39406 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39407 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39408 macro to ensure uniqueness of label name.
39409 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39410 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39411
41d0e869
UD
394122012-01-11 Ulrich Drepper <drepper@gmail.com>
39413
0cc5ed3b
UD
39414 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39415
41d0e869
UD
39416 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39417 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39418 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39419 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39420
a47a831a
UD
394212012-01-10 Ulrich Drepper <drepper@gmail.com>
39422
daa891c0
UD
39423 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39424
39425 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39426 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39427 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39428
e58ef0f2
UD
39429 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39430
a47a831a 39431 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
39432 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39433 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 39434 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
39435
39436 * math/bits/math-finite.h: Add ldexp support.
39437
a0bfc9c7
MP
394382012-01-10 Marek Polacek <polacek@redhat.com>
39439
39440 * locale/programs/localedef.h (show_archive_content): Add noreturn
39441 attribute.
39442
d6e97a1d
UD
394432012-01-09 Ulrich Drepper <drepper@gmail.com>
39444
39445 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39446
d5835c26
UD
394472012-01-08 Ulrich Drepper <drepper@gmail.com>
39448
e5f484c6
UD
39449 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39450
d5835c26
UD
39451 * io/Makefile (headers): Add bits/poll2.h.
39452
d1f741e9
WS
394532011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39454
39455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39456 typo #include statement.
39457
ec09c1c4
UD
394582012-01-08 Ulrich Drepper <drepper@gmail.com>
39459
39460 * include/sys/cdefs.h: Define __attribute_alloc_size.
39461 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39462 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39463 * elf/pldd.c: Likewise.
39464 * iconv/iconv_charmap.c: Likewise.
39465 * iconv/iconvconfig.c: Likewise.
39466 * iconv/strtab.c: Likewise.
39467 * locale/programs/locale.c: Likewise.
39468 * locale/programs/localedef.h: Likewise.
39469 * locale/programs/simple-hash.c: Likewise.
39470 * nscd/nscd.h: Likewise.
39471 * nss/makedb.c: Likewise.
39472 * sysdeps/generic/ldconfig.h: Likewise.
39473 * locale/programs/localedef.c: Remove xmalloc prototype.
39474 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39475
20b38e03
PP
394762012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39477
39478 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39479 appropriate.
39480
a0da5fe1
UD
394812012-01-08 Ulrich Drepper <drepper@gmail.com>
39482
1d5a644a 39483 * math/Makefile (tests): Add tst-CMPLX.
669704fd 39484 * math/tst-CMPLX.c: New file.
1d5a644a 39485
8784a6db
UD
39486 * math/complex.h (CMPLXL): Fix typo.
39487
d9a216c0
UD
39488 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39489 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39490 GLIBC_2.16.
39491 * debug/tst-chk1.c: Add poll and ppoll tests.
39492 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39493 * include/sys/poll.h: Add hidden proto for ppoll.
39494 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39495 * sysdeps/mach/hurd/ppoll.c: Likewise.
39496 * io/ppoll.c: Likewise.
39497 * debug/poll_chk.c: New file.
39498 * debug/ppoll_chk.c: New file.
39499 * include/bits/poll2.h: New file.
39500 * io/bits/poll2.h: New file.
39501
ac097f5c
UD
39502 [BZ #1350]
39503 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39504
2119dcfa
UD
39505 * configure.in: static is always set to yes. Remove.
39506 * config.make.in: Don't set build-static.
39507 * Makeconfig: Remove use of build-static.
39508 * dlfcn/Makefile: Likewise.
39509 * elf/Makefile: Likewise.
39510 * math/Makefile: Likewise.
39511 * misc/Makefile: Likewise.
39512 * nptl/Makefile: Likewise.
39513 * sysdeps/mach/hurd/Makefile: Likewise.
39514
121766a9
UD
39515 * configure.in: PWD_P is not used anymore.
39516 * config.make.in: Remove PWD_P entry.
39517
51a1d39c 39518 * configure.in: Remove last remnants of RANLIB.
8720d066 39519 No need to check for signed size_t anymore.
215f4bdc
UD
39520 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39521 and IA-64.
3857022a 39522 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
39523 * aclocal.m4: Likewise.
39524
d3ed7225
UD
39525 * wcsmbs/mbrtoc16.c: Implement using towc function.
39526 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39527 * wcsmbs/wcsmbsload.c: Likewise.
39528 * iconv/gconv_simple.c: Likewise.
39529 * iconv/gconv_int.h: Likewise.
39530 * iconv/gconv_builtin.h: Likewise.
39531 * iconv/iconv_prog.c: Remove CHAR16 handling.
39532
39533 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39534
39535 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39536
a0da5fe1
UD
39537 * configure.in: Remove --with-elf and --enable-bounded options.
39538 Dont set base_machine for ia64. More non-ELF conditions removed.
39539 Remove testing and setting of leading underscore information.
39540 * config.make.in (build-bounded): Set to no.
39541 * config.h.in: Remove NO_UNDERSCORES entry.
39542 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39543 them.
39544 * csu/start.c: Remove !NO_UNDERSCORE code.
39545 * locale/localeinfo.h: Likewise.
39546 * sysdeps/generic/machine-gmon.h: Likewise.
39547 * sysdeps/generic/sysdep.h: Likewise.
39548 * sysdeps/i386/sysdep.h: Likewise.
39549 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39550 * sysdeps/mach/sysdep.h: Likewise.
39551 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39552 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39553 * sysdeps/sh/sysdep.h: Likewise.
39554 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39555 * sysdeps/unix/i386/sysdep.S: Likewise.
39556 * sysdeps/unix/sparc/start.c: Likewise.
39557 * sysdeps/unix/sparc/sysdep.S: Likewise.
39558 * sysdeps/unix/sparc/sysdep.h: Likewise.
39559 * sysdeps/unix/start.c: Likewise.
39560 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39561 * sysdeps/x86_64/sysdep.h: Likewise.
39562
df78418a
UD
395632012-01-07 Ulrich Drepper <drepper@gmail.com>
39564
a784e502
UD
39565 [BZ #13553]
39566 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39567 for non-gcc.
39568 * argp/argp-fmtstream.h: Use const instead __const.
39569 * argp/argp.h: Likewise.
39570 * assert/assert.h: Likewise.
39571 * bits/fenv.h: Likewise.
39572 * bits/sched.h: Likewise.
39573 * bits/sigset.h: Likewise.
39574 * bits/sigthread.h: Likewise.
39575 * catgets/nl_types.h: Likewise.
39576 * conform/data/pthread.h-data: Likewise.
39577 * crypt/crypt-private.h: Likewise.
39578 * crypt/crypt.h: Likewise.
39579 * crypt/crypt_util.c: Likewise.
39580 * ctype/ctype.h: Likewise.
39581 * debug/execinfo.h: Likewise.
39582 * debug/mbsnrtowcs_chk.c: Likewise.
39583 * debug/mbsrtowcs_chk.c: Likewise.
39584 * debug/wcsnrtombs_chk.c: Likewise.
39585 * debug/wcsrtombs_chk.c: Likewise.
39586 * debug/wcstombs_chk.c: Likewise.
39587 * dirent/dirent.h: Likewise.
39588 * dlfcn/dlfcn.h: Likewise.
39589 * elf/neededtest4.c: Likewise.
39590 * grp/grp.h: Likewise.
39591 * gshadow/gshadow.h: Likewise.
39592 * iconv/gconv.h: Likewise.
39593 * iconv/gconv_int.h: Likewise.
39594 * iconv/gconv_simple.c: Likewise.
39595 * iconv/iconv.h: Likewise.
39596 * iconv/loop.c: Likewise.
39597 * iconv/skeleton.c: Likewise.
39598 * include/aio.h: Likewise.
39599 * include/aliases.h: Likewise.
39600 * include/argz.h: Likewise.
39601 * include/arpa/inet.h: Likewise.
39602 * include/assert.h: Likewise.
39603 * include/dirent.h: Likewise.
39604 * include/dlfcn.h: Likewise.
39605 * include/execinfo.h: Likewise.
39606 * include/fcntl.h: Likewise.
39607 * include/fenv.h: Likewise.
39608 * include/glob.h: Likewise.
39609 * include/grp.h: Likewise.
39610 * include/libintl.h: Likewise.
39611 * include/mntent.h: Likewise.
39612 * include/netdb.h: Likewise.
39613 * include/pwd.h: Likewise.
39614 * include/rpc/netdb.h: Likewise.
39615 * include/sched.h: Likewise.
39616 * include/search.h: Likewise.
39617 * include/shadow.h: Likewise.
39618 * include/signal.h: Likewise.
39619 * include/stdio.h: Likewise.
39620 * include/stdlib.h: Likewise.
39621 * include/string.h: Likewise.
39622 * include/sys/socket.h: Likewise.
39623 * include/sys/stat.h: Likewise.
39624 * include/sys/statfs.h: Likewise.
39625 * include/sys/statvfs.h: Likewise.
39626 * include/sys/syslog.h: Likewise.
39627 * include/sys/time.h: Likewise.
39628 * include/sys/uio.h: Likewise.
39629 * include/time.h: Likewise.
39630 * include/unistd.h: Likewise.
39631 * include/utmp.h: Likewise.
39632 * include/wchar.h: Likewise.
39633 * include/wctype.h: Likewise.
39634 * inet/aliases.h: Likewise.
39635 * inet/arpa/inet.h: Likewise.
39636 * inet/netinet/ether.h: Likewise.
39637 * inet/netinet/in.h: Likewise.
39638 * intl/libintl.h: Likewise.
39639 * io/bits/fcntl2.h: Likewise.
39640 * io/fcntl.h: Likewise.
39641 * io/ftw.h: Likewise.
39642 * io/sys/poll.h: Likewise.
39643 * io/sys/stat.h: Likewise.
39644 * io/sys/statfs.h: Likewise.
39645 * io/sys/statvfs.h: Likewise.
39646 * io/utime.h: Likewise.
39647 * libio/bits/stdio.h: Likewise.
39648 * libio/bits/stdio2.h: Likewise.
39649 * libio/libio.h: Likewise.
39650 * libio/libioP.h: Likewise.
39651 * libio/stdio.h: Likewise.
39652 * locale/lc-ctype.c: Likewise.
39653 * locale/locale.h: Likewise.
39654 * login/utmp.h: Likewise.
39655 * malloc/arena.c: Likewise.
39656 * malloc/malloc.c: Likewise.
39657 * malloc/malloc.h: Likewise.
39658 * malloc/mcheck.c: Likewise.
39659 * malloc/mtrace.c: Likewise.
39660 * math/bits/mathcalls.h: Likewise.
39661 * math/fenv.h: Likewise.
39662 * math/math_private.h: Likewise.
39663 * misc/bits/error.h: Likewise.
39664 * misc/bits/syslog.h: Likewise.
39665 * misc/err.h: Likewise.
39666 * misc/error.h: Likewise.
39667 * misc/fstab.h: Likewise.
39668 * misc/mntent.h: Likewise.
39669 * misc/regexp.h: Likewise.
39670 * misc/search.h: Likewise.
39671 * misc/sgtty.h: Likewise.
39672 * misc/sys/mman.h: Likewise.
39673 * misc/sys/syslog.h: Likewise.
39674 * misc/sys/uio.h: Likewise.
39675 * misc/sys/xattr.h: Likewise.
39676 * misc/ttyent.h: Likewise.
39677 * nis/rpcsvc/ypclnt.h: Likewise.
39678 * nss/nss.h: Likewise.
39679 * posix/bits/unistd.h: Likewise.
39680 * posix/fnmatch.h: Likewise.
39681 * posix/glob.h: Likewise.
39682 * posix/sched.h: Likewise.
39683 * posix/spawn.h: Likewise.
39684 * posix/sys/wait.h: Likewise.
39685 * posix/unistd.h: Likewise.
39686 * posix/wordexp.h: Likewise.
39687 * pwd/pwd.h: Likewise.
39688 * resolv/netdb.h: Likewise.
39689 * resource/sys/resource.h: Likewise.
39690 * rt/aio.h: Likewise.
39691 * rt/bits/mqueue2.h: Likewise.
39692 * rt/mqueue.h: Likewise.
39693 * shadow/shadow.h: Likewise.
39694 * signal/signal.h: Likewise.
39695 * socket/send.c: Likewise.
39696 * socket/sendto.c: Likewise.
39697 * socket/sys/socket.h: Likewise.
39698 * stdio-common/printf.h: Likewise.
39699 * stdlib/bits/stdlib.h: Likewise.
39700 * stdlib/fmtmsg.h: Likewise.
39701 * stdlib/monetary.h: Likewise.
39702 * stdlib/stdlib.h: Likewise.
39703 * stdlib/ucontext.h: Likewise.
39704 * streams/stropts.h: Likewise.
39705 * string/argz.h: Likewise.
39706 * string/bits/string2.h: Likewise.
39707 * string/string.h: Likewise.
39708 * string/strings.h: Likewise.
39709 * sunrpc/rpc/auth.h: Likewise.
39710 * sunrpc/rpc/auth_des.h: Likewise.
39711 * sunrpc/rpc/clnt.h: Likewise.
39712 * sunrpc/rpc/netdb.h: Likewise.
39713 * sunrpc/rpc/pmap_clnt.h: Likewise.
39714 * sunrpc/rpc/xdr.h: Likewise.
39715 * sysdeps/generic/inttypes.h: Likewise.
39716 * sysdeps/generic/net/if.h: Likewise.
39717 * sysdeps/generic/sys/swap.h: Likewise.
39718 * sysdeps/gnu/net/if.h: Likewise.
39719 * sysdeps/gnu/utmpx.h: Likewise.
39720 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39721 * sysdeps/i386/i486/bits/string.h: Likewise.
39722 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39723 * sysdeps/s390/bits/string.h: Likewise.
39724 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39725 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39726 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39727 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39728 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39729 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39730 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39731 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39732 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39733 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39734 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39735 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39736 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39737 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39738 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39739 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39740 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39741 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39742 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39743 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39744 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39745 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39746 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39747 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39748 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39749 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39750 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39751 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39752 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39753 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39754 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39755 * sysvipc/sys/ipc.h: Likewise.
39756 * sysvipc/sys/msg.h: Likewise.
39757 * sysvipc/sys/sem.h: Likewise.
39758 * sysvipc/sys/shm.h: Likewise.
39759 * termios/termios.h: Likewise.
39760 * time/sys/time.h: Likewise.
39761 * time/time.h: Likewise.
39762 * wcsmbs/bits/wchar2.h: Likewise.
39763 * wcsmbs/uchar.h: Likewise.
39764 * wcsmbs/wchar.h: Likewise.
39765 * wctype/wctype.h: Likewise.
39766
0269750c
UD
39767 [BZ #13551]
39768 * Makeconfig: Remove all but ELF support including AIX support.
39769 * Makerules: Likewise.
39770 * config.h.in: Likewise.
39771 * config.make.in: Likewise.
39772 * configure: Likewise.
39773 * configure.in: Likewise.
39774 * csu/Makefile: Likewise.
39775 * csu/version.c: Likewise.
39776 * debug/Makefile: Likewise.
39777 * dlfcn/Makefile: Likewise.
39778 * elf/Makefile: Likewise.
39779 * extra-lib.mk: Likewise.
39780 * iconv/Makefile: Likewise.
39781 * include/libc-symbols.h: Likewise.
39782 * include/shlib-compat.h: Likewise.
39783 * resolv/Makefile: Likewise.
39784 * resolv/res_libc.c: Likewise.
39785 * rt/Makefile: Likewise.
39786 * sysdeps/i386/asm-syntax.h: Likewise.
39787 * sysdeps/i386/sysdep.h: Likewise.
39788 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39789 * sysdeps/mach/sysdep.h: Likewise.
39790 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39791 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39792 * sysdeps/s390/asm-syntax.h: Likewise.
39793 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39794 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39795 * sysdeps/sh/sysdep.h: Likewise.
39796 * sysdeps/unix/sparc/sysdep.h: Likewise.
39797 * sysdeps/wordsize-32/divdi3.c: Likewise.
39798 * sysdeps/x86_64/sysdep.h: Likewise.
39799
00bbd29b
UD
39800 * argp/Versions: Remove _argp_unlock_xxx.
39801
39802 [BZ #13559]
39803 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39804 * abilist/libBrokenLocale.abilist: Likewise.
39805 * abilist/libanl.abilist: Likewise.
39806 * abilist/libc.abilist: Likewise.
39807 * abilist/libcrypt.abilist: Likewise.
39808 * abilist/libdl.abilist: Likewise.
39809 * abilist/libm.abilist: Likewise.
39810 * abilist/libnsl.abilist: Likewise.
39811 * abilist/libpthread.abilist: Likewise.
39812 * abilist/libresolv.abilist: Likewise.
39813 * abilist/librt.abilist: Likewise.
39814 * abilist/libthread_db.abilist: Likewise.
39815 * abilist/libutil.abilist: Likewise.
39816 * abilist/libnss_db.abilist: New file.
39817
39818 * scripts/abilist.awk: Add support for indirect functions.
39819
a2693a0e
UD
39820 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39821
3f05895f
UD
39822 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39823
ecb6fb48
UD
39824 * shlib-versions: Remove entries for ports architectures.
39825
664f8cb9
UD
39826 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39827 files in ports.
39828 * elf/stackguard-macros.h: Remove support for IA-64.
39829 * elf/tst-auditmod1.c: Likewise.
39830 * sysdeps/generic/ldsodefs.h: Likewise.
39831
7ae81d88
UD
39832 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39833 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39834 configure files.
39835
bdeba135
UD
39836 [BZ #13552]
39837 * configure.in: Remove --enable-omitfp support.
39838 * FAQ.in: Adjust.
39839 * config.make.in: Likewise.
39840 * Makeconfig: Likewise.
39841 * manual/install.texi: Likewise.
39842
d75a0a62
UD
39843 In case anyone cares, the IA-64 architecture could move to ports.
39844 * sysdeps/ia64/*: Removed.
39845 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 39846 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 39847
dcc9756b
UD
39848 [BZ #13555]
39849 * configure.in: Remove entries for unsupported architectures.
39850
d3761ebc 39851 [BZ #13533]
9954432e
UD
39852 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39853 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39854 routines.
39855 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39856 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39857 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39858 fall back to using wcrtomb.
39859 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39860 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39861 renaming.
39862 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39863 * wcsmbs/tst-c16c32-1.c: New file.
39864
39865 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39866 local variable.
39867
c3a87236
UD
39868 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39869
28926a1b
UD
39870 * elf/tst-unique3.cc: Add explicit declaration of gets.
39871 * elf/tst-unique3lib.cc: Likewise.
39872 * elf/tst-unique3lib2.cc: Likewise.
39873 * elf/tst-unique4.cc: Likewise.
39874
df78418a
UD
39875 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39876
8ecd6b2a
JM
398772012-01-06 Joseph Myers <joseph@codesourcery.com>
39878
39879 [BZ #13566]
39880 * assert/assert.h (static_assert): Don't define for C++.
39881 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39882 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39883
9f115170
UD
398842012-01-03 Ulrich Drepper <drepper@gmail.com>
39885
5e0d0300
UD
39886 * iconv/loop.c (single loop): Fix assertion in storing of
39887 remaining bytes.
39888
9f115170
UD
39889 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39890
81fb02b0
UD
398912012-01-01 Ulrich Drepper <drepper@gmail.com>
39892
39893 * posix/getconf.c: Update copyright year.
39894 * nss/getent.c: Likewise.
a316c1f6 39895 * nss/makedb.c: Likewise.
81fb02b0
UD
39896 * iconv/iconvconfig.c: Likewise.
39897 * iconv/iconv_prog.c: Likewise.
39898 * elf/ldconfig.c: Likewise.
a316c1f6
UD
39899 * elf/pldd.c: Likewise.
39900 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
39901 * catgets/gencat.c: Likewise.
39902 * csu/version.c: Likewise.
39903 * elf/ldd.bash.in: Likewise.
39904 * elf/sprof.c (print_version): Likewise.
39905 * locale/programs/locale.c: Likewise.
39906 * locale/programs/localedef.c: Likewise.
a316c1f6 39907 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
39908 * nscd/nscd.c (print_version): Likewise.
39909 * debug/xtrace.sh: Likewise.
39910 * malloc/memusage.sh: Likewise.
39911 * malloc/mtrace.pl: Likewise.
39912 * debug/catchsegv.sh: Likewise.
39913
2ba92745
JJ
399142011-12-30 Jakub Jelinek <jakub@redhat.com>
39915
39916 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39917 pure attribute.
39918
dadebdae
UD
399192011-12-24 Ulrich Drepper <drepper@gmail.com>
39920
d3761ebc 39921 [BZ #13533]
db6af3eb
UD
39922 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39923 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39924 transformations.
39925 * iconv/gconv_int.h: Likewise.
39926 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39927 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39928 from libc for GLIBC_2.16.
39929 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39930 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39931 * wcsmbs/uchar.h: Really define mbstate_t.
39932 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39933 * wcsmbs/c16rtomb.c: New file.
39934 * wcsmbs/mbrtoc16.c: New file.
39935 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39936 for C/POSIX locale.
39937 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39938 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39939
dadebdae
UD
39940 * wcsmbs/wchar.h: Add missing __restrict.
39941
67371b56
UD
399422011-12-23 Ulrich Drepper <drepper@gmail.com>
39943
74033a25
UD
39944 [BZ #13532]
39945 * time/Makefile (routines): Add timespec_get.
39946 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39947 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39948 timespec for ISO C11.
39949 * time/timespec_get.c: New file.
39950 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39951 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39952
380d7e87
UD
39953 [BZ #13531]
39954 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39955 * stdlib/stdlib.h: Declare aligned_alloc.
39956 * Versions.def: Add GLIBC_2.16 for libc.
39957 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39958
4e9e7a35
UD
39959 [BZ 13527]
39960 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39961 ISO C11.
39962
380d7e87 39963 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
39964 code.
39965
03a71829
UD
39966 [BZ #13528]
39967 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39968
839e283e
UD
39969 [BZ #13529]
39970 * assert/assert.h (static_assert): Define.
39971
ce5294e2 39972 * version.h: Update for 2.16 development version.
90fa7312 39973
8d44e150 39974 [BZ #13526]
d7809905
UD
39975 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39976 _ISOC11_SOURCE.
39977
c0da14cd
UD
39978 * version.h (RELEASE): Bump for 2.15 release.
39979 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39980
530a3249
MP
39981 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39982 Patch by Marek Polacek <mpolacek@redhat.com>.
39983
67371b56
UD
39984 * bits/byteswap.h: Protect long long constants with __extension__.
39985 * sysdeps/i386/bits/byteswap.h: Likewise.
39986 * sysdeps/ia64/bits/byteswap.h: Likewise.
39987 * sysdeps/s390/bits/byteswap.h: Likewise.
39988 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39989
15db4de1
LD
399902011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39991
39992 [BZ #13540]
bbe315ea
LD
39993 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39994 destination buffer.
15db4de1
LD
39995 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39996
2b2596b1
MP
399972011-12-23 Marek Polacek <polacek@redhat.com>
39998
39999 * elf/dl-addr.c (determine_info): Add inline keyword.
40000 * elf/tst-auditmod4b.c (check_avx): Likewise.
40001 * elf/tst-auditmod6b.c (check_avx): Likewise.
40002 * elf/tst-auditmod6c.c (check_avx): Likewise.
40003 * elf/tst-auditmod7b.c (check_avx): Likewise.
40004
70c6c246
UD
400052011-12-23 Ulrich Drepper <drepper@gmail.com>
40006
40007 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40008 !__SSE_MATH__.
40009
c044cf14
LD
400102011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40011
15db4de1 40012 [BZ #13540]
c044cf14
LD
40013 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40014 processing for last bytes.
40015
6b13d9d9
BH
400162011-08-06 Bruno Haible <bruno@clisp.org>
40017
d455f537
BH
40018 [BZ #13061]
40019 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40020 U+0385, not to U+1FEE.
40021
6b13d9d9
BH
40022 [BZ #13062]
40023 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40024 entry for U+00A5 U+0301.
40025
db910efd
UD
400262011-12-22 Ulrich Drepper <drepper@gmail.com>
40027
27deeafc
UD
40028 [BZ #13166]
40029 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40030 buffer for the output is too small.
40031
aed9d171
UD
40032 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40033 optimization.
40034
db910efd
UD
40035 [BZ #13185]
40036 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40037 SSE flags if possible.
40038
2bd779ae
LD
400392011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40040
e7f9dac3 40041 [BZ #13540]
2bd779ae
LD
40042 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40043 processing for last bytes.
40044
154bfc16
JM
400452011-12-22 Joseph Myers <joseph@codesourcery.com>
40046
40047 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40048 (syscall-list-default-options, syscall-list-default-condition)
40049 (syscall-list-includes): Define.
40050 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40051 list of ABIs and options and #if conditions for each ABI. Do not
40052 handle common syscalls between ABIs specially.
40053 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40054 Remove.
40055 (syscall-list-variants, syscall-list-32bit-options)
40056 (syscall-list-32bit-condition, syscall-list-64bit-options)
40057 (syscall-list-64bit-condition): Define.
40058 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40059 (syscall-list-variants, syscall-list-32bit-options)
40060 (syscall-list-32bit-condition, syscall-list-64bit-options)
40061 (syscall-list-64bit-condition): Define.
40062 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40063 Remove.
40064 (syscall-list-variants, syscall-list-32bit-options)
40065 (syscall-list-32bit-condition, syscall-list-64bit-options)
40066 (syscall-list-64bit-condition): Define.
40067 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40068 Remove.
40069 (syscall-list-variants, syscall-list-32bit-options)
40070 (syscall-list-32bit-condition, syscall-list-64bit-options)
40071 (syscall-list-64bit-condition): Define.
40072
21eaf3a5
UD
400732011-12-22 Ulrich Drepper <drepper@gmail.com>
40074
16c6f992
UD
40075 * locale/iso-639.def: Add brx entry.
40076
41043168
UD
40077 [BZ #13328]
40078 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40079 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40080
21eaf3a5
UD
40081 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40082 __feraiseexcept_renamed.
40083
e3a851a2
UD
400842011-12-21 Ulrich Drepper <drepper@gmail.com>
40085
4920765e
UD
40086 [BZ #13538]
40087 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40088 EPOLLET with unsigned values.
40089 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40090 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40091
e3a851a2
UD
40092 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40093 to large cancellation.
40094 * math/s_cacoshf.c: Likewise.
40095 * math/s_cacoshl.c: Likewise.
40096
b27e24b8
RK
400972011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40098
40099 [BZ #13305]
aebefeee 40100 [BZ #12786]
b27e24b8
RK
40101 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40102 * math/s_cacoshf.c: Likewise.
40103 * math/s_cacoshl.c: Likewise.
40104
ee190f67
UD
401052011-12-21 Ulrich Drepper <drepper@gmail.com>
40106
40107 [BZ #13439]
40108 * iconv/gconv.h: Define __GCONV_SWAP.
40109 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40110 * iconvdata/utf-16.c: Likewise.
40111 * iconvdata/utf-32.c: Likewise.
40112
707f25df
AS
401132011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40114
40115 [BZ #13524]
40116 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40117 numerator after shifting it by one limb.
40118
d2daaa1e
RÁE
401192011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40120
40121 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40122 under [__USE_EXTERN_INLINES].
40123
a4647e72
UD
401242011-12-17 Ulrich Drepper <drepper@gmail.com>
40125
40126 [BZ #13446]
40127 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40128
f0b264f1
AZ
401292011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40130
40131 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40132 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40133 optimized code.
40134 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40135 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40136 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40137 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40138 for strncasecmp/strncasecmp_l compilation.
40139 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40140 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40141
8ef4f244
MP
401422011-12-08 Marek Polacek <mpolacek@redhat.com>
40143
40144 [BZ #13484]
40145 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40146 of __asm__.
40147
97ac2654
UD
401482011-12-17 Ulrich Drepper <drepper@gmail.com>
40149
40150 [BZ #13506]
40151 * time/tzfile.c (__tzfile_read): Check values from file header.
40152
91d2a845
WS
401532011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40154
40155 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40156 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40157 * powerpc/powerpc32/dl-start.S: Likewise.
40158 * powerpc/powerpc32/elf/start.S: Likewise.
40159 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40160 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40161 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40162 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40163 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40164 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40165 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40166 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40167 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40168 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40169 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40170 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40171 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40172 * powerpc/powerpc32/memset.S: Likewise.
40173 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40174 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40175 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40176 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40177 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40178 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40179 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40180 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40181 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40182 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40183 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40184 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40185 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40186
a1267ba1
AZ
401872011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40188
40189 * math/libm-test.inc: Added more nearbyint tests.
40190 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40191 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40192 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40193 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40194
ad8ac1bd
RL
401952011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40196
40197 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40198 FD_CLOEXEC.
40199
1d3e4b61
UD
402002011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40201
40202 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40203 Add wcscpy-ssse3 wcscpy-c.
40204 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40205 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40206 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40207 * sysdeps/x86_64/wcschr.S: New file.
40208 * sysdeps/x86_64/wcsrchr.S: New file.
40209 * string/test-strcmp.c: Remove checking of wcscmp function for
40210 wrong alignments.
40211 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40212 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40213 wcsrchr-sse2 wcsrchr-c.
40214 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40215 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40216 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40217 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40218 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40219 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40220 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40221 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40222 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40223 * wcsmbc/wcschr.c (WCSCHR): New macro.
40224
5b330a2d
UD
402252011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40226
40227 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40228 * wcsmbs/test-wcsrchr.c: New file.
40229 * string/test-strrchr.c: Add wcsrchr support.
40230 (WIDE): New macro.
40231 * wcsmbs/test-wcscpy.c: New file.
40232 * string/test-strcpy.c: Add wcscpy support.
40233 (WIDE): New macro.
26428b7c 40234
f039c043
UD
402352011-12-10 Ulrich Drepper <drepper@gmail.com>
40236
40237 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40238 the inner loop.
40239
850fb039
AS
402402011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40241
40242 [BZ #13472]
40243 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40244
4efbd5cb
UD
402452011-12-04 Ulrich Drepper <drepper@gmail.com>
40246
52ff5dd0 40247 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 40248 Minor optimizations.
52ff5dd0 40249
4efbd5cb
UD
40250 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40251 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40252 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40253
8a426e12
UD
402542011-12-03 Ulrich Drepper <drepper@gmail.com>
40255
aff2453d
UD
40256 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40257 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40258 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40259 for gcc to avoid warnings.
40260 * inet/Makefile (tests): Add tst-checks.
40261 * inet/tst-checks.c: New file.
40262
40263 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40264 warning.
40265
40266 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40267 __wmemcmp_sse2.
40268
40269 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40270 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40271
8a426e12
UD
40272 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40273
9bea3473
UD
402742011-12-02 Ulrich Drepper <drepper@gmail.com>
40275
3a965496
UD
40276 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40277 problem.
40278
9bea3473
UD
40279 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40280
f101631b
UD
402812011-11-29 Joseph Myers <joseph@codesourcery.com>
40282
40283 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40284 conditional on GCC version.
40285 (__arch_compare_and_exchange_val_8_acq)
40286 (__arch_compare_and_exchange_val_16_acq)
40287 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40288 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40289 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40290
a98275aa
UD
402912011-12-02 Joseph Myers <joseph@codesourcery.com>
40292
40293 * sysdeps/sh/backtrace.c: New file.
40294
d4cc29a2
AS
402952011-12-02 Andreas Schwab <schwab@redhat.com>
40296
40297 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40298 parenthesis.
40299
6257af2d
AS
403002011-12-01 Andreas Schwab <schwab@redhat.com>
40301
40302 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40303 falling back to utime.
40304
b5f44c1a
AS
403052011-11-30 Andreas Schwab <schwab@redhat.com>
40306
40307 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40308 expectations for float.
40309
f3a6cc0a
AS
403102011-11-29 Andreas Schwab <schwab@redhat.com>
40311
40312 * locale/weight.h (findidx): Add parameter len.
40313 * locale/weightwc.h (findidx): Likewise.
40314 * posix/fnmatch_loop.c (FCT): Adjust caller.
40315 * posix/regcomp.c (build_equiv_class): Likewise.
40316 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40317 * posix/regexec.c (check_node_accept_bytes): Likewise.
40318 * string/strcoll_l.c (STRCOLL): Likewise.
40319 * string/strxfrm_l.c (STRXFRM): Likewise.
40320
9d65ea3a
UD
403212011-11-17 Ulrich Drepper <drepper@gmail.com>
40322
40323 * Makefile.in: Remove CVSOPT handling.
40324 * configure.in: Remove use of AC_REVISION.
40325 * iconvdata/Makefile (distribute): No need to filter out CVS.
40326 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40327 handling.
40328
5583a086
AS
403292011-11-16 Andreas Schwab <schwab@redhat.com>
40330
40331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40332 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40333 [USE_AS_STRNCASECMP_L]: Likewise.
40334 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40335 NO_TLS_DIRECT_SEG_REFS.
40336 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40337 Fix argument offsets for non-PIC.
40338 [USE_AS_STRNCASECMP_L]: Likewise.
40339 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40340 NO_TLS_DIRECT_SEG_REFS.
40341
d62a8200
UD
403422011-11-15 Ulrich Drepper <drepper@gmail.com>
40343
9d65ea3a 40344 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
40345 O_CLOEXEC.
40346 * locale/loadlocale.c (_nl_load_locale): Likewise.
40347
09f93bd3
AS
403482011-11-15 Andreas Schwab <schwab@redhat.com>
40349
446514f9
AS
40350 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40351 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40352 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40353 (SYSCALL_GETTIME): Set errno on error.
40354
09f93bd3
AS
40355 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40356 count references to noai6ai_cached.
40357
312be3f9
UD
403582011-11-15 Ulrich Drepper <drepper@gmail.com>
40359
40360 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40361
40362 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40363 FD_CLOEXEC for /proc/self/maps.
40364
40365 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40366 FD_CLOEXEC for /proc/meminfo.
40367
40368 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40369 gai.conf.
40370
40371 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40372 FD_CLOEXEC for given file.
40373
40374 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40375
40376 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40377 FD_CLOEXEC for /etc/hosts.
40378 (_gethtent): Likewise.
40379
40380 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40381
40382 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40383 cancellation and set FD_CLOEXEC for /etc/netgroup.
40384
40385 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40386 reading /etc/publickey.
40387
40388 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40389 allow cancellation when reading /etc/group.
40390
40391 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40392 cancellation.
40393 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40394
40395 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40396 when using data file.
40397
40398 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40399
40400 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40401 (write_nis_obj): Use "c" and "e" in fopen.
40402
40403 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40404
40405 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40406
40407 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40408
40409 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40410
40411 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40412 locale.alias.
40413
40414 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40415
40416 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40417
40418 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40419
40420 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40421 file parsing and set FD_CLOEXEC.
40422
82af0fa8
UD
404232011-11-14 Ulrich Drepper <drepper@gmail.com>
40424
40425 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40426
a5fb313c
AS
404272011-11-14 Andreas Schwab <schwab@redhat.com>
40428
40429 * malloc/arena.c (arena_get2): Don't call reused_arena when
40430 _int_new_arena failed.
40431
6abf3465
UD
404322011-11-14 Ulrich Drepper <drepper@gmail.com>
40433
40434 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40435 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40436 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40437 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40438 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40439 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40440 to compile strcasecmp and strncasecmp.
40441 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40442 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40443
40444 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40445
76e3966e
UD
404462011-11-13 Ulrich Drepper <drepper@gmail.com>
40447
40448 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40449 locale-defines.sym to gen-as-const-headers.
40450 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40451 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40452 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40453 to compile strcasecmp and strncasecmp.
40454 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40455 strcasecmp_l and strncasecmp_l.
40456 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40457 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40458 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40459 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40460 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40461 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40462 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40463 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40464 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40465 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40466 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40467
ab26144e
UD
404682011-11-12 Ulrich Drepper <drepper@gmail.com>
40469
7edb22ef
UD
40470 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40471 result of SYSDEP_GETTIME_CPU to retval.
40472 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40473 parameter list to macro. Remove trailing semicolon. Adjust users.
40474
9694fc44
UD
40475 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40476 variable.
40477
8ad89ef8
UD
40478 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40479 mantissa words.
40480 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40481
0c822ef9
UD
40482 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40483 from unused variable.
40484
874e0564
UD
40485 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40486 DWARF definitions.
40487 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40488 for assembling.
40489
3a2edc79
UD
40490 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40491 over namespaces.
40492
f3c2577f
UD
40493 * sunrpc/rpc_prot.c (rejected): Fix case value.
40494
294ce126
UD
40495 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40496 unsigned long long int to avoid warnings in shift.
40497
5e2b63c6
UD
40498 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40499 of use of trans.
40500 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40501 variable tmp.
40502
e7f4b08e
UD
40503 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40504 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40505 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40506
ab26144e
UD
40507 * nis/nis_table.c (nis_list): Use variable of correct type for
40508 result of __follow_path call.
40509
8a6d5255
AZ
405102011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40511
40512 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40513 of math functions ceil, trunc, floor, round, and sqrt, when
40514 avaliable on the platform.
40515 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40516 name clash.
40517 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40518 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40519 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40520
aaddc98c
MP
405212011-10-30 Marek Polacek <mpolacek@redhat.com>
40522
40523 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40524 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40525
95b7042b
RM
405262011-11-11 Roland McGrath <roland@hack.frob.com>
40527
40528 * include/unistd.h: Fix __readlink return type.
40529 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40530
57769839
UD
405312011-11-11 Ulrich Drepper <drepper@gmail.com>
40532
40533 * stdlib/ucontext.h: Undo last change for makecontext.
40534
edc5984d
AS
405352011-11-11 Andreas Schwab <schwab@redhat.com>
40536
98591e58
AS
40537 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40538
edc5984d
AS
40539 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40540 * setjmp/setjmp.h: Mark functions as non-leaf.
40541 * setjmp/bits/setjmp2.h: Likewise.
40542 * stdlib/ucontext.h: Likewise.
40543
77cdc054
AS
405442011-11-10 Andreas Schwab <schwab@redhat.com>
40545
40546 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40547 (reused_arena): Don't check arena limit.
40548 (arena_get2): Atomically check arena limit.
40549
fe72eebd
UD
405502011-11-08 Ulrich Drepper <drepper@gmail.com>
40551
5f078c32
UD
40552 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40553 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40554
fe72eebd
UD
40555 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40556 instructions.
40557
ae1bc2fa
AS
405582011-11-07 Andreas Schwab <schwab@redhat.com>
40559
7583a88d
AS
40560 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40561 handler when locking.
40562
ae1bc2fa
AS
40563 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40564 Fix size of allocated buffer.
40565
10fb0bfa
AS
405662011-11-04 Andreas Schwab <schwab@redhat.com>
40567
998832a4
AS
40568 [BZ #10103]
40569 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40570 declarations for long double functions.
40571 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40572
10fb0bfa
AS
40573 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40574
3d7ba52b
AS
405752011-11-03 Andreas Schwab <schwab@redhat.com>
40576
a9ae54a1
AS
40577 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40578 installed.
40579
3d7ba52b
AS
40580 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40581 is disabled.
40582
bc8db248
ST
405832011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40584
40585 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40586
45b96dd6
AS
405872011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40588
647776f6
AS
40589 * include/alloca.h (stackinfo_alloca_round): Define.
40590 (extend_alloca): Use it.
40591 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40592 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40593 here.
40594
d91a8b93
AS
40595 * scripts/check-local-headers.sh: Ignore libaudit.h.
40596
45b96dd6
AS
40597 * nscd/Makefile (extra-objs): Make recursively expanded.
40598
432d41ce
UD
405992011-11-01 Ulrich Drepper <drepper@gmail.com>
40600
34372fc6
UD
40601 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40602 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40603
fadb59f8
UD
40604 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40605 * posix/tst-rfc3484-2.c: Likewise.
40606 * posix/tst-rfc3484-3.c: Likewise.
40607
78239589
UD
40608 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40609 process_vm_writev.
40610 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40611 process_vm_writev.
40612 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40613 process_vm_writev from libc using GLIBC_2.15 version.
40614
432d41ce
UD
40615 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40616
02f9c6cf
PP
406172011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40618
40619 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40620 stack usage.
40621
3a2c0242
UD
406222011-10-31 Ulrich Drepper <drepper@gmail.com>
40623
f4ec4833
UD
40624 [BZ #13367]
40625 * nss/getent.c (initgroups_keys): Show error message in case no group
40626 names are given.
40627
3a2c0242
UD
40628 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40629 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40630 __bump_nl_timestamp.
40631 * nscd/connections (nscd_init): When host database is served open
40632 netlink socket and request notification about configuration changes.
40633 (main_loop_poll): Track netlink file descriptor and bump timestamp
40634 in case data becomes available.
40635 (main_loop_epoll): Likewise.
40636 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40637 (database_pers_head): Add extra_data fileds.
40638 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40639 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40640 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40641 Adjust caller.
40642 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40643 in6ai data, call __free_in6ai.
40644 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40645 Add -DHAVE_NETLINK.
40646 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40647 interface information. Reuse previous data if netlink timestamp
40648 is not changed.
40649 (__bump_nl_timestamp): New function.
40650 (__free_in6ai): New function.
40651
636064eb
UD
406522011-10-30 Ulrich Drepper <drepper@gmail.com>
40653
40654 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40655 close_not_cancel_no_status here.
40656 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40657
9beb2334
UD
406582011-10-29 Ulrich Drepper <drepper@gmail.com>
40659
6ef76f3b
UD
40660 [BZ #13276]
40661 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40662 return value.
40663
0ffc4f3e 40664 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
40665 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40666 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40667
cb95113e
UD
406682011-07-03 Andreas Jaeger <aj@suse.de>
40669
40670 [BZ #10709]
40671 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40672 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40673 * math/libm-test.inc (sin_test): Add test case.
40674
a1b560ff
UD
406752011-10-29 Ulrich Drepper <drepper@gmail.com>
40676
c9aaface
UD
40677 [BZ #13337]
40678 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40679 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40680
d272e7f1
UD
40681 * elf/chroot_canon.c (chroot_canon): Cleanups.
40682
1bc33071
UD
40683 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40684
1760874d
TJ
40685 [BZ #13335]
40686 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40687 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40688
51d91b18
UD
40689 * string/test-strchr.c: Make usable for strchrnul testing.
40690 * string/test-strchrnul.c: New file.
40691 * string/Makefile (strop-tests): Add strchrnul.
40692
a1b560ff 40693 * po/it.po: Update from translation team.
b611fb81 40694 * po/es.po: Likewise.
a1b560ff 40695
a5b81e1f
UD
406962011-10-28 Ulrich Drepper <drepper@gmail.com>
40697
fd52bc6d
UD
40698 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40699 the three constants needed as parameters. Drop the others.
40700 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40701 __m128i_strloadu_tolower.
52e4b9eb
UD
40702 Create and initialize variable zero and use it in all the places
40703 where _mm_setzero_si128 was used.
fd52bc6d 40704
a5b81e1f
UD
40705 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40706 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40707 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40708 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40709 anymore.
40710 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40711 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40712 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40713 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40714 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40715 __mpranred, __mptan.
40716 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40717 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40718 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40719 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40720 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40721 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40722 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40723 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40724 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40725
b4343346
AS
407262011-10-28 Andreas Schwab <schwab@redhat.com>
40727
0c92d8a8
AS
40728 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40729 redefine if SHARED.
40730 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40731
b4343346
AS
40732 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40733 wide char related routines to wcsmbs subdir.
40734
3871f58f
AS
407352011-10-27 Andreas Schwab <schwab@redhat.com>
40736
40737 [BZ #13344]
40738 * misc/sys/cdefs.h (__THROWNL): Define.
40739 * posix/unistd.h: Use __THREADNL instead of __THREAD
40740 for memory synchronization functions.
40741
94d44d9f
RM
407422011-10-26 Roland McGrath <roland@hack.frob.com>
40743
21b64b15 40744 [BZ #13349]
94d44d9f
RM
40745 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40746 doesn't exist.
40747 * manual/stdio.texi (Obstack Streams): Node removed.
40748
f6ce9294
AS
407492011-10-26 Andreas Schwab <schwab@redhat.com>
40750
80479147
AS
40751 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40752 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40753 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40754
f6ce9294
AS
40755 * math/math_private.h (math_force_eval): Allow non-addressable
40756 arguments.
40757 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40758
618280a1
UD
407592011-10-25 Ulrich Drepper <drepper@gmail.com>
40760
e0016b11
UD
40761 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40762 file is not needed.
40763
40764 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40765 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40766 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40767 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40768 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40769 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40770 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40771 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40772 Add AVX variants.
40773 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40774 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40775 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40776 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40777 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40778 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40779 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40780 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40781 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40782 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40783 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40784 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40785 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40786 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40787 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40788 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40789 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40790 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40791 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40792
40793 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40794 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40795
618280a1
UD
40796 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40797 place. Use VEX encoding when compiling for AVX.
40798
37822576
AS
407992011-10-25 Andreas Schwab <schwab@redhat.com>
40800
1f1e1947
AS
40801 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40802 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40803
37822576
AS
40804 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40805
31ea014d
UD
408062011-10-25 Ulrich Drepper <drepper@gmail.com>
40807
d7826aa1 40808 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 40809 useless if() expression.
d7826aa1
UD
40810 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40811 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40812 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40813 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40814 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40815 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40816 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40817 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40818 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40819 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40820 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40821 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40822 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40823 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40824 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40825 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40826 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40827 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40828 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40829
31ea014d
UD
40830 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40831
16437fec
AS
408322011-10-25 Andreas Schwab <schwab@redhat.com>
40833
40834 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40835 condition.
40836 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40837
31d3cc00
UD
408382011-10-25 Ulrich Drepper <drepper@gmail.com>
40839
40840 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40841 .text section. Avoid duplicate constants.
40842 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40843 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40844 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40845 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40846 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40848 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40849 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40850 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40851 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40852 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40853 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40854 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40855 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40856 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40857 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40858 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40859 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40860 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40861 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40862 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40863 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40864 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40865 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40866 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40867 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40868 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40869 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40870 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40871 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40872 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40873 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40874 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40875 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40876 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40877 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40878 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40879 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40880 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40881 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40882 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40883 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40884 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40885 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40886 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40887
58985aa9
UD
408882011-10-24 Ulrich Drepper <drepper@gmail.com>
40889
202c9deb
UD
40890 * sysdeps/x86_64/dla.h: Move to ...
40891 * sysdeps/x86_64/fpu/dla.h: ...here.
40892 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40893 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 40894
af968f62
UD
40895 * config.make.in: Add have-mfma4 entry.
40896 * configure.in: Substitute libc_cv_cc_fma4.
40897 * math/Makefile (dbl-only-routines): Add sincostab.
40898 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40899 Use __sincostab not sincos.
40900 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40901 name is a macro.
40902 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40903 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40904 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40905 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40906 using __copysign.
40907 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40908 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40909 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40910 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40911 and __inv.
40912 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40913 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40914 __copysign.
40915 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40916 define aliases when function name is a macro.
40917 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40918 sysdeps/ieee754/dbl-64/sincos.tbl.
40919 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40920 fma4-enabled routines.
40921 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40922 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40923 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40924 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40925 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40926 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40927 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40928 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40929 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40930 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40931 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40932 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40933 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40934 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40935 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40936 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40937 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40938 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40939 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40940 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40941 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40942 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40943 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40944 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40945 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40946 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40947 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40948 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40949 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40950 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40951
58985aa9
UD
40952 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40953 rename.
40954 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40955 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40956 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40957 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40958 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40959 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40960 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40961 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40962
a201fbcf
AS
409632011-10-24 Andreas Schwab <schwab@redhat.com>
40964
40965 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40966
fc2ee42a
LD
409672011-10-23 Ulrich Drepper <drepper@gmail.com>
40968
bb3129bd
UD
40969 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40970
0275fff8
UD
40971 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40972 prediction.
40973 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40974
2fa2ae85
UD
40975 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40976 Remove unused variable magic_bits.
40977 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40978
fc2ee42a
LD
40979 * string/strnlen.c: Define and use STRNLEN macro.
40980 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40981 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40982 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40983 * wcsmbs/wcslen.c: Define and use WCSLEN.
40984 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40985 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40986 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40987 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40988 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40989 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40990 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40991
ce7dd29f
LD
409922011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40993
40994 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40995 strnlen-sse2-no-bsf.
40996 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40997 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40998 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40999 Add strnlen support.
41000 (USE_AS_STRNLEN): New macro.
41001 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41002 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41003 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41004 * sysdeps/x86_64/wcslen.S: New file.
41005
979c70a3
MZ
410062011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41007
41008 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41009 XMM-moves are used for copying on small sizes.
41010
2d09f82f
LD
410112011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41012
41013 * wcsmbs/Makefile (strop-tests): Add wcschr.
41014 * wcsmbs/test-wcschr.c: New file.
41015 * string/test-strchr.c: Update.
41016 Add wcschr support.
41017 (WIDE): New macro.
41018
619fccca
LD
410192011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41020
2d09f82f 41021 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
41022 * wcsmbs/test-wcslen.c: New file.
41023 * string/test-strlen.c: Update.
41024 Add wcslen support.
41025 (WIDE): New macro.
41026
09f699ea
UD
410272011-10-23 Ulrich Drepper <drepper@gmail.com>
41028
41029 * po/it.po: Update from translation team.
41030
95584d3b
LD
410312011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41032
41033 * sysdeps/x86_64/wcscmp.S: Update.
41034 Fix wrong comparison semantics.
41035 wcscmp shall use signed comparison not unsigned.
41036 Don't use substraction to avoid overflow bug.
41037 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41038 * wcsmbc/wcscmp.c: Likewise.
41039 * string/test-strcmp.c: Likewise.
41040 Add new tests to check cases with negative values.
41041
c8b3296b
UD
410422011-10-23 Ulrich Drepper <drepper@gmail.com>
41043
41044 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41045 * sysdeps/x86_64/dla.h: ...here. New file.
41046 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41047 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41049 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41050 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41051 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41052 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41053 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41054 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41055
246ad57a
AS
410562011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41057
41058 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41059 __ynl_finite aliases.
41060
a1a87169
UD
410612011-10-22 Ulrich Drepper <drepper@gmail.com>
41062
0d355eb7
UD
41063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41064
a1a87169
UD
41065 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41066 define DLA_FMA.
41067 [DLA_FMA] (EMULV): Use DLA_FMA.
41068 [DLA_FMA] (MUL12): Use EMULV.
41069 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41070 that are not needed.
41071 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41072 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41073 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41074 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41075 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41076 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41077 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41078
ee2aafe0
AS
410792011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41080
41081 * math/s_nan.c: Undef __nan.
41082 * math/s_nanf.c: Undef __nanf.
41083 * math/s_nanl.c: Undef __nanl.
41084 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41085 "math_private.h".
41086
bc62c2fb
UD
410872011-10-22 Ulrich Drepper <drepper@gmail.com>
41088
77425c63
UD
41089 * math/s_catan.c: Add branch predictions.
41090 * math/s_catanf.c: Likewise.
41091 * math/s_catanh.c: Likewise.
41092 * math/s_catanhf.c: Likewise.
41093 * math/s_catanhl.c: Likewise.
41094 * math/s_catanl.c: Likewise.
41095 * math/s_cexp.c: Likewise.
41096 * math/s_cexpf.c: Likewise.
41097 * math/s_cexpl.c: Likewise.
41098 * math/s_clog.c: Likewise.
41099 * math/s_clog10.c: Likewise.
41100 * math/s_clog10f.c: Likewise.
41101 * math/s_clog10l.c: Likewise.
41102 * math/s_clogf.c: Likewise.
41103 * math/s_clogl.c: Likewise.
41104 * math/s_csqrt.c: Likewise.
41105 * math/s_csqrtf.c: Likewise.
41106 * math/s_csqrtl.c: Likewise.
41107 * math/s_ctanf.c: Likewise.
41108 * math/s_ctanh.c: Likewise.
41109 * math/s_ctanhf.c: Likewise.
41110 * math/s_ctanhl.c: Likewise.
41111 * math/s_ctanl.c: Likewise.
41112
bc62c2fb
UD
41113 * math/math_private.h: Define __nan, __nanf, __nanl.
41114 * math/s_cacosh.c: Include <math_private.h>.
41115 * math/s_cacoshl.c: Likewise.
41116 * math/s_casinh.c: Likewise.
41117 * math/s_casinhf.c: Likewise.
41118 * math/s_casinhl.c: Likewise.
41119 * math/s_ccos.c: Rely entire on ccosh.
41120 * math/s_ccosf.c: Rely entire on ccoshf.
41121 * math/s_ccosl.c: Rely entirely on ccoshl.
41122 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41123 Remove tests for FE_INVALID.
41124 * math/s_ccoshf.c: Likewise.
41125 * math/s_ccoshl.c: Likewise.
41126 * math/s_csin.c: Likewise.
41127 * math/s_csinf.c: Likewise.
41128 * math/s_csinh.c Likewise.
41129 * math/s_csinhf.c: Likewise.
41130 * math/s_csinhl.c: Likewise.
41131 * math/s_csinl.c: Likewise.
41132 * math/s_ctan.c: Likewise.
41133 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41134 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41135 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41136
8ec250a4
UD
411372011-10-21 Ulrich Drepper <drepper@gmail.com>
41138
c196fed8
UD
41139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41140 compilation problems.
41141
8ec250a4
UD
41142 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41143 __builtin_expect.
41144
8d4f46c6
UD
411452011-10-20 Ulrich Drepper <drepper@gmail.com>
41146
ed72b654
UD
41147 * sysdeps/i386/configure.in: Test for -mfma4 option.
41148 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41149 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41150 COMMON_CPUID_INDEX_80000001.
41151 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41152 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41153 use it if FMA3 is not supported.
41154 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41155
8d4f46c6
UD
41156 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41157 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41158
d45c60c2
AS
411592011-10-20 Andreas Schwab <schwab@redhat.com>
41160
41161 [BZ #12892]
41162 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41163 it would create a cycle with a link time dependency.
41164
d9a4d2ab
UD
411652011-10-19 Ulrich Drepper <drepper@gmail.com>
41166
855d1560
UD
41167 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41168 instruction.
41169 * string/Makefile (strop-tests): Add rawmemchr.
41170 * string/test-rawmemchr.c: New file.
41171
d9a4d2ab
UD
41172 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41173 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41174 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41175 when compiling str{,n}casecmp and when AVX is available. Hook up
41176 new optimized code in initializers.
41177
8f3b1ffe
AS
411782011-10-19 Andreas Schwab <schwab@redhat.com>
41179
41180 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41181 __feraiseexcept instead of feraiseexcept.
41182
d38f1dba
UD
411832011-10-18 Ulrich Drepper <drepper@gmail.com>
41184
d9a8d0ab
UD
41185 * math/math_private.h: Define defaults for libc_fetestexcept and
41186 libc_feupdateenv.
41187 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41188 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41189 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41190 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41191 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41192 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41193 libc_fetestexcept and libc_feupdateenv.
41194
4855e3dd
UD
41195 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41196 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41197 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41198 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41199 libc_feholdexcept_setround.
41200
581d30e3
UD
41201 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41202 Add s_nearbyint-c and s_nearbyintf-c.
41203 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41204 nearbyintf inlines.
41205 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41206 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41207 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41208 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41209
d38f1dba
UD
41210 * math/math_private.h: Define defaults for libc_fegetround,
41211 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41212 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41213 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41214 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41215 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41216 standard functions.
41217 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41218 Remove comments and hacks for old compiler versions.
41219 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41220 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41221 libc_feholdexceptl.
41222
caa6c9d8
AS
412232011-10-18 Andreas Schwab <schwab@redhat.com>
41224
41225 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
41226 (__feraiseexcept_renamed): Add __NTH.
41227 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
41228 namespace violations.
41229
97c066e6
UD
412302011-10-17 Ulrich Drepper <drepper@gmail.com>
41231
99ce7b04
UD
41232 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41233
1004d182
UD
41234 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41235
228a984d
UD
41236 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41237 recently added interfaces.
41238 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41239
c8553a6a
UD
41240 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41241 about macro parameter expansion.
41242
ed22dcf6
UD
41243 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41244 __NO_MATH_INLINES is defined. Cleanups.
41245
41246 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41247 and __floorf is target has SSE4.1.
41248 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41249 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41250 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41251 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41252
b171c137
UD
41253 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41254 name.
41255 (floorf): Likewise.
41256
97c066e6
UD
41257 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41258
629f62ef
AS
412592011-10-17 Andreas Schwab <schwab@redhat.com>
41260
49a43d80
AS
41261 * misc/sys/cdefs.h: Fix last change.
41262
629f62ef
AS
41263 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41264 database lookup.
41265
e453f6cd
UD
412662011-10-16 Ulrich Drepper <drepper@gmail.com>
41267
aa78043a
UD
41268 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41269
ad0f5cad
UD
41270 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41271 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41272 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41273 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41274 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41275 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41276 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41277 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41278 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41279 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41280 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41281 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41282 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41283 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41284 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41285 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41286 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41287 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41288 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41289 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41290 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41291 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41292
41293 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41294 ceil, ceilf, floor, floorf.
41295
41296 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41297 Perform IRELATIVE relocations last.
41298
e453f6cd
UD
41299 * elf/do-rel.h: Add another parameter nrelative, replacing the
41300 local variable with the same name. Change name of the function
41301 to end in Rel or Rela (uppercase).
41302 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41303 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41304 elf_dynamic_do_##reloc function.
41305
fd5bdc09
UD
413062011-10-15 Ulrich Drepper <drepper@gmail.com>
41307
79b195b5
UD
41308 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41309 is sufficient, at least on modern CPUs.
41310
d4a28569
UD
41311 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41312
b61099b5
UD
41313 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41314 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41315
bcf01e6d
UD
41316 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41317 __expl_finite.
41318 * math/bits/math-finite.h: Add entries for exp.
41319 * math/e_expl.c: Add __*_finite alias.
41320 * sysdeps/i386/fpu/e_exp.S: Likewise.
41321 * sysdeps/i386/fpu/e_expf.S: Likewise.
41322 * sysdeps/i386/fpu/e_expl.c: Likewise.
41323 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41324 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41325 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41326 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41327 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41328 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41329 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41330
ba1a0d59
UD
41331 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41332 is sufficient, at least on modern CPUs.
41333
fd5bdc09
UD
41334 * ctype/ctype-info.c (__ctype_init): Define.
41335 * include/ctype.h (__ctype_init): Declare.
41336 (__ctype_b_loc): The variable is always initialized.
41337 (__ctype_toupper_loc): Likewise.
41338 (__ctype_tolower_loc): Likewise.
41339 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41340 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41341
7872cfb0
AS
413422011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41343
b468825a
AS
41344 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41345
7872cfb0
AS
41346 * configure.in: Also look in $cxxmachine/include for C++ system
41347 headers.
41348
be13f7bf
LD
413492011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41350
41351 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41352 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41353 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41354 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41355 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41356 (USE_AS_WMEMCMP): New macro.
41357 Fixing indents.
41358 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41359 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41360 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41361 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41363 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41364 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41365 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41366 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41367 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41368 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41369 (USE_AS_WMEMCMP): New macro.
41370 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41371 * sysdeps/string/test-memcmp.c: Update.
41372 Fix simple_wmemcmp.
41373 Add new tests.
41374 * wcsmbs/wmemcmp.c: Update.
41375 (WMEMCMP): New macro.
41376 Fix overflow bug.
41377
556a2007
AJ
413782011-10-12 Andreas Jaeger <aj@suse.de>
41379
41380 [BZ #13268]
41381 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41382
538faaa7
UD
413832011-10-15 Ulrich Drepper <drepper@gmail.com>
41384
ab6737ff
UD
41385 * libio/iofwide.c (do_length): Avoid warning.
41386
538faaa7
UD
41387 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41388
396a21b1
UD
413892011-10-14 Ulrich Drepper <drepper@gmail.com>
41390
cdf2901f
UD
41391 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41392
38ad40ce
UD
41393 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41394 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41395 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41396 * sysdeps/i386/i686/fpu/e_log.S: New file.
41397 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41398 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41399
396a21b1
UD
41400 * ctype/ctype.h: Add support for inlined isXXX functions when
41401 compiling C++ code.
41402
6b1f68c9
AS
414032011-10-14 Andreas Schwab <schwab@redhat.com>
41404
349290c0
AS
41405 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41406
6b1f68c9
AS
41407 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41408
f2282d42
RM
414092011-10-13 Roland McGrath <roland@hack.frob.com>
41410
41411 [BZ #13291]
41412 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41413
5298ffa8
AS
414142011-10-13 Andreas Schwab <schwab@redhat.com>
41415
714fad23
AS
41416 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41417 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41418 feraiseexcept.
41419
81dcc7fb
AS
41420 * sysdeps/x86_64/memrchr.S: Check for zero size.
41421
5298ffa8
AS
41422 * string/stratcliff.c: Add memrchr tests.
41423
951fbcec
LD
414242011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41425
41426 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41427 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41428 rawmemchr-sse2 rawmemchr-sse2-bsf.
41429 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41430 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41431 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41432 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41433 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41434 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41435 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41436 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41437 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41438 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41439 * string/memrchr.c (MEMRCHR): New macro.
41440
0ac5ae23
UD
414412011-10-12 Ulrich Drepper <drepper@gmail.com>
41442
41443 Add integration with gcc's -ffinite-math-only and optimize wrapper
41444 functions in libm.
41445 * Versions.def: Define GLIBC_2.15 version for libm.
41446 * math/Makefile (headers): Add bits/math-finite.h.
41447 * math/bits/math-finite.h: New file.
41448 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41449 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41450 * math/e_acoshl.c: Add __*_finite alias.
41451 * math/e_acosl.c: Likewise.
41452 * math/e_asinl.c: Likewise.
41453 * math/e_atan2l.c: Likewise.
41454 * math/e_atanhl.c: Likewise.
41455 * math/e_coshl.c: Likewise.
41456 * math/e_exp10.c: Likewise.
41457 * math/e_exp10f.c: Likewise.
41458 * math/e_exp10l.c: Likewise.
41459 * math/e_exp2l.c: Likewise.
41460 * math/e_fmodl.c: Likewise.
41461 * math/e_gammal_r.c: Likewise.
41462 * math/e_hypotl.c: Likewise.
41463 * math/e_j0l.c: Likewise.
41464 * math/e_j1l.c: Likewise.
41465 * math/e_jnl.c: Likewise.
41466 * math/e_lgammal_r.c: Likewise.
41467 * math/e_log10l.c: Likewise.
41468 * math/e_log2l.c: Likewise.
41469 * math/e_logl.c: Likewise.
41470 * math/e_powl.c: Likewise.
41471 * math/e_sinhl.c: Likewise.
41472 * math/e_sqrtl.c: Likewise.
41473 * math/e_scalb.c: Completely rewritten and optimized.
41474 * math/e_scalbf.c: Likewise.
41475 * math/e_scalbl.c: Likewise.
41476 * math/w_acos.c: Likewise.
41477 * math/w_acosf.c: Likewise.
41478 * math/w_acosl.c: Likewise.
41479 * math/w_acosh.c: Likewise.
41480 * math/w_acoshf.c: Likewise.
41481 * math/w_acoshl.c: Likewise.
41482 * math/w_asin.c: Likewise.
41483 * math/w_asinf.c: Likewise.
41484 * math/w_asinl.c: Likewise.
41485 * math/w_atan2.c: Likewise.
41486 * math/w_atan2f.c: Likewise.
41487 * math/w_atan2l.c: Likewise.
41488 * math/w_atanh.c: Likewise.
41489 * math/w_atanhf.c: Likewise.
41490 * math/w_atanhl.c: Likewise.
41491 * math/w_exp10.c: Likewise.
41492 * math/w_exp10f.c: Likewise.
41493 * math/w_exp10l.c: Likewise.
41494 * math/w_fmod.c: Likewise.
41495 * math/w_fmodf.c: Likewise.
41496 * math/w_fmodl.c: Likewise.
41497 * math/w_j0.c: Likewise.
41498 * math/w_j0f.c: Likewise.
41499 * math/w_j0l.c: Likewise.
41500 * math/w_j1.c: Likewise.
41501 * math/w_j1f.c: Likewise.
41502 * math/w_j1l.c: Likewise.
41503 * math/w_jn.c: Likewise.
41504 * math/w_jnf.c: Likewise.
41505 * math/w_log.c: Likewise.
41506 * math/w_logf.c: Likewise.
41507 * math/w_logl.c: Likewise.
41508 * math/w_log10.c: Likewise.
41509 * math/w_log10f.c: Likewise.
41510 * math/w_log10l.c: Likewise.
41511 * math/w_log2.c: Likewise.
41512 * math/w_log2f.c: Likewise.
41513 * math/w_log2l.c: Likewise.
41514 * math/w_pow.c: Likewise.
41515 * math/w_powf.c: Likewise.
41516 * math/w_powl.c: Likewise.
41517 * math/w_remainder.c: Likewise.
41518 * math/w_remainderf.c: Likewise.
41519 * math/w_remainderl.c: Likewise.
41520 * math/w_scalb.c: Likewise.
41521 * math/w_scalbf.c: Likewise.
41522 * math/w_scalbl.c: Likewise.
41523 * math/w_sqrt.c: Likewise.
41524 * math/w_sqrtf.c: Likewise.
41525 * math/w_sqrtl.c: Likewise.
41526 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41527 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41528 used.
41529 * math/math_private.h: Declare __kernel_standard_f.
41530 * math/w_cosh.c: Remove cruft and optimize a bit.
41531 * math/w_coshf.c: Likewise.
41532 * math/w_coshl.c: Likewise.
41533 * math/w_exp2.c: Likewise.
41534 * math/w_exp2f.c: Likewise.
41535 * math/w_exp2l.c: Likewise.
41536 * math/w_hypot.c: Likewise.
41537 * math/w_hypotf.c: Likewise.
41538 * math/w_hypotl.c: Likewise.
41539 * math/w_lgamma.c: Likewise.
41540 * math/w_lgamma_r.c: Likewise.
41541 * math/w_lgammaf.c: Likewise.
41542 * math/w_lgammaf_r.c: Likewise.
41543 * math/w_lgammal.c: Likewise.
41544 * math/w_lgammal_r.c: Likewise.
41545 * math/w_sinh.c: Likewise.
41546 * math/w_sinhf.c: Likewise.
41547 * math/w_sinhl.c: Likewise.
41548 * math/w_tgamma.c: Likewise.
41549 * math/w_tgammaf.c: Likewise.
41550 * math/w_tgammal.c: Likewise.
41551 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41552 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41553 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41554 Minor optimizations. Pretty printing. Remove cruft.
41555 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41556 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41557 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41558 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41559 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41560 * sysdeps/i386/fpu/e_asin.S: Likewise.
41561 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41562 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41563 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41564 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41565 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41566 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41567 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41568 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41569 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41570 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41571 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41572 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41573 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41574 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41575 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41576 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41577 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41578 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41579 * sysdeps/i386/fpu/e_log.S: Likewise.
41580 * sysdeps/i386/fpu/e_log10.S: Likewise.
41581 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41582 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41583 * sysdeps/i386/fpu/e_log2.S: Likewise.
41584 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41585 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41586 * sysdeps/i386/fpu/e_logf.S: Likewise.
41587 * sysdeps/i386/fpu/e_logl.S: Likewise.
41588 * sysdeps/i386/fpu/e_pow.S: Likewise.
41589 * sysdeps/i386/fpu/e_powf.S: Likewise.
41590 * sysdeps/i386/fpu/e_powl.S: Likewise.
41591 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41592 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41593 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41594 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41595 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41596 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41597 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41598 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41599 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41600 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41601 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41602 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41603 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41604 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41605 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41606 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41607 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41608 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41609 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41610 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41611 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41612 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41613 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41614 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41615 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41616 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41617 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41618 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41619 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41620 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41621 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41622 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41623 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41624 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41625 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41626 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41627 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41628 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41629 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41630 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41631 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41632 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41633 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41634 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41635 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41636 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41637 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41638 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41639 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41640 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41641 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41642 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41643 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41644 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41645 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41646 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41647 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41648 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41649 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41650 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41651 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41652 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41653 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41654 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41655 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41656 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41657 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41658 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41659 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41660 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41661 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41662 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41663 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41664 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41665 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41666 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41667 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41668 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41669 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41670 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41671 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41672 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41673 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41674 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41675 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41676 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41677 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41678 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41679 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41680 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41681 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41682 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41683 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41684 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41685 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41686 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41687 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41688 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41689 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41690 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41691 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41692 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41693 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41694 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41695 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41696 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41697 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41698 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41699 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41700 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41701 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41702 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41703 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41704 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41705 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41706 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41707 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41708 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41709 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41710 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41711 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41712 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41713 (__isnanf): Likewise.
41714 (__isinf_ns): Likewise.
41715 (__isinf_nsf): Likewise.
41716 (__finite): Likewise.
41717 (__finitef): Likewise.
41718 (__ieee754_sqrt): Define as macro.
41719 (__ieee754_sqrtf): Define as macro.
41720 (__ieee754_sqrtl): Define as macro.
41721 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41722 inlined copy.
41723 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41724 __FINITE_MATH_ONLY__ consistent.
41725 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41726
12cc2fcd
AS
417272011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41728
a843a204
AS
41729 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41730 of rawmemchr.
41731
12cc2fcd
AS
41732 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41733
c853acd5
UD
417342011-10-09 Ulrich Drepper <drepper@gmail.com>
41735
41736 * po/ja.po: Update from translation team.
41737
c658d255
RM
417382011-10-08 Roland McGrath <roland@hack.frob.com>
41739
110946e4
RM
41740 * locale/programs/locarchive.c (prepare_address_space): New function.
41741 (create_archive, enlarge_archive, open_archive): Use it.
41742
50604220
RM
41743 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41744 inside [SHARED], where it is used.
41745
c658d255
RM
41746 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41747
41748 * nss/getent.c (netgroup_keys): Remove unused variable.
41749 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41750
6a621eb7
UD
417512011-10-08 Ulrich Drepper <drepper@gmail.com>
41752
7edb55ce
UD
41753 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41754 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41755 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41756 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41757 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41758 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41759 * math/Makefile (libm-calls): Add s_isinf_ns.
41760 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41761 * math/multc3.c: Likewise.
41762 * math/s_casin.c: Likewise.
41763 * math/s_casinf.c: Likewise.
41764 * math/s_casinl.c: Likewise.
41765 * math/s_ccos.c: Likewise.
41766 * math/s_ccosf.c: Likewise.
41767 * math/s_ccosl.c: Likewise.
41768 * math/s_ctan.c: Likewise.
41769 * math/s_ctanf.c: Likewise.
41770 * math/s_ctanh.c: Likewise.
41771 * math/s_ctanhf.c: Likewise.
41772 * math/s_ctanhl.c: Likewise.
41773 * math/s_ctanl.c: Likewise.
41774 * math/w_fmod.c: Likewise.
41775 * math/w_fmodf.c: Likewise.
41776 * math/w_fmodl.c: Likewise.
41777 * math/w_remainder.c: Likewise.
41778 * math/w_remainderf.c: Likewise.
41779 * math/w_remainderl.c: Likewise.
41780 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41781 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41782 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41783 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41784 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41785 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41786 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41787 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41788
187da0ae
UD
41789 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41790 of the number.
41791 * stdio-common/printf_fphex.c: Likewise.
41792 * stdio-common/printf_size.c: Likewise.
41793
9277c064
UD
41794 * math/e_exp10.c: Include math_private.h using <...> not "...".
41795 * math/e_exp10f.c: Likewise.
41796 * math/e_exp10l.c: Likewise.
41797 * math/e_exp2l.c: Likewise.
41798 * math/e_j0l.c: Likewise.
41799 * math/e_j1l.c: Likewise.
41800 * math/e_jnl.c: Likewise.
41801 * math/e_lgammal_r.c: Likewise.
41802 * math/e_rem_pio2l.c: Likewise.
41803 * math/e_scalb.c: Likewise.
41804 * math/e_scalbf.c: Likewise.
41805 * math/e_scalbl.c: Likewise.
41806 * math/k_cosl.c: Likewise.
41807 * math/k_sinl.c: Likewise.
41808 * math/k_tanl.c: Likewise.
41809 * math/s_cacoshf.c: Likewise.
41810 * math/s_catan.c: Likewise.
41811 * math/s_catanf.c: Likewise.
41812 * math/s_catanh.c: Likewise.
41813 * math/s_catanhf.c: Likewise.
41814 * math/s_catanhl.c: Likewise.
41815 * math/s_catanl.c: Likewise.
41816 * math/s_ccosh.c: Likewise.
41817 * math/s_ccoshf.c: Likewise.
41818 * math/s_ccoshl.c: Likewise.
41819 * math/s_cexp.c: Likewise.
41820 * math/s_cexpf.c: Likewise.
41821 * math/s_cexpl.c: Likewise.
41822 * math/s_clog.c: Likewise.
41823 * math/s_clog10.c: Likewise.
41824 * math/s_clog10f.c: Likewise.
41825 * math/s_clog10l.c: Likewise.
41826 * math/s_clogf.c: Likewise.
41827 * math/s_clogl.c: Likewise.
41828 * math/s_csin.c: Likewise.
41829 * math/s_csinf.c: Likewise.
41830 * math/s_csinh.c: Likewise.
41831 * math/s_csinhf.c: Likewise.
41832 * math/s_csinhl.c: Likewise.
41833 * math/s_csinl.c: Likewise.
41834 * math/s_csqrt.c: Likewise.
41835 * math/s_csqrtf.c: Likewise.
41836 * math/s_csqrtl.c: Likewise.
41837 * math/s_ctan.c: Likewise.
41838 * math/s_ctanf.c: Likewise.
41839 * math/s_ctanh.c: Likewise.
41840 * math/s_ctanhf.c: Likewise.
41841 * math/s_ctanhl.c: Likewise.
41842 * math/s_ctanl.c: Likewise.
41843 * math/s_ldexp.c: Likewise.
41844 * math/s_ldexpf.c: Likewise.
41845 * math/s_ldexpl.c: Likewise.
41846 * math/s_significand.c: Likewise.
41847 * math/s_significandf.c: Likewise.
41848 * math/s_significandl.c: Likewise.
41849 * math/w_acos.c: Likewise.
41850 * math/w_acosf.c: Likewise.
41851 * math/w_acosh.c: Likewise.
41852 * math/w_acoshf.c: Likewise.
41853 * math/w_acoshl.c: Likewise.
41854 * math/w_acosl.c: Likewise.
41855 * math/w_asin.c: Likewise.
41856 * math/w_asinf.c: Likewise.
41857 * math/w_asinl.c: Likewise.
41858 * math/w_atan2.c: Likewise.
41859 * math/w_atan2f.c: Likewise.
41860 * math/w_atan2l.c: Likewise.
41861 * math/w_atanh.c: Likewise.
41862 * math/w_atanhf.c: Likewise.
41863 * math/w_atanhl.c: Likewise.
41864 * math/w_cosh.c: Likewise.
41865 * math/w_coshf.c: Likewise.
41866 * math/w_coshl.c: Likewise.
41867 * math/w_dremf.c: Likewise.
41868 * math/w_exp10.c: Likewise.
41869 * math/w_exp10f.c: Likewise.
41870 * math/w_exp10l.c: Likewise.
41871 * math/w_exp2.c: Likewise.
41872 * math/w_exp2f.c: Likewise.
41873 * math/w_fmod.c: Likewise.
41874 * math/w_fmodf.c: Likewise.
41875 * math/w_fmodl.c: Likewise.
41876 * math/w_hypot.c: Likewise.
41877 * math/w_hypotf.c: Likewise.
41878 * math/w_hypotl.c: Likewise.
41879 * math/w_j0.c: Likewise.
41880 * math/w_j0f.c: Likewise.
41881 * math/w_j0l.c: Likewise.
41882 * math/w_j1.c: Likewise.
41883 * math/w_j1f.c: Likewise.
41884 * math/w_j1l.c: Likewise.
41885 * math/w_jn.c: Likewise.
41886 * math/w_jnf.c: Likewise.
41887 * math/w_jnl.c: Likewise.
41888 * math/w_lgamma.c: Likewise.
41889 * math/w_lgamma_r.c: Likewise.
41890 * math/w_lgammaf.c: Likewise.
41891 * math/w_lgammaf_r.c: Likewise.
41892 * math/w_lgammal.c: Likewise.
41893 * math/w_lgammal_r.c: Likewise.
41894 * math/w_log.c: Likewise.
41895 * math/w_log10.c: Likewise.
41896 * math/w_log10f.c: Likewise.
41897 * math/w_log10l.c: Likewise.
41898 * math/w_log2.c: Likewise.
41899 * math/w_log2f.c: Likewise.
41900 * math/w_log2l.c: Likewise.
41901 * math/w_logf.c: Likewise.
41902 * math/w_logl.c: Likewise.
41903 * math/w_pow.c: Likewise.
41904 * math/w_powf.c: Likewise.
41905 * math/w_powl.c: Likewise.
41906 * math/w_remainder.c: Likewise.
41907 * math/w_remainderf.c: Likewise.
41908 * math/w_remainderl.c: Likewise.
41909 * math/w_scalb.c: Likewise.
41910 * math/w_scalbf.c: Likewise.
41911 * math/w_scalbl.c: Likewise.
41912 * math/w_sinh.c: Likewise.
41913 * math/w_sinhf.c: Likewise.
41914 * math/w_sinhl.c: Likewise.
41915 * math/w_sqrt.c: Likewise.
41916 * math/w_sqrtf.c: Likewise.
41917 * math/w_sqrtl.c: Likewise.
41918 * math/w_tgamma.c: Likewise.
41919 * math/w_tgammaf.c: Likewise.
41920 * math/w_tgammal.c: Likewise.
41921
6a621eb7
UD
41922 * po/ja.po: Update from translation team.
41923
bf582445
AJ
419242011-09-29 Andreas Jaeger <aj@suse.de>
41925
f9efbf3a
AJ
41926 [BZ #13179]
41927 * sunrpc/netname.c (netname2host): Fix logic.
41928
bf582445
AJ
41929 [BZ #6779]
41930 [BZ #6783]
41931 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41932 correctly.
41933 * math/w_remainder.c (__remainder): Likewise.
41934 * math/w_remainderf.c (__remainderf): Likewise.
41935 * math/libm-test.inc (remainder_test): Add test cases.
41936
48693bea
AK
419372011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41938
41939 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41940 sdiv_qrnnd.
41941
42622229
LD
419422011-10-07 Ulrich Drepper <drepper@gmail.com>
41943
41944 * string/test-memcmp.c: Avoid unncessary #defines.
41945 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41946
093ecf92
LD
419472011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41948
41949 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41950 Use new sse2 version for core i3 - i7 as it's faster
41951 than sse42 version.
41952 (bit_Prefer_PMINUB_for_stringop): New.
41953 * sysdeps/x86_64/rawmemchr.S: Update.
41954 Replace with faster SSE2 version.
41955 * sysdeps/x86_64/memrchr.S: New file.
41956 * sysdeps/x86_64/memchr.S: Update.
41957 Replace with faster SSE2 version.
41958
fde56e5c
MP
419592011-09-12 Marek Polacek <mpolacek@redhat.com>
41960
41961 * elf/dl-load.c (lose): Add cast to avoid warning.
41962
21fd49a9
UD
419632011-10-07 Ulrich Drepper <drepper@gmail.com>
41964
5a06e643
UD
41965 * po/ca.po: Update from translation team.
41966
684ae515
UD
41967 * inet/getnetgrent_r.c: Hook up nscd.
41968 * nscd/Makefile (routines): Add nscd_netgroup.
41969 (nscd-modules): Add netgroupcache.
41970 (CFLAGS-netgroupcache.c): Define.
41971 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41972 (cache_search): Add const to second parameter.
41973 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41974 INNETGR.
41975 (dbs): Add netgrdb entry.
41976 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41977 (verify_persistent_db): Handle netgrdb.
41978 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41979 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41980 GETFDNETGR.
41981 (netgroup_response_header): Define.
41982 (innetgroup_response_header): Define.
41983 (datahead): Add netgroup_response_header and innetgroup_response_header
41984 elements.
41985 * nscd/nscd.conf: Add entries for netgroup cache.
41986 * nscd/nscd.h (dbtype): Add netgrdb.
41987 (_PATH_NSCD_NETGROUP_DB): Define.
41988 (netgroup_iov_disabled): Declare.
41989 (xmalloc, xcalloc, xrealloc): Move declarations here.
41990 (cache_search): Adjust prototype.
41991 Add netgroup-related prototypes.
41992 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41993 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41994 (__nscd_innetgr): Declare.
41995 * nscd/selinux.c (perms): Use access_vector_t as element type and
41996 add netgroup-related initializers.
41997 * nscd/netgroupcache.c: New file.
41998 * nscd/nscd_netgroup.c: New file.
41999 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42000 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42001 For four parameters use innetgr.
42002 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42003 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42004 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42005 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42006
21fd49a9
UD
42007 * nscd/connections.c (register_traced_file): Don't register file
42008 for disabled databases.
42009
054c0457
UD
420102011-10-06 Ulrich Drepper <drepper@gmail.com>
42011
32b63198
UD
42012 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42013
054c0457
UD
42014 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42015 from tree and freeing node.
42016
64031225
JO
420172011-09-25 Jiri Olsa <jolsa@redhat.com>
42018
42019 * nss/nsswitch.c (__nss_database_lookup): Handle
42020 nss_parse_service_list out of memory case.
42021
0490345c
JO
420222011-09-15 Jiri Olsa <jolsa@redhat.com>
42023
42024 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42025 out of memory case.
42026
3a62d00d
AS
420272011-10-04 Andreas Schwab <schwab@redhat.com>
42028
42029 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42030 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42031 pass it down.
42032 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42033 elf_machine_rela, elf_machine_lazy_rel.
42034 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42035 (ELF_DYNAMIC_DO_REL): Likewise.
42036 (ELF_DYNAMIC_DO_RELA): Likewise.
42037 (ELF_DYNAMIC_RELOCATE): Likewise.
42038 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42039 to ELF_DYNAMIC_DO_REL.
42040 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42041 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42042 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42043 elf_machine_rela.
42044 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42045 skip_ifunc, don't call ifunc function if non-zero.
42046 (elf_machine_rela): Likewise.
42047 (elf_machine_lazy_rel): Likewise.
42048 (elf_machine_lazy_rela): Likewise.
42049 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42050 (elf_machine_lazy_rel): Likewise.
42051 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42052 Likewise.
42053 (elf_machine_lazy_rel): Likewise.
42054 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42055 Likewise.
42056 (elf_machine_lazy_rel): Likewise.
42057 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42058 (elf_machine_lazy_rel): Likewise.
42059 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42060 (elf_machine_lazy_rel): Likewise.
42061 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42062 (elf_machine_lazy_rel): Likewise.
42063 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42064 (elf_machine_lazy_rel): Likewise.
42065 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42066 (elf_machine_lazy_rel): Likewise.
42067 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42068 (elf_machine_lazy_rel): Likewise.
42069
68577918
UD
420702011-09-28 Ulrich Drepper <drepper@gmail.com>
42071
42072 * nss/nss_files/files-init.c (_nss_files_init): Use static
42073 initialization for all the *_traced_file variables.
42074
68822d74
AS
420752011-09-28 Andreas Schwab <schwab@redhat.com>
42076
42077 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42078
2056100b
RM
420792011-09-27 Roland McGrath <roland@hack.frob.com>
42080
42081 [BZ #13226]
42082 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42083
32c76b63
AS
420842011-09-27 Andreas Schwab <schwab@redhat.com>
42085
42086 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42087 Reread the line before reparsing it.
42088
bf972c9d
AS
420892011-09-26 Andreas Schwab <schwab@redhat.com>
42090
42091 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42092
e057a1b5
JM
420932011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42094 Maxim Kuvyrkov <maxim@codesourcery.com>
42095 Joseph Myers <joseph@codesourcery.com>
42096
42097 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42098 if needed for __stack_chk_guard.
42099
bc7e1c36
RM
421002011-09-19 Roland McGrath <roland@hack.frob.com>
42101
ecb1482f
RM
42102 * sysdeps/posix/spawni.c (script_execute): Always define it.
42103 It will be optimized away if unused.
42104 (maybe_script_execute): New function.
42105 (__spawni): Call it.
42106
bc7e1c36
RM
42107 * Makerules: Don't include tls.make.
42108 (config-tls): Always set to thread.
42109 * tls.make.c: File removed.
42110
1c3b002b
MF
421112011-09-19 Mike Frysinger <vapier@gentoo.org>
42112
42113 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42114 * config.make.in (CPPFLAGS-config): New substituted variable.
42115
2840865d
UD
421162011-09-15 Ulrich Drepper <drepper@gmail.com>
42117
88738eb6
UD
42118 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42119
cbf645a6 42120 [BZ #13192]
2840865d
UD
42121 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42122 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42123
b402e91a
RM
421242011-09-15 Roland McGrath <roland@hack.frob.com>
42125
42126 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42127 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42128 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42129 (CALL_FAIL): Likewise.
42130 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42131 (CALL_FAIL): Macro removed.
42132 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42133
4c1a1f71
UD
421342011-09-15 Ulrich Drepper <drepper@gmail.com>
42135
42136 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42137 for __FINITE_MATH_ONLY__ == 1.
42138
edc121be
AS
421392011-09-15 Andreas Schwab <schwab@redhat.com>
42140
42141 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42142 __ieee754_sqrt instead of sqrt.
42143 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42144 __ieee754_sqrtf instead of sqrtf.
42145 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42146 __floorf instead of floorf.
42147 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42148 __floorf, __truncf instead of floorf, truncf.
42149
cd205654
UD
421502011-09-14 Ulrich Drepper <drepper@gmail.com>
42151
ee4d0315
UD
42152 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42153
cd205654
UD
42154 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42155 __extern_always_inline.
42156 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42157 32-bit.
42158
48b67d71
AS
421592011-09-14 Andreas Schwab <schwab@redhat.com>
42160
42161 * elf/rtld.c (dl_main): Also relocate in dependency order when
42162 doing symbol dependency testing.
42163
1ae12c75
AS
421642011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42165
42166 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42167 Always define `refsym'.
42168
995a80df
AS
421692011-09-13 Andreas Schwab <schwab@redhat.com>
42170
e529793b
AS
42171 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42172 (__FD_ELT): Renamed from __FDELT.
42173 * misc/bits/select2.h (__FD_ELT): Likewise.
42174 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42175 __FD_MASK instead of __FDELT, __FDMASK.
42176 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42177 Likewise.
42178 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42179 Likewise.
42180
52d4fef8
AS
42181 * elf/Makefile (gen-ldd): Fix pattern.
42182
995a80df
AS
42183 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42184 (init_tls): Likewise.
42185
8682f8b0
UD
421862011-09-12 Ulrich Drepper <drepper@gmail.com>
42187
42188 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42189
de82006d
AS
421902011-09-12 Andreas Schwab <schwab@redhat.com>
42191
a7c8e6a1
AS
42192 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42193 `struct cmsghdr *' instead of `void *'.
42194 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42195 Likewise.
42196
0f31fe77
AS
421972011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42198
42199 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42200 if non-absolute.
42201 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42202 ldd_rewrite_script.
0f31fe77 42203
32b4c839
UD
422042011-09-11 Ulrich Drepper <drepper@gmail.com>
42205
83cd1420
UD
42206 * configure.in: Remove --with-tls option.
42207 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42208 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42209 out in case it is missing.
42210 * sysdeps/ia64/elf/configure.in: Likewise.
42211 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42212 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42213 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42214 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42215 * sysdeps/sh/elf/configure.in: Likewise.
42216 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42217 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42218 * sysdeps/x86_64/elf/configure.in: Likewise.
42219 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42220 * sysdeps/mach/hurd/tls.h: Likewise.
42221
633f745d
UD
42222 [BZ #13067]
42223 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42224
f318beb8
UD
42225 [BZ #13090]
42226 * configure.in: Fix use of AC_INIT.
42227
32b4c839
UD
42228 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42229
3ce1f295
UD
422302011-09-10 Ulrich Drepper <drepper@gmail.com>
42231
bb016596
UD
42232 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42233 __set_errno.
8e58439c
UD
42234 * malloc/hooks.c: Likewise.
42235
aebae053 42236 [BZ #11929]
02d46fc4
UD
42237 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42238 variables statically.
42239 (narenas): Initialize.
42240 (list_lock): Initialize.
bb016596
UD
42241 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42242 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
42243 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42244 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42245 Add initializers to main_arena and mp_.
42246 (malloc_state): Remove pagesize member. Change all users to use
42247 GLRO(dl_pagesize).
42248
42249 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42250 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42251 is always initialized.
42252
22a89187
UD
42253 * malloc/malloc.c: Removed unused configurations and dead code.
42254 * malloc/arena.c: Likewise.
42255 * malloc/hooks.c: Likewise.
02d46fc4 42256 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 42257
d063d164
UD
42258 * include/tls.h: Removed. USE___THREAD must always be defined.
42259 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42260 * elf/dl-libc.c: Likewise.
42261 * elf/dl-tsd.c: Likewise.
42262 * include/errno.h: Likewise.
42263 * include/netdb.h: Likewise.
42264 * include/resolv.h: Likewise.
42265 * inet/herrno-loc.c: Likewise.
42266 * inet/herrno.c: Likewise.
42267 * malloc/arena.c: Likewise.
42268 * malloc/hooks.c: Likewise.
42269 * malloc/malloc.c: Likewise.
42270 * resolv/res-state.c: Likewise.
42271 * resolv/res_libc.c: Likewise.
42272 * sysdeps/i386/dl-machine.h: Likewise.
42273 * sysdeps/ia64/dl-machine.h: Likewise.
42274 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42275 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42276 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42277 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42278 * sysdeps/sh/dl-machine.h: Likewise.
42279 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42280 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42281 * sysdeps/unix/i386/sysdep.S: Likewise.
42282 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42283 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42284 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42285 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42286 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42287 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42288 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42289 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42290 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42291 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42292 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42293 * sysdeps/x86_64/dl-machine.h: Likewise.
42294 * tls.make.c: Likewise.
42295
3ce1f295
UD
42296 * configure.in: Remove --with-__thread option. Make tests for
42297 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42298 tls_model attribute fail if no support is available. Remove
42299 USE_IN_LIBIO.
42300 * Makeconfig: Adjust for dropped configure option. All features are
42301 now mandatory.
42302 * Makerules: Likewise.
42303 * Versions.def: Likewise.
42304 * argp/argp-fmtstream.c: Likewise.
42305 * argp/argp-fmtstream.h: Likewise.
42306 * argp/argp-help.c: Likewise.
42307 * assert/assert.c: Likewise.
42308 * config.h.in: Likewise.
42309 * config.make.in: Likewise.
42310 * configure: Likewise.
42311 * configure.in: Likewise.
42312 * csu/Versions: Likewise.
42313 * csu/init.c: Likewise.
42314 * elf/tst-audit2.c: Likewise.
42315 * elf/tst-tls10.c: Likewise.
42316 * elf/tst-tls10.h: Likewise.
42317 * elf/tst-tls11.c: Likewise.
42318 * elf/tst-tls12.c: Likewise.
42319 * elf/tst-tls14.c: Likewise.
42320 * elf/tst-tlsmod11.c: Likewise.
42321 * elf/tst-tlsmod12.c: Likewise.
42322 * elf/tst-tlsmod13.c: Likewise.
42323 * elf/tst-tlsmod13a.c: Likewise.
42324 * elf/tst-tlsmod14a.c: Likewise.
42325 * elf/tst-tlsmod15b.c: Likewise.
42326 * elf/tst-tlsmod16a.c: Likewise.
42327 * elf/tst-tlsmod16b.c: Likewise.
42328 * elf/tst-tlsmod7.c: Likewise.
42329 * elf/tst-tlsmod8.c: Likewise.
42330 * elf/tst-tlsmod9.c: Likewise.
42331 * gmon/gmon.c: Likewise.
42332 * grp/fgetgrent_r.c: Likewise.
42333 * grp/putgrent.c: Likewise.
42334 * hurd/fopenport.c: Likewise.
42335 * include/libc-symbols.h: Likewise.
42336 * include/tls.h: Likewise.
42337 * intl/gettextP.h: Likewise.
42338 * intl/loadinfo.h: Likewise.
42339 * locale/global-locale.c: Likewise.
42340 * locale/localeinfo.h: Likewise.
42341 * mach/devstream.c: Likewise.
42342 * malloc/arena.c: Likewise.
42343 * malloc/set-freeres.c: Likewise.
42344 * misc/err.c: Likewise.
42345 * misc/getttyent.c: Likewise.
42346 * misc/mntent_r.c: Likewise.
42347 * posix/getopt.c: Likewise.
42348 * posix/wordexp.c: Likewise.
42349 * pwd/fgetpwent_r.c: Likewise.
42350 * resolv/Versions: Likewise.
42351 * resolv/res_hconf.c: Likewise.
42352 * shadow/fgetspent_r.c: Likewise.
42353 * shadow/putspent.c: Likewise.
42354 * stdio-common/printf_fphex.c: Likewise.
42355 * stdio-common/tmpfile.c: Likewise.
42356 * stdlib/abort.c: Likewise.
42357 * stdlib/fmtmsg.c: Likewise.
42358 * sunrpc/auth_unix.c: Likewise.
42359 * sunrpc/clnt_perr.c: Likewise.
42360 * sunrpc/clnt_tcp.c: Likewise.
42361 * sunrpc/clnt_udp.c: Likewise.
42362 * sunrpc/clnt_unix.c: Likewise.
42363 * sunrpc/openchild.c: Likewise.
42364 * sunrpc/svc_simple.c: Likewise.
42365 * sunrpc/svc_tcp.c: Likewise.
42366 * sunrpc/svc_udp.c: Likewise.
42367 * sunrpc/svc_unix.c: Likewise.
42368 * sunrpc/xdr.c: Likewise.
42369 * sunrpc/xdr_array.c: Likewise.
42370 * sunrpc/xdr_rec.c: Likewise.
42371 * sunrpc/xdr_ref.c: Likewise.
42372 * sunrpc/xdr_stdio.c: Likewise.
42373
1248c1c4
PB
423742011-09-09 Ulrich Drepper <drepper@gmail.com>
42375
42376 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42377
423782011-07-03 Andreas Jaeger <aj@suse.de>
42379
42380 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42381 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42382 regenerate with gen-libm-tests.pl.
42383
423842010-05-12 Petr Baudis <pasky@suse.cz>
42385
42386 [BZ #11589]
42387 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42388 around j0() zero points by switching to j1().
42389 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42390 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42391 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42392 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42393
f22e1074
UD
423942011-09-09 Ulrich Drepper <drepper@gmail.com>
42395
f19009c1
UD
42396 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42397 instead of 0.
42398 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 42399 instead of 0.
f19009c1
UD
42400 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42401 Patch in part by Pavel Roskin <proski@gnu.org>.
42402
3f8cc204
UD
42403 [BZ #13138]
42404 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42405 realloc.
42406 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42407 Free memory block if necessary.
42408
f22e1074
UD
42409 [BZ #12847]
42410 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42411 be NULL. Don't lock in this case.
42412
0a2349f9
RM
424132011-09-09 Roland McGrath <roland@hack.frob.com>
42414
42415 * elf/elf.h (ELFOSABI_GNU): New macro.
42416 (ELFOSABI_LINUX): Define to that.
42417
f3cdd467
DZ
424182011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42419
42420 * string/strncat.c (strncat): Undef the symbol in case it has been
42421 defined in bits/string.h.
42422
74718d13
UD
424232011-09-09 Ulrich Drepper <drepper@gmail.com>
42424
633e9e0f
UD
42425 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42426
0a2349f9 42427 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
42428 link map.
42429
f9924780
AJ
424302011-08-17 Andreas Jaeger <aj@suse.de>
42431
42432 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42433
7f5517aa
PP
424342011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42435 Ian Lance Taylor <iant@google.com>
42436
42437 * math/libm-test.inc (lround_test): New testcase.
42438 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42439
762011fe
UD
424402011-09-08 Ulrich Drepper <drepper@gmail.com>
42441
92963737
UD
42442 * Makefile: Remove support for automatic cvs check-ins.
42443 * Makerules: Likewise.
42444 * config.make.in: Likewise.
42445 * configure.in: Likewise.
42446 * intl/Makefile: Likewise.
42447 * locale/Makefile: Likewise.
42448 * po/Makefile: Likewise.
42449 * posix/Makefile: Likewise.
42450 * sysdeps/gnu/Makefile: Likewise.
42451 * sysdeps/mach/hurd/Makefile: Likewise.
42452 * sysdeps/sparc/sparc32/Makefile: Likewise.
42453
b0727fd8
JS
42454 [BZ #13118]
42455 * posix/Makefile (bug-regex32-ENV): Define.
42456 Patch by John Stanley <jpsinthemix@verizon.net>.
42457
a0f33f99
UD
42458 * misc/Makefile (headers): Add bits/select2.h.
42459 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42460 * misc/bits/select2.h: New file.
42461 * include/bits/select2.h: New file.
42462 * debug/Makefile (routines): Add fdelt_chk.
42463 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42464 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42465 FD_ISSET.
42466 * debug/fdelt_chk.c: New file.
42467
762011fe
UD
42468 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42469 * wcsmbs/test-wmemcmp.c: Likewise.
42470 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 42471 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
42472
424732011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42474
42475 * string/Makefile (strop-tests): Add memcmp.
42476 * string/test-wmemcmp.c: New file.
42477 * string/test-memcmp.c: Add wmemcmp support.
42478
7f513ec8
RM
424792011-09-08 Roland McGrath <roland@hack.frob.com>
42480
0442afb4
RM
42481 [BZ #13153]
42482 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42483 2011-07-19 change.
42484
7f513ec8
RM
42485 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42486 garbage value in a __mach_port_mod_refs call in the cases of the
42487 task-self and thread-self ports.
42488
a12b2239
ST
424892011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42490
42491 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42492
610f9ab4
AS
424932011-09-08 Andreas Schwab <schwab@redhat.com>
42494
7f513ec8 42495 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 42496
48882a1a
LD
424972011-09-07 Ulrich Drepper <drepper@gmail.com>
42498
b49865be
UD
42499 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42500
fdc86bc9
UD
42501 * elf/dl-libc.c (dlerror_run): Pass back error code from
42502 dl_catch_error.
42503
c966526a
UD
42504 [BZ #13123]
42505 * elf/dl-load.c (lose): Free l_origin if it is valid.
42506
48882a1a
LD
42507 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42508 names.
42509 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42510 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42511 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42512 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42513 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42514 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42515
77a2a8b4
AZ
425162011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42517
42518 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42519 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42520 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42521 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42522 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42523 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42524 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42525 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42526 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42527 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42528
24f579d8
AM
425292011-08-15 Alan Modra <amodra@gmail.com>
42530
42531 [BZ #13092]
42532 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42533 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42534 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42535 ppc_mcount to static-only-routines.
42536 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42537 __mcount_internal.
42538 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42539 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42540
3d4837df
UD
425412011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42542
42543 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42544 for finite and infinity parameters.
42545
22700377
WS
425462011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42547
42548 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42549 and add nop instructions for throughput optimization.
42550 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42551
5025581e
WS
425522011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42553
42554 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42555 aligned copy for power7 with vector-scalar instructions.
42556 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42557
08a300c9
L
425582011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42559
42560 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42561 AVX check.
42562
59178ef9
AS
425632011-09-07 Andreas Schwab <schwab@redhat.com>
42564
42565 [BZ #13144]
42566 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42567 last change.
42568
e38ba7ab
UD
425692011-09-07 Ulrich Drepper <drepper@gmail.com>
42570
42571 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42572 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42573 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42574 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42575 clock_gettime.
42576
d53a73ac
UD
425772011-09-06 Ulrich Drepper <drepper@gmail.com>
42578
fc8bffcc
UD
42579 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42580 Forgot to demangle the pointer.
42581
ceaa0c5d
UD
42582 * sysdeps/i386/sysdep.h: Define atom_text_section.
42583 * sysdeps/x86_64/sysdep.h: Likewise.
42584 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42585 section with atom_text_section.
42586 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42587 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42588 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42589 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42590 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42591
a77d3c17
UD
42592 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42593 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42594 already be defined. Change to take two parameters and don't assign
42595 result to variable. Adjust all users.
42596 Define INTERNAL_GETTIME if not already defined.
42597 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42598 call.
42599 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42600 HAVE_CLOCK_GETTIME_VSYSCALL.
42601 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42602
d53a73ac
UD
42603 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42604 gettimeofday vsyscall, just use time.
42605
a8f84144
AS
426062011-09-06 Andreas Schwab <schwab@redhat.com>
42607
42608 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42609 <errno.h>.
42610
ef606249
UD
426112011-09-06 Ulrich Drepper <drepper@gmail.com>
42612
42613 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42614 syscall on x86-64.
42615 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42616 syscall.
42617 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42618 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42619 syscall if possible.
42620
6585cb60
UD
426212011-09-05 Ulrich Drepper <drepper@gmail.com>
42622
42623 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42624 e_ident. Don't pass to find_mapsXX.
42625 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42626
a5f524e4
LD
426272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42628
42629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42630 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42631 * sysdeps/x86_64/multiarch/strchr.S: Update.
42632 Check bit_slow_BSF bit.
42633 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42634 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42635 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42636
554881ef
UD
426372011-09-05 Ulrich Drepper <drepper@gmail.com>
42638
d96de963
UD
42639 [BZ #13134]
42640 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42641 before glibc 2.15.
42642 (tryshell): Define.
42643 (__spawni): Change last parameter to be flag. Test
42644 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42645 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42646 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42647 * posix/spawni.c: Likewise.
42648 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42649 * posix/spawnp.c: Likewise. Change normal version to use
42650 SPAWN_XFLAGS_USE_PATH.
42651 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42652 SPAWN_XFLAGS_TRY_SHELL.
42653
d48e5868
UD
42654 [BZ #13150]
42655 * posix/glob.h: Remove gcc 1.x support.
42656
554881ef
UD
42657 [BZ #13068]
42658 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42659
693fb948
LD
426602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42661
42662 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42663 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42664 strrchr-sse2-bsf
42665 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42666 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42667 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42668 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42669 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42670 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42671
1b48c537
UD
426722011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42673
49d42c37
UD
42674 * sysdeps/x86_64/wcscmp.S: New file.
42675
1b48c537
UD
42676 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42677 wcscmp-c wcscmp-sse2
42678 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42679 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42680 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42681 * wcsmbs/wcscmp.c: Allow renaming.
42682
15c95c5d
DM
426832011-09-05 David S. Miller <davem@davemloft.net>
42684
42685 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42686 stack slot, rather than the struct return pointer slot.
42687 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42688 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42690 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42691
2f0ad8f3
UD
426922011-09-05 Ulrich Drepper <drepper@gmail.com>
42693
d88ae418
UD
42694 * po/ja.po: Update from translation team.
42695
2f0ad8f3
UD
42696 [BZ #13144]
42697 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42698 kernel in 64-bit binaries.
42699
5f4318d1
DM
427002011-09-01 David S. Miller <davem@davemloft.net>
42701
42702 * elf/elf.h (HWCAP_SPARC_*): Move to..
42703 * sysdeps/sparc/sysdep.h: this new file and add new values.
42704 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42705 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42706 _DL_HWCAP_COUNT to 24.
42707 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42708 entries.
42709 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42710 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42711 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42712 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42713 instead of magic constants.
42714 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42715
3ba57516
DM
427162011-08-31 David S. Miller <davem@davemloft.net>
42717
42718 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42719 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42720 Reimplement to do errno handling inline.
42721 (SYSCALL_ERROR_HANDLER): New macro.
42722 (__SYSCALL_STRING): Do not do errno handling in asm.
42723 (__CLONE_SYSCALL_STRING): Delete.
42724 (__INTERNAL_SYSCALL_STRING): Delete.
42725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42726 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42727 (PSEUDO): Reimplement to do errno handling inline.
42728 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42729 (SYSCALL_ERROR_HANDLER): New macro.
42730 (__SYSCALL_STRING): Do not do errno handling in asm.
42731 (__CLONE_SYSCALL_STRING): Delete.
42732 (__INTERNAL_SYSCALL_STRING): Delete.
42733 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42734 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42735 i386.
42736 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42737 (inline_syscall*): Add 'err' argument.
42738 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42739 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42740 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42741 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42742
42743 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42744 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42745
2bc17433
AS
427462011-08-30 Andreas Schwab <schwab@redhat.com>
42747
42748 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42749
fbeb5f4d
JO
427502011-08-29 Jiri Olsa <jolsa@redhat.com>
42751
42752 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42753 directive.
42754
ad69cc26
DM
427552011-08-24 David S. Miller <davem@davemloft.net>
42756
42757 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42758
39dd69df
AS
427592011-08-24 Andreas Schwab <schwab@redhat.com>
42760
42761 * elf/Makefile: Add rules to build and run unload8 test.
42762 * elf/unload8.c: New file.
42763 * elf/unload8mod1.c: New file.
42764 * elf/unload8mod1x.c: New file.
42765 * elf/unload8mod2.c: New file.
42766 * elf/unload8mod3.c: New file.
42767
42768 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42769 it wasn't used.
42770
2c0b250a
DM
427712011-08-23 David S. Miller <davem@davemloft.net>
42772
42773 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42774 subtract stack bias.
42775 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42776 %sp not %fp in calculations.
42777 (_JMPBUF_UNWINDS_ADJ): Likewise.
42778
22044b48
DM
42779 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42780 (aio_suspend): Call it to force an exception region around the
42781 AIO_MISC_WAIT() invocation.
42782
2cae4995
AS
427832011-08-23 Andreas Schwab <schwab@redhat.com>
42784
42785 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42786 backslash.
42787
873a772e
AJ
427882011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42789
42790 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42791 protection macro.
42792 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42793 and <dl-machine.h>.
42794 (Elf64_FuncDesc): Remove.
42795
25ad0df1
DM
427962011-08-22 David S. Miller <davem@davemloft.net>
42797
42798 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42799 sigaltstack check, add missing cfi directives.
42800 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42801 missing cfi directives, and sigaltstack handling.
42802
e888bcbe
AS
428032011-08-16 Andreas Schwab <schwab@redhat.com>
42804
42805 [BZ #11724]
42806 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42807 object is seen twice.
42808 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42809
42810 * elf/Makefile (distribute): Add tst-initorder2.c.
42811 (tests): Add tst-initorder2.
42812 (modules-names): Add tst-initorder2a tst-initorder2b
42813 tst-initorder2c tst-initorder2d. Add rules to build them.
42814 ($(objpfx)tst-initorder2.out): New rule.
42815 * elf/tst-initorder2.c: New file.
42816 * elf/tst-initorder2.exp: New file.
42817
87162f46
AS
428182011-08-22 Andreas Schwab <schwab@redhat.com>
42819
70538b7f
AS
42820 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42821
f55ffe58
AS
42822 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42823 dependencies back to end of function.
42824
87162f46
AS
42825 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42826 $(elfobjdir)/ld.so.
42827
91b392a4
UD
428282011-08-21 Ulrich Drepper <drepper@gmail.com>
42829
42830 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42831 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42832 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42833 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42834 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42835 of __vdso_gettimeofday.
42836 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42837 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42838 attribute_hidden.
42839 (_libc_vdso_platform_setup): Remove initialization of
42840 __vdso_gettimeofday and __vdso_time.
42841
5c43483f
UD
428422011-08-20 Ulrich Drepper <drepper@gmail.com>
42843
775a77e7
UD
42844 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42845 and fgetc_unlocked.
42846 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42847 getc_unlocked.
89f447ed 42848
49c74ba9
UD
42849 * elf/dl-open.c (add_to_global): Report additions to the global scope
42850 for LD_DEBUG=scopes.
42851 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 42852 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 42853
5c43483f
UD
42854 [BZ #13114]
42855 * stdio-common/Makefile (tests): Add bug24.
42856 * stdio-common/bug24.c: New file.
42857
a101b025
AJ
428582011-08-19 Andreas Jaeger <aj@suse.de>
42859
42860 [BZ #13114]
42861 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42862 non-existant file when using close-on-exec mode.
42863
c88f1766
UD
428642011-08-20 Ulrich Drepper <drepper@gmail.com>
42865
0276a718
UD
42866 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42867 the very first instruction.
42868
c88f1766
UD
42869 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42870 the CFI state in the end.
42871 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42872 inclusion of dl-trampoline.h.
42873 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42874
51ccffa0
AS
428752011-08-19 Andreas Schwab <schwab@redhat.com>
42876
94d7165f
AS
42877 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42878 expectations for long double.
42879
51ccffa0
AS
42880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42881 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42882
fd708658 428832011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
42884
42885 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42886 artificual limit depends upon the system page size.
42887
44f0a71e
UD
428882011-08-17 Ulrich Drepper <drepper@gmail.com>
42889
42890 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42891 * resolv/Makefile: Define CFLAGS-libresolv.
42892
8de79a24
AS
428932011-08-17 Andreas Schwab <schwab@redhat.com>
42894
42895 * nss/makedb.c (compute_tables): Make variables used in nested
42896 function static.
42897
27724598
UD
428982011-08-17 Ulrich Drepper <drepper@gmail.com>
42899
c5305d88
UD
42900 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42901 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42902 if buffer was too small.
42903
27724598
UD
42904 * elf/pldd.c (main): Attach to all threads in the process.
42905 Rewrite /proc handling to use *at functions.
42906
076fe015
UD
429072011-08-16 Ulrich Drepper <drepper@gmail.com>
42908
174baab3
UD
42909 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42910 specifies first scope to show.
42911 (dl_open_worker): Update callers. Move printing scope of new
42912 object to before the relocation.
44f0a71e 42913 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
42914 * sysdeps/generic/ldsodefs.h: Update declaration.
42915
076fe015
UD
42916 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42917 string for the scope number.
42918
a60df2c3
UD
429192011-08-14 Ulrich Drepper <drepper@gmail.com>
42920
42921 * nscd/servicescache.c (cache_addserv): Make sure written is always
42922 initialized.
42923
5e4287d1
RM
429242011-08-14 Roland McGrath <roland@hack.frob.com>
42925
85ae0589
RM
42926 * sysdeps/i386/i486/bits/atomic.h
42927 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42928 statement expression, so as to suppress "set but not used" warning.
42929 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42930
69f63097
RM
42931 * string/strncat.c (STRNCAT): Use prototype definition.
42932
675456ef
RM
42933 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42934 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42935 -Iprograms here.
42936 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42937 (localedef-modules): Add localedef.
42938 (locale-modules): Add locale.
42939
5e4287d1
RM
42940 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42941 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42942 to avoid a warning.
42943
9c96ff23
DM
429442011-08-14 David S. Miller <davem@davemloft.net>
42945
42946 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42947 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42948
f9ddf089
UD
429492011-08-13 Ulrich Drepper <drepper@gmail.com>
42950
44f0a71e 42951 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
42952 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42953 * elf/rtld.c (dl_main): Set l_name of vDSO.
42954 Call _dl_show_scope when DL_DEBUG_SCOPES.
42955 (process_dl_debug): Recognize scopes flag and also set it for all.
42956 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42957 Declare _dl_show_scope.
42958
1dc27704
UD
42959 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42960 (do_dlopen): Pass caller_dlopen to dl_open.
42961 (__libc_dlopen_mode): Initialize caller_dlopen.
42962
f9ddf089
UD
42963 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42964 of libc. Make tolower call locale-independent. Optimize a bit by
42965 using isdigit instead of isalnum.
42966 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42967
9ac533d3
UD
429682011-08-12 Ulrich Drepper <drepper@gmail.com>
42969
42970 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42971 was a dependency or dynamically loaded.
42972
89edf2e9
UD
429732011-08-11 Ulrich Drepper <drepper@gmail.com>
42974
8e999d29
UD
42975 * intl/l10nflist.c: Allow architecture-specific pop function.
42976 * sysdeps/x86_64/l10nflist.c: New file.
42977
89edf2e9
UD
42978 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42979 classification.
42980
14d96785
AS
429812011-08-10 Andreas Schwab <schwab@redhat.com>
42982
42983 * include/dirent.h: Add libc_hidden_proto for scandirat and
42984 scandirat64. Don't declare __scandirat64.
42985 * dirent/scandirat.c: Add libc_hidden_def.
42986 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42987 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42988
6761ac04
DM
429892011-08-10 David S. Miller <davem@davemloft.net>
42990
42991 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42992 enum.
42993 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42994 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42995 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42996
c55fbd1e
UD
429972011-08-09 Ulrich Drepper <drepper@gmail.com>
42998
42999 * Versions.def [libc]: Add GLIBC_2.15.
43000 * dirent/Makefile (routines): Add scandirat and scandirat64.
43001 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43002 GLIBC_2.15.
43003 * dirent/dirent.h: Declare scandirat and scandirat64.
43004 * dirent/scandirat.c: New file.
43005 * dirent/scandirat64.c: New file.
43006 * sysdeps/wordsize-64/scandirat.c: New file.
43007 * sysdeps/wordsize-64/scandirat64.c: New file.
43008 * dirent/opendir.c: Define opendirat.
43009 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43010 using scandirat.
43011 * dirent/scandir64.c: Adjust for scandir.c change.
43012 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43013 __scandirat64, and __scandir_cancel_handler.
43014 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43015 additional parameter and use openat instead of open (outside of ld.so).
43016 Add new __opendir as wrapper around __opendirat.
43017 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43018 here without requiring old scandirat implementation.
43019
879165f2
UD
430202011-08-08 Ulrich Drepper <drepper@gmail.com>
43021
43022 * dirent/scandir.c (cancel_handler): Renamed to
43023 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43024 defined. Adjust users.
43025 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43026 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43027
cb7e923b
UD
430282011-08-04 Ulrich Drepper <drepper@gmail.com>
43029
16292edd
UD
43030 * string/test-string.h (IMPL): Use __STRING to expand name and then
43031 stringify it.
43032
cb7e923b
UD
43033 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43034 of cleanups.
43035
cff82933
LD
430362011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43037
43038 * string/Makefile: Update.
43039 (strop-tests): Append strncat.
43040 * string/test-wcscmp.c: New file.
43041 New comprehensive test for wcscmp.
43042 * string/test-strcmp.c: Update.
43043 (WIDE): New define.
43044
9be9bfcc
AS
430452011-07-22 Andreas Schwab <schwab@redhat.com>
43046
43047 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43048 line.
43049
2e96f1c7
AS
430502011-07-26 Andreas Schwab <schwab@redhat.com>
43051
43052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43053 encoding to ACE if AI_IDN.
43054
85188888
JJ
430552011-08-01 Jakub Jelinek <jakub@redhat.com>
43056
43057 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43058 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43059
5fa16e9b
LD
430602011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43061
43062 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43063 Fix overflow bug in strncat.
43064 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43065
43066 * string/test-strncat.c: Update.
43067 Add new tests for checking overflow bugs.
43068
430692011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43070
43071 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43072 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43073 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43074 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43075 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43076 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43077 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43078 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43079 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43080
43081 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43082 (USE_AS_STRCAT): Define.
43083 Add strcat and strncat support.
43084 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43085
8c1a459f
AS
430862011-07-25 Andreas Schwab <schwab@redhat.com>
43087
43088 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43089 __n bigger than INT_MAX+1.
43090 (__strncmp_g): Likewise.
43091
bba33c28
UD
430922011-07-23 Ulrich Drepper <drepper@gmail.com>
43093
798be72d
UD
43094 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43095 * libio/stido.h: Likewise.
43096
8accd4dc
UD
43097 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43098 (AF_NFC): Define.
43099 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43100 (AF_NFC): Define.
43101
cbff0d96
UD
43102 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43103 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43104 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43105 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43106 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43107
9191c04a
UD
43108 [BZ #13021]
43109 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43110 installed.
43111
bba33c28
UD
43112 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43113 typo.
43114 (_dl_x86_64_save_sse): Likewise.
43115
90f139dd
UD
431162011-07-22 Ulrich Drepper <drepper@gmail.com>
43117
1aae088a
UD
43118 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43119 OSXSAVE.
43120 (_dl_x86_64_save_sse): Likewise.
43121
8e2045f5
UD
43122 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43123
90f139dd
UD
43124 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43125
1d002f25
AS
431262011-07-21 Andreas Schwab <schwab@redhat.com>
43127
43128 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43129 change.
43130 (_dl_x86_64_save_sse): Use correct AVX check.
43131
21137f89
UD
431322011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43133
43134 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43135 bug in strncpy/strncat.
43136 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43137
a65c0b7a
UD
431382011-07-21 Ulrich Drepper <drepper@gmail.com>
43139
43140 * string/tester.c (test_strcat): Add tests for different alignments
43141 of source and destination.
43142 (test_strncat): Likewise.
43143
6986b98a
UD
431442011-07-20 Ulrich Drepper <drepper@gmail.com>
43145
90bb2039
UD
43146 [BZ #12852]
43147 * posix/glob.c (glob): Check passed in values before using them in
43148 expressions to avoid some overflows.
43149 (glob_in_dir): Likewise.
43150
5644ef54
UD
43151 [BZ #13007]
43152 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43153 check for AVX enablement so that we don't crash with old kernels and
43154 new hardware.
43155 * elf/tst-audit4.c: Add same checks here.
43156 * elf/tst-audit6.c: Likewise.
43157
43158 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 43159
bfc9dc9b
AS
431602011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43161
43162 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43163
702e64bb
UD
431642011-07-20 Ulrich Drepper <drepper@gmail.com>
43165
43166 * po/cs.po: Update from translation team.
43167 * po/bg.po: Likewise.
43168
295e904f
MP
431692011-07-12 Marek Polacek <mpolacek@redhat.com>
43170
43171 * misc/sys/cdefs.h: Add support for const attribute.
43172 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43173 to gnu_dev_{major,minor,makedev} functions.
43174
3ff94596
MP
431752011-07-20 Marek Polacek <mpolacek@redhat.com>
43176
43177 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43178
28b59fca
AS
431792011-07-20 Andreas Schwab <schwab@redhat.com>
43180
43181 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43182 strlen results.
43183
19df733e
AK
431842011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43185
43186 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43187 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43188 register in order to avoid conflicts with the soft frame pointer
43189 being held in r11 when necessary.
43190 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43191 (INTERNAL_VSYSCALL_NCS): Likewise.
43192
c8835729
MP
431932011-07-14 Marek Polacek <mpolacek@redhat.com>
43194
43195 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43196 * elf/dl-fini.c (_dl_fini): Adjust caller.
43197 * elf/dl-close.c (_dl_close_worker): Likewise.
43198 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43199
b902330c
MP
432002011-07-15 Marek Polacek <mpolacek@redhat.com>
43201
8991e135
MP
43202 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43203 "aux_cache->nlibs < 0".
43204
b902330c
MP
43205 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43206 in the reload-count case.
43207
99710781
LD
432082011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43209
43210 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43211 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43212 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43213 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43214 * sysdeps/x86_64/multiarch/strcat.S: New file.
43215 * sysdeps/x86_64/multiarch/strncat.S: New file.
43216 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43217 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43218 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43219 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43220 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43221 (USE_AS_STRCAT): Define.
43222 Add strcat and strncat support.
43223 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43224 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43225 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43226 * string/strncat.c: Update.
43227 (USE_AS_STRNCAT): Define.
43228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43229 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43230 and i7.
43231 * sysdeps/x86_64/multiarch/init-arch.h
43232 (bit_Prefer_PMINUB_for_stringop): New.
43233 (index_Prefer_PMINUB_for_stringop): Likewise.
43234 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43235 bit_Prefer_PMINUB_for_stringop.
43236
7dc6bd90
UD
432372011-07-19 Ulrich Drepper <drepper@gmail.com>
43238
43239 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43240 buffer64.
43241 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43242 of casting of buffer.
43243 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43244 buffer32 and buffer64.
43245 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43246 writes instead of casting of buffer.
43247 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43248 buffer32.
43249 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43250 casting of buffer.
43251
e0e72284
AS
432522011-07-19 Andreas Schwab <schwab@redhat.com>
43253
43254 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43255
feb1eb0b
UD
432562011-07-19 Ulrich Drepper <drepper@gmail.com>
43257
43258 * nscd/nscd.c (termination_handler): Don't do anything for a database
43259 if it has not yet been initialized.
43260
298711ff
UD
432612011-07-18 Ulrich Drepper <drepper@gmail.com>
43262
43263 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43264
432652011-07-15 Marek Polacek <mpolacek@redhat.com>
43266
43267 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43268
f9d68389
UD
432692011-07-18 Ulrich Drepper <drepper@gmail.com>
43270
43271 * po/nl.po: Update from translation team.
43272 * po/sv.po: Likewise.
43273
db290cf5
RM
432742011-07-16 Roland McGrath <roland@hack.frob.com>
43275
43276 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43277 now disallowed by GCC.
5c550700 43278
fd5e21c7
RM
43279 * configure.in (use-default-link): Default to yes if a test -shared
43280 link meets our qualifications.
43281 * configure: Regenerated.
43282
5c550700
RM
43283 * config.make.in (output-format): New variable.
43284 * configure.in: Check for ld --print-output-format support.
43285 * configure: Regenerated.
43286 * Makerules ($(common-objpfx)format.lds)
43287 [$(output-format) != unknown]: Just use $(output-format),
43288 instead of the linker-script munging.
43289
9fa2c032
RM
432902011-07-14 Roland McGrath <roland@hack.frob.com>
43291
a6928d51
RM
43292 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43293 of $(common-objpfx)shlib.lds.
43294 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43295
661607b3
RM
43296 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43297 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43298
9fa2c032
RM
43299 * configure.in (-z relro check): Adjust test code to add a large
43300 writable data section after it.
43301 * configure: Regenerated.
43302
defe9061
RM
433032011-07-11 Roland McGrath <roland@hack.frob.com>
43304
43305 * configure.in (-z relro check): Fix test code to make the variable
43306 truly const.
43307 * configure: Regenerated.
43308
319b9ad4
UD
433092011-07-11 Ulrich Drepper <drepper@gmail.com>
43310
43311 * nscd/nscd.h (struct traced_file): Define.
43312 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43313 elements. Add traced_files.
43314 (inotify_fd): Declare.
43315 (register_traced_file): Declare.
43316 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43317 (inotify_fd): Export.
43318 (resolv_conf_descr): Remove.
43319 (nscd_init): Move inotify descriptor creation to main.
43320 Don't register files for notification here.
43321 (register_traced_file): New function.
43322 (invalidate_cache): Don't use reset_res to determine whether to call
43323 res_init, go through the list of registered files.
43324 (main_loop_poll): The inotify descriptors are now stored in the
43325 structures for the traced files.
43326 (main_loop_epoll): Likewise
43327 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43328 to __nss_disable_nscd.
43329 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43330 for a database anymore. Check the records for all the registered
43331 files instead.
43332 * nss/Makefile (libnss_files-routines): Add files-init.
43333 (libnss_db-routines): Add db-init.
43334 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43335 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43336 * nss/nss_db/db-init.c: New file.
43337 * nss/nss_files/files-init.c: New file.
43338 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43339 __nss_lookup_function.
43340 (__nss_lookup_function): Call nss_load_library.
43341 (nss_load_all_libraries): New function.
43342 (__nss_disable_nscd): Take parameter with callback function for files
43343 to register. Set is_nscd. Load all the DSOs for the NSS modules
43344 used for the cached services.
43345 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43346 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43347 options for features to all the files in nscd.
43348
43349 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43350
23bee3e8
RM
433512011-07-10 Roland McGrath <roland@hack.frob.com>
43352
43353 * csu/elf-init.c (__libc_csu_init): Comment typo.
43354
46a5b7f0
UD
433552011-07-09 Ulrich Drepper <drepper@gmail.com>
43356
43357 * po/pl.po: Update from translation team.
43358 * po/ja.po: Likewise.
43359 * po/ru.po: Likewise.
43360 * po/ko.po: Likewise.
43361 * po/fr.po: Likewise.
43362
d30cf5bb
RM
433632011-07-09 Roland McGrath <roland@hack.frob.com>
43364
113ddea4
RM
43365 * configure.in (.ctors/.dtors header and trailer check):
43366 Use an empirical test on a built program.
43367 * configure: Regenerated.
43368
574920b4
RM
43369 * configure.in (-z relro check): Use an empirical test on a built DSO.
43370 Detect, but do not require, on ia64.
43371 * configure: Regenerated.
43372
d30cf5bb
RM
43373 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43374 Update tests that use readelf to use $READELF instead.
43375 * configure: Regenerated.
43376
8538fdb3
UD
433772011-07-08 Ulrich Drepper <drepper@gmail.com>
43378
43379 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43380 if the result is not used.
43381
04d08991
AJ
433822011-07-05 Andreas Jaeger <aj@suse.de>
43383
43384 [BZ#9696]
43385 * stdlib/tst-strtod.c: Add testcase.
43386
de283087
AD
433872011-07-07 Ulrich Drepper <drepper@gmail.com>
43388
4e5f31c8 43389 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 43390 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
43391 The latter has a higher limit. Take additional parameter to pass to
43392 the new function.
43393 (__pathconf): Pass file to __statfs_link_max.
43394 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43395 __statfs_link_max.
43396 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43397 __statfs_link_max.
43398
de283087
AD
43399 [BZ #12868]
43400 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43401 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43402 Handle Lustre.
43403 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43404 (__statfs_filesize_max): Likewise.
43405 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43406
c75fa153
AJ
434072011-07-05 Andreas Jaeger <aj@suse.de>
43408
43409 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43410
1a544854
UD
434112011-07-06 Marek Polacek <mpolacek@redhat.com>
43412
43413 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43414 `status' variable.
43415 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43416 Likewise.
43417
6f0eec67
UD
434182011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43419
43420 * Makefile (strop-tests): Add strncat.
43421 * string/test-strncat.c: New file.
43422
aae30307
UD
434232011-06-30 Marek Polacek <mpolacek@redhat.com>
43424
43425 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43426
c0cfb5eb
UD
434272011-06-21 Andreas Jaeger <aj@suse.de>
43428
43429 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43430 Copy rule from iconvdata/Makefile.
43431
01636b21
UD
434322011-07-06 Ulrich Drepper <drepper@gmail.com>
43433
43434 [BZ #12922]
43435 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43436 but no long options are defined, just return 'W'.
43437
9895c8bc
UD
434382011-06-22 Marek Polacek <mpolacek@redhat.com>
43439
43440 [BZ #9696]
43441 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43442
5d4cf042
UD
434432011-07-06 Ulrich Drepper <drepper@gmail.com>
43444
43445 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43446 netgroups to read.
960e5535 43447 (innetgr): Likewise.
5d4cf042 43448
751eb97e
RM
434492011-07-05 Roland McGrath <roland@hack.frob.com>
43450
43451 * config.make.in (install_root): Default to $(DESTDIR).
43452
f15f1e45
UD
434532011-07-05 Ulrich Drepper <drepper@gmail.com>
43454
43455 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43456
4e34ac6a
RM
434572011-07-02 Roland McGrath <roland@hack.frob.com>
43458
5e9b6af4
RM
43459 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43460
84f9ea0f
RM
43461 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43462 containing directory rather than embedding absolute directory names.
43463
ea5ee9f7
RM
43464 * scripts/check-local-headers.sh: Rewritten using awk.
43465 Match by word, not by line. Print error messages for matches.
43466 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43467
1b74661a
RM
43468 * Makerules [shlib-lds-flags empty]:
43469 ($(common-objpfx)libc_pic.opts): New target.
43470 ($(common-objpfx)libc_pic.os.clean): New target.
43471 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43472
43473 * config.make.in (OBJCOPY): New variable.
43474 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43475 * configure: Regenerated.
43476
f781ef40
RM
43477 * config.make.in (use-default-link): New variable.
43478 * configure.in (use_default_link): Grok --with-default-link to set it.
43479 * configure: Regenerated.
43480 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43481 (shlib-lds, shlib-lds-flags): Define to empty.
43482
2d4fa81e
RM
43483 * Makerules (shlib-lds): New variable.
43484 (shlib-lds-flags): New variable.
43485 (build-shlib, build-moduile, build-module-asneeded): Use it.
43486 ($(common-objpfx)libc.so): Use $(shlib-lds).
43487 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43488 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43489
31fffa6b
RM
43490 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43491 DT_FLAGS/DT_FLAGS_1 with zero flags.
43492
4e34ac6a
RM
43493 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43494 linker script munging.
43495
fcfc776b
UD
434962011-07-02 Ulrich Drepper <drepper@gmail.com>
43497
43498 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43499 as 128-bit value.
43500 * crypt/sha512.c (sha512_process_block): Perform total addition using
43501 128-bit if possible.
43502 (__sha512_finish_ctx): Likewise.
43503 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43504 as 64-bit value.
43505 * crypt/sha256.c (SWAP64): Define.
43506 (sha256_process_block): Perform total addition using 64-bit if
43507 possible.
43508 (__sha256_finish_ctx): Likewise.
43509
99231d9a
UD
435102011-07-01 Ulrich Drepper <drepper@gmail.com>
43511
43512 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43513 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43514 * nscd/hstcache.c (cache_addhst): Likewise.
43515 * nscd/grpcache.c (cache_addgr): Likewise.
43516 * nscd/aicache.c (addhstaiX): Likewise
43517 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43518
445b4a53
TK
435192011-07-01 Thorsten Kukuk <kukuk@suse.de>
43520
43521 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43522 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43523 * nscd/hstcache.c (cache_addhst): Likewise.
43524 * nscd/grpcache.c (cache_addgr): Likewise.
43525 * nscd/aicache.c (addhstaiX): Likewise
43526
6d4d8e8e
AS
435272011-07-01 Andreas Schwab <schwab@redhat.com>
43528
43529 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43530 domain only when needed.
43531
89f654c5
AS
435322011-06-30 Andreas Schwab <schwab@redhat.com>
43533
43534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43535 is always restored.
43536
cf3b23ff
UD
435372011-06-29 Ulrich Drepper <drepper@gmail.com>
43538
43539 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43540 are re-adding the entry.
43541 * nscd/servicescache.c (cache_addserv): Likewise.
43542
751626f9
AJ
435432011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43544
43545 * sysdeps/generic/dl-irel.h: fix protection against multiple
43546 inclusions.
43547 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43548
9113ea1f
UD
435492011-06-28 Ulrich Drepper <drepper@gmail.com>
43550
5c0b8d90
UD
43551 [BZ #12935]
43552 * malloc/memusage.sh: Fix quoting in message.
43553 * debug/xtrace.sh: Likewise.
43554
9113ea1f
UD
43555 * configure.in: Remove support for --experimental-malloc option, make
43556 it the default.
43557 * config.make.in: Likewise.
43558 * malloc/Makefile: Likewise.
43559
a4172181
AS
435602011-06-27 Andreas Schwab <schwab@redhat.com>
43561
43562 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43563 two-byte characters.
43564
78a7eee7
RM
435652011-06-27 Roland McGrath <roland@hack.frob.com>
43566
62bede13
RM
43567 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43568 AC_CACHE_CHECK invocation.
43569 * configure: Regenerated.
43570
78a7eee7
RM
43571 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43572
5ce33a62
UD
435732011-06-27 Ulrich Drepper <drepper@gmail.com>
43574
034807a9
UD
43575 [BZ #12350]
43576 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43577 bit from old_res_options.
43578
4902da17
UD
43579 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43580
5ce33a62
UD
43581 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43582 value type for setfct.
43583
c2344f56
L
435842011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43585
43586 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43587 __gettimeofday instead of gettimeofday.
43588
68468076
UD
435892011-06-26 Ulrich Drepper <drepper@gmail.com>
43590
43591 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43592
acb0d739
L
435932011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43594
43595 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43596
43597 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43598 info.
43599
8912479f
L
436002011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43601
43602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43603 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43604 strcpy-sse2-unaligned strncpy-sse2-unaligned
43605 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43606 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43607 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43608 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43609 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43610 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43611 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43612 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43613 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43614 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43615 (STRCPY): Support SSE2 and SSSE3 versions.
43616
d5495a11
UD
436172011-06-24 Ulrich Drepper <drepper@gmail.com>
43618
43619 [BZ #12874]
43620 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43621 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43622 kernels which artificially limit size of requests.
43623
0b1cbaae
L
436242011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43625
43626 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43627 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43628 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43629 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43630 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43631 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43632 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43633 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43634 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43635 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43636 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43637 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43638 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43639 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43640 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43642 Enable unaligned load optimization for Intel Core i3, i5 and i7
43643 processors.
43644 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43645 Define.
43646 (index_Fast_Unaligned_Load): Define.
43647 (HAS_FAST_UNALIGNED_LOAD): Define.
43648
07f494a0
MP
436492011-06-23 Marek Polacek <mpolacek@redhat.com>
43650
43651 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43652
fa3fc0fe
UD
436532011-06-22 Ulrich Drepper <drepper@gmail.com>
43654
43655 [BZ #12907]
43656 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43657 until it is clear that the information is realy needed.
43658 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43659
e12df166
AS
436602011-06-22 Andreas Schwab <schwab@redhat.com>
43661
43662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43663
852eb34d
UD
436642011-06-22 Ulrich Drepper <drepper@gmail.com>
43665
84e2a551
UD
43666 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43667 /sys/devices/system/cpu/online if it is usable.
43668
852eb34d
UD
43669 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43670 reading the information from the /proc filesystem to once a second.
43671
6e502e19
UD
436722011-06-21 Andreas Jaeger <aj@suse.de>
43673
43674 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43675 NULL after inclusion of kernel headers.
43676
75d39ff2
UD
436772011-06-21 Ulrich Drepper <drepper@gmail.com>
43678
51f9aa6a
UD
43679 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43680 calls to internal_setent.
43681
c0244a9d
UD
43682 [BZ #12885]
43683 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43684 addresses using gethostbyname4_r ignore IPv4 addresses.
43685
c5e3c2ae
UD
43686 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43687 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43688
75d39ff2
UD
43689 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43690
42675c6f
DM
436912011-06-20 David S. Miller <davem@davemloft.net>
43692
43693 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43694 inclusions.
43695 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43696
43697 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43698 (elf_irel): Use it.
43699 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43700 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43701 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43702 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43703 * sysdeps/x86_64/dl-irel.h: Likewise.
43704
43705 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43706 * elf/dl-sym.c: Likewise.
43707
57912a71
UD
437082011-06-15 Ulrich Drepper <drepper@gmail.com>
43709
43710 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43711 need to dereference resplen2.
43712
ee22793d
AS
437132011-06-14 Andreas Schwab <schwab@redhat.com>
43714
43715 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43716
a9e836b0
UD
437172011-06-15 Ulrich Drepper <drepper@gmail.com>
43718
77fb9117
UD
43719 * Makeconfig: Define vardbdir and inst_vardbdir.
43720 * nss/Makefile: Add rules to install db-Makefile.
43721
40c1b22c
UD
43722 * nss/nss_db/db-XXX.c: Cleanup.
43723
9f2da732
UD
43724 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43725 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43726 GLIBC_PRIVATE.
43727 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43728 * nss/makedb.c: Implement -g option to specify that value strings
43729 are generated and should not be added to table iterated over for
43730 get*ent calls.
43731 * nss/nss_db/db-initgroups.c: New file.
43732
82e9a1f7
UD
43733 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43734 interface.
43735
c41af17e
UD
43736 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43737 (internal_getgrouplist): Adjust to name change.
43738 Update use_initgroups_entry if this is not the first call.
43739 * nss/databases.def: Add initgroups entry.
43740
a9e836b0
UD
43741 * nss/makedb.c (compute_tables): Check result of multiple hash table
43742 sizes to minimize maximum chain length.
43743
2666d441
UD
437442011-06-14 Ulrich Drepper <drepper@gmail.com>
43745
43746 * Versions.def: Add entry for libnss_db.
43747 * shlib-versions: Likewise.
43748 * nss/Makefile: Add rules to build libnss_db.
43749 * nss/Versions: Add libnss_db information. Organize libnss_files
43750 entries better.
43751 * nss/db-Makefile: Add gshadow support. Change rules for the new
43752 makedb progra. Some minor improvements to generate smaller files.
43753 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43754 here from...
43755 * nss/makedb.c: ...here.
43756 Improve database format to be smaller and require less memory at
43757 runtime.
43758 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43759 db anymore.
43760 * nss/nss_db/db-netgrp.c: Likewise.
43761 * nss/nss_db/db-open.c: Likewise.
43762 * nss/nss_files/flies-XXX.x: Adjust comments.
43763 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43764 * nss/nss_files/files-grp.c: Likewise.
43765 * nss/nss_files/files-hosts.c: Likewise.
43766 * nss/nss_files/files-network.c: Likewise.
43767 * nss/nss_files/files-proto.c: Likewise.
43768 * nss/nss_files/files-pwd.c: Likewise.
43769 * nss/nss_files/files-rpc.c: Likewise.
43770 * nss/nss_files/files-service.c: Likewise.
43771 * nss/nss_files/files-sgrp.c: Likewise.
43772 * nss/nss_files/files-spwd.c: Likewise.
43773 * nss/nss_db/db-alias.c: Removed.
43774 * nss/nss_db/dummy-db.h: Removed.
43775
9ee76b5a
UD
437762011-06-02 Ulrich Drepper <drepper@gmail.com>
43777
43778 * nss/makedb.c: Rewritten to not use database library.
43779 * nss/Makefile: Update to build new makedb program.
43780
c71ca1f8
AJ
437812011-06-14 Andreas Jaeger <aj@suse.de>
43782
43783 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43784 memset declaration.
43785
3154bfb8
UD
437862011-06-10 Andreas Schwab <schwab@redhat.com>
43787
43788 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43789 tmpbuf.
43790
b350afab
RM
437912011-06-10 Roland McGrath <roland@hack.frob.com>
43792
decd4e50
RM
43793 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43794 * elf/Makefile ($(objpfx)ld.so): Likewise.
43795
5615eaf2
RM
43796 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43797 Don't list ld.so twice in dependencies.
43798
43799 * posix/bug-regex31.c: Include <stdlib.h>.
43800
43801 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43802
43803 * nis/nss_compat/compat-spwd.c
43804 (getspent_next_nss_netgr): Remove unused variable.
43805 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43806
43807 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43808 nonmembers" output to use the right array.
43809
43810 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43811
43812 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43813
43814 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43815 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43816 * catgets/gencat.c (read_input_file): Likewise.
43817 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43818
43819 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43820 variable definition inside #if's controlling its use.
43821
43822 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43823
43824 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43825
43826 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43827
43828 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43829 unreachable code.
43830
43831 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43832
b68e08db
RM
43833 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43834 * configure: Regenerated.
43835
b350afab
RM
43836 * Makerules: Revert last change.
43837 * elf/Makefile: Likewise.
43838
28368601
RM
438392011-06-09 Roland McGrath <roland@hack.frob.com>
43840
43841 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43842 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43843 (reloc-link): Likewise.
43844
11988f8f
UD
438452011-06-09 Ulrich Drepper <drepper@gmail.com>
43846
43847 * elf/Makefile: Add rules to build pldd.
43848 * elf/pldd.c: New file.
43849 * elf/pldd-xx.c: New file.
43850
e80fab37
UD
438512011-06-07 Ulrich Drepper <drepper@gmail.com>
43852
43853 * version.h: Update for 2.15 development version.
43854
9b849836
DM
438552011-06-07 David S. Miller <davem@davemloft.net>
43856
43857 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43858 ifuncs.
43859 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43860 elf_machine_lazy_rel): Likewise.
43861 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43862 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43863 elf_machine_lazy_rel): Likewise.
43864 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43865 dl_hwcap via passed in argument.
43866 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43867 Likewise.
43868
5a31b283
AK
438692011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43870
43871 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43872
069e52f8
RM
438732011-06-06 Roland McGrath <roland@hack.frob.com>
43874
43875 [BZ #12849]
43876 * manual/fdl-1.1.texi: New file, verbatim from:
43877 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43878 * manual/lgpl-2.1.texi: New file, verbatim from:
43879 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43880 * manual/Makefile (licenses): New variable, list those new file names.
43881 (texis): Use it.
43882 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43883
43884 * manual/fdl.texi: File removed.
43885 * manual/lesser.texi: File removed.
43886 * manual/libc.texinfo (Copying, Documentation License):
43887 Use new @include file names, put @appendix directive before @include.
43888
f16846a5
JJ
438892011-06-04 Jakub Jelinek <jakub@redhat.com>
43890
43891 [BZ #12841]
43892 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43893 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43894 (mq_open): Add __NTH.
43895
3d29045b
L
438962011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43897
43898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43899 Assume Intel Core i3/i5/i7 processor if AVX is available.
43900
8c297311
UD
439012011-05-31 Ulrich Drepper <drepper@gmail.com>
43902
43903 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43904 typo.
43905
c8fc0c91
UD
439062011-05-31 Andreas Schwab <schwab@redhat.com>
43907
43908 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43909 memory. Use alloca_account. Fix memory leak when retrying.
43910
5b27a807
UD
439112011-05-31 Ulrich Drepper <drepper@gmail.com>
43912
356f8bc6
UD
43913 * version.h (RELEASE): Bump for 2.14 release.
43914 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43915
5b27a807
UD
43916 * config.make.in (RANLIB): Remove entry.
43917
01f16ab0
UD
439182011-05-30 Ulrich Drepper <drepper@gmail.com>
43919
41fce8bd
UD
43920 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43921 (libc.pot): Work around missing support for .ksh extension in xgettext.
43922
4769ae77
UD
43923 [BZ #12684]
43924 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43925 if both request failed.
43926 (send_dg): In case of server errors clear resplen or *resplen2.
43927
6b1e7d19
UD
43928 [BZ #12454]
43929 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43930 when there are multiple maps.
43931 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43932 (_dl_fini): Remove test here.
43933
01f16ab0
UD
43934 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43935
b1ebd700
UD
439362011-05-29 Ulrich Drepper <drepper@gmail.com>
43937
7ae22829
UD
43938 [BZ #12350]
43939 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43940 bit from old_res_options.
43941 (gaih_inet): Likewise.
43942
553149f6 43943 [BZ #11099]
18a84741 43944 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
43945 as signed.
43946
652ffab1
UD
43947 * resolv/res_init.c (res_setoptions): Make the code more compact.
43948
16985fd0
UD
43949 [BZ #11558]
43950 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43951 set RES_USEVC.
43952
0464f746
UD
43953 [BZ #11634]
43954 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43955
7d17596c
UD
43956 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43957
cf6bbbd7
UD
43958 [BZ #11781]
43959 * malloc/malloc.h: Declare malloc hook variables as volatile.
43960
13f1ab36
UD
43961 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43962 in last patch.
43963
b1ebd700
UD
43964 [BZ #11799]
43965 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 43966 raise in the comment.
80e2212d
UD
43967 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43968 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43969 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 43970
ce67228d
UD
439712011-05-28 Ulrich Drepper <drepper@gmail.com>
43972
8887a920
UD
43973 [BZ #12811]
43974 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43975 grow the buffers more if it already has to be sufficient.
43976 (build_wcs_upper_buffer): Likewise.
43977 * posix/regexec.c (check_matching): Likewise.
43978 (clean_state_log_if_needed): Likewise.
43979 (extend_buffers): Don't enlarge buffers beyond size of the input
43980 buffer.
43981 Patches mostly by Emil Wojak <emil@wojak.eu>.
43982 * posix/bug-regex32.c: New file.
43983 * posix/Makefile (tests): Add bug-regex32.
43984
4f031072
UD
43985 * locale/findlocale.c (_nl_find_locale): Return right away if
43986 _nl_explode_name failed.
43987 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43988
d0478f0c
UD
43989 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43990
de81b246
UD
43991 * debug/xtrace.sh: Unify messages.
43992 * malloc/memusage.sh: Likewise.
43993
c738465a
UD
43994 [BZ #12813]
43995 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43996 time symbol from vDSO. Substitute with vsyscall if not available.
43997 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43998 __vdso_time.
43999
f1f929d7
UD
44000 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44001 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44002 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44003 Add sendmmsg and internal_sendmmsg.
44004 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44005 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44006 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44007
ce67228d
UD
44008 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44009 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44010 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44011
e57420c6
UD
440122011-05-27 Ulrich Drepper <drepper@gmail.com>
44013
a8509ca5
UD
44014 [BZ #12813]
44015 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44016 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44017 available.
44018 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44019 __vdso_getcpu.
44020
e57420c6
UD
44021 [BZ #12814]
44022 * iconvdata/Makefile (tests): Add bug-iconv9.
44023 * iconvdata/bug-iconv9.c: New file.
44024
4d07db15
AS
440252011-05-27 Andreas Schwab <schwab@redhat.com>
44026
44027 [BZ #12814]
44028 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44029
ea486f69
JJ
440302011-05-25 Jakub Jelinek <jakub@redhat.com>
44031
44032 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44033 (struct user_regs_struct): Change intcs field back to cs.
44034
6f038433
UD
440352011-05-25 Ulrich Drepper <drepper@gmail.com>
44036
44037 * po/ja.po: Update from translation team.
44038
67f86a25
UD
440392011-05-23 Ulrich Drepper <drepper@gmail.com>
44040
44041 [BZ #12795]
44042 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44043 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44044
def7fbd6
AS
440452011-05-20 Andreas Schwab <schwab@redhat.com>
44046
44047 * stdlib/longlong.h: Update from GCC.
44048
f50ef8f1
AS
440492011-05-23 Andreas Schwab <schwab@redhat.com>
44050
44051 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44052 parameter name.
44053 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44054 Add parameter name.
44055 (__sysconf): Pass it down.
44056
de7ce8f1
UD
440572011-05-22 Ulrich Drepper <drepper@gmail.com>
44058
f2962a71
UD
44059 [BZ #12671]
44060 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44061 some situations.
44062 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44063 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44064 add in in __libc_use_alloca calls. Adjust callers.
44065 (glob): Use malloc in some situations.
44066
de7ce8f1
UD
44067 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44068 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44069 pltexit.
44070
aec84f53
UD
440712011-05-21 Ulrich Drepper <drepper@gmail.com>
44072
05bb4a68
UD
44073 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44074 and CLOCK_BOOTTIME_ALARM.
44075
7ea72f99
UD
44076 [BZ #12782]
44077 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44078 is returned.
44079
7e4afad5
UD
44080 * string/_strerror.c (__strerror_r): Print negative errors as signed
44081 numbers.
44082
8e211fec
UD
44083 [BZ #12777]
44084 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44085 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44086 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44087
f7d82dc9
UD
44088 * configure.in: Fix typo in redirection and correct removal of test
44089 files in two cases.
44090
cc9e536d
UD
44091 [BZ #12788]
44092 * locale/setlocale.c (new_composite_name): Fix test to check for
44093 identical name of all categories.
44094
aec84f53
UD
44095 [BZ #12792]
44096 * libio/filedoalloc.c (local_isatty): New function.
44097 (_IO_file_doallocate): Use local_isatty.
44098 * stdio-common/perror.c (perror): In case a new stream is used
44099 forward the stream error.
44100 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44101 error flag.
44102
78e64fdc
RT
441032011-05-20 Ulrich Drepper <drepper@gmail.com>
44104
34a9094f
UD
44105 [BZ #11869]
44106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44107 alloca.
44108 * include/alloca.h (extend_alloca_account): Define.
44109
78e64fdc
RT
44110 [BZ #11857]
44111 * posix/regex.h: Fix comments with documentation of user-accessible
44112 fields after compilation and describe correct free'ing of pattern
44113 after re_compile_pattern.
44114 Patch by Reuben Thomas <rrt@sc3d.org>.
44115
457bddfc
RA
441162011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44117
44118 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44119 and -mno-altivec to prevent the compiler from using Altivec and/or
44120 VSX instructions when the corresponding registers are not available.
44121
a4527b51
AS
441222011-05-19 Andreas Schwab <schwab@redhat.com>
44123
44124 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44125
ed690b2f
UD
441262011-05-19 Ulrich Drepper <drepper@gmail.com>
44127
44128 * libio/freopen.c (freopen): Use __dup2, not dup2.
44129 * libio/freopen64.c (freopen64): Likewise.
44130
8db73634
L
441312011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44132
44133 [BZ #12775]
44134 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44135 * math/Makefile (tests): Add test-powl.
44136 (CFLAGS-test-powl.c): Define.
44137 * math/test-powl.c: New file.
44138
0a197a9d
L
441392011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44140
44141 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44142
ee30c380
UD
441432011-05-17 Ulrich Drepper <drepper@gmail.com>
44144
44145 [BZ #11837]
44146 * iconvdata/gb18030.c: Update to GB18020-2005.
44147
6ce75379
UD
441482011-05-16 Ulrich Drepper <drepper@gmail.com>
44149
a4b89fd8
AR
44150 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44151 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44152 Patch by Aharon Robbins <arnold@skeeve.com>.
44153
ea389b12
UD
44154 [BZ #11892]
44155 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44156 on the stack.
44157
68a3f91f
UD
44158 [BZ #11895]
44159 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44160 through underflows.
44161
15cc7dd1
UD
44162 [BZ #12766]
44163 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44164 point to strings before performing equality test for error_one_per_line
44165 mode.
44166
f3799213
UD
44167 [BZ #11697]
44168 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44169
d79a9c94
UD
44170 [BZ #11820]
44171 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44172 (struct user_fpregs_struct): Avoid __uint*_t types.
44173
56e5eb46
UD
44174 [BZ #6420]
44175 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44176 symbol info. Use it instead of calling _dl_addr locally.
44177 (lock_and_info): New function.
44178 (tr_freehook): Call lock_and_info and pass symbol info as additional
44179 parameter to tr_where.
44180 (tr_mallochook): Likewise.
44181 (tr_reallochook): Likewise.
44182 (tr_memalignhook): Likewise.
44183
6ce75379
UD
44184 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44185 used and couldn't be at all thread-safe.
44186
f8a3b5bf
UD
441872011-05-15 Ulrich Drepper <drepper@gmail.com>
44188
94b7cc37
UD
44189 * libio/freopen.c (freopen): Don't close old file descriptor
44190 before the new one is opened. Instead dup the new file descriptor
44191 to the old one after the new stream is created.
44192 * libio/freopen64.c (freopen64): Likewise.
44193 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44194 * libio/fileops.c (_IO_new_file_close_it): Handle new
44195 _IO_FLAGS2_NOCLOSE flag.
44196 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44197 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44198 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44199 _IO_FLAGS2_NOCLOSE flag.
44200 * include/unistd.h: Add hidden_proto for dup3.
44201 Define __have_dup3.
44202 * io/dup3.c: Define hidden symbol.
44203 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44204
bd25564e
UD
44205 [BZ #7101]
44206 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44207 when an incomplete long option is used.
44208 * posix/tst-getopt_long1.c: New file.
44209 * posix/Makefile (tests): Add tst-getopt_long1.
44210
c84cfef4
UD
44211 [BZ #10138]
44212 * scripts/config.guess: Update from autoconf-2.68.
44213 * scripts/config.sub: Likewise.
44214
3b85df27
UD
44215 [BZ #10157]
44216 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44217 tests into ...
44218 (has_cpuclock): ...this. New function.
44219 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44220 macro here based on has_cpuclock code.
44221
15a856b1
UD
44222 [BZ #10149]
44223 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44224 First byte (not low byte) is now always NUL.
44225 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44226
05f399e6
UD
44227 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44228 Use non-cancelable interfaces.
44229
10a52685 44230 [BZ #9809]
94ecc67d
UD
44231 * locale/iso-639.def: Add entry for Sorani.
44232
f8a3b5bf
UD
44233 [BZ #11901]
44234 * include/stdlib.h: Move include protection to the right place.
44235 Define abort_msg_s. Declare __abort_msg with it.
44236 * stdlib/abort.c (__abort_msg): Adjust type.
44237 * assert/assert.c (__assert_fail_base): New function. Majority
44238 of code from __assert_fail. Allocate memory for __abort_msg with
44239 mmap.
44240 (__assert_fail): Now call __assert_fail_base.
44241 * assert/assert-perr.c: Remove bulk of implementation. Use
44242 __assert_fail_base.
44243 * include/assert.hL Declare __assert_fail_base.
44244 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44245 mmap.
44246 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44247
1af4e298
UD
442482011-05-14 Ulrich Drepper <drepper@gmail.com>
44249
f8a3b5bf 44250 [BZ #11952]
d26dfc60
MG
44251 [BZ #12453]
44252 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44253 until all modules are registered in the DTV.
44254 * elf/Makefile: Add rules to build and run tst-tls19.
44255 * elf/tst-tls19.c: New file.
44256 * elf/tst-tls19mod1.c: New file.
44257 * elf/tst-tls19mod2.c: New file.
44258 * elf/tst-tls19mod3.c: New file.
44259 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44260
2fc54d6f
UD
44261 [BZ #12083]
44262 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44263 correctly.
44264
98d76b46
UD
44265 [BZ #12601]
44266 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44267 two-byte sequence errors.
44268 * iconvdata/Makefile (tests): Add bug-iconv8.
44269 * iconvdata/bug-iconv8.c: New file.
44270
da3c19ef
UD
44271 [BZ #12626]
44272 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44273 buf2 definition.
44274
ca408c15
UD
44275 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44276
d6f67f7d
UD
44277 [BZ #12432]
44278 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44279 (dummy_getcfa): New function.
44280 (init): Get _Unwind_GetCFA address, use dummy if not found.
44281 (backtrace_helper): In recursion check, also check whether CFA changes.
44282 (__backtrace): Completely initialize arg.
44283
1af4e298 44284 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
44285 storing incomplete byte sequence in state object. Avoid testing for
44286 guaranteed too small input if we know there is enough data available.
1af4e298 44287
da62f81b
AS
442882011-05-11 Andreas Schwab <schwab@redhat.com>
44289
44290 * Makeconfig (+link-pie): Indent.
44291 * Rules (binaries-pie): Define if $(have-fpie) and
44292 $(build-shared).
44293 (binaries-shared): Also filter out $(binaries-pie).
44294 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44295 * nscd/Makefile (others-pie): Add nscd.
44296 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44297 ($(objpfx)nscd): Remove command override.
44298 * login/Makefile (others-pie): Add pt_chown.
44299 ($(objpfx)pt_chown): Remove command override.
44300 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44301 remove command overrides.
44302
fcabc0f8
UD
443032011-05-13 Ulrich Drepper <drepper@gmail.com>
44304
20030ae6
UD
44305 * libio/tst_putwc.c: Fix error messages.
44306
fcabc0f8
UD
44307 [BZ #12724]
44308 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44309 currently writing and seek to current position when not.
44310 * libio/Makefile (tests): Add bug-fclose1.
44311 * libio/bug-fclose1.c: New file.
44312
320a5dc0
PB
443132011-05-12 Ulrich Drepper <drepper@gmail.com>
44314
44315 [BZ #12511]
44316 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44317 don't set DF_1_NODELETE here.
44318 (do_lookup_x): When entering new entry test for copy relocation
44319 and if necessary set DF_1_NODELETE flag.
44320 * elf/tst-unique4.cc: New file.
44321 * elf/tst-unique4.h: New file.
44322 * elf/tst-unique4lib.cc: New file.
44323 * elf/Makefile: Add rules to build and run tst-unique4.
44324 Patch by Piotr Bury <pbury@goahead.com>.
44325
22836f52
UD
443262011-05-11 Ulrich Drepper <drepper@gmail.com>
44327
f574184a
UD
44328 [BZ #12052]
44329 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44330
e1fb097f
UD
44331 [BZ #12625]
44332 * misc/mntent_r.c (addmntent): Flush the stream after the output
44333
22836f52
UD
44334 [BZ #12393]
44335 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44336 (is_trusted_path_normalize): Skip initial colon. Append slash
44337 to empty buffer. Duplicate is_trusted_path code but allow
44338 constructed patch to be prefix.
44339 (is_dst): Allow $ORIGIN followed by /.
44340 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44341 Correct testing of result of is_trusted_path_normalize
44342 (decompose_rpath): Fix warning.
44343
7b3b0b2a
UD
443442011-05-10 Ulrich Drepper <drepper@gmail.com>
44345
44346 [BZ #11257]
44347 * grp/initgroups.c (internal_getgrouplist): When we found the service
44348 list through the initgroups entry in nsswitch.conf do not always
44349 continue on a successful lookup. Don't always use the
eac80ce2 44350 __nss_group_database value if it is set.
7b3b0b2a
UD
44351 * nss/nsswitch.conf (initgroups): Change action for successful db
44352 lookup to continue for compatibility.
44353
2a81eaa5
UD
443542011-05-09 Ulrich Drepper <drepper@gmail.com>
44355
be97a69e
UD
44356 [BZ #11532]
44357 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44358 and CP774 modules.
44359 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44360 and CP774 modules.
44361 * iconvdata/tst-tables.sh: Likewise.
44362 * iconvdata/cp770.c: New file.
44363 * iconvdata/cp771.c: New file.
44364 * iconvdata/cp772.c: New file.
44365 * iconvdata/cp773.c: New file.
44366 * iconvdata/cp774.c: New file.
44367 * iconvdata/testdata/CP770: New file.
44368 * iconvdata/testdata/CP770..UTF8: New file.
44369 * iconvdata/testdata/CP771: New file.
44370 * iconvdata/testdata/CP771..UTF8: New file.
44371 * iconvdata/testdata/CP772: New file.
44372 * iconvdata/testdata/CP772..UTF8: New file.
44373 * iconvdata/testdata/CP773: New file.
44374 * iconvdata/testdata/CP773..UTF8: New file.
44375 * iconvdata/testdata/CP774: New file.
44376 * iconvdata/testdata/CP774..UTF8: New file.
44377
44378 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44379 END CHARMAP line.
44380 * iconvdata/gen-8bit-gap.sh: Likewise.
44381 * iconvdata/gen-8bit.sh: Likewise.
44382
c1e9e399
UD
44383 * locale/iso-639.def: Add ary entry.
44384
24c55fb3 44385 [BZ #11258]
96b4b1b0
UD
44386 * locale/C-translit.h.in: Add U20A1 transliteration.
44387
bdc2f971
KB
44388 [BZ #12178]
44389 * locale/iso-639.def: Add wae entry.
44390 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44391
2952b117
UD
44392 [BZ #12545]
44393 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44394 for n.
44395
2a81eaa5
UD
44396 [BZ #12711]
44397 * locale/C-translit.h.in: Add entry for U20B9.
44398 Patch by pravin.d.s@gmail.com.
44399
28377d1b
UD
444002011-05-08 Ulrich Drepper <drepper@gmail.com>
44401
7fb90fb8
UD
44402 [BZ #12713]
44403 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44404 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
44405 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44406 in rtld. Use *stat64.
7fb90fb8 44407 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 44408 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 44409 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
44410 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44411 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44412 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44413 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44414 __fstatat64 macros.
7fb90fb8
UD
44415 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44416 * dirent/rewinddir.c: Add libc_hidden_def.
44417 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 44418 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 44419
28377d1b
UD
44420 * include/dirent.h (__alloc_dir): Add flags parameter.
44421 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44422 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44423 __alloc_dir.
44424 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44425 from fdopendir if O_CLOEXEC is already set.
44426
66bdbaa4
AM
444272011-03-15 Alan Modra <amodra@gmail.com>
44428
44429 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44430 l_tls_firstbyte_offset non-zero. Save padding offset in
44431 l_tls_firstbyte_offset for later use.
44432 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44433 freeing static tls block.
44434
95721191
JN
444352011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44436
44437 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44438 where #ifdef was intended. The intent is to prevent ARG_MAX from
44439 being defined by the kernel headers.
44440
f87dfb1f
UD
444412011-05-07 Ulrich Drepper <drepper@gmail.com>
44442
44443 [BZ #12734]
44444 * resolv/resolv.h: Define RES_NOTLDQUERY.
44445 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44446 no-tld-query and set RES_NOTLDQUERY.
44447 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44448 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44449 modern BIND to search name as TLD unless forbidden.
44450
47c3cd7a
UD
444512011-05-07 Petr Baudis <pasky@suse.cz>
44452 Ulrich Drepper <drepper@gmail.com>
44453
44454 [BZ #12393]
44455 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44456 (is_trusted_path): ...to here.
c1e9ea35 44457 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 44458 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 44459 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 44460
8a35c912
PP
444612011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44462
44463 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44464 __BEGIN/__END_DECLS.
44465
acd41f47
UD
444662011-05-06 Ulrich Drepper <drepper@gmail.com>
44467
44468 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44469 NSS_STATUS_NOTFOUND if no record was found.
44470
597df647
AS
444712011-05-05 Andreas Schwab <schwab@redhat.com>
44472
44473 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44474 (headers-not-in-tirpc): Remove rpc/netdb.h
44475 * resolv/netdb.h: Revert last change.
44476
b9af1301
PP
444772011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44478
44479 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44480 circular dependency between libgcc.a and libc.a.
44481
4e34d5f5
AS
444822011-05-05 Andreas Schwab <schwab@redhat.com>
44483
44484 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44485 * nis/Makefile: Don't install rpcsvc/*.
44486 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44487 instead of <rpc/types.h>.
44488 (MAXHOSTNAMELEN): Define.
44489
00ee369c
AS
444902011-05-03 Andreas Schwab <schwab@redhat.com>
44491
44492 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44493
0b592a30
MB
444942011-04-28 Maciej Babinski <mbabinski@google.com>
44495
44496 [BZ #12714]
44497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44498 gethostbyname4_r when IPv6 results are possible.
44499
6e04cbbe
UD
445002011-05-02 Ulrich Drepper <drepper@gmail.com>
44501
44502 [BZ #12723]
44503 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44504 _PC_PIPE_BUF handling.
44505
e4ecafe0
BH
445062011-04-30 Bruno Haible <bruno@clisp.org>
44507
44508 [BZ #12717]
44509 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44510 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44511 to 'int'.
44512 * inet/getnameinfo.c (getnameinfo): Likewise.
44513
125ee683
UD
445142011-04-29 Ulrich Drepper <drepper@gmail.com>
44515
44516 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44517 to groups setting in database lookup.
44518 * nss/nsswitch.conf: Add initgroups entry.
44519
b722481a
EB
445202011-04-22 Ulrich Drepper <drepper@gmail.com>
44521
44522 [BZ #12685]
44523 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44524 mode string.
44525 Patch by Eric Blake <eblake@redhat.com>.
44526
4df46dbd
L
445272011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44528
44529 * sunrpc/Makefile (need-export-routines): Add svc_run.
44530 (routines): Remove svc_run.
44531 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44532 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44533 * sunrpc/svc_run.c (svc_run): Likewise.
44534 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44535
e84142d2
UD
445362011-04-21 Ulrich Drepper <drepper@gmail.com>
44537
44538 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44539 problem in reallocation in last patch.
44540
877175d8
UD
445412011-04-20 Ulrich Drepper <drepper@gmail.com>
44542
44543 * sunrpc/Makefile: Move inclusion of Rules.
44544
ab8eed78
UD
445452011-04-19 Ulrich Drepper <drepper@gmail.com>
44546
44547 * nss/nss_files/files-initgroups.c: New file.
44548 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44549 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44550 _nss_files_initgroups_dyn.
44551
e3d8f584
RS
445522011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44553
44554 * elf/elf.h (R_ARM_IRELATIVE): Define.
44555
af190f45
UD
445562011-04-19 Ulrich Drepper <drepper@gmail.com>
44557
44558 * po/ru.po: Update from translation team.
44559
53cf59ef
UD
445602011-04-17 Ulrich Drepper <drepper@gmail.com>
44561
44562 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44563 dependencies.
44564
4c559bcd
MF
445652011-02-06 Mike Frysinger <vapier@gentoo.org>
44566
44567 [BZ #12653]
44568 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44569 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44570 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44571 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44572 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44573
4420675c
AS
445742011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44575
44576 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44577 differing bytes.
44578 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44579 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44580 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44581
75ea32ab
UD
445822011-04-17 Ulrich Drepper <drepper@gmail.com>
44583
44584 [BZ #12420]
44585 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44586 storing it.
44587 * stdlib/bug-getcontext.c: New file.
44588 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44589
27390476
AK
445902011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44591
44592 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44593 instructions into .machine "z9-109".
44594 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44595 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44596
10442705
AK
445972011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44598
44599 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44600 between environment variables and auxiliary vector.
44601
7b57bfe5
UD
446022011-04-16 Ulrich Drepper <drepper@gmail.com>
44603
44604 * Makefile: Add rules to build linkobj/libc.so.
44605 * include/libc-symbols.h: Define libc_hidden_nolink.
44606 * include/rpc/auth.h: Mark functions which are to be hidden.
44607 * include/rpc/auth_des.h: Likewise.
44608 * include/rpc/auth_unix.h: Likewise.
44609 * include/rpc/clnt.h: Likewise.
44610 * include/rpc/des_crypt.h: Likewise.
44611 * include/rpc/key_prot.h: Likewise.
44612 * include/rpc/pmap_clnt.h: Likewise.
44613 * include/rpc/pmap_prot.h: Likewise.
44614 * include/rpc/pmap_rmt.h: Likewise.
44615 * include/rpc/rpc_msg.h: Likewise.
44616 * include/rpc/svc.h: Likewise.
44617 * include/rpc/svc_auth.h: Likewise.
44618 * include/rpc/xdr.h: Likewise.
44619 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44620 * nss/Makefile: Likewise.
44621 * sunrpc/Makefile: Don't install headers. Build library with normal
44622 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44623 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44624 for the compat linking library. Remove use of INTDEF/INTUSE.
44625 * sunrpc/auth_none.c: Likewise.
44626 * sunrpc/auth_unix.c: Likewise.
44627 * sunrpc/authdes_prot.c: Likewise.
44628 * sunrpc/authuxprot.c: Likewise.
44629 * sunrpc/clnt_gen.c: Likewise.
44630 * sunrpc/clnt_perr.c: Likewise.
44631 * sunrpc/clnt_raw.c: Likewise.
44632 * sunrpc/clnt_simp.c: Likewise.
44633 * sunrpc/clnt_tcp.c: Likewise.
44634 * sunrpc/clnt_udp.c: Likewise.
44635 * sunrpc/clnt_unix.c: Likewise.
44636 * sunrpc/des_crypt.c: Likewise.
44637 * sunrpc/des_soft.c: Likewise.
44638 * sunrpc/get_myaddr.c: Likewise.
44639 * sunrpc/key_call.c: Likewise.
44640 * sunrpc/key_prot.c: Likewise.
44641 * sunrpc/netname.c: Likewise.
44642 * sunrpc/pm_getmaps.c: Likewise.
44643 * sunrpc/pm_getport.c: Likewise.
44644 * sunrpc/pmap_clnt.c: Likewise.
44645 * sunrpc/pmap_prot.c: Likewise.
44646 * sunrpc/pmap_prot2.c: Likewise.
44647 * sunrpc/pmap_rmt.c: Likewise.
44648 * sunrpc/publickey.c: Likewise.
44649 * sunrpc/rpc_cmsg.c: Likewise.
44650 * sunrpc/rpc_common.c: Likewise.
44651 * sunrpc/rpc_dtable.c: Likewise.
44652 * sunrpc/rpc_prot.c: Likewise.
44653 * sunrpc/rpc_thread.c: Likewise.
44654 * sunrpc/rtime.c: Likewise.
44655 * sunrpc/svc.c: Likewise.
44656 * sunrpc/svc_auth.c: Likewise.
44657 * sunrpc/svc_authux.c: Likewise.
44658 * sunrpc/svc_raw.c: Likewise.
44659 * sunrpc/svc_run.c: Likewise.
44660 * sunrpc/svc_simple.c: Likewise.
44661 * sunrpc/svc_tcp.c: Likewise.
44662 * sunrpc/svc_udp.c: Likewise.
44663 * sunrpc/svc_unix.c: Likewise.
44664 * sunrpc/svcauth_des.c: Likewise.
44665 * sunrpc/xcrypt.c: Likewise.
44666 * sunrpc/xdr.c: Likewise.
44667 * sunrpc/xdr_array.c: Likewise.
44668 * sunrpc/xdr_float.c: Likewise.
44669 * sunrpc/xdr_intXX_t.c: Likewise.
44670 * sunrpc/xdr_mem.c: Likewise.
44671 * sunrpc/xdr_rec.c: Likewise.
44672 * sunrpc/xdr_ref.c: Likewise.
44673 * sunrpc/xdr_sizeof.c: Likewise.
44674 * sunrpc/xdr_stdio.c: Likewise.
44675
e6c61494
UD
446762011-04-10 Ulrich Drepper <drepper@gmail.com>
44677
44678 [BZ #12650]
44679 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44680 * sysdeps/ia64/dl-tls.h: Likewise.
44681 * sysdeps/powerpc/dl-tls.h: Likewise.
44682 * sysdeps/s390/dl-tls.h: Likewise.
44683 * sysdeps/sh/dl-tls.h: Likewise.
44684 * sysdeps/sparc/dl-tls.h: Likewise.
44685 * sysdeps/x86_64/dl-tls.h: Likewise.
44686 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44687
34fe483e
AS
446882011-03-14 Andreas Schwab <schwab@redhat.com>
44689
44690 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44691 rpath element also skip the following colon.
44692 (expand_dynamic_string_token): Add is_path parameter and pass
44693 down to DL_DST_REQUIRED and _dl_dst_substitute.
44694 (decompose_rpath): Call expand_dynamic_string_token with
44695 non-zero is_path. Ignore empty rpaths.
44696 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44697 with zero is_path.
44698
f12a32e6
AS
446992011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44700
44701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44702 Make cancelable.
44703
38a7d692
UD
447042011-04-09 Ulrich Drepper <drepper@gmail.com>
44705
44706 [BZ #12655]
44707 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44708 Patch by Filipe David Manana <fdmanana@apache.org>.
44709
e451d22b
AS
447102011-04-07 Andreas Schwab <schwab@redhat.com>
44711
44712 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44713 Maintain aligned stack.
44714 (CHECK_RSP): Remove unused macro.
44715
dedc7c7b
UD
447162011-04-03 Ulrich Drepper <drepper@gmail.com>
44717
44718 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44719 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44720
94521213
UD
447212011-04-02 Ulrich Drepper <drepper@gmail.com>
44722
44723 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44724
8cb700c0 44725 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 44726
0354e355
L
447272011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44728
44729 [BZ #12518]
44730 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44731 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44732 * sysdeps/x86_64/memmove.c: New file.
44733 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44734 (memcpy): Renamed to ...
44735 (__new_memcpy): This.
44736 (memcpy): Provide GLIBC_2_14 memcpy.
44737 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44738 (memcpy): Provide GLIBC_2_2_5 memcpy.
44739
8593482f
UD
447402011-04-01 Ulrich Drepper <drepper@gmail.com>
44741
44742 [BZ #12631]
44743 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44744
81a5726b
AS
447452011-03-30 Andreas Schwab <schwab@redhat.com>
44746
44747 * misc/syncfs.c: New file.
44748 * misc/Makefile (routines): Add syncfs.
44749 * posix/unistd.h: Declare syncfs.
44750 * sysdeps/unix/syscalls.list: Add syncfs.
44751
00e5419f
AS
447522011-04-01 Andreas Schwab <schwab@redhat.com>
44753
44754 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44755 open_by_handle_at.
44756 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44757 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44759 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44761 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44762 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44763
748876bf
UD
447642011-04-01 Ulrich Drepper <drepper@gmail.com>
44765
658e451d
UD
44766 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44767 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44768 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44769 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44770 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44772 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44773
748876bf
UD
44774 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44775 sync_file_range.c with -fexceptions.
44776 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44777 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44778 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44779 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44780 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44781 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44782 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
44783 sync_file_range as cancellation point
44784 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44785 now a wrapper around __call_sync_file_range with cancellation handling.
44786 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44787 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44788 function name to __call_sync_file_range.
44789 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44790 Add call_sync_file_range.
748876bf 44791
6e63d5e1
AS
447922011-04-01 Andreas Schwab <schwab@redhat.com>
44793
44794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 44795 bits/timex.h.
6e63d5e1 44796
46998f74
UD
447972011-04-01 Ulrich Drepper <drepper@gmail.com>
44798
4c1423ed
UD
44799 * iconv/iconv.h: Fix typo in comment.
44800 * io/fcntl.h: Likewise.
44801 * libio/stdio.h: Likewise.
44802 * posix/spawn.h: Likewise.
44803 * posix/unistd.h: Likewise.
44804 * stdlib/stdlib.h: Likewise.
44805 * time/time.h: Likewise.
44806 * wcsmbs/wchar.h: Likewise.
44807
158648c0
UD
44808 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44809 open_by_handle): Add.
44810 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44811 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44812 Augment a few comments.
44813 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44814 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44815 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44816 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44817 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44818 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44819 open_by_handle.
44820
46998f74
UD
44821 * io/fcntl.h (AT_EMPTY_PATH): Define.
44822
83fe108b
UD
448232011-03-30 Ulrich Drepper <drepper@gmail.com>
44824
44825 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44826 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44827 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44828 to...
44829 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
44830 * Versions.def: Add GLIBC_2.14.
44831 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44832 Export.
83fe108b 44833
bb242059
UD
448342011-03-22 Ulrich Drepper <drepper@gmail.com>
44835
44836 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44837 round counter.
44838 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44839
c97a1282
L
448402011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44841
44842 [BZ #12597]
44843 * string/test-strncmp.c (do_page_test): New function.
44844 (check2): Likewise.
44845 (test_main): Call check2.
44846 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44847
2a115601
UD
448482011-03-20 Ulrich Drepper <drepper@gmail.com>
44849
44850 [BZ #12587]
44851 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44852 Handle cache information in CPU leaf 4.
44853 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44854
8126d904
UD
448552011-03-18 Ulrich Drepper <drepper@gmail.com>
44856
042c49c6 44857 [BZ #12583]
8126d904
UD
44858 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44859 character representation.
44860 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44861
ccfe366e
RA
448622011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44863
44864 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44865 END(__isnan) to END(__isnanf) to match function entry point/label
44866 EALIGN(__isnanf,...).
44867
c6e13027
JJ
448682011-03-10 Jakub Jelinek <jakub@redhat.com>
44869
44870 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44871
33f85a3f
UD
448722011-03-10 Ulrich Drepper <drepper@gmail.com>
44873
028478fa
UD
44874 [BZ #12510]
44875 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44876 copy from the symbol referenced in the relocation to initialize the
44877 used variable.
44878 Patch by Piotr Bury <pbury@goahead.com>.
44879 * elf/Makefile: Add rules to build and tst-unique3.
44880 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44881 * elf/tst-unique3.cc: New file.
44882 * elf/tst-unique3.h: New file.
44883 * elf/tst-unique3lib.cc: New file.
44884 * elf/tst-unique3lib2.cc: New file.
44885
33f85a3f
UD
44886 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44887
03592fc7
MF
448882011-03-10 Mike Frysinger <vapier@gentoo.org>
44889
44890 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44891 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44892 to _start.
03592fc7 44893
6a5ee102
UD
448942011-03-06 Ulrich Drepper <drepper@gmail.com>
44895
44896 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44897 to-be-loaded object along a path to loader is ld.so.
44898
7e4ba49c
HJ
448992011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44900 Ulrich Drepper <drepper@gmail.com>
44901
44902 * sysdeps/x86_64/memset.S: After aligning destination, code
44903 branches to different locations depending on the value of
44904 misalignment, when multiarch is enabled. Fix this.
44905
449062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44907
44908 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44909 Set _x86_64_preferred_memory_instruction for AMD processsors.
44910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44911 Set bit_Prefer_SSE_for_memop for AMD processors.
44912
13a804de
UD
449132011-03-04 Ulrich Drepper <drepper@gmail.com>
44914
44915 * libio/fmemopen.c (fmemopen): Optimize a bit.
44916
9d25c392
AS
449172011-03-03 Andreas Schwab <schwab@redhat.com>
44918
44919 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44920
a5543c6a
RM
449212011-03-03 Roland McGrath <roland@redhat.com>
44922
44923 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44924
012d35f7
DM
449252011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44926
7e4ba49c 44927 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
44928 __bzero_ultra1 instead of __memset_ultra1.
44929
4bff6e01
AS
449302011-02-23 Andreas Schwab <schwab@redhat.com>
44931 Ulrich Drepper <drepper@gmail.com>
44932
44933 [BZ #12509]
44934 * include/link.h (struct link_map): Add l_orig_initfini.
44935 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44936 returning unsuccessfully.
44937 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44938 close of a file loaded at startup, restore the original l_initfini
44939 list.
44940 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44941 list, store the pointer.
44942 * elf/Makefile ($(objpfx)noload-mem): New rule.
44943 (noload-ENV): Define.
44944 (tests): Add $(objpfx)noload-mem.
44945 * elf/noload.c: Include <memcheck.h>.
44946 (main): Call mtrace. Close all opened handles.
44947
f2092faf
AS
449482011-02-17 Andreas Schwab <schwab@redhat.com>
44949
44950 [BZ #12454]
44951 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44952 dependencies are missing.
44953
6c8a2e88
ST
449542011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44955
f2092faf 44956 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
44957 Hurd needs munmap.
44958 * sysdeps/mach/hurd/ifreq.h: New file.
44959
84a42118
PB
449602011-01-27 Petr Baudis <pasky@suse.cz>
44961 Ulrich Drepper <drepper@gmail.com>
44962
071f805e 44963 [BZ 12445]#
84a42118
PB
44964 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44965 to extend_alloca().
44966 * stdio-common/bug23.c: New file.
44967 * stdio-common/Makefile (tests): Add bug23.
44968
e23fe25b
AS
449692010-09-28 Andreas Schwab <schwab@redhat.com>
44970 Ulrich Drepper <drepper@gmail.com>
44971
44972 [BZ #12489]
44973 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44974 before performing relro protection. At old place add assertion
44975 to make sure nothing changed.
44976
d3f02e10
NS
449772011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44978 Glauber de Oliveira Costa <glommer@gmail.com>
44979
44980 * elf/elf.h: Add new ARM TLS relocs.
44981
d55fd7a5
RA
449822011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44983
44984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44985 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44986 cast from r3.
44987 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44988 'tests' variable.
44989 * sysdeps/wordsize-64/tst-writev.c: New file.
44990
2206397e
RA
449912011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44992
44993 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44994 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44995 insns in _dl_start to prevent a TOC reference before relocs are
44996 resolved.
44997
e9433893
UD
449982011-02-15 Ulrich Drepper <drepper@gmail.com>
44999
45000 [BZ #12469]
45001 * Makeconfig: Remove RANLIB definition.
45002 * Makerules: Don't use RANLIB.
45003 * aclocal.m4: Remove ranlib test.
45004 * configure.in: No need to check for ranlib.
45005 * elf/rtld-Rules: Don't use RANLIB.
45006
f75286c6
ST
450072011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45008
8e31c82d
ST
45009 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45010 protection macro.
45011 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45012 inclusion protection macro.
45013
f75286c6
ST
45014 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45015 SIGRTMIN and SIGRTMAX and print information in that case only when
45016 SIGRTMIN is defined.
45017
c1d0e639
JJ
450182011-02-11 Jakub Jelinek <jakub@redhat.com>
45019
45020 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45021 arginfo fn returning -1.
45022
45023 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45024 and thousands string is zero terminated.
45025
edf9294e
AS
450262011-02-03 Andreas Schwab <schwab@redhat.com>
45027
45028 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45029 sysdeps/unix/sysv/linux/bits/socket.h.
45030
2b7e92df
ST
450312011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45032
edf9294e
AS
45033 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45034 (__CPU_COUNT): Remove old macros.
45035 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45036 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45037 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
45038 (__sched_cpualloc, __sched_cpufree): Add declarations.
45039
a4c7ea7b
UD
450402011-02-05 Ulrich Drepper <drepper@gmail.com>
45041
45042 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45043 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45044 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45045 (readdhstai): Return value of addhstaiX call.
45046 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45047 (addgrbyX): Return value returned by cache_addgr.
45048 (readdgrbyname): Return value returned by addgrbyX.
45049 (readdgrbygid): Likewise.
45050 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45051 (addpwbyX): Return value returned by cache_addpw.
45052 (readdpwbyname): Return value returned by addhstbyX.
45053 (readdpwbyuid): Likewise.
45054 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45055 (addservbyX): Return value returned by cache_addserv.
45056 (readdservbyname): Return value returned by addservbyX:
45057 (readdservbyport): Likewise.
45058 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45059 (addhstbyX): Return value returned by cache_addhst.
45060 (readdhstbyname): Return value returned by addhstbyX.
45061 (readdhstbyaddr): Likewise.
45062 (readdhstbynamev6): Likewise.
45063 (readdhstbyaddrv6): Likewise.
45064 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45065 (readdinitgroups): Return value returned by addinitgroupsX.
45066 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45067 (prune_cache): Keep track of timeout value of re-added entries.
45068 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45069 * nscd/nscd.h: Adjust prototypes of readd* functions.
45070
a0bf67cc
RM
450712011-02-04 Roland McGrath <roland@redhat.com>
45072
45073 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45074 (nis_stats): Likewise.
45075 * nis/nis_modify.c (nis_modify): Likewise.
45076 * nis/nis_remove.c (nis_remove): Likewise.
45077 * nis/nis_add.c (nis_add): Likewise.
45078
45079 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45080
45081 * posix/fnmatch_loop.c: Add some consts.
45082
45083 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45084
435b95eb
L
450852011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45086
45087 [BZ #12460]
45088 * config.make.in (config-cflags-novzeroupper): Define.
45089 * configure.in: Substitute libc_cv_cc_novzeroupper.
45090 * elf/Makefile (AVX-CFLAGS): Define.
45091 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45092 (CFLAGS-tst-auditmod4a.c): Likewise.
45093 (CFLAGS-tst-auditmod4b.c): Likewise.
45094 (CFLAGS-tst-auditmod6b.c): Likewise.
45095 (CFLAGS-tst-auditmod6c.c): Likewise.
45096 (CFLAGS-tst-auditmod7b.c): Likewise.
45097 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45098
8517b15e
UD
450992011-02-02 Ulrich Drepper <drepper@gmail.com>
45100
45101 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45102 function to the callback.
45103 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45104
10a656fe
AS
451052011-02-02 Andreas Schwab <schwab@redhat.com>
45106
45107 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45108 of errno.
45109
968dad0a
UD
451102011-01-19 Ulrich Drepper <drepper@gmail.com>
45111
9f94d2ea 45112 [BZ #11724]
968dad0a
UD
45113 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45114 of constructors.
45115 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45116 of destructors.
45117 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45118
45119 [BZ #11724]
45120 * elf/Makefile: Add rules to build and run new test.
45121 * elf/tst-initorder.c: New file.
45122 * elf/tst-initorder.exp: New file.
45123 * elf/tst-initordera1.c: New file.
45124 * elf/tst-initordera2.c: New file.
45125 * elf/tst-initordera3.c: New file.
45126 * elf/tst-initordera4.c: New file.
45127 * elf/tst-initorderb1.c: New file.
45128 * elf/tst-initorderb2.c: New file.
45129 * elf/tst-order-a1.c: New file.
45130 * elf/tst-order-a2.c: New file.
45131 * elf/tst-order-a3.c: New file.
45132 * elf/tst-order-a4.c: New file.
45133 * elf/tst-order-b1.c: New file.
45134 * elf/tst-order-b2.c: New file.
45135 * elf/tst-order-main.c: New file.
45136 New test case by George Gensure <werkt0@gmail.com>.
45137
86e92359
UD
451382010-10-01 Andreas Schwab <schwab@redhat.com>
45139
45140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45141 decoding ACE if AI_CANONIDN.
45142
5d5732b0
UD
451432011-01-18 Ulrich Drepper <drepper@gmail.com>
45144
45145 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45146
a77e8cbc
UD
451472011-01-17 Ulrich Drepper <drepper@gmail.com>
45148
6392473f
UD
45149 * version.h (RELEASE): Bump for 2.13 release.
45150 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45151
620a0529
UD
45152 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45153
18ba70a5
UD
45154 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45155 MADV_NOHUGEPAGE.
32465c3e
UD
45156 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45157 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45158 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45159 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45160 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45161 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45162
c0dafcf1
UD
45163 * posix/getconf.c: Update copyright year.
45164 * catgets/gencat.c: Likewise.
45165 * csu/version.c: Likewise.
45166 * debug/catchsegv.sh: Likewise.
45167 * debug/xtrace.sh: Likewise.
45168 * elf/ldconfig.c: Likewise.
45169 * elf/ldd.bash.in: Likewise.
45170 * elf/sprof.c (print_version): Likewise.
45171 * iconv/iconv_prog.c: Likewise.
45172 * iconv/iconvconfig.c: Likewise.
45173 * locale/programs/locale.c: Likewise.
45174 * locale/programs/localedef.c: Likewise.
45175 * malloc/memusage.sh: Likewise.
45176 * malloc/mtrace.pl: Likewise.
45177 * nscd/nscd.c (print_version): Likewise.
45178 * nss/getent.c: Likewise.
45179
a77e8cbc
UD
45180 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45181 PF_CAIF, and PF_ALG.
45182 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45183
77e8bddf
AS
451842011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45185
1f20b93a
AS
45186 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45187 (modules-names): Use them.
45188 (ifunc-test-modules, ifunc-pie-tests): Define.
45189 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45190 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45191 (test-extras): Likewise.
45192 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45193 $(compile-command.c).
45194 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45195 (all-built-dso): Define.
45196 (check-textrel.out, check-execstack.out): Depend on it.
45197
77e8bddf
AS
45198 * configure.in: Don't override --enable-multi-arch.
45199
bc425b33
UD
452002011-01-15 Ulrich Drepper <drepper@gmail.com>
45201
45202 [BZ #6812]
45203 * nscd/hstcache.c (tryagain): Define.
45204 (cache_addhst): Return tryagain not notfound for temporary errors.
45205 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45206 failed.
45207
794c3ad3
UD
452082011-01-14 Ulrich Drepper <drepper@gmail.com>
45209
70181fdd
UD
45210 [BZ #10563]
45211 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45212 to make the syscall.
45213 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45214
794c3ad3
UD
45215 [BZ #12378]
45216 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45217 and fall back to matching as normal character if the string ends before
45218 the matching ']' is found. This is what POSIX requires.
45219 * posix/testfnm.c: Adjust test result.
45220 * posix/globtest.sh: Adjust test result. Add new test.
45221 * posix/tst-fnmatch.input: Likewise.
45222 * posix/tst-fnmatch2.c: Add new test.
45223
68dc9497
AS
452242010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45225
45226 * elf/Makefile (check-execstack): Revert last change. Depend on
45227 check-execstack.h.
45228 (check-execstack.h): New target.
45229 (generated): Add check-execstack.h.
45230 * elf/check-execstack.c: Include "check-execstack.h".
45231 (main): Revert last change.
45232 (handle_file): Return zero if GNU_STACK is absent and
45233 DEFAULT_STACK_PERMS doesn't include PF_X.
45234
451f001b
UD
452352011-01-13 Ulrich Drepper <drepper@gmail.com>
45236
cfa28e56
UD
45237 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45238 in child fails because the descriptor is already closed.
8cf8ce17
UD
45239 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45240 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45241 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 45242
1086d70d
UD
45243 [BZ #12397]
45244 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45245 syscall.
45246
451f001b
UD
45247 [BZ #10484]
45248 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45249 temporary buffer used to handle multi lookups locally.
a85b5cb4 45250 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 45251
08769175
UD
452522011-01-12 Ulrich Drepper <drepper@gmail.com>
45253
45254 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45255 loader is ld.so.
45256
5e49c52e
UD
452572011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45258
45259 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45260 alignment for SSE2.
45261
60522a5f
UD
452622011-01-12 Ulrich Drepper <drepper@gmail.com>
45263
45264 [BZ #12394]
45265 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45266 characters. When rounding increased number of integer digits recompute
45267 number of groups.
45268 * stdio-common/tst-grouping.c: New file.
45269 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45270
f257bbd7
UD
452712011-01-09 Ulrich Drepper <drepper@gmail.com>
45272
45273 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45274 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45275
45276 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45277 void.
45278 * bits/select.h: Likewise.
45279
fa9c15cb
UD
452802011-01-08 Ulrich Drepper <drepper@gmail.com>
45281
45282 * po/ja.po: Update from translation team.
45283
16c2895f
DM
452842011-01-04 David S. Miller <davem@sunset.davemloft.net>
45285
45286 [BZ #11155]
45287 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45288 implementation just like for lxstat, fxstatat, et al.
45289
2543fef2
JM
452902010-12-27 Jim Meyering <meyering@redhat.com>
45291
45292 [BZ #12348]
45293 * posix/regexec.c (build_trtable): Return failure indication upon
45294 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45295
98727dbe
UD
452962010-12-25 Ulrich Drepper <drepper@gmail.com>
45297
5bd6dc5c
UD
45298 [BZ #12201]
45299 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45300 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45301 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45302 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45303
97983464
UD
45304 [BZ #12207]
45305 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45306
98727dbe
UD
45307 [BZ #12204]
45308 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45309 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45310
4a531bb0
L
453112010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45312
45313 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45314 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45315 script has SORT_BY_INIT_PRIORITY.
45316 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45317 NO_CTORS_DTORS_SECTIONS is defined.
45318 * elf/soinit.c: Likewise.
45319 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45320 NO_CTORS_DTORS_SECTIONS is defined.
45321 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45322 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45323 * sysdeps/sh/init-first.c: Likewise.
45324 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45325
07eb4b71
UD
453262010-12-24 Ulrich Drepper <drepper@gmail.com>
45327
45328 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45329 always use the slow path.
45330
30950a5f
RA
453312010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45332
45333 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45334 similar rule which adds the sysdep directories to the header search in
45335 order to pick up the correct platform stackinfo.h.
45336 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45337 perform test if it is, otherwise return successfully without testing.
45338 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45339 DEFAULT_STACK_PERMS define in stackinfo.h.
45340 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45341 defined in stackinfo.h.
45342 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45343 DEFAULT_STACK_PERMS defined in stackinfo.h.
45344 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45345 * sysdeps/ia64/stackinfo.h: Likewise.
45346 * sysdeps/s390/stackinfo.h: Likewise.
45347 * sysdeps/sh/stackinfo.h: Likewise.
45348 * sysdeps/sparc/stackinfo.h: Likewise.
45349 * sysdeps/x86_64/stackinfo.h: Likewise.
45350 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45351 PF_X for powerpc64. Retain PF_X for powerpc32.
45352
db753e2c
UD
453532010-12-19 Ulrich Drepper <drepper@gmail.com>
45354
14b697f7
UD
45355 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45356 accurately.
db753e2c
UD
45357 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45358 GETDENTS_64BIT_ALIGNED.
45359
28300719
UD
453602010-12-14 Ulrich Drepper <dreper@gmail.com>
45361
14b697f7 45362 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 45363
4f197237
AS
453642010-12-10 Andreas Schwab <schwab@redhat.com>
45365
dbb0472f
AS
45366 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45367 _GNU_SOURCE.
45368
4f197237
AS
45369 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45370 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45371 Remove __restrict.
45372 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45373 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45374
fb88ac72
UD
453752010-12-09 Ulrich Drepper <drepper@gmail.com>
45376
45377 [BZ #11655]
45378 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45379 are initialized.
45380
42acbb92
JJ
453812010-12-09 Jakub Jelinek <jakub@redhat.com>
45382
45383 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45384
c038d98d
UD
453852010-12-03 Ulrich Drepper <drepper@gmail.com>
45386
45387 * po/it.po: Update from translation team.
45388
3a4a2499
L
453892010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45390
45391 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45392 unused codes.
45393
1e24cf6e
UD
453942010-11-30 Ulrich Drepper <drepper@gmail.com>
45395
45396 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45397
a7690819
AS
453982010-11-24 Andreas Schwab <schwab@redhat.com>
45399
45400 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45401 specially.
45402 (gaih_getanswer_slice): Likewise.
45403
3bf8d1b1
JJ
454042010-10-20 Jakub Jelinek <jakub@redhat.com>
45405
45406 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45407
6db52fbb
PB
454082010-05-31 Petr Baudis <pasky@suse.cz>
45409
45410 [BZ #11149]
45411 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45412 silently even in the chroot mode.
45413
eaca7569
UD
454142010-11-22 Ulrich Drepper <drepper@gmail.com>
45415
45416 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45417 last patch a bit. Pretty printing
45418
3056dcdb
UD
454192010-05-31 Petr Baudis <pasky@suse.cz>
45420
45421 [BZ #10085]
45422 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45423 initialization of skip_initgroups_dyn.
45424
cf7c9078
UD
454252010-11-19 Ulrich Drepper <drepper@gmail.com>
45426
45427 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45428 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45429
a1fb5e3e
UD
454302010-11-16 Ulrich Drepper <drepper@gmail.com>
45431
45432 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45433
3540d66b
AS
454342010-11-11 Andreas Schwab <schwab@redhat.com>
45435
45436 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45437 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45438 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45439 ($(objpfx)tst-fnmatch-mem): New rule.
45440 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45441 * posix/tst-fnmatch.c (main): Call mtrace.
45442
13b69574
L
454432010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45444
45445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45446 Support Intel processor model 6 and model 0x2c.
45447
da93d214
LM
454482010-11-10 Luis Machado <luisgpm@br.ibm.com>
45449
45450 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45451 signed comparison.
45452
8ca52c6e
L
454532010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45454
45455 [BZ #12205]
45456 * string/test-strncasecmp.c (check_result): New function.
45457 (do_one_test): Use it.
45458 (check1): New function.
45459 (test_main): Use it.
45460 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45461 Support strcasecmp and strncasecmp.
45462
69da074d
UD
454632010-11-08 Ulrich Drepper <drepper@gmail.com>
45464
45465 [BZ #12194]
45466 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45467 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45468
ff02d528
L
454692010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45470
45471 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45472 IFUNC support.
45473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45474 memset-x86-64.
45475 * sysdeps/x86_64/multiarch/bzero.S: New file.
45476 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45477 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45478 * sysdeps/x86_64/multiarch/memset.S: New file.
45479 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45480 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45481 Set bit_Prefer_SSE_for_memop for Intel processors.
45482 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45483 Define.
45484 (index_Prefer_SSE_for_memop): Define.
45485 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45486
344d0b54
LM
454872010-11-04 Luis Machado <luisgpm@br.ibm.com>
45488
45489 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45490 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45491
c0dde15b
UD
454922010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45493
45494 [BZ #12191]
45495 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45496 (__x86_64_raw_data_cache_size_half): Likewise.
45497 (__x86_64_raw_shared_cache_size): Likewise.
45498 (__x86_64_raw_shared_cache_size_half): Likewise.
45499
45500 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45501 (__x86_64_raw_data_cache_size_half): Likewise.
45502 (__x86_64_raw_shared_cache_size): Likewise.
45503 (__x86_64_raw_shared_cache_size_half): Likewise.
45504 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45505 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45506 and __x86_64_raw_shared_cache_size_half. Round
45507 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45508 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45509 to multiple of 256 bytes.
45510
0e516e0e
MS
455112010-11-03 Ulrich Drepper <drepper@gmail.com>
45512
45513 [BZ #12167]
45514 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45515 of inacessible symlinks. Verify result of symlink before returning it.
45516 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45517 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45518
0e012e87
ER
455192010-10-28 Erich Ritz <erichritz@gmail.com>
45520
45521 * math/math.h (isinf): Fix typo in comment.
45522
de0ff7bc
UD
455232010-11-01 Ulrich Drepper <drepper@gmail.com>
45524
45525 * po/da.po: Update from translation team.
45526
fa41c84d
UD
455272010-10-26 Ulrich Drepper <drepper@gmail.com>
45528
45529 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45530 is added to the list.
45531
f0967738
AK
455322010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45533 Ulrich Drepper <drepper@gmail.com>
45534
45535 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45536 the global list here. Move code to...
45537 (_dl_add_to_namespace_list): ...here. New function.
45538 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45539 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45540 * elf/dl-load.c (lose): Don't remove the element from the list.
45541 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45542 (_dl_map_object): Likewise.
45543
455442010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
45545
45546 [BZ #12159]
45547 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45548 into all bytes of SSE register.
45549 Patch by Richard Li <richardpku@gmail.com>.
45550
f0967738 455512010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
45552
45553 [BZ #12140]
45554 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45555 perturbing.
45556
d0b9e94f
MB
455572010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45558
45559 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45560 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45561 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45562 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45564 submachine.
45565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45566
8e9f92e9
AS
455672010-10-22 Andreas Schwab <schwab@redhat.com>
45568
45569 * include/dlfcn.h (__RTLD_SECURE): Define.
45570 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45571 mode & __RTLD_SECURE instead.
45572 (open_path): Rename preloaded parameter to secure.
45573 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45574 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45575 * elf/dl-deps.c (openaux): Likewise.
45576 * elf/rtld.c (struct map_args): Remove is_preloaded.
45577 (map_doit): Don't use it.
45578 (dl_main): Likewise.
45579 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45580 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45581
bc96fbda
AS
455822010-09-09 Andreas Schwab <schwab@redhat.com>
45583
45584 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45585 (sysd-rules-targets): Remove duplicates.
45586 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45587 rtld-%.$o dependency.
45588
22cd1c9b
AS
455892010-10-18 Andreas Schwab <schwab@redhat.com>
45590
45591 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45592 _dl_map_object do it.
45593
18edac48
UD
455942010-10-19 Ulrich Drepper <drepper@gmail.com>
45595
45596 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45597 fast fma builtins, define the macros in the C99 standard.
45598 (FP_FAST_FMAF): Likewise.
45599 (FP_FAST_FMAL): Likewise.
45600 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45601
45602 * bits/mathdef.h: Update copyright year.
45603 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45604
d2050124
MM
456052010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45606
45607 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45608 builtins, define the macros in the C99 standard.
45609 (FP_FAST_FMAF): Likewise.
45610 (FP_FAST_FMAL): Likewise.
45611 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45612 multiply/add.
45613 (FP_FAST_FMAF): Likewise.
45614
475facd1
JJ
456152010-10-15 Jakub Jelinek <jakub@redhat.com>
45616
45617 [BZ #3268]
45618 * math/libm-test.inc (fma_test): Some new testcases.
45619 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45620 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45621 y and infinite z. Do multiplication by C already in long double.
45622 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45624 y and infinite z. Do bitwise or of inexact bit into u.d.
45625 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45626 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45627 * sysdeps/i386/fpu/s_fma.S: Removed.
45628 * sysdeps/i386/fpu/s_fmal.S: Removed.
45629
7c08a05c
JJ
456302010-10-16 Jakub Jelinek <jakub@redhat.com>
45631
45632 [BZ #3268]
45633 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45634 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45635 computation is not scheduled after fetestexcept. Fix value
45636 of minimum denormal long double.
45637
f3f7372d
JJ
456382010-10-14 Jakub Jelinek <jakub@redhat.com>
45639
45640 [BZ #3268]
45641 * math/libm-test.inc (fma_test): Add some more tests.
45642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45643 correctly.
45644
14d43591
AS
456452010-10-15 Andreas Schwab <schwab@redhat.com>
45646
45647 * scripts/data/localplt-s390-linux-gnu.data: New file.
45648 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45649
5e908464
JJ
456502010-10-13 Jakub Jelinek <jakub@redhat.com>
45651
45652 [BZ #3268]
45653 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45654 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45655 instead of dbl-64.
45656 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45657 inlines.
45658 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45659 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45660 if one of x and y is very large and the other is subnormal.
45661 * sysdeps/s390/fpu/s_fmaf.c: New file.
45662 * sysdeps/s390/fpu/s_fma.c: New file.
45663 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45664 * sysdeps/powerpc/fpu/s_fma.S: New file.
45665 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45666 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45667 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45668
456692010-10-12 Jakub Jelinek <jakub@redhat.com>
45670
45671 [BZ #3268]
45672 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45673 fma tests.
45674 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45675 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45676 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45677 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45678 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45679 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45680 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45681
b833d51f
UD
456822010-10-12 Ulrich Drepper <drepper@redhat.com>
45683
45684 [BZ #12078]
45685 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45686 * posix/bug-regex31.input: Add test case.
45687
1751705d
UD
456882010-10-11 Ulrich Drepper <drepper@gmail.com>
45689
e9b9cbf5
UD
45690 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45691 * posix/bug-regex31.input: New file.
45692
45693 [BZ #12078]
45694 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45695 (parse_sub_exp): Fix last change, use postorder.
45696
ef06edbe
UD
45697 * posix/bug-regex31.c: New file.
45698 * posix/Makefile: Add rules to build and run bug-regex31.
45699
a129c80d
UD
45700 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45701
45702 [BZ #12078]
45703 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45704
b76b818e
UD
45705 [BZ #12108]
45706 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45707 to have entries in sys_siglist.
45708
1751705d
UD
45709 [BZ #12093]
45710 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45711 be NULL.
45712
9ff8d36f
JJ
457132010-10-07 Jakub Jelinek <jakub@redhat.com>
45714
45715 [BZ #3268]
45716 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45717 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45718 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45719 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45720 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45721 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45722 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45723 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45724 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45725 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45726 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45727 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45728 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45729 * math/ftestexcept.c (fetestexcept): Likewise.
45730 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45731 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45732 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45733 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45734 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45735 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45736 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45737
af325969
UD
457382010-10-11 Ulrich Drepper <drepper@gmail.com>
45739
c579b202 45740 [BZ #12107]
af325969
UD
45741 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45742 newline.
45743
67a67b95
UD
457442010-10-06 Ulrich Drepper <drepper@gmail.com>
45745
45746 * string/bug-strstr1.c: New file.
45747 * string/Makefile: Add rules to build and run bug-strstr1.
45748
5fb308bc
EB
457492010-10-05 Eric Blake <eblake@redhat.com>
45750
45751 [BZ #12092]
45752 * string/str-two-way.h (two_way_long_needle): Always clear memory
45753 when skipping input due to the shift table.
45754
45db99c7
UD
457552010-10-03 Ulrich Drepper <drepper@gmail.com>
45756
3b111893
UD
45757 [BZ #12005]
45758 * malloc/mcheck.c: Handle large requests.
45759
45db99c7
UD
45760 [BZ #12077]
45761 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45762 for strncmp and strncasecmp.
45763 * string/stratcliff.c: Add tests for strcmp and strncmp.
45764 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45765
cf7a1eb8
NI
457662010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45767
45768 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45769 __set_fpscr.
45770
6484ba5e
AJ
457712010-09-30 Andreas Jaeger <aj@suse.de>
45772
45773 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45774 (CGROUP_SUPER_MAGIC): Define.
45775 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45776 Handle btrfs and cgroup file systems.
45777 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45778 Likewise.
45779
91c42559
LM
457802010-09-27 Luis Machado <luisgpm@br.ibm.com>
45781
45782 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45783 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45784
87a97932
AK
457852010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45786
45787 [BZ #12067]
45788 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45789 trying to locate the ELF header.
45790
c21cc9bc
AS
457912010-09-27 Andreas Schwab <schwab@redhat.com>
45792
45793 [BZ #11611]
45794 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45795 Mask out sign-bit copies when constructing f_fsid.
45796
315970f6
PB
457972010-09-24 Petr Baudis <pasky@suse.cz>
45798
45799 * debug/stack_chk_fail_local.c: Add missing licence exception.
45800 * debug/warning-nop.c: Likewise.
45801
1ac7a2c7
JM
458022010-09-15 Joseph Myers <joseph@codesourcery.com>
45803
45804 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45805 implementing getdents64 using getdents syscall, set d_type if
45806 __ASSUME_GETDENTS32_D_TYPE.
45807
56801c50
AS
458082010-09-16 Andreas Schwab <schwab@redhat.com>
45809
45810 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45811 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45812
dda51327
UD
458132010-09-21 Ulrich Drepper <drepper@redhat.com>
45814
45815 [BZ #12037]
45816 * posix/unistd.h: Undo change of feature selection for ftruncate from
45817 2010-01-11.
45818
8ffcee4a
UD
458192010-09-20 Ulrich Drepper <drepper@redhat.com>
45820
a545ecd9 45821 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
45822 detection.
45823
e24f0a8b
AS
458242010-09-20 Andreas Schwab <schwab@redhat.com>
45825
45826 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45827 fanotify_mark.
45828 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45829
7291c56f
AS
458302010-09-14 Andreas Schwab <schwab@redhat.com>
45831
45832 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45833 variables after CHECK_SP call.
45834 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45835
bc5fb037
AS
458362010-09-13 Andreas Schwab <schwab@redhat.com>
45837 Ulrich Drepper <drepper@redhat.com>
45838
45839 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45840 re-relocationg ld.so.
45841 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45842 _dl_init_paths call.
45843 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45844 here anymore.
45845
e66e7419
UD
458462010-09-14 Ulrich Drepper <drepper@redhat.com>
45847
45848 * resolv/res_init.c (__res_vinit): Count the default server we added.
45849
c044aa75
CLT
458502010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45851 Ulrich Drepper <drepper@redhat.com>
45852
45853 [BZ #11968]
45854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45855 (____longjmp_chk): Use %ebx for saving value across system call.
45856 Add unwind info.
45857
32cf4069
AS
458582010-09-06 Andreas Schwab <schwab@redhat.com>
45859
45860 * manual/Makefile: Don't mix pattern rules with normal rules.
45861
817328ee
AS
458622010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45863
45864 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45865 operation.
45866 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45867 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45868 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45869 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45870 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45871 Likewise.
45872
29fddf61
UD
458732010-09-04 Ulrich Drepper <drepper@redhat.com>
45874
45875 [BZ #11979]
45876 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45877 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45878
0959ffc9
UD
458792010-09-02 Ulrich Drepper <drepper@redhat.com>
45880
45881 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45882 * sysdeps/x86_64/addmul_1.S: Likewise.
45883 * sysdeps/x86_64/lshift.S: Likewise.
45884 * sysdeps/x86_64/mul_1.S: Likewise.
45885 * sysdeps/x86_64/rshift.S: Likewise.
45886 * sysdeps/x86_64/sub_n.S: Likewise.
45887 * sysdeps/x86_64/submul_1.S: Likewise.
45888
ece29840
ST
458892010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45890
0959ffc9
UD
45891 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45892 Define __sched_param instead of SCHED_* and sched_param when
ece29840 45893 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 45894 * bits/sched.h [__need_schedparam]
ece29840 45895 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
45896 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45897 (__defined_schedparam): Define to 1.
ece29840
ST
45898 (__sched_param): New structure, identical to sched_param.
45899 (__need_schedparam): Undefine.
45900
e53a31fe
MF
459012010-08-31 Mike Frysinger <vapier@gentoo.org>
45902
fdc0c10d
MF
45903 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45904 (epoll_create1): Declare.
45905
e53a31fe
MF
45906 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45907
a726d796
AS
459082010-08-31 Andreas Schwab <schwab@redhat.com>
45909
45910 [BZ #7066]
45911 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45912 shifting retval into place.
45913
2f3e3dc7
UD
459142010-09-01 Ulrich Drepper <drepper@redhat.com>
45915
f2933da9
UD
45916 * nis/rpcsvc/nis.h: Update copyright notice.
45917 * nis/rpcsvc/nis.x: Likewise.
45918 * nis/rpcsvc/nis_callback.h: Likewise.
45919 * nis/rpcsvc/nis_callback.x: Likewise.
45920 * nis/rpcsvc/nis_object.x: Likewise.
45921 * nis/rpcsvc/nis_tags.h: Likewise.
45922 * nis/rpcsvc/yp.h: Likewise.
45923 * nis/rpcsvc/yp.x: Likewise.
45924 * nis/rpcsvc/ypupd.h: Likewise.
45925 * nis/yp_xdr.c: Likewise.
45926 * nis/ypupdate_xdr.c: Likewise.
45927
2f3e3dc7
UD
45928 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45929 mainly the body of pmap_getport. Add parameters to specify timeouts.
45930 (pmap_getport): Use __libc_rpc_getport.
45931 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45932 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45933 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45934
f3dcc2f9
AS
459352010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45936
45937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45938 fanotify_mark.
45939
6d34eb5b
RM
459402010-08-27 Roland McGrath <roland@redhat.com>
45941
45942 * sysdeps/i386/i686/multiarch/Makefile
45943 (CFLAGS-varshift.c): New variable.
45944
9ea3de11
UD
459452010-08-27 Ulrich Drepper <drepper@redhat.com>
45946
c96d23fc
UD
45947 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45948 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45949
9ea3de11
UD
45950 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45951
45952 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45953
623aac7f
L
459542010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45955
45956 * sysdeps/x86_64/strlen.S: Unroll the loop.
45957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45958 strlen-sse2 strlen-sse2-bsf.
45959 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45960 __strlen_no_bsf if bit_Slow_BSF is set.
45961 (__strlen_sse42): Removed.
45962 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45963 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45964
8b2b7715
RM
459652010-08-25 Roland McGrath <roland@redhat.com>
45966
45967 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45968 * sysdeps/x86_64/multiarch/varshift.c: New file.
45969 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45970 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45971 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45972 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45973
e73015f2
L
459742010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45975
45976 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45977 strlen-sse2 strlen-sse2-bsf.
45978 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45979 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45980 (__strlen_sse2): Removed.
45981 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45982 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45984 bit_Slow_BSF for Atom.
45985 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45986 (index_Slow_BSF): Define.
45987 (HAS_SLOW_BSF): Define.
45988
df24a73e
UD
459892010-08-25 Ulrich Drepper <drepper@redhat.com>
45990
45991 [BZ #10851]
45992 * resolv/res_init.c (__res_vinit): When no server address at all
45993 is given default to loopback.
45994
f2ac4868
RM
459952010-08-24 Roland McGrath <roland@redhat.com>
45996
09055553
RM
45997 * configure.in: Remove config-name.h generation.
45998 * configure: Regenerated.
45999 * config-name.in: File removed.
46000 * scripts/config-uname.sh: New file.
46001 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46002 ($(objdir)config-name.h): New target.
46003
f2ac4868
RM
46004 * sunrpc/rpc_parse.h: Avoid nested comment.
46005
73f27d5e
RH
460062010-08-24 Richard Henderson <rth@redhat.com>
46007 Ulrich Drepper <drepper@redhat.com>
46008 H.J. Lu <hongjiu.lu@intel.com>
46009
46010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46012 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46013 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46014 _mm_alignr_epi8 with _mm_loadu_si128.
46015 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46016 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46017 (__m128i_shift_right): Removed.
46018 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46019 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46020 * sysdeps/x86_64/multiarch/varshift.h: New file.
46021 * sysdeps/x86_64/multiarch/varshift.S: New file.
46022
84b9230c
MF
460232010-08-21 Mike Frysinger <vapier@gentoo.org>
46024
46025 * configure.in: Move assembler checks to before sysdep dir checking.
46026
9bbd0ddc
PB
460272010-08-20 Petr Baudis <pasky@suse.cz>
46028
46029 * LICENSES: Sync the sunrpc license.
46030
9da4bb31
UD
460312010-08-19 Ulrich Drepper <drepper@redhat.com>
46032
a7ab6ec8
UD
46033 * sunrpc/auth_des.c: Update copyright notice once again.
46034 * sunrpc/auth_none.c: Likewise.
46035 * sunrpc/auth_unix.c: Likewise.
46036 * sunrpc/authdes_prot.c: Likewise.
46037 * sunrpc/authuxprot.c: Likewise.
46038 * sunrpc/bindrsvprt.c: Likewise.
46039 * sunrpc/clnt_gen.c: Likewise.
46040 * sunrpc/clnt_perr.c: Likewise.
46041 * sunrpc/clnt_raw.c: Likewise.
46042 * sunrpc/clnt_simp.c: Likewise.
46043 * sunrpc/clnt_tcp.c: Likewise.
46044 * sunrpc/clnt_udp.c: Likewise.
46045 * sunrpc/clnt_unix.c: Likewise.
46046 * sunrpc/des_crypt.c: Likewise.
46047 * sunrpc/des_soft.c: Likewise.
46048 * sunrpc/get_myaddr.c: Likewise.
46049 * sunrpc/getrpcport.c: Likewise.
46050 * sunrpc/key_call.c: Likewise.
46051 * sunrpc/key_prot.c: Likewise.
46052 * sunrpc/openchild.c: Likewise.
46053 * sunrpc/pm_getmaps.c: Likewise.
46054 * sunrpc/pm_getport.c: Likewise.
46055 * sunrpc/pmap_clnt.c: Likewise.
46056 * sunrpc/pmap_prot.c: Likewise.
46057 * sunrpc/pmap_prot2.c: Likewise.
46058 * sunrpc/pmap_rmt.c: Likewise.
46059 * sunrpc/rpc/auth.h: Likewise.
46060 * sunrpc/rpc/auth_unix.h: Likewise.
46061 * sunrpc/rpc/clnt.h: Likewise.
46062 * sunrpc/rpc/des_crypt.h: Likewise.
46063 * sunrpc/rpc/key_prot.h: Likewise.
46064 * sunrpc/rpc/netdb.h: Likewise.
46065 * sunrpc/rpc/pmap_clnt.h: Likewise.
46066 * sunrpc/rpc/pmap_prot.h: Likewise.
46067 * sunrpc/rpc/pmap_rmt.h: Likewise.
46068 * sunrpc/rpc/rpc.h: Likewise.
46069 * sunrpc/rpc/rpc_des.h: Likewise.
46070 * sunrpc/rpc/rpc_msg.h: Likewise.
46071 * sunrpc/rpc/svc.h: Likewise.
46072 * sunrpc/rpc/svc_auth.h: Likewise.
46073 * sunrpc/rpc/types.h: Likewise.
46074 * sunrpc/rpc/xdr.h: Likewise.
46075 * sunrpc/rpc_clntout.c: Likewise.
46076 * sunrpc/rpc_cmsg.c: Likewise.
46077 * sunrpc/rpc_common.c: Likewise.
46078 * sunrpc/rpc_cout.c: Likewise.
46079 * sunrpc/rpc_dtable.c: Likewise.
46080 * sunrpc/rpc_hout.c: Likewise.
46081 * sunrpc/rpc_main.c: Likewise.
46082 * sunrpc/rpc_parse.c: Likewise.
46083 * sunrpc/rpc_parse.h: Likewise.
46084 * sunrpc/rpc_prot.c: Likewise.
46085 * sunrpc/rpc_sample.c: Likewise.
46086 * sunrpc/rpc_scan.c: Likewise.
46087 * sunrpc/rpc_scan.h: Likewise.
46088 * sunrpc/rpc_svcout.c: Likewise.
46089 * sunrpc/rpc_tblout.c: Likewise.
46090 * sunrpc/rpc_util.c: Likewise.
46091 * sunrpc/rpc_util.h: Likewise.
46092 * sunrpc/rpcinfo.c: Likewise.
46093 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46094 * sunrpc/rpcsvc/key_prot.x: Likewise.
46095 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46096 * sunrpc/rpcsvc/mount.x: Likewise.
46097 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46098 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46099 * sunrpc/rpcsvc/rex.x: Likewise.
46100 * sunrpc/rpcsvc/rstat.x: Likewise.
46101 * sunrpc/rpcsvc/rusers.x: Likewise.
46102 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46103 * sunrpc/rpcsvc/spray.x: Likewise.
46104 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46105 * sunrpc/rtime.c: Likewise.
46106 * sunrpc/svc.c: Likewise.
46107 * sunrpc/svc_auth.c: Likewise.
46108 * sunrpc/svc_authux.c: Likewise.
46109 * sunrpc/svc_raw.c: Likewise.
46110 * sunrpc/svc_run.c: Likewise.
46111 * sunrpc/svc_simple.c: Likewise.
46112 * sunrpc/svc_tcp.c: Likewise.
46113 * sunrpc/svc_udp.c: Likewise.
46114 * sunrpc/svc_unix.c: Likewise.
46115 * sunrpc/svcauth_des.c: Likewise.
46116 * sunrpc/xcrypt.c: Likewise.
46117 * sunrpc/xdr.c: Likewise.
46118 * sunrpc/xdr_array.c: Likewise.
46119 * sunrpc/xdr_float.c: Likewise.
46120 * sunrpc/xdr_mem.c: Likewise.
46121 * sunrpc/xdr_rec.c: Likewise.
46122 * sunrpc/xdr_ref.c: Likewise.
46123 * sunrpc/xdr_sizeof.c: Likewise.
46124 * sunrpc/xdr_stdio.c: Likewise.
46125
9da4bb31
UD
46126 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46127 handling.
46128
bdaa77bc
AS
461292010-08-19 Andreas Schwab <schwab@redhat.com>
46130
46131 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46132
fe2f79db
LM
461332010-08-19 Luis Machado <luisgpm@br.ibm.com>
46134
46135 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46136 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46137 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46138 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46139 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46140 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46141 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46142 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46143 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46144 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46145 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46146 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46147 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46148 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46149
b9b42ee0
AB
461502010-07-26 Anton Blanchard <anton@samba.org>
46151
46152 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46153 * malloc/arena.c (heap_trim): Likewise.
46154
1c06ba31
UD
461552010-08-16 Ulrich Drepper <drepper@redhat.com>
46156
46157 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46158 here. Not...
46159 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46160 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46161
f8392f40
L
461622010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46163
46164 * sysdeps/i386/elf/Makefile: New file.
46165
3162f12e
AS
461662010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46167
46168 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46169 from fanotify_init.
46170 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46171 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46172
28c90b2c
UD
461732010-08-15 Ulrich Drepper <drepper@redhat.com>
46174
46175 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46176 of strncasecmp_l.
1feccb6c 46177 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 46178
ca6bb004
UD
461792010-08-14 Ulrich Drepper <drepper@redhat.com>
46180
e9f82e0d
UD
46181 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46182 strncase_l-nonascii.
46183 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46184 Add strncase_l-ssse3.
46185 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46186 * sysdeps/x86_64/strcmp.S: Likewise.
46187 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46188 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46189 * sysdeps/x86_64/strncase.S: New file.
46190 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46191 * sysdeps/x86_64/strncase_l.S: New file.
46192 * string/Makefile (strop-tests): Add strncasecmp.
46193 * string/test-strncasecmp.c: New file.
46194
46195 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46196 warning.
46197
ca6bb004
UD
46198 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46199 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46200
052fa7b3
AS
462012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46202
46203 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46204
962dba78
UD
462052010-08-12 Ulrich Drepper <drepper@redhat.com>
46206
46207 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46208 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46209 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46210
bebff237
AM
462112010-05-01 Alan Modra <amodra@gmail.com>
46212
46213 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46214 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46215 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46216 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46217 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46218 tidying. Don't tail-call __sigjmp_save for static lib.
46219 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46220 save location.
46221 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46222 (CALL_MCOUNT): Add eh info, and nop after bl.
46223 (TAIL_CALL_SYSCALL_ERROR): New macro.
46224 (PSEUDO_RET): Use it.
46225 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46226 Correct save location of integer regs and cr.
46227 (_dl_profile_resolve): Correct cr save location. Delete nops
46228 after bl when SHARED. Reduce cfi size a little by better
46229 placement of cfi directives.
46230 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46231 make a stack frame. Instead use parm save area as a temp.
46232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46233 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46235 Don't make a stack frame for parent, use parm save area.
46236 Increase child stack frame to 112 bytes. Don't save unused reg,
46237 and adjust reg usage. Set up cfi on error recovery and
46238 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46240 (__makecontext): Add dummy nop after jump to exit.
46241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46242 Use correct parm save area and cr save, reduce stack frame.
46243 Correct cfi for possible PSEUDO_RET frame setup.
46244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46245 Branch to local label emitted by PSEUDO_RET rather than
46246 __syscall_error.
46247
02637374
AS
462482010-08-12 Andreas Schwab <schwab@redhat.com>
46249
46250 [BZ #11904]
46251 * locale/programs/locale.c (print_assignment): New function.
46252 (show_locale_vars): Use it.
46253
c3e2f19b
UD
462542010-08-11 Ulrich Drepper <drepper@redhat.com>
46255
3cdaa6ad
UD
46256 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46257 field.
46258 (struct statfs64): Likewise.
46259 (_STATFS_F_FLAGS): Define.
46260 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46261 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46262 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46263 (ST_VALID): Define locally.
46264 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46265 __statvfs_getflags, use the provided value.
46266 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46267 __ASSUME_STATFS_F_FLAGS.
46268
754f7da3
UD
46269 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46270
10b3bedc
UD
46271 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46272 Add sys/fanotify.h.
46273 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46274 fanotify_mask for GLIBC_2.13.
46275 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46276 fanotify_init and fanotify_mark.
46277 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46278 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46279
c08fb0d7
UD
46280 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46281 Add prlimit.
46282 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46283 prlimit64 for GLIBC_2.13.
46284 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46285 prlimit64.
46286 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46287 syscall.
46288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46289 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46290 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46291 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46292 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46293 add prlimit alias.
46294 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46295
15bac72b
UD
46296 [BZ #11903]
46297 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46298 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46299
c3e2f19b
UD
46300 * nss/Makefile: Add rules to build and run tst-nss-test1.
46301 * shlib-versions: Add entry for libnss_test1.
46302 * nss/nss_test1.c: New file.
46303 * nss/tst-nss-test1.c: New file.
46304
46305 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46306 (__nss_configure_lookup): Set appropriate entry in
46307 __nss_configure_lookup to true.
46308 * nss/nsswitch.h: Define enum with indeces of databases in
46309 databases and __nss_database_custom arrays. Declare
46310 __nss_database_custom.
46311 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46312 to avoid using nscd when custom rules are installed.
46313 * nss/getXXbyYY_r.c: Likewise.
46314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46315
46316 * nss/nss_files/files-parse.c: Whitespace fixes.
46317
f15ce4d8
UD
463182010-08-09 Ulrich Drepper <drepper@redhat.com>
46319
46320 [BZ #11883]
46321 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46322 * posix/fnmatch_loop.c: Likewise.
46323
d22e4cc9
AK
463242010-07-17 Andi Kleen <ak@linux.intel.com>
46325
46326 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46327 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46328 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46329 * Versions.def [GLIBC_2.13]: Add.
46330
805bc17d
UD
463312010-08-06 Ulrich Drepper <drepper@redhat.com>
46332
46333 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46334 Also fail if tpwd after pwuid call is NULL.
46335
5a42321d
ST
463362010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46337
46338 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46339 when converting to ms.
46340
fd3ebeda
ST
463412010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46342
46343 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46344 EOPNOTSUPP errors with ENOTTY.
46345 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46346 EOPNOTSUPP errors with ENOTTY.
46347
73507d3a
UD
463482010-07-31 Ulrich Drepper <drepper@redhat.com>
46349
46350 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46351 Add strcasecmp_l-ssse3.
46352 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46353 strcasecmp.
46354 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46355 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46356 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46357
fe36dd02
UD
463582010-07-30 Ulrich Drepper <drepper@redhat.com>
46359
66f6765a
UD
46360 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46361
42e08a54
UD
46362 * string/Makefile (strop-tests): Add strcasecmp.
46363 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46364 strcasecmp_l-nonascii.
46365 (gen-as-const-headers): Add locale-defines.sym.
46366 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46367 * sysdeps/x86_64/strcasecmp.S: New file.
46368 * sysdeps/x86_64/strcasecmp_l.S: New file.
46369 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46370 * sysdeps/x86_64/locale-defines.sym: New file.
46371 * string/test-strcasecmp.c: New file.
46372
fe36dd02
UD
46373 * string/test-strcasestr.c: Test both ends of the range of characters.
46374 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46375
48cbc0d6
RM
463762010-07-29 Roland McGrath <roland@redhat.com>
46377
76e6d6bc 46378 [BZ #11856]
48cbc0d6
RM
46379 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46380
880113d9
UD
463812010-07-27 Ulrich Drepper <drepper@redhat.com>
46382
46383 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46384 for ld.so.
46385
deb9cabb
AS
463862010-07-27 Andreas Schwab <schwab@redhat.com>
46387
46388 * manual/memory.texi (Malloc Tunable Parameters): Document
46389 M_PERTURB.
46390
1c7570ff
RM
463912010-07-26 Roland McGrath <roland@redhat.com>
46392
46393 [BZ #11840]
46394 * configure.in (-fgnu89-inline check): Set and substitute
46395 gnu89_inline, not libc_cv_gnu89_inline.
46396 * configure: Regenerated.
46397 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46398
24fb0f88
UD
463992010-07-26 Ulrich Drepper <drepper@redhat.com>
46400
46401 * string/test-strnlen.c: New file.
46402 * string/Makefile (strop-tests): Add strnlen.
46403 * string/tester.c (test_strnlen): Add a few more test cases.
46404 * string/tst-strlen.c: Better error reporting.
46405
46406 * sysdeps/x86_64/strnlen.S: New file.
46407
8e96b93a
UD
464082010-07-24 Ulrich Drepper <drepper@redhat.com>
46409
46410 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46411 lower-latency instructions.
46412
dbc676d4
UD
464132010-07-23 Ulrich Drepper <drepper@redhat.com>
46414
46415 * string/test-strcasestr.c: New file.
46416 * string/test-strstr.c: New file.
46417 * string/Makefile (strop-tests): Add strstr and strcasestr.
46418 * string/str-two-way.h: Don't undefine MAX.
46419 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46420
f6a31e0e
AS
464212010-07-21 Andreas Schwab <schwab@redhat.com>
46422
46423 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46424 strcasestr-nonascii.
46425 (CFLAGS-strcasestr-nonascii.c): Define.
46426 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46427 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46428 Remove unused attribute.
46429
5dbc3b6c
RM
464302010-07-20 Roland McGrath <roland@redhat.com>
46431
46432 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46433 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46434 ld.so.cache was broken. With it, there is no way to disable dsocaps
46435 like LD_HWCAP_MASK can disable hwcaps.
46436
23d101d8
EPM
464372010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46438
46439 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46440
cc9f2e47
UD
464412010-07-16 Ulrich Drepper <drepper@redhat.com>
46442
46443 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46444 call in strcasestr.
46445 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46446 __strcasestr_sse42_nonascii.
46447 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46448 strcasestr-nonascii.c.
46449 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46450
77c1b069
LM
464512010-06-15 Luis Machado <luisgpm@br.ibm.com>
46452
46453 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46454 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46455 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46456 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46457
440566c3
UD
464582010-07-09 Ulrich Drepper <drepper@redhat.com>
46459
46460 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46461 fcntl.
46462
5be9d05d
AS
464632010-07-06 Andreas Schwab <schwab@redhat.com>
46464
c30b7ee2 46465 [BZ #11577]
5be9d05d
AS
46466 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46467 dl_signal_cerror.
46468
8a492a67
UD
464692010-07-06 Ulrich Drepper <drepper@redhat.com>
46470
46471 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46472 _PC_PIPE_BUF using F_GETPIPE_SZ.
46473
713df3d5
RM
464742010-07-05 Roland McGrath <roland@redhat.com>
46475
46476 * manual/arith.texi (Rounding Functions): Fix rint description
46477 implicit in round description.
46478
702e8f14
UD
464792010-07-02 Ulrich Drepper <drepper@redhat.com>
46480
46481 * elf/Makefile: Fix linking for a few tests to make recent linker
46482 happy.
46483
52ed8be9
AS
464842010-06-30 Andreas Schwab <schwab@redhat.com>
46485
46486 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46487 $(common-objpfx)libc_nonshared.a.
46488
f47c9a11
LM
464892010-06-21 Luis Machado <luisgpm@br.ibm.com>
46490
46491 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46492 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46493 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46494 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46495 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46496 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46497 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46498 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46513 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46514 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46515 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46516 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46517 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46518 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46519 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46520 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46521 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46522 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46523 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46524 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46539
6fb8cbcb
L
465402010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46541
46542 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46543 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46544 * string/memmove.c (memmove): Renamed to ...
46545 (MEMMOVE): ...this. Default to memmove.
46546 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46547 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46548 (END_CHK): Define.
46549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46550 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46551 mempcpy-ssse3-back memmove-ssse3-back.
46552 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46553 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46554 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46555 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46556 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46557 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46558 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46559 * sysdeps/x86_64/multiarch/memmove.c: New file.
46560 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46561 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46562 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46563 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46564 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46565 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46566 Define.
46567 (index_Fast_Copy_Backward): Define.
46568 (HAS_ARCH_FEATURE): Define.
46569 (HAS_FAST_REP_STRING): Define.
46570 (HAS_FAST_COPY_BACKWARD): Define.
46571
4e733bac 465722010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
46573
46574 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46575 Restore proper fallback handling.
46576
63c4ed22
UD
465772010-06-19 Ulrich Drepper <drepper@redhat.com>
46578
ac2b484c
UD
46579 [BZ #11701]
46580 * posix/group_member.c (__group_member): Correct checking loop.
46581
63c4ed22
UD
46582 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46583 OOM in getpwuid_r correctly. Return error number when the caller
46584 should return, otherwise -1.
46585 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46586 call returning > 0 value.
46587 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46588
765ade4b
AS
465892010-06-07 Andreas Schwab <schwab@redhat.com>
46590
46591 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46592 libc_nonshared.a from targets in modules-names.
46593
80da2e09
KS
465942010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46595
46596 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46597 requires it.
46598
158db122
LM
465992010-06-10 Luis Machado <luisgpm@br.ibm.com>
46600
46601 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46602 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46603 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46604 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46605
caa78cf8
AS
466062010-06-02 Andreas Schwab <schwab@redhat.com>
46607
46608 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46609
b2ef2c01
UD
466102010-06-14 Ulrich Drepper <drepper@redhat.com>
46611
46612 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46613 and F_GETPIPE_SZ.
46614 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46615 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46616 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46618 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46619 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46620
fbd643b6
RM
466212010-06-14 Roland McGrath <roland@redhat.com>
46622
46623 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46624
f32f2869
JJ
466252010-06-07 Jakub Jelinek <jakub@redhat.com>
46626
46627 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46628 __REDIRECT followed by __THROW.
46629 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46630 * posix/getopt.h (getopt): Likewise.
46631
2a50c078
EPM
466322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46633
46634 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46635 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46636 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46637 in AT_FLAGS.
46638 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46639 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46640
eb5ad2eb
LM
466412010-05-28 Luis Machado <luisgpm@br.ibm.com>
46642
46643 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46644
3c88fe1e
L
466452010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46646
46647 [BZ #11640]
46648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46649 Properly check family and model.
46650
d2f73151
TY
466512010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46652
46653 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46654
ebd2e13d
LM
466552010-05-24 Luis Machado <luisgpm@br.ibm.com>
46656
46657 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46658
b32b8b45
UD
466592010-05-21 Ulrich Drepper <drepper@redhat.com>
46660
46661 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46662 symbol reference.
46663
9acbe24d
AS
466642010-05-19 Andreas Schwab <schwab@redhat.com>
46665
46666 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46667 symbol reference.
46668
f0ccf6ea
AS
466692010-05-21 Andreas Schwab <schwab@redhat.com>
46670
3d04ff3a
AS
46671 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46672 and internal_recvmmsg.
46673 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46674 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46675 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46676 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46677
f0ccf6ea
AS
46678 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46679 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46680 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46681
5b08ac57
AS
466822010-05-20 Andreas Schwab <schwab@redhat.com>
46683
46684 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46685
4828935d
LM
466862010-05-17 Luis Machado <luisgpm@br.ibm.com>
46687
46688 POWER7 optimizations.
46689 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46690 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46691
373d545e
UD
466922010-05-19 Ulrich Drepper <drepper@redhat.com>
46693
46694 * version.h: Update for 2.13 development version.
46695
21a2b1ae
AS
466962010-05-12 Andrew Stubbs <ams@codesourcery.com>
46697
46698 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46699 exceptions. Return 0.
46700
3f7dcb2b
RM
467012010-05-07 Roland McGrath <roland@redhat.com>
46702
46703 * elf/ldconfig.c (main): Add a const.
46704
5f24d53a 467052010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 46706
a160f8d8
UD
46707 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46708 (args_options): Add no-idn option.
46709 (ahosts_keys_int): Add idn_flags to ai_flags.
46710 (parse_option): Handle 'i' option to clear idn_flags.
46711
5f24d53a
UD
46712 * malloc/malloc.c (_int_free): Possible race in the most recently
46713 added check. Only act on the data if no current modification
46714 happened.
265bb1ce
UD
46715
46716See ChangeLog.17 for earlier changes.