]> sourceware.org Git - glibc.git/blame - ChangeLog
Remove unused file rtld-lowlevel.h.
[glibc.git] / ChangeLog
CommitLineData
bc4a86fa
RM
12014-06-20 Roland McGrath <roland@hack.frob.com>
2
bd7022c4
RM
3 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4
26ffd5e6
RM
5 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9
93a6d082
RM
10 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11 * nptl/stack-aliasing.h: New file.
12 * sysdeps/i386/i686/stack-aliasing.h: New file.
13 * sysdeps/i386/i686/nptl/Makefile: File removed.
14 * sysdeps/x86_64/stack-aliasing.h: New file.
15 * sysdeps/x86_64/nptl/Makefile
16 (CFLAGS-pthread_create.c): Variable removed.
17
bc4a86fa
RM
18 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
19 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
20 old file.
21 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
22 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
23 old file.
24
2272ffc1
JM
252014-06-21 Joseph Myers <joseph@codesourcery.com>
26
27 * sysdeps/unix/sysv/linux/arm/kernel-features.h
28 (__ASSUME_SIGFRAME_V2): Remove macro.
29 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
30 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
31 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
32 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
34 Declare as function. Remove conditional macro definitions.
35 (__default_rt_sa_restorer): Likewise.
36 (__default_sa_restorer_v1): Remove declaration.
37 (__default_sa_restorer_v2): Likewise.
38 (__default_rt_sa_restorer_v1): Likewise.
39 (__default_rt_sa_restorer_v2): Likewise.
40 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
41 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
42 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
43
4b88139b
RM
442014-06-20 Roland McGrath <roland@hack.frob.com>
45
46 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
47 (libpthread-routines): Add sysdep.
48 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49 * sysdeps/unix/sysv/linux/sparc/Versions
50 (libpthread: GLIBC_2.3.3): New version set.
51 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
52 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
53 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
54 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
55 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
56 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
57 Moved ...
58 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
59 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
60 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
61 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
62 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
63 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
64 * sysdeps/sparc/nptl/sem_init.c: ... here.
65 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
66 * sysdeps/sparc/nptl/sem_post.c: ... here.
67 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
68 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
69 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
70 * sysdeps/sparc/nptl/sem_wait.c: ... here.
71 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
72 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
73 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
74 (libpthread-routines): Add cpu_relax.
75 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
76 File removed.
77 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
78 (librt: GLIBC_2.3.3): New version set.
79 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
80 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
81 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
82 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
83 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
84 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
85 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
86 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
87 Moved ...
88 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
89 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
90 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
91 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
92 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
93 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
94 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
95 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
96 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
97 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
98 Moved ...
99 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
100 Update #include.
101 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
102 Moved ...
103 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
104 Update #include.
105 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
106 Moved ...
107 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
108 Update #include.
109 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
110 Moved ...
111 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
112 Update #include.
113 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
114 Moved ...
115 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
116 Update #include.
117 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
118 Moved ...
119 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
120 Update #include.
121 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
122 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
123 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
124 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
125 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
126 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
127 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
128 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
129 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
130 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
132 Moved ...
133 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
134 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
135 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
136 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
137 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
138
d7109027
JM
1392014-06-20 Joseph Myers <joseph@codesourcery.com>
140
9bc6103d
JM
141 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
142 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
143 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
144 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
145 * nscd/nscd.c: Likewise.
146 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
147 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
148 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
149 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
150
d7109027
JM
151 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
152 <kernel-features.h>.
153 (init_mq_netlink): Remove conditional have_sock_cloexec
154 definitions. Remove code conditional on have_sock_cloexec < 0.
155 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
156 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
157 * sysdeps/unix/sysv/linux/opensock.c: Do not include
158 <kernel-features.h>.
159 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
160 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
161
d92d8f8a
L
1622014-06-20 H.J. Lu <hongjiu.lu@intel.com>
163
164 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
165 Add tests for memset_chk and memset.
166
167 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
168 with AVX2_Usable.
169
4e6d2347
MR
1702014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
171
257ce712
MR
172 [BZ #16046]
173 * elf/tst-dl-iter-static.c: New file.
174 * elf/Makefile (tests-static): Add tst-dl-iter-static.
175
4e6d2347
MR
176 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
177 error.
178
a2a76afe
JM
1792014-06-20 Joseph Myers <joseph@codesourcery.com>
180
7fd00f99
JM
181 * sysdeps/unix/sysv/linux/kernel-features.h
182 (__ASSUME_F_GETOWN_EX): Remove macro.
183 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
184 <kernel-features.h>.
185 (miss_F_GETOWN_EX): Remove variable or macro.
186 (do_fcntl): Do not check miss_F_GETOWN_EX.
187 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
188
4a103975
JM
189 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
190 Remove macro.
191 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
192 [!__ASSUME_AT_RANDOM]: Remove conditional code.
193 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
194
a2a76afe
JM
195 * sysdeps/unix/sysv/linux/kernel-features.h
196 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
197 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
198 [ADJ_OFFSET_SS_READ]: Make code unconditional.
199 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
200
90e5dd48
MR
2012014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
202
203 [BZ #17075]
204 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
205 Fix calculation of the symbol's value.
206 * sysdeps/arm/tst-armtlsdescloc.c: New file.
207 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
208 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
209 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
210 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
211 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
212 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
213 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
214 (modules-names): Add `tst-armtlsdescmod',
215 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
216 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
217 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
218 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
219 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
220 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
221 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
222 ($(objpfx)tst-armtlsdescloc): New dependency.
223 ($(objpfx)tst-armtlsdescextnow): Likewise.
224 ($(objpfx)tst-armtlsdescextlazy): Likewise.
225 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
226 TLS scheme support.
227 * sysdeps/arm/configure: Regenerate.
228
809fdf0d
JM
2292014-06-20 Joseph Myers <joseph@codesourcery.com>
230
231 * include/fcntl.h (__atfct_seterrno): Remove prototype.
232 (__atfct_seterrno_2): Likewise.
233 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
234 <kernel-features.h>.
235 (__ASSUME_ATFCTS): Do not undefine and redefine.
236 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
237 (__have_atfcts): Remove conditional definition.
238 (__fxstatat([__NR_fstatat64]: Make code unconditional.
239 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
240 unreachable if [__ASSUME_ATFCTS].
241 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
242 not undefine and redefine.
243 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
244 <kernel-features.h>.
245 (faccessat) [__NR_faccessat]: Make code unconditional.
246 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
247 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
248 <kernel-features.h>.
249 (fchmodat) [__NR_fchmodat]: Make code unconditional.
250 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
251 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
252 <kernel-features.h>.
253 (fchownat) [__NR_fchownat]: Make code unconditional.
254 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
255 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
256 <kernel-features.h>.
257 (futimesat) [__NR_futimesat]: Make code unconditional.
258 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
259 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
260 <kernel-features.h>.
261 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
262 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
263 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
264 <kernel-features.h>.
265 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
266 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
267 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
268 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
269 <kernel-features.h>.
270 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
271 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
272 * sysdeps/unix/sysv/linux/linkat.c: Do not include
273 <kernel-features.h>.
274 (linkat) [__NR_linkat]: Make code unconditional.
275 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
276 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
277 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
278 <kernel-features.h>.
279 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
280 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
281 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
282 <kernel-features.h>.
283 (mkdirat) [__NR_mkdirat]: Make code unconditional.
284 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
285 * sysdeps/unix/sysv/linux/openat.c: Do not include
286 <kernel-features.h>.
287 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
288 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
289 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
290 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
291 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
292 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
293 <kernel-features.h>.
294 (readlinkat) [__NR_readlinkat]: Make code unconditional.
295 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
296 result of INLINE_SYSCALL directly, not via int variable.
297 * sysdeps/unix/sysv/linux/renameat.c: Do not include
298 <kernel-features.h>.
299 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
300 (renameat) [__NR_renameat]: Make code unconditional.
301 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
302 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
303 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
304 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
305 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
306 (__ASSUME_ATFCTS): Do not undefine and redefine.
307 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
308 <kernel-features.h>.
309 (symlinkat) [__NR_symlinkat]: Make code unconditional.
310 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
311 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
312 <kernel-features.h>.
313 (unlinkat) [__NR_unlinkat]: Make code unconditional.
314 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
315 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
316 (__ASSUME_ATFCTS): Do not undefine and redefine.
317 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
318 <kernel-features.h>.
319 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
320 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
321 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
322 <kernel-features.h>.
323 (__xmknodat) [__NR_mknodat]: Make code unconditional.
324 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
325
224c6c51
L
3262014-06-20 H.J. Lu <hongjiu.lu@intel.com>
327
328 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
329
aa6ec754
AS
3302014-06-20 Andreas Schwab <schwab@linux-m68k.org>
331
332 [BZ #17069]
333 * posix/regcomp.c (parse_reg_exp): Deallocate partially
334 constructed tree before returning error.
335 * posix/bug-regexp36.c: Expand test case.
336
d8c2869d
SL
3372014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
338
3ef6b850
SL
339 [BZ #6803]
340 * math/libm-test.inc (scalbln_test_date):
341 Add errno expectations.
342 * math/w_scalblnf.c: New File.
343 Add wrapper which checks for setting errno to ERANGE.
344 Add weak_alias for corresponding scalbln function.
345 * math/w_scalbln.c: Likewise.
346 * math/w_scalblnl.c: Likewise.
347 * math/Makefile (libm-calls): Add w_scalbln.
348 * sysdeps/ieee754/flt-32/s_scalblnf.c:
349 Remove weak_alias for corresponding scalbln function.
350 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
351 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
352 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
353 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
354 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
355 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
356 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
357 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
358 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
359 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
360 Remove long_double_symbol for scalblnl function in libm, libc.
361 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
362 Add wrapper which checks for setting errno to ERANGE.
363 Add long_double_symbol for scalblnl function in libm, libc.
364 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
365 Remove long_double_symbol for scalblnl in libm.
366 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
367 Add wrapper which checks for setting errno to ERANGE.
368 Add long_double_symbol for scalblnl function in libm.
369 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
370 Do not use wrapper because of own implementation.
371
c8daec5c
L
3722014-06-19 H.J. Lu <hongjiu.lu@intel.com>
373
374 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
375 3 bytes for __pad1 for x32.
376 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
377
5c74e47c
LM
3782014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
379 H.J. Lu <hongjiu.lu@intel.com>
380
381 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
382 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
383 * sysdeps/x86_64/multiarch/memset.S: Likewise.
384 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
385 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
386
4d43ef1e
AS
3872014-06-19 Andreas Schwab <schwab@linux-m68k.org>
388
389 [BZ #17069]
390 * posix/regcomp.c (parse_expression): Deallocate partially
391 constructed tree before returning error.
392 * posix/Makefile.c (tests): Add bug-regex36.
393 (generated): Add bug-regex36.mtrace.
394 (tests-special): Add $(objpfx)bug-regex36-mem.out
395 (bug-regex36-ENV): New variable.
396 ($(objpfx)bug-regex36-mem.out): New rule.
397 * posix/bug-regex36.c: New file.
398
51a7380b
WN
3992014-06-19 Will Newton <will.newton@linaro.org>
400
401 * malloc/malloc.c (systrim): If extra is zero then return
402 early.
403
91b84fe5
SP
4042014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
405
406 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
407
f940b965
RE
4082014-06-19 Richard Earnshaw <rearnsha@arm.com>
409
410 * sysdeps/aarch64/strchr.S: New file.
411
4ba7a00f
JM
4122014-06-18 Joseph Myers <joseph@codesourcery.com>
413
414 [BZ #17022]
415 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
416 from arguments -2 or below.
417 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
418 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
419
b3a9f56b
AS
4202014-06-18 Andreas Schwab <schwab@suse.de>
421
422 [BZ #17062]
423 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
424 of a bracket expr not to run off the end of the string.
425 * posix/Makefile (tests): Add tst-fnmatch3.
426 * posix/tst-fnmatch3.c: New file.
427
85d89278
JM
4282014-06-18 Joseph Myers <joseph@codesourcery.com>
429
430 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
431 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
432 [$(cross-compiling) = no]: Likewise.
433 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
434 [$(cross-compiling) = no]: Likewise.
435
754c5a08
RS
4362014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
437
438 [BZ #17031]
439 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
440 double, adjusted for any remainder from the high double.
441 * math/libm-test.inc (nearbyint): Add tests.
442 (rint): Likewise.
443
556f529d
AZ
4442014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
445
446 * nptl/sysdeps/powerpc/Makefile: Moved ...
447 * sysdeps/powerpc/nptl/Makefile: ... here.
448 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
449 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
450 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
451 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
452 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
453 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
454 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
455 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
456 * nptl/sysdeps/powerpc/tls.h: Moved ...
457 * sysdeps/powerpc/nptl/tls.h: ... here.
458
91c03c53
JM
4592014-06-16 Joseph Myers <joseph@codesourcery.com>
460
461 [BZ #16681]
462 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
463 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
464 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
465 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
466 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
467 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
468 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
469 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
470 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
471
a76e63c5
AS
4722014-06-17 Andreas Schwab <schwab@linux-m68k.org>
473
474 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
475
f2f6d82f
AS
4762014-06-16 Andreas Schwab <schwab@linux-m68k.org>
477
ea8a15f6
AS
478 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
479 defined operator.
480
f2f6d82f
AS
481 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
482 $TIMEOUTFACTOR.
483
a7291117
FW
4842014-06-16 Florian Weimer <fweimer@redhat.com>
485
486 [BZ #17058]
487 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
488 non-executed part of the test.
489
3d7c00e3
AS
4902014-06-16 Andreas Schwab <schwab@suse.de>
491
492 * string/bits/string2.h (strdup, strndup): Update feature guard.
493
6957fb31
DM
4942014-06-14 David S. Miller <davem@davemloft.net>
495
496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
497
11b9e55b
AS
4982014-06-14 Andreas Schwab <schwab@linux-m68k.org>
499
1d2a0492
AS
500 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
501 that was previously under [RESET_PID].
502 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
503
11b9e55b
AS
504 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
505 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
506 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
507 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
508 (__libc_vfork): New strong alias.
509 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
510
0f6901d0
AK
5112014-06-14 Andi Kleen <ak@linux.intel.com>
512
513 * sysdeps/generic/elide.h: New file.
514
38bbbb9f
SL
5152014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
516
517 * Makefile (installed-headers): Adjust path of pthread.h header.
518
45193bb8
RM
5192014-06-13 Roland McGrath <roland@hack.frob.com>
520
9a25fd1e
RM
521 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
522 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
523 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
524 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
525
4004f7e4
RM
526 * nptl/sysdeps/s390/Makefile: Moved ...
527 * sysdeps/s390/nptl/Makefile: ... here.
528 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
529 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
530 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
531 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
532 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
533 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
534 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
535 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
536 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
537 * sysdeps/s390/nptl/pthreaddef.h: ... here.
538 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
539 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
540 * nptl/sysdeps/s390/tls.h: Moved ...
541 * sysdeps/s390/nptl/tls.h: ... here.
542
45193bb8
RM
543 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
544 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
545
f6fdf533
DM
5462014-06-13 David S. Miller <davem@davemloft.net>
547
548 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
549 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
550 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
551 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
552 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
553 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
554 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
555 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
556 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
557 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
558 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
559 Remove RESET_PID cpp guards.
560 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
561 Remove RESET_PID cpp guards.
562 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
563
f5d71e14
AS
5642014-06-13 Andreas Schwab <schwab@linux-m68k.org>
565
566 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
567 __sp to uintptr_t.
568
b7aa8caa
AK
5692014-06-13 Andi Kleen <ak@linux.intel.com>
570
4b266200
AZ
571 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
572 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
573 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
574 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
575 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
576 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
577 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
578 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
579 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
580 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
581 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
582 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
583 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
584 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
585 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
586 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
587 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
588 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
589 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
590 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
591
592 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
593 (pthread_rwlock_rdlock): Add elision.
594 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
595 (pthread_rwlock_wrlock): Add elision.
596 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
597 (pthread_rwlock_trywrlock): Add elision.
598 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
599 (pthread_rwlock_tryrdlock): Add elision.
600 * nptl/pthread_rwlock_unlock.c: Include elide.h.
601 (pthread_rwlock_tryrdlock): Add elision unlock.
602 * nptl/sysdeps/pthread/pthread.h:
603 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
604 (PTHREAD_RWLOCK_INITIALIZER,
605 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
606 Handle new elision field.
607 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
608 * sysdeps/arm/nptl/bits/pthreadtypes.h
609 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
610 * sysdeps/sh/nptl/bits/pthreadtypes.h
611 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
612 * sysdeps/tile/nptl/bits/pthreadtypes.h
613 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
614 * sysdeps/a/nptl/bits/pthreadtypes.h
615 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
616 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
617 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
618 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
619 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
620 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
621 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
622 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
623 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
624 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
625 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
626 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
627 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
628 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
629 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
630 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
631 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
632 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
633 (elision_init): Set try_xbegin to zero when no RTM.
634 * sysdeps/x86/nptl/bits/pthreadtypes.h
635 (pthread_rwlock_t): Change __pad1 to __rwelision.
636 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 637
a832bdd3
AK
6382014-06-13 Andi Kleen <ak@linux.intel.com>
639
640 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
641 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
642 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
643 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
644
995a46bb
MI
6452014-06-13 Meador Inge <meadori@codesourcery.com>
646
647 [BZ #16996]
03ed7738 648 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
649 that the cached result has been set before returning it.
650
45262aee
RM
6512014-06-12 Roland McGrath <roland@hack.frob.com>
652
febf6cc5
RM
653 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
654 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
655 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
656 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
657 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
658 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
659
e2682246
RM
660 * nptl/sysdeps/sparc/Makefile: Moved ...
661 * sysdeps/sparc/nptl/Makefile: ... here.
662 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
663 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
664 * nptl/sysdeps/sparc/tls.h: Moved ...
665 * sysdeps/sparc/nptl/tls.h: ... here.
666 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
667 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
668 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
669 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
670 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
671 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
672 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
673 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
674 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
675 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
676 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
677 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
678 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
679 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
680 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
681 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
682 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
683 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
684 Update #include.
685 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
686 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
687 Update #include.
688 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
689 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
690 Update #include.
691 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
692 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
693 Update #include.
694
b0725f43
RM
695 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
696
b14368b8
RM
697 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
698 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
699
c5620eb3
RM
700 * sysdeps/pthread/posix-timer.h: Include <list.h>.
701 (struct list_links): Type removed.
702 (struct thread_node, struct timer_node): Replace struct list_links
703 with struct list_head.
704 (list_unlink_ip): Likewise.
705 * sysdeps/pthread/timer_routines.c
706 (timer_free_list, thread_free_list, thread_active_list): Likewise.
707 (list_append, list_insbefore): Likewise.
708 (list_init): Function removed.
709 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
710 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
711 * sysdeps/pthread/Makefile: ... here, new file.
712
713 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
714 * sysdeps/nptl/Implies: ... here.
715 * sysdeps/unix/sysv/linux/Implies: Add nptl.
716 * nptl/sysdeps/pthread/list.h: Moved ...
717 * include/list.h: ... here.
718 * nptl/sysdeps/pthread/createthread.c: Moved ...
719 * nptl/createthread.c: ... here.
720 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
721 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
722 * nptl/pt-longjmp.c: ... here.
723 * nptl/sysdeps/pthread/Makefile: Moved ...
724 * sysdeps/nptl/Makefile: ... here.
725 * nptl/sysdeps/pthread/Subdirs: Moved ...
726 * sysdeps/nptl/Subdirs: ... here.
727 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
728 * sysdeps/nptl/aio_misc.h: ... here.
729 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
730 * sysdeps/nptl/bits/libc-lock.h: ... here.
731 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
732 * sysdeps/nptl/bits/libc-lockP.h: ... here.
733 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
734 * sysdeps/nptl/bits/stdio-lock.h: ... here.
735 * nptl/sysdeps/pthread/configure: Moved ...
736 * sysdeps/nptl/configure: ... here.
737 * nptl/sysdeps/pthread/configure.ac: Moved ...
738 * sysdeps/nptl/configure.ac: ... here.
739 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
740 * sysdeps/nptl/gai_misc.h: ... here.
741 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
742 * sysdeps/nptl/librt-cancellation.c: ... here.
743 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
744 * sysdeps/nptl/malloc-machine.h: ... here.
745 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
746 * sysdeps/nptl/pthread-functions.h: ... here.
747 * nptl/sysdeps/pthread/pthread.h: Moved ...
748 * sysdeps/nptl/pthread.h: ... here.
749 * nptl/sysdeps/pthread/setxid.h: Moved ...
750 * sysdeps/nptl/setxid.h: ... here.
751 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
752 * sysdeps/nptl/sigfillset.c: ... here.
753 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
754 * sysdeps/nptl/tcb-offsets.h: ... here.
755 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
756 * sysdeps/nptl/tst-mqueue8x.c: ... here.
757 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
758 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
759 * nptl/sysdeps/pthread/allocalim.h: Moved ...
760 * sysdeps/pthread/allocalim.h: ... here.
761 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
762 * sysdeps/pthread/bits/sigthread.h: ... here.
763 * nptl/sysdeps/pthread/flockfile.c: Moved ...
764 * sysdeps/pthread/flockfile.c: ... here.
765 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
766 * sysdeps/pthread/ftrylockfile.c: ... here.
767 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
768 * sysdeps/pthread/funlockfile.c: ... here.
769 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
770 * sysdeps/pthread/posix-timer.h: ... here.
771 * nptl/sysdeps/pthread/timer_create.c: Moved ...
772 * sysdeps/pthread/timer_create.c: ... here.
773 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
774 * sysdeps/pthread/timer_delete.c: ... here.
775 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
776 * sysdeps/pthread/timer_getoverr.c: ... here.
777 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
778 * sysdeps/pthread/timer_gettime.c: ... here.
779 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
780 * sysdeps/pthread/timer_routines.c: ... here.
781 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
782 * sysdeps/pthread/timer_settime.c: ... here.
783 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
784 * sysdeps/pthread/tst-timer.c: ... here.
785 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
786 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
787
e876b090
RM
788 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
789 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
790
f6b07b3d
RM
791 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
792 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
793 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
794 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
795 Update #include target.
796 * nptl/sysdeps/i386/i686/Makefile: Moved ...
797 * sysdeps/i386/i686/nptl/Makefile: ... here.
798 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
799 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
800 Update #include target.
801 * nptl/sysdeps/i386/i686/tls.h: Moved ...
802 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
803 * nptl/sysdeps/i386/Makefile: Moved ...
804 * sysdeps/i386/nptl/Makefile: ... here.
805 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
806 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
807 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
808 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
809 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
810 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
811 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
812 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
813 * sysdeps/i386/nptl/pthreaddef.h: ... here.
814 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
815 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
816 * nptl/sysdeps/i386/tls.h: Moved ...
817 * sysdeps/i386/nptl/tls.h: ... here.
818
45262aee
RM
819 * sysdeps/sh/Makefile [$(subdir) = csu]
820 (gen-as-const-headers): Add tcb-offsets.sym.
821 * nptl/sysdeps/sh/Makefile: File removed.
822 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
823 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
824 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
825 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
826 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
827 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
828 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
829 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
830 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
831 * sysdeps/sh/nptl/pthreaddef.h: ... here.
832 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
833 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
834 * nptl/sysdeps/sh/tls.h: Moved ...
835 * sysdeps/sh/nptl/tls.h: ... here.
836 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
837 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
838 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
839 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
840 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
841 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
842 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
843 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
844 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
845 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
846 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
847 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
848 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
849 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
850 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
851 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
852 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
853 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
854 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
855 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
856 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
857 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
858 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
859 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
860 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
861 Moved ...
862 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
863 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
864 Moved ...
865 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
866 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
867 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
868 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
869 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
870 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
871 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
872 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
873 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
874 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
875 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
876 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
877 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
878 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
879 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
880 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
881 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
882 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
883 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
884
35a5e3e3
SL
8852014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
886
887 * posix/spawn_faction_addopen.c: Include string.h.
888
14642b85
RM
8892014-06-11 Roland McGrath <roland@hack.frob.com>
890
891 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
892 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
893 * nptl/sysdeps/x86_64/Makefile: Moved ...
894 * sysdeps/x86_64/nptl/Makefile: ... here.
895 * nptl/sysdeps/x86_64/configure: Moved ...
896 * sysdeps/x86_64/nptl/configure: ... here.
897 * nptl/sysdeps/x86_64/configure.ac: Moved ...
898 * sysdeps/x86_64/nptl/configure.ac: ... here.
899 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
900 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
901 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
902 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
903 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
904 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
905 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
906 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
907 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
908 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
909 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
910 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
911 * nptl/sysdeps/x86_64/tls.h: Moved ...
912 * sysdeps/x86_64/nptl/tls.h: ... here.
913 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
914 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
915 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
916 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
917
918 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
919
31c44fea
AZ
9202014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
921
922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
923
e81a4f9a
JM
9242014-06-11 Joseph Myers <joseph@codesourcery.com>
925
926 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
927 type.
928 [POSIX] (off_t): Likewise.
929 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
930 [POSIX] (S_ISBLK): Require macro.
931 [POSIX] (S_ISCHR): Likewise.
932 [POSIX] (S_ISDIR): Likewise.
933 [POSIX] (S_ISFIFO): Likewise.
934 [POSIX] (S_ISREG): Likewise.
935 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
936 optional-macro.
937 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
938 type.
939 [POSIX] (time_t): Likewise.
940 [POSIX] (timer_t): Likewise.
941
89e435f3
FW
9422014-06-11 Florian Weimer <fweimer@redhat.com>
943
944 [BZ #17048]
945 * posix/spawn_int.h (struct __spawn_action): Make the path string
946 non-const to support deallocation.
947 * posix/spawn_faction_addopen.c
948 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
949 * posix/spawn_faction_destroy.c
950 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
951 path in all spawn_do_open actions.
952 * posix/tst-spawn.c (do_test): Exercise the copy operation in
953 posix_spawn_file_actions_addopen.
954
c3a2ebe1
CM
9552014-06-11 Chris Metcalf <cmetcalf@tilera.com>
956
957 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
958 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
959 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
960 conditional code always true.
961 (__libc_vfork): New alias.
962
9503784a
RM
9632014-06-11 Roland McGrath <roland@hack.frob.com>
964
c9cab3d2
RM
965 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
966 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
967
d3996c79
RM
968 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
969
ba5ec611
RM
970 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
971 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
972
f12b4814
RM
973 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
974 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
975
9503784a
RM
976 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
977 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
978
e23d3d26
VR
9792014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
980
981 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
982 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
983 multiarch strcmp for PPC64.
984 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
985 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
986 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
987 multiarch optimizations.
988 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
989 (__libc_ifunc_impl_list): Likewise.
990
42b1161e
SP
9912014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
992
993 * benchtests/scripts/validate_benchout.py: New script.
994 * benchtests/Makefile (bench-func): Call it.
995 * benchtests/scripts/benchout.schema.json: New file.
996
2d0fc4dc
CM
9972014-06-10 Chris Metcalf <cmetcalf@tilera.com>
998
4a594c34
AZ
999 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1000 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1001 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1002 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1003 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1004 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1005 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1006 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1007 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1008 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1009 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1010 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1011 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1012 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1013 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1014 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 1016 Moved ...
4a594c34 1017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 1018 ... here.
4a594c34 1019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 1020 Moved ...
4a594c34
AZ
1021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 1023 Moved ...
4a594c34 1024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 1025 ... here.
4a594c34 1026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 1027 Moved ...
4a594c34 1028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 1029 ... here.
4a594c34 1030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 1031 Moved ...
4a594c34
AZ
1032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 1034 Moved ...
4a594c34 1035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 1036 ... here.
4a594c34 1037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 1038 Moved ...
4a594c34 1039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 1040 ... here.
4a594c34 1041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 1042 Moved ...
4a594c34
AZ
1043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 1045 Moved ...
4a594c34 1046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 1047 ... here.
4a594c34 1048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 1049 Moved ...
4a594c34 1050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 1051 ... here.
4a594c34 1052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 1053 Moved ...
4a594c34 1054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 1055 ... here.
4a594c34 1056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 1057 Moved ...
4a594c34
AZ
1058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 1060 Moved ...
4a594c34 1061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 1062 ... here.
4a594c34 1063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 1064 Moved ...
4a594c34 1065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 1066 ... here.
4a594c34 1067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 1068 Moved ...
4a594c34 1069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 1070 ... here.
4a594c34 1071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 1072 Moved ...
4a594c34
AZ
1073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 1075 Moved ...
4a594c34 1076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 1077 ... here.
4a594c34 1078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 1079 Moved ...
4a594c34 1080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 1081 ... here.
4a594c34 1082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 1083 Moved ...
4a594c34
AZ
1084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 1086 Moved ...
4a594c34 1087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 1088 ... here.
4a594c34 1089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 1090 Moved ...
4a594c34
AZ
1091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 1093 Moved ...
4a594c34
AZ
1094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 1096 Moved ...
4a594c34 1097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 1098 ... here.
4a594c34 1099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 1100 Moved ...
4a594c34 1101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 1102 ... here.
4a594c34 1103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 1104 Moved ...
4a594c34 1105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 1106 ... here.
4a594c34 1107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 1108 Moved ...
4a594c34
AZ
1109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 1111 Moved ...
4a594c34 1112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 1113 ... here.
4a594c34 1114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 1115 Moved ...
4a594c34 1116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 1117 ... here.
4a594c34
AZ
1118 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1119 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1120 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1121 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1122 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 1123 Moved ...
4a594c34 1124 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 1125 ... here.
4a594c34
AZ
1126 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1127 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1128 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1129 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1130 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1131 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1132 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1133 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1134 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1135 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1136 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1137 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1138 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 1139 Moved ...
4a594c34
AZ
1140 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1141 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 1142 Moved ...
4a594c34
AZ
1143 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1144 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1145 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1146 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 1147 Moved ...
4a594c34
AZ
1148 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1149 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1150 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1151 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1152 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1153 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1154 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 1155
0570cfed
W
11562014-06-10 Wilco <wdijkstr@arm.com>
1157
1158 * math/test-fenv-return.c: New file.
1159 * math/Makefile: Add new test test-fenv-return.
1160
f8ba1b56
JM
11612014-06-10 Joseph Myers <joseph@codesourcery.com>
1162
1163 [BZ #17042]
1164 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1165 when x - 1 is zero.
1166 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1167 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1168 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1169 0.0L for an argument of 1.0L.
1170 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1171 Likewise.
1172 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1173 value when x - 1 is zero.
1174 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1175 * sysdeps/i386/fpu/libm-test-ulps: Update.
1176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1177
2c3520d9
BO
11782014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1179
1180 [BZ #15119]
1181 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1182
acaa4d24
RM
11832014-06-09 Roland McGrath <roland@hack.frob.com>
1184
1185 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1186 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1187
962b744d
RM
11882014-06-09 Roland McGrath <roland@hack.frob.com>
1189
d752f0cc
RM
1190 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1191 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1192
34eda6d1
RM
1193 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1194 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1195
50f0a637
RM
1196 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1197 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1198
08f41f04
RM
1199 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1200 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1201
962b744d
RM
1202 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1203 if not already defined.
1204 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1205 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1206 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1207 (TLS_INIT_TP): Use it.
1208 (TLS_DEFINE_INIT_TP): New macro.
1209 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1210
09f19b05
JM
12112014-06-09 Joseph Myers <joseph@codesourcery.com>
1212
1213 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1214 constant.
1215 [POSIX] (IXANY): Likewise.
1216 [POSIX] (OLCUC): Likewise.
1217 [POSIX || POSIX2008] (CBAUD): Do not allow.
1218 [POSIX || POSIX2008] (DEFECHO): Likewise.
1219 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1220 [POSIX || POSIX2008] (ECHOKE): Likewise.
1221 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1222 [POSIX || POSIX2008] (EXTA): Likewise.
1223 [POSIX || POSIX2008] (EXTB): Likewise.
1224 [POSIX || POSIX2008] (FLUSHO): Likewise.
1225 [POSIX || POSIX2008] (LOBLK): Likewise.
1226 [POSIX || POSIX2008] (PENDIN): Likewise.
1227 [POSIX || POSIX2008] (SWTCH): Likewise.
1228 [POSIX || POSIX2008] (VDISCARD): Likewise.
1229 [POSIX || POSIX2008] (VDSUSP): Likewise.
1230 [POSIX || POSIX2008] (VLNEXT): Likewise.
1231 [POSIX || POSIX2008] (VREPRINT): Likewise.
1232 [POSIX || POSIX2008] (VSTATUS): Likewise.
1233 [POSIX || POSIX2008] (VWERASE): Likewise.
1234 (B*): Change to B[0123456789]*.
1235 * conform/data/time.h-data [POSIX || UNIX98]
1236 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1237 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1238 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1239 [POSIX] (tm_*): Do not allow.
1240
686554bf
JM
12412014-06-07 Joseph Myers <joseph@codesourcery.com>
1242
1243 * Makefile (install): Don't set LANGUAGE.
1244 * Makefile.in (install): Likewise.
1245 * assert/Makefile (test-assert-ENV): Remove variable.
1246 (test-assert-perr-ENV): Likewise.
1247 * elf/Makefile (neededtest4-ENV): Likewise.
1248 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1249 [$(cross-compiling) = no]: Don't set LANGUAGE.
1250 * io/ftwtest-sh (LANG): Remove variable.
1251 * libio/Makefile (tst-widetext-ENV): Likewise.
1252 * manual/install.texi (Running make install): Don't refer to
1253 environment settings for make install.
1254 * INSTALL: Regenerated.
1255 * nptl/tst-tls6.sh: Don't set LANG.
1256 * posix/globtest.sh (LANG): Remove variable.
1257 * string/Makefile (tester-ENV): Likewise.
1258 (inl-tester-ENV): Likewise.
1259 (noinl-tester-ENV): Likewise.
1260 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1261 [$(cross-compiling) = no]: Don't set LANGUAGE.
1262 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1263 without explicit environment settings.
1264
68e6b6b1
RM
12652014-06-06 Roland McGrath <roland@hack.frob.com>
1266
1267 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1268 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1269 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1270 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1271
4d3ae034
CM
12722014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1273
1274 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1275 other files in the crypt directory.
1276 * crypt/crypt.c: Remove duplicate includes.
1277 * crypt/crypt-entry.c: Likewise.
1278 * crypt/crypt_util.c: Likewise.
1279
8540f6d2
JM
12802014-06-06 Joseph Myers <joseph@codesourcery.com>
1281
1282 * Makeconfig (run-program-env): New variable.
1283 (run-program-prefix-before-env): Likewise.
1284 (run-program-prefix-after-env): Likewise.
1285 (run-program-prefix): Define in terms of new variables.
1286 (built-program-cmd-before-env): New variable.
1287 (built-program-cmd-after-env): Likewise.
1288 (built-program-cmd): Define in terms of new variables.
1289 (test-program-prefix-before-env): New variable.
1290 (test-program-prefix-after-env): Likewise.
1291 (test-program-prefix): Define in terms of new variables.
1292 (test-program-cmd-before-env): New variable.
1293 (test-program-cmd-after-env): Likewise.
1294 (test-program-cmd): Define in terms of new variables.
1295 * Rules (make-test-out): Use $(run-program-env).
1296 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1297 (help): Do not mention environment variables. Mention
1298 --timeoutfactor option.
1299 (timeoutfactor): New variable.
1300 (blacklist_exports): Remove function.
1301 (exports): Remove variable.
1302 (command): Do not include ${exports}.
1303 * manual/install.texi (Configuring and compiling): Do not mention
1304 test wrappers preserving environment variables. Mention that last
1305 assignment to a variable must take precedence.
1306 * INSTALL: Regenerated.
1307 * benchtests/Makefile (run-bench): Use $(run-program-env).
1308 * catgets/Makefile ($(objpfx)test1.cat): Use
1309 $(built-program-cmd-before-env), $(run-program-env) and
1310 $(built-program-cmd-after-env).
1311 ($(objpfx)test2.cat): Do not specify environment variables
1312 explicitly.
1313 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1314 $(run-program-env) and $(built-program-cmd-after-env).
1315 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1316 $(run-program-env) and $(test-program-cmd-after-env).
1317 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1318 explicitly.
1319 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1320 run_program_env and test_program_cmd_after_env arguments.
1321 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1322 * elf/tst-pathopt.sh: Use run_program_env argument.
1323 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1324 $(test-wrapper-env) and $(run-program-env).
1325 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1326 run_program_env arguments.
1327 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1328 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1329 $(test-program-prefix-before-env), $(run-program-env) and
1330 $(test-program-prefix-after-env).
1331 ($(objpfx)tst-gettext2.out): Likewise.
1332 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1333 run_program_env and test_program_prefix_after_env arguments.
1334 * intl/tst-gettext2.sh: Likewise.
1335 * intl/tst-gettext4.sh: Do not set environment variables
1336 explicitly.
1337 * intl/tst-gettext6.sh: Likewise.
1338 * intl/tst-translit.sh: Likewise.
1339 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1340 $(test-program-prefix-before-env), $(run-program-env) and
1341 $(test-program-prefix-after-env).
1342 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1343 run_program_env and test_program_prefix_after_env arguments.
1344 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1345 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1346 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1347 explicitly with each use of ${test_wrapper_env}.
1348 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1349 $(test-program-prefix-before-env), $(run-program-env) and
1350 $(test-program-prefix-after-env).
1351 * posix/tst-getconf.sh: Do not set environment variables
1352 explicitly.
1353 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1354 run_program_env and test_program_prefix_after_env arguments.
1355 * stdio-common/tst-printf.sh: Do not set environment variables
1356 explicitly.
1357 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1358 $(test-program-prefix-before-env), $(run-program-env) and
1359 $(test-program-prefix-after-env).
1360 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1361 run_program_env and test_program_prefix_after_env arguments.
1362 Split $test calls into $test_pre and $test.
1363 * timezone/Makefile (build-testdata): Use
1364 $(built-program-cmd-before-env), $(run-program-env) and
1365 $(built-program-cmd-after-env).
1366
ed36bfa1
AZ
13672014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1368
1369 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1370 strlen for non SHARED builds.
1371
fc75bf46
SP
13722014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1373
1374 * nptl/allocatestack.c (check_list): Inlined function...
1375 (__reclaim_stacks): ... here.
1376
d89b3d80
OB
13772014-06-05 Ondřej Bílka <neleai@seznam.cz>
1378
1379 [BZ #15698]
1380 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1381 memory overrun.
1382
2bf18041
JM
13832014-06-05 Joseph Myers <joseph@codesourcery.com>
1384
1385 * Rules (make-test-out): Include
1386 LOCPATH=$(common-objpfx)localedata in default environment.
1387 * debug/Makefile (tst-chk1-ENV): Remove variable.
1388 (tst-chk2-ENV): Likewise.
1389 (tst-chk3-ENV): Likewise.
1390 (tst-chk4-ENV): Likewise.
1391 (tst-chk5-ENV): Likewise.
1392 (tst-chk6-ENV): Likewise.
1393 (tst-lfschk1-ENV): Likewise.
1394 (tst-lfschk2-ENV): Likewise.
1395 (tst-lfschk3-ENV): Likewise.
1396 (tst-lfschk4-ENV): Likewise.
1397 (tst-lfschk5-ENV): Likewise.
1398 (tst-lfschk6-ENV): Likewise.
1399 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1400 (tst-iconv7-ENV): Likewise.
1401 * intl/Makefile (LOCPATH-ENV): Likewise.
1402 (tst-codeset-ENV): Likewise.
1403 (tst-gettext3-ENV): Likewise.
1404 (tst-gettext5-ENV): Likewise.
1405 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1406 (tst-fopenloc-ENV): Likewise.
1407 (tst-fgetws-ENV): Remove variable.
1408 (tst-ungetwc1-ENV): Likewise.
1409 (tst-ungetwc2-ENV): Likewise.
1410 (bug-ungetwc2-ENV): Likewise.
1411 (tst-swscanf-ENV): Likewise.
1412 (bug-ftell-ENV): Likewise.
1413 (tst-fgetwc-ENV): Likewise.
1414 (tst-fseek-ENV): Likewise.
1415 (tst-ftell-partial-wide-ENV): Likewise.
1416 (tst-ftell-active-handler-ENV): Likewise.
1417 (tst-ftell-append-ENV): Likewise.
1418 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1419 (tst-regexloc-ENV): Likewise.
1420 (bug-regex1-ENV): Likewise.
1421 (tst-regex-ENV): Likewise.
1422 (tst-regex2-ENV): Likewise.
1423 (bug-regex5-ENV): Likewise.
1424 (bug-regex6-ENV): Likewise.
1425 (bug-regex17-ENV): Likewise.
1426 (bug-regex18-ENV): Likewise.
1427 (bug-regex19-ENV): Likewise.
1428 (bug-regex20-ENV): Likewise.
1429 (bug-regex22-ENV): Likewise.
1430 (bug-regex23-ENV): Likewise.
1431 (bug-regex25-ENV): Likewise.
1432 (bug-regex26-ENV): Likewise.
1433 (bug-regex30-ENV): Likewise.
1434 (bug-regex32-ENV): Likewise.
1435 (bug-regex33-ENV): Likewise.
1436 (bug-regex34-ENV): Likewise.
1437 (bug-regex35-ENV): Likewise.
1438 (tst-rxspencer-ENV): Likewise.
1439 (tst-rxspencer-no-utf8-ENV): Likewise.
1440 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1441 (tst-sscanf-ENV): Likewise.
1442 (tst-swprintf-ENV): Likewise.
1443 (tst-swscanf-ENV): Likewise.
1444 (test-vfprintf-ENV): Likewise.
1445 (scanf13-ENV): Likewise.
1446 (bug14-ENV): Likewise.
1447 (tst-grouping-ENV): Likewise.
1448 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1449 (tst-strtod3-ENV): Likewise.
1450 (tst-strtod4-ENV): Likewise.
1451 (tst-strtod5-ENV): Likewise.
1452 (testmb2-ENV): Likewise./
1453 * string/Makefile (tst-strxfrm-ENV): Likewise.
1454 (tst-strxfrm2-ENV): Likewise.
1455 (bug-strcoll1-ENV): Likewise.
1456 (test-strcasecmp-ENV): Likewise.
1457 (test-strncasecmp-ENV): Likewise.
1458 * time/Makefile (tst-strptime-ENV): Likewise.
1459 (tst-ftime_l-ENV): Likewise.
1460 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1461 (tst-mbrtowc-ENV): Likewise.
1462 (tst-wcrtomb-ENV): Likewise.
1463 (tst-mbrtowc2-ENV): Likewise.
1464 (tst-c16c32-1-ENV): Likewise.
1465 (tst-mbsnrtowcs-ENV): Likewise.
1466
cd1fb604
OB
14672014-06-05 Ondřej Bílka <neleai@seznam.cz>
1468
1469 * manual/resource.texi (How to get information about the memory
1470 subsystem?): Fix typo.
1471 Reported by Peon de la Parra Ivan <peon@keba.com>
1472
b42eca7d
GY
14732014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1474
1475 [BZ #16882]
1476 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1477 (pthread_spin_lock): Branch out of spin loop to proper location.
1478 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1479 (pthread_spin_lock): Likewise.
1480
902b71f9
DM
1481 * nptl/tst-spin4.c: New test.
1482 * nptl/Makefile (tests): Add tst-spin4.
1483
f9d2d032
AS
14842014-06-03 Andreas Schwab <schwab@suse.de>
1485
1486 [BZ #15946]
1487 * resolv/res_send.c (send_dg): Reload file descriptor after
1488 calling reopen.
1489
cf7bfd28
SL
14902014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1491
1492 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1493
111cc714
RH
14942014-06-03 Richard Henderson <rth@redhat.com>
1495
89b4bd6b
RH
1496 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1497 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1498 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1499 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1500 in the SAVE_PID block.
1501 (__libc_vfork): New alias.
71840409 1502 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 1503
111cc714
RH
1504 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1505 child in registers, not on the stack. Remove RESET_PID conditionals.
1506 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1507
ccc39911
MS
15082014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1509
1510 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1511
693096cc
W
15122014-06-03 Wilco <wdijkstr@arm.com>
1513
1514 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1515 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1516 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1517 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1518 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1519 Likewise.
1520
0b4366bc
W
15212014-06-03 Wilco <wdijkstr@arm.com>
1522
1523 * sysdeps/aarch64/fpu/math_private.h
1524 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1525 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1526 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1527 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1528 Fix declarations.
1529
8747cd03
KS
15302014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1531
1532 * crypt/crypt-private.h: Include ufc-crypt.h.
1533 (__b64_from_24bit): Declare extern.
1534 * crypt/crypt_util.c(__b64_from_24bit): New function.
1535 (b64t): New static const variable.
1536 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1537 (b64t): Remove variable.
1538 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1539 * crypt/sha256-crypt.c: Include crypt-private.h.
1540 (b64t): Remove variable.
1541 (__sha256_crypt_r): Remove b64_from_24bit and replace
1542 with __b64_from_24bit.
1543 * crypt/sha512-crypt.c: Likewise.
1544
d936d379
RM
15452014-06-02 Roland McGrath <roland@hack.frob.com>
1546
1547 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1548 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1549 Label the code __libc_vfork rather than __vfork.
1550 [!NOT_IN_libc] (vfork): Define as weak alias.
1551 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1552 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1553 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1554
9fa76613
SP
15552014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1556
1557 * malloc/malloc.c (malloc_info): Fix format specifier for
1558 n_mmaps.
1559
a88dadbe
W
15602014-06-02 Wilco <wdijkstr@arm.com>
1561
1562 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1563 FPCR write.
1564
c95b3011
W
15652014-06-02 Wilco <wdijkstr@arm.com>
1566
1567 [BZ #17009]
1568 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1569 Rewrite to reduce FPCR/FPSR accesses.
1570
6b4d7a90
DM
15712014-06-01 David S. Miller <davem@davemloft.net>
1572
1573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1574
30f3d07c
DM
15752014-05-31 David S. Miller <davem@davemloft.net>
1576
1577 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1578 to occur in round to nearest mode when |x| >= 2.0
1579
74f31c18
RH
15802014-05-30 Richard Henderson <rth@twiddle.net>
1581
f0712b54
RH
1582 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1583 (PSEUDO_RET_NOERRNO): Remove.
1584 (ret): Don't redefine.
1585 (ret_NOERRNO): Define in terms of ret.
1586 (ret_ERRVAL): Likewise.
1587
74f31c18
RH
1588 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1589 use of PSEUDO_RET; perform the error check directly.
1590
30477995
MM
15912014-05-30 Marko Myllynen <myllynen@redhat.com>
1592
1593 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1594 with __int128_t.
1595
62a58816
SP
15962014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1597
1598 * malloc/malloc (malloc_info): Fix formatting.
1599
4d653a59
SP
16002014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1601 Roland McGrath <roland@hack.frob.com>
1602
1603 * malloc/malloc (malloc_info): Also print mmapped statistics.
1604
5190c17f
RM
16052014-05-30 Roland McGrath <roland@hack.frob.com>
1606
1607 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1608 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1609
987c0269
OB
16102014-05-30 Ondřej Bílka <neleai@seznam.cz>
1611
1612 * malloc/malloc.c (malloc_info): Inline mi_arena.
1613
af4e8ef9
RH
16142014-05-29 Richard Henderson <rth@twiddle.net>
1615
1670e207
RH
1616 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1617 Remove comma before expanding ASM_ARGS_##nr.
1618 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1619 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1620 of ASM_ARGS_##nr.
1621 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1622 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1623 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1624 (ASM_ARGS_1): Add leading comma.
1625
11a28aee
RH
1626 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1627 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1628 to __errno_location.
1629 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1630 Remove the expected plt for __errno_location.
1631
a17e5ffb 1632 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 1633 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
1634 call to __read_tp.
1635
b5be4597
RH
1636 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1637 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1638 it and break it down.
1639 (DOCARGS_0, DOCARGS_1): Do nothing.
1640 (DOCARGS_2): Update to store into the new stack frame.
1641 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1642 (UNDOCARGS_1): Update to restore from the new stack frame.
1643 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1644 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1645
645d44ab
RH
1646 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1647 (SINGLE_THREAD_P): New parameter for result regno.
1648 (PSEUDO): Update to match; use cbz instead of beq.
1649
a8b4f04a
RH
1650 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1651 Use ENTRY to define the _nocancel entry point. Share the syscall
1652 and syscall error check paths with the cancel path.
1653 (PSEUDO_END): New.
1654
af4e8ef9
RH
1655 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1656 whitespace; tabs before and after asm mnemonics.
1657
26b0d2e1
EW
16582014-05-29 Eric Wong <normalperson@yhbt.net>
1659
1660 [BZ #15132]
1661 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1662 Call fstat64 or stat64 internally, depending on arguments passed.
1663 Replace stat buffer argument with file descriptor argument.
1664 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1665 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1666 Pass fd to __internal_statvfs instead of calling fstat64.
1667 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1668 Pass fd to __internal_statvfs64 instead of calling fstat64.
1669 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1670 Pass -1 to __internal_statvfs instead of calling stat64.
1671 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1672 Pass -1 to __internal_statvfs64 instead of calling stat64.
1673
1efe2bd9
RM
16742014-05-28 Roland McGrath <roland@hack.frob.com>
1675
0d3b7a19
RM
1676 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1677 that was previously under [RESET_PID].
1678 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1679
1efe2bd9
RM
1680 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1681 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1682
a6bea3ca
RM
16832014-05-27 Roland McGrath <roland@hack.frob.com>
1684
30b6629e
RM
1685 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1686
a6bea3ca
RM
1687 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1688 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1689
3dfb9a5c
OB
16902014-05-27 Ondřej Bílka <neleai@seznam.cz>
1691
1692 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1693
774f9285
AS
16942014-05-27 Andreas Schwab <schwab@suse.de>
1695
1696 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1697 TLS_INIT_TP macro.
1698 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1699 * elf/rtld.c (init_tls, dl_main): Likewise.
1700 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1701 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1702 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1703 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1704 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1705 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1706 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1707 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1708 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1709 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1710 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1711 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1712 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1713 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1714 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1715 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1716 * sysdeps/generic/tls.h: Update description.
1717
36ffe739
WN
17182014-05-27 Will Newton <will.newton@linaro.org>
1719
1720 [BZ #16990]
1721 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1722 and restore r2 rather than just restoring.
1723
2482ae43
SP
17242014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1725
1726 [BZ #16724]
1727 * libio/tst-ftell-append.c: New test case.
1728 * libio/Makefile (tests): Add test case.
1729 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1730 append mode.
1731 * libio/wfileops.c (do_ftell_wide): Likewise.
1732
3d1024e8
AZ
17332014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1734
bab90016
AZ
1735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1736
c7a8d667
AZ
1737 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1738 ...
1739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1741 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1742 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1743 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1744 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1745 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1746 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1747 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1748 Moved ...
1749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1750 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1751 Moved ...
1752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1753 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1754 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1755 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1756 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1757 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1758 ...
1759 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1760 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1761 Moved ...
1762 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1763 here.
1764 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1765 ...
1766 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1767 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1768 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1769
daee7851
AZ
1770 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1771 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1772 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1773 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1774
50a40819
AZ
1775 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1776 merge into ...
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1778 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1779 ...
1780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1781 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1782 ...
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1784 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1785 Moved ...
1786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1787 here.
1788 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1789 Moved ...
1790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1791 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1792 Moved ...
1793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1794
8464c2a1
AZ
1795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1796 conditional [RESET_PID].
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1798 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1799 removed.
1800 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1801 removed.
1802
3d1024e8
AZ
1803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1804 <tcb-offsets.h>.
1805 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1806 (__libc_vfork): New strong alias.
1807 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1808 removed.
1809 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1810 Removed.
1811
1812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1813 <tcb-offsets.h>.
1814 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1815 (__libc_vfork): New strong alias.
1816 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1817 removed.
1818 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1819 removed.
1820
fdfd175d
CD
18212014-05-26 Carlos O'Donell <carlos@redhat.com>
1822
1823 * malloc/malloc.c (mi_arena): New function.
1824 (malloc_info): Remove nested function mi_arena. Call non-nosted
1825 function mi_arena.
1826
d298c416
AZ
18272014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1828
1829 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1830 by insrwi.
1831 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1832 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1833 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1834 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1835 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1836 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1837 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1838
b60ea6ff
AS
18392014-05-26 Andreas Schwab <schwab@suse.de>
1840
1841 [BZ #16984]
1842 * locale/programs/repertoire.c (repertoire_read): Add slash
1843 between I18NPATH element and file name.
1844 * locale/programs/locfile.c (locfile_read): Likewise.
1845
67365926
SL
18462014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1847
1848 * nptl/pthread_mutexattr_settype.c
1849 (__pthread_mutexattr_settype):
1850 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1851
f8bdf1f0
SL
18522014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1853
1854 * nptl/tst-mutex5 (do_test):
1855 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1856
15eaf6ff
SP
18572014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1858
1859 * benchtests/README: Document 'init' directive.
1860 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1861 BENCH_INIT.
1862 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1863 (parse_file): Recognize 'init' directive.
1864
75f11331
KM
18652014-05-26 Kyle McMartin <kyle@redhat.com>
1866
1867 [BZ #16796]
1868 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1869 alignment of struct pthread.
1870
c3ec475c
SP
18712014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1872
1873 [BZ #16878]
1874 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1875 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1876 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1877 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1878
82aab97c
RH
18792014-05-25 Richard Henderson <rth@twiddle.net>
1880
aa2f176d
RH
1881 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1882 (SINGLE_THREAD_P_PIC): Remove.
1883 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1884 (SINGLE_THREAD_P_PIC): Remove.
1885
ca3cfa40
RH
1886 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1887 branch to syscall error ...
1888 (PSEUDO): ... here.
1889 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1890 from __local_syscall_error to .Lsyscall_error.
1891 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1892 (SYSCALL_ERROR): Update label name.
1893
6e6c2d01
RH
1894 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1895 Do not use DOARGS/UNDOARGS.
1896 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1897 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1898 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1899 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1900 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1901
c69abcee
RH
1902 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1903 block comment.
1904
82aab97c
RH
1905 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1906 define if !NOT_IN_libc.
1907 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1908 define with non-default symbol versions.
1909
8820e3ac
RH
19102014-05-23 Richard Henderson <rth@twiddle.net>
1911
900e445f
RH
1912 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1913 (vfork, __vfork): Define via compat_symbol.
1914
8820e3ac
RH
1915 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1916 [!HAVE_IFUNC] (vfork_compat): Remove.
1917 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1918
e59252a5
JM
19192014-05-23 Joseph Myers <joseph@codesourcery.com>
1920
1921 [BZ #16978]
1922 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1923 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1924 variable.
1925
132c7f5f
RH
19262014-05-23 Richard Henderson <rth@twiddle.net>
1927
bc89e962
RH
1928 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1929 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1930 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1931 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1932
1933 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1934 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1935 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1936 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1937 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1938 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1939 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1940 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1941 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1942 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1943 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1944 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1945 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1946 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1947 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1948 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1949 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1950 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1951 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1952 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1953 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1954 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1955 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1956 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1957 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1958 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1959 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1960 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1961 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1962 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1963 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1964 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1965 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1966 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1967 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1968 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1969 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1970 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1971 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1972 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1973 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1974 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1975 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1976 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1977 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1978 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1979 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1980 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1981 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1982 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1983 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1984 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1985 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1986 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1987 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1988 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1989
e2fa4bc2
RH
1990 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1991 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1992 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1993 before exiting on error.
1994 (__libc_vfork): New strong alias.
1995 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1996 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1997
279b24e2
RH
1998 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1999 that was previously under [RESET_PID].
2000 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2001
132c7f5f
RH
2002 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2003
b72592e7
JM
20042014-05-23 Joseph Myers <joseph@codesourcery.com>
2005
2006 [BZ #16977]
2007 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2008 value when x - 1 is zero.
2009 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2010 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2011 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2012 0.0L for an argument of 1.0L.
2013 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2014 Likewise.
2015 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2016 value when x - 1 is zero.
2017 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2018 * sysdeps/i386/fpu/libm-test-ulps: Update.
2019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2020
2302d679
RV
20212014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2022
2023 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2024 alphasort and versionsort.
2025
32999d63
AZ
20262014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2027
2028 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2029 macro.
2030 [copysignf]: Likewise.
2031
019324d0
SP
20322014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2033
2034 * crypt/md5-crypt.c: Fix formatting.
2035
34fff5c2
KS
20362014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2037
2038 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2039 (b64_from_24bit): New function.
2040
3d2badac
AZ
20412014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2042
2043 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2044 libc_hidden_builtin_def to ifunc.
2045 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2046 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2047
f7bb179f 20482014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
2049
2050 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2051 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2052
4134b50d
JM
20532014-05-21 Joseph Myers <joseph@codesourcery.com>
2054
bb7d0337
JM
2055 * nscd/Depend (linuxthreads): Remove.
2056 (nptl): Add.
2057 * resolv/Depend (linuxthreads): Remove.
2058 * rt/Depend (linuxthreads): Remove.
2059
4134b50d
JM
2060 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2061 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2062 $(common-objpfx)elf/.
2063 (link-libc-before-gnulib): Likewise.
2064 (elfobjdir): Remove variable.
2065 * Makefile (install): Use $(elf-objpfx) instead of
2066 $(common-objpfx)elf/.
2067 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2068 $(elfobjdir)/.
2069 (link-libc-deps): Likewise.
2070 ($(common-objpfx)libc.so): Likewise.
2071 ($(common-objpfx)linkobj/libc.so): Likewise.
2072 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2073 instead of $(common-objpfx)elf/.
2074 (symbolic-link-list): Likewise.
2075 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2076 [$(cross-compiling) = no]: Likewise.
2077 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2078 $(elfobjdir)/.
2079 (static-gnulib-arch): Likewise.
2080 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2081 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2082 $(common-objpfx)elf/.
2083
3612eb8f
RH
20842014-05-21 Richard Henderson <rth@redhat.com>
2085
a6b3657b
RH
2086 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2087 (SINGLE_THREAD_P): Use the correct width load. Fold
2088 into the ldr offset.
2089
3612eb8f
RH
2090 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2091 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2092
175cef41
JM
20932014-05-20 Joseph Myers <joseph@codesourcery.com>
2094
2095 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2096 (libgcc_s_resume): Use __attribute_used__.
2097 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2098 Likewise.
2099
e13bccd3
AZ
21002014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2101
2102 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2103 optimization when used with float constants.
2104
7c112a38
AZ
2105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2106
ae75a883
AJ
21072014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2108
2109 [BZ #16915]
2110 * locale/nl_langinfo_l.c: Make direct reference to every
2111 _nl_current_CATEGORY symbol.
2112 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2113 (tests-static): Add tst-langinfo-static.
2114 (tests-special): Add tst-langinfo-static.out.
2115 ($(objpfx)tst-langinfo.out): Redirect output.
2116 ($(objpfx)tst-langinfo-static.out): New.
2117 * localedata/tst-langinfo.sh: Send output to stdout.
2118 * localedata/tst-langinfo-static.c: New file.
2119
4406c41c
AJ
2120 [BZ #16965]
2121 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2122 when the shift amount is modulo the limb size.
2123
4c0a1e63
RH
21242014-05-20 Richard Henderson <rth@redhat.com>
2125
de9d8f20
RH
2126 [BZ #16967]
2127 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2128 Change type of sa_flags from unsigned int to int.
2129
4c0a1e63
RH
2130 [BZ #16966]
2131 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
2132
2133 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2134
a60339aa
WN
21352014-05-20 Will Newton <will.newton@linaro.org>
2136
2137 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2138 Test the return value of the system call in the nocancel case.
2139
7d05a816
YR
21402014-05-20 Will Newton <will.newton@linaro.org>
2141 Yvan Roux <yvan.roux@linaro.org>
2142
2143 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2144 #include of asm/ptrace.h.
2145 (PTRACE_GET_THREAD_AREA): Remove #undef.
2146 (PTRACE_GETHBPREGS): Likewise.
2147 (PTRACE_SETHBPREGS): Likewise.
2148 (struct user_regs_struct): New structure.
2149 (struct user_fpsimd_struct): New structure.
2150 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2151 #include of asm/ptrace.h and second #include of sys/user.h.
2152 (PTRACE_GET_THREAD_AREA): Remove #undef.
2153 (PTRACE_GETHBPREGS): Likewise.
2154 (PTRACE_SETHBPREGS): Likewise.
2155 (ELF_NGREG): Use new struct user_regs_struct.
2156 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2157
af121e37
AZ
21582014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2159
2160 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2161 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2162
834caf06
JM
21632014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2164
2165 [BZ #16958]
2166 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2167 membar to avoid block loads/stores to overlap previous stores.
2168
e184a918
RH
21692014-05-17 Richard Henderson <rth@redhat.com>
2170
2171 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2172 Create the __##syscall_name##_nocancel entry point.
2173 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2174 Remove; let the sysdep-cancel.h code create it.
2175
f56c7a6a
DM
21762014-05-17 David S. Miller <davem@davemloft.net>
2177
2178 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2179 Protect with __USE_GNU.
2180 (TIOCSET_TEMPT): Likewise.
2181 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2182 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2183 these are already provided in bits/ioctl-types.h
2184
f75616b2
RM
21852014-05-16 Roland McGrath <roland@hack.frob.com>
2186
3edeca86
RM
2187 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2188 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2189
f75616b2
RM
2190 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2191 Use wait4 regardless of [__NR_waitpid].
2192
deb0f7f6
MR
21932014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2194
2195 PR libgcc/60166
2196 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2197 (_FP_NANSIGN_Q): Set the quiet bit.
2198
79520f4b
JM
21992014-05-16 Joseph Myers <joseph@codesourcery.com>
2200
2201 * benchtests/Makefile
2202 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2203 not $(common-objpfx)math/libm.so.
2204 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2205 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2206 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2207 $(common-objpfx)dlfcn/libdl.so.
2208 ($(objpfx)tst-audit8): Depend on $(libm), not
2209 $(common-objpfx)math/libm.so.
2210 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2211 not $(common-objpfx)dlfcn/libdl.so.
2212 * math/Makefile
2213 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2214 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2215 [$(build-shared) = yes].
2216 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2217 $(common-objpfx)nptl/libpthread.so.
2218 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2219 $(common-objpfx)math/libm.so$(libm.so-version) or
2220 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2221 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2222 $(common-objpfx)dlfcn/libdl.so.
2223 * setjmp/Makefile (link-libm): Remove variable.
2224 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2225 * stdio-common/Makefile (link-libm): Remove variable.
2226 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2227 * stdlib/Makefile (link-libm): Remove variable.
2228 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2229 ($(objpfx)tst-strtod-round): Likewise.
2230 ($(objpfx)tst-tininess): Likewise.
2231 ($(objpfx)tst-strtod-underflow): Likewise.
2232 ($(objpfx)tst-strtod6): Likewise.
2233 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2234 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2235 $(common-objpfx)dlfcn/libdl.so.
2236
026b0fe4
AZ
22372014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2238
2239 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2240 BSD terminal modes definitions.
2241
def4bcb2
RM
22422014-05-16 Roland McGrath <roland@hack.frob.com>
2243
fe39b021
RM
2244 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2245 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2246
1d1fc46e 2247 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
2248 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2249 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2250 Don't do #include_next.
2251 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2252 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2253 Don't do #include_next.
2254 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2255 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2256 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2257 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2258
c72399fb
AM
22592014-05-16 Allan McRae <allan@archlinux.org>
2260
d51d659d
AM
2261 * po/sv.po: Update Swedish translation from translation project.
2262
c72399fb
AM
2263 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2264 in sed expression.
2265
d0583c40
AJ
22662014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2267
2268 [BZ #16917]
2269 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2270 errno if the TIOCGPTN ioctl fails with an error different than
2271 EINVAL.
2272 * login/tst-ptsname.c: New file.
2273 * login/Makefile (tests): Add tst-ptsname.
2274
d16e6ec7
AJ
2275 [BZ #16943]
2276 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2277 and prlimit64.
2278
cf26a0cb
SP
22792014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2280
2281 [BZ #16849]
2282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2283 herrno to return EAI_AGAIN.
2284
5675da1e
RM
22852014-05-14 Roland McGrath <roland@hack.frob.com>
2286
a5d87b3d
RM
2287 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2288 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2289 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2290 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2291 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2292 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2293 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2294 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2295 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2296 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2297 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2298 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2299 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2300 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2301 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2302 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2303 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2304 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2305 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2306 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2307 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2308 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2309 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2310 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2311 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2312 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2313 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2314 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2315 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2316 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2318 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2320 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2322 Moved ...
2323 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2325 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2327 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2329 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2331 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2333 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2335 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2337 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2339 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2341 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2343 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2345 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2347 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2349 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2351 Moved ...
2352 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2354 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2356 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2358 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2360 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2362 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2364 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2366 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2368 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2370 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2372 Moved ...
2373 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2375 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2376
039890a6
RM
2377 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2378 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2379 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2380 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2381 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2382 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2383 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2384 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2385 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2386 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2387 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2388 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2389 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2390 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2391 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2392 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2393 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2394 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2395 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2396 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2397 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2398 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2399 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2400 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2401 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2402 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2403 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2404 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2405 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2406 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2407 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2408
65c89320
RM
2409 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2410 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2411
348f8e8c
RM
2412 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2413 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2414 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2415 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2416 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2417 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2418 Moved ...
2419 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2420 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2421 Moved ...
2422 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2423 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2424 Moved ...
2425 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2426 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2427 Moved ...
2428 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2430 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2431 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2432 Moved ...
2433 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2434 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2435 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2436 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2437 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2438 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2439 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2440 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2441 Moved ...
2442 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2443 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2444 Moved ...
2445 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2446 ... here.
2447 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2448 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2449 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2450 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2451 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2452 Moved ...
2453 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2454 ... here.
2455 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2456 Moved ...
2457 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2458 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2459 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2460 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2461 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2462 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2463 Moved ...
2464 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2465 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2466 Moved ...
2467 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2468 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2469 Moved ...
2470 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2471 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2472 Moved ...
2473 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2474 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2475 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2476 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2477 Moved ...
2478 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2479 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2480 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2481 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2482 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2483 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2484 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2485 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2486 Moved ...
2487 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2488 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2489 Moved ...
2490 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2491 ... here.
2492 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2493 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2494 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2495 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2496 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2497 Moved ...
2498 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2499 ... here.
2500 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2501 Moved ...
2502 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2503 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2504 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2505 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2506 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2507 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2508 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2509 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2510 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2511 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2512 Moved ...
2513 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2514 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2515 Moved ...
2516 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2517 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2518 Moved ...
2519 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2520 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2521 Moved ...
2522 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2523 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2524 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2525 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2526 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2527 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2528 Moved ...
2529 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2530 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2531 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2532 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2533 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2534 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2535 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2536 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2537 Moved ...
2538 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2539 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2540 Moved ...
2541 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2542 ... here.
2543 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2544 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2545 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2546 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2547 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2548 Moved ...
2549 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2550 ... here.
2551 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2552 Moved ...
2553 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2554 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2555 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2556 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2557 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2558 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2559 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2560 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2561 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2562 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2563 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2564
5085af05
RM
2565 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2566 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2567
708f0813
RM
2568 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2569 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2570
c96067bc
RM
2571 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2572 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2573 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2574 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2575 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2576 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2577 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2578 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2579 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2580 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2581 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2582 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2583 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2584 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2585 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2586 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2587 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2588 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2589 Moved ...
2590 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2591 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2592 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2593 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2594 Moved ...
2595 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2596 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2597 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2598 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2599 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2600 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2601 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2602 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2603 Moved ...
2604 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2605 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2606 Moved ...
2607 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2608 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2609 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2610 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2611 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2612 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2613 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2614 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2615 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2616 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2617 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2618 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2619 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2620 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2621 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2622 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2623 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2624
ec136444
RM
2625 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2626 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2627 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2628 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2629 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2630
2fbdf533
RM
2631 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2632 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2633 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2634 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2635 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2636 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2637 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2638 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2639 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2640 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2641
4c68138b
RM
2642 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2643 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2644
4eaae765
RM
2645 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2646 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
2647 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2648 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2649 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2650 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2651 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2652 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2653 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2654 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2655 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2656 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2657 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2658 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2659 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2660 Update #include.
2661 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2662 Likewise.
2663 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2664 Likewise.
2665 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2666 Likewise.
2667 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2668 Likewise.
2669 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2670 Likewise.
2671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2672 Likewise.
2673 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2674 Likewise.
2675 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2676 Likewise.
2677 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2678 Likewise.
4ef6befa
RM
2679 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2680 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2681 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2682 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2683 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
2684 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2685 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2686 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2687 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2688 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2689 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2690 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2691 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2692 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2693 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 2694
941d7dfd
RM
2695 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2696 that was previously under [RESET_PID].
2697 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2698 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2699 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2700
1b731c35
RM
2701 * sysdeps/i386/nptl/Implies: New file.
2702 * sysdeps/x86_64/nptl/Implies: New file.
2703 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2704 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2705 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2706 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2707
e2787137
RM
2708 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2709 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2710 (__libc_vfork): New strong alias.
2711 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2712 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2713
2714 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2715 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2716 (__libc_vfork): New strong alias.
2717 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2718 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2719
5675da1e
RM
2720 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2721 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2722 (__libc_vfork): New strong alias.
2723 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2724 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2725 * nptl/pt-vfork.c: New file.
2726 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2727 (libpthread: GLIBC_2.20): New version set (empty).
2728
4f02e2b8
WN
27292014-05-14 Will Newton <will.newton@linaro.org>
2730
2731 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2732 rather than #if.
2733
0bf061d3
JM
27342014-05-14 Joseph Myers <joseph@codesourcery.com>
2735
1a84c3d6
JM
2736 [BZ #16564]
2737 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2738 arguments with exponent 65 or above.
2739 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2740 arguments 0x1p113L or above.
2741 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2742 to arguments 0x1p107L or above.
2743 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2744 positive arguments with exponent 65 or above.
2745 * math/auto-libm-test-in: Add more tests of log1p.
2746 * math/auto-libm-test-out: Regenerated.
2747
01dbacd2
JM
2748 [BZ #16928]
2749 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2750 non-finite arguments is +0.
2751 * math/s_cacosf.c (__cacosf): Likewise.
2752 * math/s_cacosl.c (__cacosl): Likewise.
2753 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2754 * sysdeps/i386/fpu/libm-test-ulps: Update.
2755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2756
913d03c8
JM
2757 [BZ #16927]
2758 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2759 value.
2760 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2761 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2762 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2763 for explicit high bit of mantissa when testing for argument equal
2764 to 1.
2765 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2766 * sysdeps/i386/fpu/libm-test-ulps: Update.
2767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2768
0bf061d3
JM
2769 [BZ #16516]
2770 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2771 (__erf): Scale by 16 instead of 8 in potentially underflowing
2772 case. Ensure exception if result actually underflows.
2773 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2774 (__erff): Scale by 16 instead of 8 in potentially underflowing
2775 case. Ensure exception if result actually underflows.
2776 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2777 (efx8): Remove variable.
2778 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2779 case. Ensure exception if result actually underflows.
2780 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2781 (efx8): Remove variable.
2782 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2783 case. Ensure exception if result actually underflows.
2784 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2785 (efx8): Remove variable.
2786 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2787 case. Ensure exception if result actually underflows.
2788 * math/auto-libm-test-in: Add more tests of erf.
2789 * math/auto-libm-test-out: Regenerated.
2790
73ba67cb
AS
27912014-05-14 Andreas Schwab <schwab@suse.de>
2792
3d8c8bff
AS
2793 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2794 Remove code conditionalized on USE___THREAD.
2795
73ba67cb
AS
2796 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2797 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2798 not definedness.
2799
5c521ecd
JM
28002014-05-14 Joseph Myers <joseph@codesourcery.com>
2801
5e7698c6
JM
2802 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2803 Define unconditionally.
2804 (__ASSUME_O_CLOEXEC): Likewise.
2805 (__ASSUME_SOCK_CLOEXEC): Likewise.
2806 (__ASSUME_IN_NONBLOCK): Likewise.
2807 (__ASSUME_PIPE2): Likewise.
2808 (__ASSUME_EVENTFD2): Likewise.
2809 (__ASSUME_SIGNALFD4): Likewise.
2810 (__ASSUME_DUP3): Likewise.
2811 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2812 (__ASSUME_DUP3): Do not define.
2813 (__ASSUME_EVENTFD2): Likewise.
2814 (__ASSUME_IN_NONBLOCK): Likewise.
2815 (__ASSUME_O_CLOEXEC): Likewise.
2816 (__ASSUME_PIPE2): Likewise.
2817 (__ASSUME_SIGNALFD4): Likewise.
2818 (__ASSUME_SOCK_CLOEXEC): Likewise.
2819 (__ASSUME_UTIMES): Undefine.
2820 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2821 (__ASSUME_UTIMES): Do not define.
2822 (__ASSUME_O_CLOEXEC): Likewise.
2823 (__ASSUME_SOCK_CLOEXEC): Likewise.
2824 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2825 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2826 0x020621].
2827 (__ASSUME_PIPE2): Likewise.
2828 (__ASSUME_EVENTFD2): Likewise.
2829 (__ASSUME_SIGNALFD4): Likewise.
2830 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2831 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2832 Do not define.
2833 (__ASSUME_EVENTFD2): Likewise.
2834 (__ASSUME_SIGNALFD4): Likewise.
2835 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2836 (__ASSUME_32BITUIDS): Likewise.
2837 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2838 (__ASSUME_IPC64): Likewise.
2839 (__ASSUME_ST_INO_64_BIT): Likewise.
2840 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2841 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2842 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2843 (__ASSUME_UTIMES): Do not define.
2844 (__ASSUME_PSELECT): Likewise.
2845 (__ASSUME_PPOLL): Likewise.
2846 (__ASSUME_O_CLOEXEC): Likewise.
2847 (__ASSUME_SOCK_CLOEXEC): Likewise.
2848 (__ASSUME_IN_NONBLOCK): Likewise.
2849 (__ASSUME_PIPE2): Likewise.
2850 (__ASSUME_EVENTFD2): Likewise.
2851 (__ASSUME_SIGNALFD4): Likewise.
2852 (__ASSUME_DUP3): Likewise.
2853 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2854 (__ASSUME_UTIMES): Likewise.
2855 (__ASSUME_O_CLOEXEC): Likewise.
2856 (__ASSUME_SOCK_CLOEXEC): Likewise.
2857 (__ASSUME_IN_NONBLOCK): Likewise.
2858 (__ASSUME_PIPE2): Likewise.
2859 (__ASSUME_EVENTFD2): Likewise.
2860 (__ASSUME_SIGNALFD4): Likewise.
2861 (__ASSUME_DUP3): Likewise.
2862 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2863 (__ASSUME_UTIMES): Likewise.
2864 (__ASSUME_O_CLOEXEC): Likewise.
2865 (__ASSUME_SOCK_CLOEXEC): Likewise.
2866 (__ASSUME_IN_NONBLOCK): Likewise.
2867 (__ASSUME_PIPE2): Likewise.
2868 (__ASSUME_EVENTFD2): Likewise.
2869 (__ASSUME_SIGNALFD4): Likewise.
2870 (__ASSUME_DUP3): Likewise.
2871 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2872 Likewise.
2873 (__ASSUME_UTIMES): Likewise.
2874 (__ASSUME_EVENTFD2): Likewise.
2875 (__ASSUME_SIGNALFD4): Likewise.
2876 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2877 (__ASSUME_O_CLOEXEC): Likewise.
2878 (__ASSUME_SOCK_CLOEXEC): Likewise.
2879 (__ASSUME_IN_NONBLOCK): Likewise.
2880 (__ASSUME_PIPE2): Likewise.
2881 (__ASSUME_EVENTFD2): Likewise.
2882 (__ASSUME_SIGNALFD4): Likewise.
2883 (__ASSUME_DUP3): Likewise.
2884 (__ASSUME_UTIMES): Undefine.
2885
5c521ecd
JM
2886 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2887 feclearexcept. Remove symbol versioning code.
2888 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2889 symbol versioning code.
2890 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2891 symbol versioning code.
2892 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2893 feupdateenv. Remove symbol versioning code.
2894 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2895 fegetexceptflag. Remove symbol versioning code.
2896 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2897 fesetexceptflag. Remove symbol versioning code.
2898 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2899 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2900 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2901 (__posix_fadvise64_l32): Remove prototype.
2902 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2903 code.
2904
5da9dfad
RM
29052014-05-13 Roland McGrath <roland@hack.frob.com>
2906
2907 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2908 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2909 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2910 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2911
893b4f37
SK
29122014-05-13 Sami Kerola <kerolasa@iki.fi>
2913
2914 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2915 current working directory
2916
e0db6517
RM
29172014-05-13 Roland McGrath <roland@hack.frob.com>
2918
58aa195d
RM
2919 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2920 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2921 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2922 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2923 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2924 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2925 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2926 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2927 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2928 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2929 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2930 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2931 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2932 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2933 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2934 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2935 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2936 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2937 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2938 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2939 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2940 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2941 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2942 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2943 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2944 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2945 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2946 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2947 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2948 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2949 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2950 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2951 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2952 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2953 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2954 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2955 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2956 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2957 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2958 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2959 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2960 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2961
8c6d01f0
RM
2962 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2963 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2964
2965 * sysdeps/unix/sysv/linux/arm/Makefile
2966 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2967 Add rt-aeabi_unwind_cpp_pr1.
2968 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2969 Add nptl-aeabi_unwind_cpp_pr1.
2970 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2971 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2972 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2973 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2974 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2975 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2976
2977 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2978 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2979 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2980 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2981
bba6da4e
RM
2982 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2983 Deconditionalize the code that was previously under [RESET_PID].
2984 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2985
e0db6517
RM
2986 * sysdeps/generic/exit-thread.h: New file.
2987 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2988 * include/unistd.h (__exit_thread): Remove declaration.
2989 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2990 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2991 * csu/libc-start.c: Include <exit-thread.h>.
2992 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2993 * nptl/pthread_create.c: Include <exit-thread.h>.
2994 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2995 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2996 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2997 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2998 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2999 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3000 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3001 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3002 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3003 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3004 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3005 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3006 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3007 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3008 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3009 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3010 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3011
01eb16fd
AS
30122014-05-13 Andreas Schwab <schwab@suse.de>
3013
3014 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3015
637461d9
JM
30162014-05-12 Joseph Myers <joseph@codesourcery.com>
3017
3018 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3019 (__ASSUME_UTIMES): Do not condition on kernel version.
3020 (__ASSUME_PSELECT): Define unconditionally.
3021 (__ASSUME_PPOLL): Likewise.
3022 (__ASSUME_ATFCTS): Likewise.
3023 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3024 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3025 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3026 (__ASSUME_UTIMENSAT): Define unconditionally.
3027 (__ASSUME_PRIVATE_FUTEX): Likewise.
3028 (__ASSUME_FALLOCATE): Likewise.
3029 (__ASSUME_O_CLOEXEC): Likewise.
3030 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3031 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3032 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3033 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3034 (__ASSUME_IN_NONBLOCK): Likewise.
3035 (__ASSUME_PIPE2): Likewise.
3036 (__ASSUME_EVENTFD2): Likewise.
3037 (__ASSUME_SIGNALFD4): Likewise.
3038 (__ASSUME_DUP3): Likewise.
3039 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3040 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3041 (__ASSUME_AT_RANDOM): Likewise.
3042 (__ASSUME_PREADV): Likewise.
3043 (__ASSUME_PWRITEV): Likewise.
3044 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3045 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3046 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3047 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3048 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3049 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3050 (__ASSUME_O_CLOEXEC): Define unconditionally.
3051 (__ASSUME_PSELECT): Do not undefine conditionally.
3052 (__ASSUME_PPOLL): Likewise.
3053 (__ASSUME_ATFCTS): Likewise.
3054 (__ASSUME_SET_ROBUST_LIST): Likewise.
3055 (__ASSUME_UTIMENSAT): Likewise.
3056 (__ASSUME_FDATASYNC): Define unconditionally.
3057 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3058 (__ASSUME_SIGFRAME_V2): Likewise.
3059 )__ASSUME_EVENTFD2): Likewise.
3060 (__ASSUME_SIGNALFD4): Likewise.
3061 (__ASSUME_PSELECT): Do not undefine conditionally.
3062 (__ASSUME_PPOLL): Likewise.
3063 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3064 (__ASSUME_PSELECT): Define unconditionally.
3065 (__ASSUME_PPOLL): Likewise.
3066 (__ASSUME_O_CLOEXEC): Likewise.
3067 (__ASSUME_SOCK_CLOEXEC): Likewise.
3068 (__ASSUME_IN_NONBLOCK): Likewise.
3069 (__ASSUME_PIPE2): Likewise.
3070 (__ASSUME_EVENTFD2): Likewise.
3071 (__ASSUME_SIGNALFD4): Likewise.
3072 (__ASSUME_DUP3): Likewise.
3073 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3074 (__ASSUME_O_CLOEXEC): Likewise.
3075 (__ASSUME_SOCK_CLOEXEC): Likewise.
3076 (__ASSUME_IN_NONBLOCK): Likewise.
3077 (__ASSUME_PIPE2): Likewise.
3078 (__ASSUME_EVENTFD2): Likewise.
3079 (__ASSUME_SIGNALFD4): Likewise.
3080 (__ASSUME_DUP3): Likewise.
3081 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3082 (__ASSUME_EVENTFD2): Likewise.
3083 (__ASSUME_SIGNALFD4): Likewise.
3084 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3085
315eb1d8
AS
30862014-05-12 Andreas Schwab <schwab@suse.de>
3087
3088 [BZ #16932]
3089 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3090 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3091 than maximum RPC packet size.
3092 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3093 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3094 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3095 (_nss_nis_getservbyport_r): Likewise.
3096
91df99f7
WN
30972014-05-12 Will Newton <will.newton@linaro.org>
3098
3099 * malloc/Makefile (tests): Add tst-mallopt.
3100 * malloc/tst-mallopt.c: New file.
3101
0a982a29
RM
31022014-05-09 Roland McGrath <roland@hack.frob.com>
3103
3104 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3105 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3106
0ded08a5
AZ
31072014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3108
3109 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3110 (tst-tlsmod6.so): Likewise.
3111
55d4d550
RM
31122014-05-09 Roland McGrath <roland@hack.frob.com>
3113
3114 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3115
77d08aca
JM
31162014-05-09 Joseph Myers <joseph@codesourcery.com>
3117
3118 [BZ #16064]
3119 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3120 and <dl-procinfo.h>.
3121 (__fegetenv): Save SSE state in envp->__eip if supported.
3122 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3123 envp->__eip if supported.
3124 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3125 and <dl-procinfo.h>.
3126 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3127 __data_offset and __data_selector in environment to 0. Set SSE
3128 state if supported.
3129 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3130 test-fenv-sse.
3131 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3132 -mfpmath=sse.
3133 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3134
28162f4d
WN
31352014-05-09 Will Newton <will.newton@linaro.org>
3136
3137 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3138 and libc_relro_required for ARM.
3139 * sysdeps/arm/preconfigure: Regenerate.
3140
5a414ff7
DV
31412014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3142 Stefan Liebler <stli@linux.vnet.ibm.com>
3143
3144 * config.make.in (enable-lock-elision): New Makefile variable.
3145 * configure.ac: Likewise.
3146 * configure: Regenerate.
3147 * sysdeps/s390/configure.ac:
3148 Add check for gcc transactions support.
3149 * sysdeps/s390/configure: Regenerate.
3150 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3151 Build elision files if enabled.
3152 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3153 Add lock elision support for s390.
3154 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3155 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3156 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3157 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3158 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3159 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3160 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3161 Likewise.
3162 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3163 Likewise.
3164 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3165 Likewise.
3166 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3167 Likewise.
3168 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3169 (__lll_timedlock_elision, __lll_lock_elision)
3170 (__lll_unlock_elision, __lll_trylock_elision)
3171 (lll_timedlock_elision, lll_lock_elision)
3172 (lll_unlock_elision, lll_trylock_elision): Add.
3173 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3174 (pthread_mutex_t): Add lock elision support for s390.
3175
1a2f40e5
W
31762014-05-14 Wilco <wdijkstr@arm.com>
3177
3178 * sysdeps/arm/fclrexcpt.c: Cleanup.
3179 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3180 * sysdeps/arm/feenablxcpt.c: Cleanup.
3181 * sysdeps/arm/fegetenv.c: Cleanup.
3182 * sysdeps/arm/fegetexcept.c: Cleanup.
3183 * sysdeps/arm/fegetround.c: Cleanup.
3184 * sysdeps/arm/feholdexcpt.c: Cleanup.
3185 * sysdeps/arm/fesetenv.c: Cleanup.
3186 * sysdeps/arm/fesetround.c: Cleanup.
3187 * sysdeps/arm/feupdateenv.c: Cleanup.
3188 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3189 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3190 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3191 * sysdeps/arm/ftestexcept.c: Cleanup.
3192 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3193 * sysdeps/arm/setfpucw.c: Cleanup.
3194
f63c86fe
WN
31952014-05-09 Will Newton <will.newton@linaro.org>
3196
3197 * sysdeps/arm/armv7/strcmp.S: New file.
3198 * NEWS: Mention addition of ARMv7 optimized strcmp.
3199
7a1a51b5
RM
32002014-05-08 Roland McGrath <roland@hack.frob.com>
3201
95afbbe5
RM
3202 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3203 look for %.ac rather than %.in.
3204
3205 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3206 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3207 * sysdeps/mach/hurd/configure: Regenerated.
3208 * sysdeps/unix/sysv/linux/configure: Regenerated.
3209
7a1a51b5
RM
3210 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3211
5057ad3b
SE
32122014-05-07 Steve Ellcey <sellcey@mips.com>
3213
3214 [BZ# 16922]
3215 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3216 (LONG_SUB): Ditto.
3217 (PTR_SUB): Ditto.
3218
8dc97517
AS
32192014-05-07 Andreas Schwab <schwab@suse.de>
3220
3221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3222 when skipping over non-matching result from nscd.
3223
ce0c5b8f
OB
32242014-05-07 Ondřej Bílka <neleai@seznam.cz>
3225
3226 [BZ #16876]
3227 * nptl/sockperf.c (client): Check socket return value.
8dc97517 3228
a1189263
OB
3229 [BZ #16877]
3230 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3231 nscd security class.
ce0c5b8f 3232
0f58d252
RM
32332014-05-06 Roland McGrath <roland@hack.frob.com>
3234
3235 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3236 * sysdeps/arm/unwind.h: ... here.
3237
83df9ad0
AJ
32382014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3239
ce0c5b8f
OB
3240 [BZ# 16916]
3241 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3242 Define.
83df9ad0 3243
f360f94a
VR
32442014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3245
3246 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3247 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3248 multiarch strncpy for PPC64.
3249 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3250 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3252 multiarch optimizations.
3253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3254 (__libc_ifunc_impl_list): Likewise.
3255 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3256 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3257 multiarch stpncpy for PPC64.
3258 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3259 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3260
978a41c3
AS
32612014-05-06 Andreas Schwab <schwab@suse.de>
3262
3263 [BZ #16912]
3264 * gmon/mcount.c (_MCOUNT_DECL): Use
3265 atomic_compare_and_exchange_bool_acq instead of
3266 catomic_compare_and_exchange_bool_acq.
3267
eb1ed03d
RM
32682014-05-05 Roland McGrath <roland@hack.frob.com>
3269
fe658845
RM
3270 * elf/Makefile (others, install-bin): Remove pldd.
3271 (pldd-modules): Variable removed.
3272 ($(objpfx)pldd): Target removed.
3273 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3274 (others, install-bin): Append pldd here.
3275 ($(objpfx)pldd): New target.
3276
eb1ed03d
RM
3277 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3278 to 0, so the first #if test emitted later doesn't see it undefined.
3279 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3280 * sysdeps/gnu/errlist.c: Regenerated.
3281
19c4bec0
AZ
32822014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3283
3284 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3285 [libc_hidden_builtin_def]: Define to empty value.
3286 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3287 [libc_hidden_builtin_def]: Likewise.
3288 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3289 [libc_hidden_builtin_def]: Likewise.
3290 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3291 [libc_hidden_builtin_def]: Likewise.
3292 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3293 __redirect_memcpy and define ifunc as default hidden symbol.
3294 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3295 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3296
7776e669
AC
32972014-05-04 Adam Conrad <adconrad@0c3.net>
3298
3299 * locale/iso-4217.def: Reintroduce XDR currency.
3300
d69aeb12
AM
33012014-05-04 Allan McRae <allan@archlinux.org>
3302
3303 * po/eo.po: Update Esperanto translation from translation project.
3304
8f1df5cf
CD
33052014-05-02 Carlos O'Donell <carlos@redhat.com>
3306
3307 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3308 and FEATURE_INDEX_MAX to 1.
3309 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3310
13e402e7
SE
33112014-05-01 Steve Ellcey <sellcey@mips.com>
3312
3313 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3314 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3315 * iconvdata/big5.c (ONE_DIRECTION): Define.
3316 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3317 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3318 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3319 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3320 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3321 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3322 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3323 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3324 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3325 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3326 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3327 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3328 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3329 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3330 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3331 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3332 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3333 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3334 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3335 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3336 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3337 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3338 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3339 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3340 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3341 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3342 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3343 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3344 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3345 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3346 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3347 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3348 * iconvdata/johab.c (ONE_DIRECTION): Define.
3349 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3350 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3351 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3352 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3353 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3354 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3355 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3356 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3357 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3358 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3359
c727f032
RM
33602014-05-01 Roland McGrath <roland@hack.frob.com>
3361
8f2f08d0
RM
3362 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3363 (_IO_JUMPS_OFFSET): Define to 0.
3364
c727f032
RM
3365 * nptl/sysdeps/pthread/bits/libc-lock.h
3366 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3367 (__libc_lock_define_initialized_recursive): Always define using
3368 initializer. Modern compilers treat uninitialized (implicit zero) and
3369 explicit zero initializers the same (i.e. put the datum in bss).
3370
a849e800
AS
33712014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3372
3373 * nscd/nscd-client.h: Include <string.h>.
3374
5331255b
DM
33752014-05-01 David S. Miller <davem@davemloft.net>
3376
3377 [BZ #16885]
3378 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3379 multiple zero bytes exist at the end of a string.
3380 Reported by Aurelien Jarno <aurelien@aurel32.net>
3381
3382 * string/test-strcmp.c (check): Add explicit test for situations where
3383 there are multiple zero bytes after the first.
3384
4fdfe821
AS
33852014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3386
3387 [BZ #16890]
3388 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3389 when compiling wprintf.
3390 * stdio-common/tstdiomisc.c (t3): New function.
3391 (main): Call it.
3392
0cdddc25
SE
33932014-05-01 Steve Ellcey <sellcey@mips.com>
3394
3395 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3396 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3397 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3398 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3399
6426d77e
SE
34002014-05-01 Steve Ellcey <sellcey@mips.com>
3401
3402 * stdlib/longlong.h: Updated from GCC.
3403
6d96f5e4
WN
34042014-05-01 Will Newton <will.newton@linaro.org>
3405 Bernard Ogden <bernie.ogden@linaro.org>
3406
7470db0c
WN
3407 * NEWS: Update fixed bug list.
3408
6d96f5e4
WN
3409 [BZ #15119]
3410 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3411
211d653c
DM
34122014-04-30 David S. Miller <davem@davemloft.net>
3413
4fa262fa
DM
3414 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3415 (libc_feholdexcept_setround_sparc_ctx): New function.
3416 (libc_fesetenv_sparc_ctx): Likewise.
3417 (libc_feupdateenv_sparc_ctx): Likewise.
3418 (libc_feholdsetround_sparc_ctx): Likewise.
3419 (libc_feholdexcept_setround_ctx): Define.
3420 (libc_feholdexcept_setroundf_ctx): Likewise.
3421 (libc_feholdexcept_setroundl_ctx): Likewise.
3422 (libc_fesetenv_ctx): Likewise.
3423 (libc_fesetenvf_ctx): Likewise.
3424 (libc_fesetenvl_ctx): Likewise.
3425 (libc_feupdateenv_ctx): Likewise.
3426 (libc_feupdateenvf_ctx): Likewise.
3427 (libc_feupdateenvl_ctx): Likewise.
3428 (libc_feresetround_ctx): Likewise.
3429 (libc_feresetroundf_ctx): Likewise.
3430 (libc_feresetroundl_ctx): Likewise.
3431 (libc_feholdsetround_ctx): Likewise.
3432 (libc_feholdsetroundf_ctx): Likewise.
3433 (libc_feholdsetroundl_ctx): Likewise.
3434
1d3d93ef
DM
3435 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3436 with __USE_GNU instead of XOPEN cpp guards.
3437
8aa583c3
DM
3438 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3439 0.
3440
211d653c
DM
3441 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3442 with XOPEN cpp guards.
3443
60c8f1f6
JB
34442014-04-30 Julian Brown <julian@codesourcery.com>
3445
3446 [BZ #16888]
3447 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3448 handling.
3449
9a461d46
JM
34502014-04-30 Joseph Myers <joseph@codesourcery.com>
3451
d0f5b3f8
JM
3452 [BZ #9894]
3453 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3454 Change to 2.6.32.
3455 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3456 * sysdeps/unix/sysv/linux/configure: Regenerated.
3457 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3458 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3459 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3460 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3461 * README: Update reference to required Linux kernel version.
3462 * manual/install.texi (Linux): Update reference to required Linux
3463 kernel headers version.
3464 * INSTALL: Regenerated.
3465
9a461d46
JM
3466 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3467 header inclusion.
3468 [POSIX] (limits.h): Likewise.
3469 [POSIX] (math.h): Likewise.
3470 [POSIX] (sys/wait.h): Likewise.
3471 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3472 function.
3473 [POSIX] (stddef.h): Do not allow header inclusion.
3474
1775babf
AZ
34752014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3476
57f41c40 3477 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 3478
8f630cca
YY
34792014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3480
3481 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3482 Return immediately after lll_futex_wake.
3483
1cdeb237
SP
34842014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3485
bc8f194c
SP
3486 [BZ #16791]
3487 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3488 structure.
3489 (datahead_init_pos): Call datahead_init_common early.
3490 (datahead_init_neg): Likewise.
3491
1cdeb237
SP
3492 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3493 datahead_init_neg): New functions.
3494 * nscd/aicache.c (addhstaiX): Use them.
3495 * nscd/grpcache.c (cache_addgr): Likewise.
3496 * nscd/hstcache.c (cache_addhst): Likewise.
3497 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3498 * nscd/netgroupcache.c (do_notfound): Likewise.
3499 (addgetnetgrentX): Likewise.
3500 (addinnetgrX): Likewise.
3501 * nscd/pwdcache.c (cache_addpw): Likewise.
3502 * nscd/servicescache.c (cache_addserv): Likewise.
3503
16b293a7
SP
35042014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3505 Atsushi Onoe <atsushi@onoe.org>
3506
3507 [BZ #14308]
3508 [BZ #12994]
3509 [BZ #13651]
3510 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3511 one response is valid.
3512 * resolv/res_send.c (send_dg): Check for validity of other
3513 response if the current response is a referral.
3514
a28a9b94
SE
35152014-04-29 Steve Ellcey <sellcey@mips.com>
3516
3517 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3518
2ca180e9
SL
35192014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3520
3521 [BZ #16823]
3522 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3523 Always divide by positive zero when computing -Inf result.
3524 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3525 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3526
18f2945a
AZ
35272014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3528
3529 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3530 FPSCR if value do not change.
3531 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3532 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3533 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3534 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3535 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3536 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3537 function.
3538
5abebba4
CD
35392014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3540
3541 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3542 * sysdeps/unix/sysv/linux/hppa: Move directory from
3543 ports/systeps/unix/sysv/linux/hppa.
3544 * README: Update listing for hppa-*-linux-gnu.
3545
f7ed60c2
OB
35462014-04-28 Ondřej Bílka <neleai@seznam.cz>
3547
fff763a5
OB
3548 [BZ #16754]
3549 * manual/stdio.texi (Hook functions): Fix types of stream hook
3550 functions.
f7ed60c2
OB
3551 [BZ #16854]
3552 * socket/sys/socket.h: Fix typo in comment.
3553
df639d73
WD
35542014-04-28 Wilco <wdijkstr@arm.com>
3555
f7ed60c2 3556 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
3557 * sysdeps/arm/math_private.h: New file.
3558 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3559
48332d82
L
35602014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3561
3562 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3563 with __int128_t.
3564 (La_x86_64_retval): Likewise.
3565
e5e0d9a4
IB
35662014-04-24 Ian Bolton <ian.bolton@arm.com>
3567
3568 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3569 fpsr if value didn't change.
3570 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3571 to fpcr if value didn't change.
3572 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3573 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3574 fpsr or fpcr if value didn't change.
3575 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3576 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3577 fpcr if value didn't change.
3578 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3579 to fpsr if value didn't change.
3580
bacc75f7
SP
35812014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3582
3583 * nptl/tst-sem3.c: Use test-skeleton.c
3584 (main): Rename to do_test. Use return instead of
3585 exit.
3586 * nptl/tst-sem4.c: Use test-skeleton.c
3587 (main): Rename to do_test.
3588
a059d359
DM
35892014-04-22 David S. Miller <davem@davemloft.net>
3590
3591 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3592 (struct sigaction): New struct member __glibc_reserved0, change
3593 type of sa_flags to int.
3594
ea6c92f3
YZ
35952014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3596
3597 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3598 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3599
766c4a36
SP
36002014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3601
3602 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3603 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3604
140cc7ab
VK
36052014-04-22 Will Newton <will.newton@linaro.org>
3606 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3607
3608 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3609 (__longjmp): Add longjmp and longjmp_target SystemTap
3610 probes.
3611 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3612 (__sigsetjmp): Add setjmp SystemTap probe.
3613
c54e5cf7
CD
36142014-04-17 Carlos O'Donell <carlos@redhat.com>
3615
3616 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3617 match manual order.
3618
75ffb047
AZ
36192014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3620
3621 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3622
2cd925f7
AZ
3623 * sysdeps/powerpc/fpu/fenv_private.h
3624 (libc_feholdexcept_setroundl_ctx): Define to
3625 libc_feholdexcept_setround_ppc_ctx.
3626 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3627 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3628 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3629 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3630
39e6cd8d
IB
36312014-04-17 Ian Bolton <ian.bolton@arm.com>
3632
3633 * sysdeps/aarch64/math-tests.h: New file.
3634
f9281df9
SY
36352014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3636
3637 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3638 New.
3639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3640 Check and set bit_AVX2_Usable.
3641 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3642 macro.
3643 (bit_AVX2): Likewise.
3644 (index_AVX2_Usable): Likewise.
3645 (CPUID_AVX2): Likewise.
3646 (HAS_AVX2): Likewise.
3647
37d35007
WN
36482014-04-17 Will Newton <will.newton@linaro.org>
3649
7c677662
WN
3650 * manual/setjmp.texi (System V contexts): Add note that
3651 calling setcontext on a context created by a call to a
3652 signal handler is undefined. Update text to note that
3653 setcontext from a signal handler is possible but not
3654 recommended.
3655
37d35007 3656 [BZ #16629]
e04a4e9d
WN
3657 * stdlib/tst-setcontext.c: Include signal.h.
3658 (main): Check that the signal stack before and
3659 after swapcontext is the same.
3660
37d35007
WN
3661 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3662 Re-implement to restore registers in user code and avoid
3663 rt_sigreturn system call.
3664
423a7160
W
36652014-04-17 Wilco <wdijkstr@arm.com>
3666
3667 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3668 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3669 * math/test-fenv.c: Skip exception trap tests on targets which only
3670 support non-stop mode.
3671
bc93ab29
IB
36722014-04-17 Ian Bolton <ian.bolton@arm.com>
3673 Wilco Dijkstra <wilco.dijkstra@arm.com>
3674
3675 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3676 (libc_feholdsetround_aarch64_ctx)
3677 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3678 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3679 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3680 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3681 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3682 (libc_feresetround_noexl_ctx): Define.
3683
95fc5fa3
RH
36842014-04-16 Richard Henderson <rth@redhat.com>
3685
ddb04724
RH
3686 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3687
d77c0899
RH
3688 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3689 unwind tables.
3690
a3df56fc
RH
3691 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3692 const from the non-libc, non-ldso copy.
3693
95fc5fa3
RH
3694 * sysdeps/alpha/libm-test-ulps: Regenerate.
3695
7e0b6763
IB
36962014-04-16 Ian Bolton <ian.bolton@arm.com>
3697 Wilco Dijkstra <wilco.dijkstra@arm.com>
3698
3699 * sysdeps/aarch64/fpu/math_private.h: New file.
3700
a9ea2e0c
MS
37012014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3702
3703 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3704
ea8ba7cd
IZ
37052014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3706
3707 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3708 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3709 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3710 Intel MPX bound registers before _dl_profile_fixup.
3711 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3712 registers after _dl_profile_fixup. Save and restore bound
3713 registers bnd0/bnd1 when calling _dl_call_pltexit.
3714 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3715 (LR_BND_OFFSET): Likewise.
3716 (LRV_BND0_OFFSET): Likewise.
3717 (LRV_BND1_OFFSET): Likewise.
3718
9f2a4fbc
ST
37192014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3720
3721 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3722 to...
3723 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
3724 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3725 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3726 fields.
9f2a4fbc 3727
fd15a59b
ST
37282014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3729
3730 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3731
f19dfa0a
SL
37322014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3733
3734 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3735
4fa8bc3b
SL
37362014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3737
3738 [BZ #14770]
3739 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3740 * sysdeps/s390/configure: Regenerate.
3741
8ea587db
SL
3742 [BZ #16824]
3743 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3744 Set round-to-nearest internally to reduce error accumulation.
3745
aa5f0ff1
AM
37462014-04-16 Alan Modra <amodra@gmail.com>
3747
3748 [BZ #16740]
3749 [BZ #16619]
3750 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3751 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 3752 * NEWS: Update fixed bug list.
aa5f0ff1 3753
bb9c256f
SP
37542014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3755
3756 * benchtests/Makefile: Depend on libraries in build directory.
3757 (bench-math): Separate out math tests.
3758 (bench-pthread): Separate out pthread tests.
3759 (bench): Include math and pthread tests.
3760
f737dfd0
CD
37612014-04-14 Carlos O'Donell <carlos@redhat.com>
3762
3763 [BZ #16831]
3764 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3765 _dl_debug_initialize.
3766
0699f766
CD
3767 * configure.ac: Remove SELinux header check.
3768 * configure: Regenerate.
3769 * nscd/selinux.c (perms): Array of const char* to permission names.
3770 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3771 default policy. Call string_to_security_class and string_to_av_perm to
3772 translate strings. Enforce default policy and call avs_has_perm with
3773 results of translated strings.
3774
809bd45f
DM
37752014-04-13 David S. Miller <davem@davemloft.net>
3776
3777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3778
89e691f2
AM
37792014-04-12 Allan McRae <allan@archlinux.org>
3780
3781 [BZ #16838]
3782 * manual/string.texi (Collation Functions): Fix qsort argument
3783 order in example.
3784 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3785
9c9daaeb
CM
37862014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3787
3788 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3789 Make the test a no-op if there are no exceptions defined.
3790
95561fb9
PP
37912014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3792
fe8d072c 3793 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
3794 enable-hardcoded-path-in-tests
3795
970c602a
WN
37962014-04-11 Will Newton <will.newton@linaro.org>
3797
3798 * benchtests/Makefile (extra-objs): Add json-lib.o.
3799 (bench-func): Tidy up JSON output.
3800 * benchtests/bench-skeleton.c: Include json-lib.h.
3801 (main): Use JSON library functions to do output of
3802 benchmark results.
3803 * benchtests/bench-timing-type.c (main): Output the
3804 timing type simply, leaving formatting to the user.
3805 * benchtests/json-lib.c: New file.
3806 * benchtests/json-lib.h: Likewise.
3807
36875b06
TR
38082014-04-11 Torvald Riegel <triegel@redhat.com>
3809
3810 [BZ #15215]
3811 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3812 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3813 memory barriers. Add comments.
3814 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3815 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3816 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3817 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3818 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3819 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3820
579db35a
SL
38212014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3822
3823 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3824 * sysdeps/s390/s390-64/configure.ac: ... this ...
3825 * sysdeps/s390/configure.ac: ... to here.
3826 * sysdeps/s390/s390-32/configure: Delete file.
3827 * sysdeps/s390/s390-64/configure: Delete file.
3828 * sysdeps/s390/configure: Regenerate.
3829
c12e9f37
JAPH
38302014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3831
3832 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3833
439bda32
WN
38342014-04-11 Will Newton <will.newton@linaro.org>
3835
3836 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3837 to zero if it is not defined elsewhere. (mtrim): Test
3838 the value of MALLOC_DEBUG with #if rather than #ifdef.
3839
6a5d6ea1
TR
38402014-04-10 Torvald Riegel <triegel@redhat.com>
3841
3842 * benchtests/pthread_once-inputs: New file.
3843 * benchtests/pthread_once-source.c: New file.
3844 * benchtests/README: Update documentation.
3845
a4c75cfd
IZ
38462014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3847 H.J. Lu <hongjiu.lu@intel.com>
3848
3849 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3850 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3851 * sysdeps/x86_64/configure: Regenerated.
3852 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3853 macro.
3854 (REGISTER_SAVE_RAX): Likewise.
3855 (REGISTER_SAVE_RCX): Likewise.
3856 (REGISTER_SAVE_RDX): Likewise.
3857 (REGISTER_SAVE_RSI): Likewise.
3858 (REGISTER_SAVE_RDI): Likewise.
3859 (REGISTER_SAVE_R8): Likewise.
3860 (REGISTER_SAVE_R9): Likewise.
3861 (REGISTER_SAVE_BND0): Likewise.
3862 (REGISTER_SAVE_BND1): Likewise.
3863 (REGISTER_SAVE_BND2): Likewise.
3864 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3865 bound registers when calling _dl_fixup.
3866
27822ce6
AZ
38672014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3868
3869 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
3870 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3871 of its definition.
27822ce6
AZ
3872 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3873 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3874 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3875 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3876 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3877 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3878 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3879
a88ddc90
PTB
38802014-04-09 Peter Brett <peter@peter-b.co.uk>
3881
3882 [BZ #15514]
3883 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3884 pathconf(_PC_NAME_MAX).
3885
01f8eac2
AZ
38862014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3887
3888 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3889 Remove macro usage.
3890 (__PTHREAD_SPINS): Move definition to ...
3891 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3892 (__PTHREAD_SPINS): ... here.
3893 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3894 (__PTHREAD_SPIN): Likewise.
3895 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3896 (__PTHREAD_SPIN): Likewise.
3897 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3898 (__PTHREAD_SPIN): Likewise.
3899 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3900 (__PTHREAD_SPIN): Likewise.
3901 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3902 (__PTHREAD_SPIN): Likewise.
3903 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3904 (__PTHREAD_SPIN): Likewise.
3905 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3906 (__PTHREAD_SPIN): Likewise.
3907 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3908 (__PTHREAD_SPIN): Likewise.
3909 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3910 (__PTHREAD_SPIN): Likewise.
3911 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3912 (__PTHREAD_SPIN): Likewise.
3913 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3914 (__PTHREAD_SPIN): Likewise.
3915 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3916 (__PTHREAD_SPIN): Likewise.
3917
de21c33c
AZ
3918 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3919 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3920 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3921 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3922 imply folder.
3923 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3924 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3925 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3926 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3927 correct imply path.
3928 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3929 strlen symbol for non multi-arch builds.
3930 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3931 missing hidden_def and weak_alias.
3932
862c472e
CD
39332014-04-08 Carlos O'Donell <carlos@redhat.com>
3934
3935 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3936
8667f90e
WN
39372014-04-07 Will Newton <will.newton@linaro.org>
3938
3939 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3940 and contents. [!_LIBC] Remove #ifndef and contents.
3941 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3942 * string/memccpy.c (__memccpy): Use ANSI prototype.
3943 * string/memfrob.c (memfrob): Likewise.
3944 * string/strcoll.c (STRCOLL): Likewise.
3945 * string/strlen.c (strlen): Likewise.
3946 * string/strtok.c (STRTOK): Likewise.
3947 * string/strcat.c: Remove unused #include of memcopy.h.
3948 (strcat): Use ANSI prototype.
3949 * string/strchr.c: Remove unused #include of memcopy.h.
3950 (strchr): Use ANSI prototype.
3951 * string/strcmp.c: Remove unused #include of memcopy.h.
3952 (strcmp): Use ANSI prototype.
3953 * string/strcpy.c: Remove unused #include of memcopy.h.
3954 (strcpy): Use ANSI prototype.
3955
7ffa9423
AZ
39562014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3957
3958 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3959 * config.make.in (config-extra-cppflags): Set it from
3960 libc_extra_cppflags.
3961 * configure.ac (libc_extra_cflags): Make it accumulate over
3962 configure fragments.
3963 (libc_extra_cppflags): New flag.
3964 * configure. Regenerate.
3965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
3966 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3967 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
3968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3969
8bd70862
AZ
3970 [BZ #16815]
3971 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3972 result for FE_DOWNWARD rounding mode.
3973 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3974 Likewise.
3975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3976
d42f3448
CM
39772014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3978
3979 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3980 in function argument name.
3981
1c21d115
DS
39822014-04-03 David Svoboda <svoboda@cert.org>
3983
3984 [BZ #5666]
3985 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3986 explicitly.
3987
fcccd512
RM
39882014-04-03 Roland McGrath <roland@hack.frob.com>
3989
3990 * elf/dl-unmap-segments.h: New file.
3991 * sysdeps/generic/ldsodefs.h
3992 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3993 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3994 * elf/dl-fptr.c: Likewise.
3995 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3996 * sysdeps/aarch64/tlsdesc.c: Likewise.
3997 * sysdeps/arm/tlsdesc.c: Likewise.
3998 * sysdeps/i386/tlsdesc.c: Likewise.
3999 * sysdeps/tile/dl-runtime.c: Likewise.
4000 * sysdeps/x86_64/tlsdesc.c: Likewise.
4001 * elf/dl-load.h: New file.
4002 * elf/dl-load.c: Include it.
4003 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4004 Macros moved to dl-load.h.
4005 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4006 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4007 Use _dl_unmap_segments in place of __munmap.
4008 Break out segment-mapping loop into ...
4009 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4010
f6488e2b
WN
40112014-04-03 Will Newton <will.newton@linaro.org>
4012
4013 * elf/dl-lookup.c (do_lookup_x): Remove comment
4014 referring to nested function and move variable
4015 declarations down to before first use.
4016
6f05bafe
JM
40172014-04-02 Joseph Myers <joseph@codesourcery.com>
4018
a84e78c8
JM
4019 [BZ #16799]
4020 [BZ #16800]
4021 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4022 with 0 numerator.
4023 * math/s_catanf.c (__catanf): Likewise.
4024 * math/s_catanh.c (__catanh): Likewise.
4025 * math/s_catanhf.c (__catanhf): Likewise.
4026 * math/s_catanhl.c (__catanhl): Likewise.
4027 * math/s_catanl.c (__catanl): Likewise.
4028 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4029 by positive zero when computing -Inf result.
4030 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4031 (catanh_test): Likewise.
4032 * sysdeps/i386/fpu/libm-test-ulps: Update.
4033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4034
6f05bafe
JM
4035 [BZ #16789]
4036 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4037 instead of using underflowing value in computing result.
4038 * math/s_clog10.c (__clog10): Likewise.
4039 * math/s_clog10f.c (__clog10f): Likewise.
4040 * math/s_clog10l.c (__clog10l): Likewise.
4041 * math/s_clogf.c (__clogf): Likewise.
4042 * math/s_clogl.c (__clogl): Likewise.
4043 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4044 (clog10_test): Likewise.
4045 * sysdeps/i386/fpu/libm-test-ulps: Update.
4046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4047
b0abbc21
AM
40482014-04-02 Alan Modra <amodra@gmail.com>
4049
4050 [BZ #16739]
4051 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4052 output when value is near a power of two. Use int64_t for lx and
4053 remove casts. Use decimal rather than hex exponent constants.
4054 Don't use long double multiplication when double will suffice.
4055 * math/libm-test.inc (nextafter_test_data): Add tests.
4056 * NEWS: Add 16739 and 16786 to bug list.
4057
af6b1797
AM
4058 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4059
483818d7
AM
4060 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4061
f6c55796
WN
40622014-04-01 Will Newton <will.newton@linaro.org>
4063
4064 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4065 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4066
13f7fe35
FW
40672014-04-01 Florian Weimer <fweimer@redhat.com>
4068
4069 [BZ #13347]
4070 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4071 * nptl/tst-setuid2.c: New file.
4072 * nptl/Makefile (xtests): Add tst-setuid2.
4073
c859b32e
AM
40742014-04-01 Alan Modra <amodra@gmail.com>
4075
4076 [BZ #16786]
4077 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4078
54fa2475
JM
40792014-03-31 Joseph Myers <joseph@codesourcery.com>
4080
8795b4a4
JM
4081 [BZ #6803]
4082 [BZ #6804]
4083 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4084 set errno as appropriate.
4085 * math/w_scalbf.c (__scalbf): Likewise.
4086 * math/w_scalbl.c (__scalbl): Likewise.
4087 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4088 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4089 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4090 Add more NaN tests.
4091
54fa2475
JM
4092 [BZ #16349]
4093 * math/w_atan2.c: Include <errno.h>.
4094 (__atan2): Set errno for result underflowing to zero.
4095 * math/w_atan2f.c: Include <errno.h>.
4096 (__atan2f): Set errno for result underflowing to zero.
4097 * math/w_atan2l.c: Include <errno.h>.
4098 (__atan2l): Set errno for result underflowing to zero.
4099 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4100 tests.
4101 * math/auto-libm-test-out: Regenerated.
4102
757d9dd5
AZ
41032014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4104
4105 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4106 Encode instruction correctly in little endian.
4107 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4108 Likewise.
4109 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4110 Likewise.
4111 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4112 Likewise.
4113 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4114 Likewise.
4115
d7a68734
JM
41162014-03-31 Joseph Myers <joseph@codesourcery.com>
4117
47c5adeb
JM
4118 [BZ #9894]
4119 * sysdeps/unix/sysv/linux/kernel-features.h
4120 [__sparc__ && !__arch64__ && !__sparc_v9__]
4121 (__ASSUME_SET_ROBUST_LIST): Do not define.
4122 [__sparc__ && !__arch64__ && !__sparc_v9__]
4123 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4124 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4125 Likewise.
4126 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4127 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4128 (__ASSUME_REQUEUE_PI): Likewise.
4129 (__ASSUME_SET_ROBUST_LIST): Likewise.
4130 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4131 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4132 Undefine.
4133 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4134 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4135 Likewise.
4136 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4137 Likewise.
4138 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4139 Likewise.
4140 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4141 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4142 Undefine.
4143 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4144 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4145 Likewise.
4146
d7a68734
JM
4147 [BZ #16648]
4148 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4149 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4150 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4151
c760f5c2
WN
41522014-03-31 Will Newton <will.newton@linaro.org>
4153
4154 * benchtests/Makefile (bench): Add ffs and ffsll to list
4155 of tests.
4156 * benchtests/ffs-inputs: New file.
4157 * benchtests/ffsll-inputs: Likewise.
4158
ea6029b1
JM
41592014-03-29 Joseph Myers <joseph@codesourcery.com>
4160
4161 [BZ #16770]
4162 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4163 too large before casting to int.
4164 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4165 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4166 * math/libm-test.inc (scalb_test_data): Add more tests.
4167
cf806aff
SP
41682014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4169
56737508
SP
4170 * benchtests/Makefile (DETAILED_OPT): New make option.
4171 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4172 set.
4173 * benchtests/bench-skeleton.c: Include stdbool.h.
4174 (main): Store and print timings per input.
4175 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4176 member to each argument value.
4177 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4178 (_print_arg_data): Initialize per-input timing to 0.
4179
cb5e4aad
SP
4180 * benchtests/Makefile (timing-type): New binary.
4181 (bench-clean): Also remove bench-timing-type.
4182 (bench): New target for timing-type.
4183 (bench-func): Print output in JSON format.
4184 * benchtests/bench-skeleton.c (main): Print output in JSON
4185 format.
4186 * benchtests/bench-timing-type.c: New file.
4187 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4188 (TIMING_PRINT_STATS): Remove.
4189 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4190 name separately.
4191
cf806aff
SP
4192 * benchtests/bench-modf.c: Remove.
4193 * benchtests/modf-inputs: New inputs file.
4194
289e0779
JM
41952014-03-28 Joseph Myers <joseph@codesourcery.com>
4196
4197 [BZ #16362]
4198 * math/s_clog10.c (M_PI_LOG10E): New macro.
4199 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4200 imaginary parts are 0.
4201 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4202 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4203 imaginary parts are 0.
4204 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4205 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4206 imaginary parts are 0.
4207 * math/libm-test.inc (clog10_test_data): Update expected results
4208 for when real and imaginary parts are 0.
4209
277ae3f1
PP
42102014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4211
4212 * elf/dl-load.c: Finish conversion of __builtin_expect into
4213 __glibc_{un}likely.
4214
03a7091f
JM
42152014-03-27 Joseph Myers <joseph@codesourcery.com>
4216
4217 [BZ #16348]
4218 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4219 1+x for argument with exponent below -67.
4220 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4221 Likewise.
4222 * math/auto-libm-test-in: Add more tests of exp.
4223 * math/auto-libm-test-out: Regenerated.
4224
ea7d8b95
SP
42252014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4226
dd3022d7
SP
4227 [BZ #16759]
4228 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4229 (nscd_getnetgrent): Use it.
4230
ea7d8b95
SP
4231 [BZ #16760]
4232 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4233 of stpcpy.
4234
df5b85da
AK
42352014-03-27 Andi Kleen <ak@linux.intel.com>
4236
57f41c40
AS
4237 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4238 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4239 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4240 (lll_robust_unlock): Remove out of line section. Use cfi
4241 intrinsics.
df5b85da 4242 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
4243 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4244 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4245 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4246 (lll_robust_unlock): Remove out of line section. Use cfi
4247 intrinsics.
df5b85da
AK
4248 (LLL_STUB_UNWIND_INFO*): Remove.
4249
fbd6b5a4
SP
42502014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4251
4252 [BZ #16758]
4253 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4254 blank values.
4255
1b26b855
PP
42562014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4257
4258 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4259
9be36fb8
JM
42602014-03-26 Joseph Myers <joseph@codesourcery.com>
4261
4262 [BZ #16198]
4263 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4264 fnstenv.
4265 * math/test-fenv-preserve.c: New file.
4266 * math/Makefile (tests): Add test-fenv-preserve.
4267
60a2f3c1
WN
42682014-03-26 Will Newton <will.newton@linaro.org>
4269
4270 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4271
a5e5f1e2
RM
42722014-03-25 Roland McGrath <roland@hack.frob.com>
4273
4274 * scripts/versionlist.awk: Partition the version sets and emit all
4275 GLIBC_* (sorted) before all others (sorted).
4276
00f4012a
JM
42772014-03-25 Joseph Myers <joseph@codesourcery.com>
4278
4279 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4280 GLIBC_2.2.5 version.
4281
7bc5a741
AZ
42822014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4283
4284 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4285 calls.
4286
7578473b
AZ
4287 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4288 previous change.
4289
f3f1dab3
AZ
4290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4291
6da36183
AS
42922014-03-25 Andreas Schwab <schwab@suse.de>
4293
4294 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4295 label to be used after in6ailist is initialized.
4296
f3f1dab3 42972014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 4298
7578473b 4299 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
4300 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4301
046651c1
JM
43022014-03-25 Joseph Myers <joseph@codesourcery.com>
4303
4304 [BZ #16357]
4305 [BZ #16599]
4306 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4307 min_plus_half.
4308 (fp_formats): Update initializers.
4309 (init_fp_formats): Initialize new field.
4310 (output_for_one_input_case): Allow underflow for results up to
4311 min_plus_half.
4312 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4313 * math/auto-libm-test-in: Don't mark some underflows from asin and
4314 atanh as spurious.
4315 * math/auto-libm-test-out: Regenerated.
4316 * sysdeps/i386/fpu/libm-test-ulps: Update.
4317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4318
003e49ed
AS
43192014-03-25 Andreas Schwab <schwab@suse.de>
4320
4321 * libio/Makefile (tst-ftell-partial-wide-ENV)
4322 (tst-ftell-active-handler-ENV): Define.
4323
de031874
SL
43242014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4325
4326 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4327
55a81e3b
PP
43282014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4329
4330 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4331
f3426898
JM
43322014-03-24 Joseph Myers <joseph@codesourcery.com>
4333
4334 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4335 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4336 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4337
a42faf59
PP
43382014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4339
4340 [BZ #16634]
a42faf59 4341 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
4342 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4343 (open_path): Change from boolean 'secure' to complete flag 'mode'
4344 (_dl_map_object): Adjust.
a42faf59
PP
4345 * elf/Makefile (tests): Add tst-dlopen-aout.
4346 * elf/tst-dlopen-aout.c: New test.
4347
50936127
SL
43482014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4349
4350 [BZ #16714]
4351 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4352 (struct stat): Rename member pad0 to __glibc_reserved0.
4353
26011b5c
SL
4354 [BZ #16712]
4355 * sysdeps/s390/s390-32/bits/wordsize.h
4356 (__WORDSIZE32_SIZE_ULONG): New define.
4357 * sysdeps/s390/s390-64/bits/wordsize.h
4358 (__WORDSIZE32_SIZE_ULONG): Likewise.
4359 * sysdeps/generic/stdint.h (SIZE_MAX):
4360 Define as UL if __WORDSIZE32_SIZE_ULONG.
4361
a2d86bf1
SL
4362 [BZ #16713]
4363 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4364 (__glibc_reserved0): New variable.
4365 (sa_flags): Change type to int.
4366
78b6eebc
SL
4367 * posix/Makefile (before-compile): Use += before-compile instead
4368 of a :=.
4369
f1399b5a
SL
4370 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4371 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4372
a071766e
AS
43732014-03-20 Andreas Schwab <schwab@suse.de>
4374
4375 [BZ #16743]
4376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4377 non-matching result from nscd.
4378
27c673b8
SP
43792014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4380
4381 * scripts/bench.py: Moved to ...
4382 * benchtests/scripts/bench.py: ... here.
4383 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4384
44152e4b
AS
43852014-03-24 Andreas Schwab <schwab@suse.de>
4386
4387 [BZ #16002]
4388 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4389 alloca_account and account alloca use for struct in6ailist.
4390
b376a11a
JM
43912014-03-24 Joseph Myers <joseph@codesourcery.com>
4392
4393 [BZ #16284]
4394 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4395 rounding mode to recompute results that overflow to infinity or
4396 underflow to zero.
4397 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4398 bug 16284.
4399 * math/auto-libm-test-out: Regenerated.
4400 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4401 (ccosh_test): Likewise.
4402 (csin_test_data): Use plus_oflow.
4403 (csin_test): Use ALL_RM_TEST.
4404 (csinh_test_data): Use plus_oflow.
4405 (csinh_test): Use ALL_RM_TEST.
4406 * sysdeps/i386/fpu/libm-test-ulps: Update.
4407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4408
f7be7376
JM
44092014-03-21 Joseph Myers <joseph@codesourcery.com>
4410
1ca2d03e
JM
4411 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4412 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4413 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4414
f7be7376
JM
4415 [BZ #16731]
4416 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4417 when x - 1 is zero.
4418 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4419 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4420 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4421 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4422 argument is 1.
4423 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4424 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4425 zero.
4426 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4427 * sysdeps/i386/fpu/libm-test-ulps: Update.
4428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4429
fdf4534d
SP
44302014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4431
df26ea53
SP
4432 * scripts/bench.pl: Remove file.
4433 * scripts/bench.py: New benchmark script.
4434 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4435 * benchtests/README: Mention python dependency.
4436 * scripts/pylintrc: New file.
4437 * scripts/pylint: New file.
4438
fdf4534d
SP
4439 * bits/mathdef.h: Use #ifdef instead of #if.
4440 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4441 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4442 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4443 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4444 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4445 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4446
6f23d093
AZ
44472014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4448 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4449
4450 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4452 and strpbrk-ppc64 objects.
4453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4454 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4455 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4456 multiarch strpbrk for POWER7.
4457 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4458 multiarch strpbrk for PPC64.
4459 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4460 ifunc selector.
4461 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4462 strpbrk for POWER7.
4463
8c92dfff
JM
44642014-03-20 Joseph Myers <joseph@codesourcery.com>
4465
4466 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4467 (atan_test): Likewise.
4468 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4469 (atanh_test): Use ALL_RM_TEST.
4470 (atan2_test_data): Likewise.
4471 (cabs_test): Likewise.
4472 (cacosh_test): Likewise.
4473 (carg_test): Likewise.
4474 (casin_test): Likewise.
4475 (casinh_test): Likewise.
4476 (cbrt_test): Likewise.
4477 (csqrt_test): Likewise.
4478 (erf_test): Likewise.
4479 (erfc_test): Likewise.
4480 (pow10_test): Likewise.
4481 (exp2_test): Likewise.
4482 (hypot_test): Likewise.
4483 (j0_test): Likewise.
4484 (j1_test): Likewise.
4485 (lgamma_test): Likewise.
4486 (gamma_test): Likewise.
4487 (sincos_test): Likewise.
4488 (tanh_test): Likewise.
4489 (y0_test): Likewise.
4490 (y1_test): Likewise.
4491 * sysdeps/i386/fpu/libm-test-ulps: Update.
4492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4493
6eaf95cb
AZ
44942014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4495
a387428c
SP
4496 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
4498 and strcspn-ppc64 objects.
4499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4500 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4501 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4502 multiarch strcspn for POWER7.
4503 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4504 multiarch strcspn for PPC64.
4505 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4506 ifunc selector.
4507 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4508 strcspn for POWER7.
4509
ae3a5dff
JM
45102014-03-20 Joseph Myers <joseph@codesourcery.com>
4511
4512 * math/gen-libm-test.pl (generate_testfile): Expect only function
4513 name as argument to AUTO_TESTS_* and pass results for all rounding
4514 modes to parse_args.
4515 (parse_auto_input): Separate inputs of automatic tests from
4516 outputs before storing in %auto_tests.
4517 * math/libm-test.inc (acos_test_data): Update call to
4518 AUTO_TESTS_f_f.
4519 (acos_test): Use ALL_RM_TEST.
4520 (acos_tonearest_test_data): Remove.
4521 (acos_test_tonearest): Likewise.
4522 (acos_towardzero_test_data): Likewise.
4523 (acos_test_towardzero): Likewise.
4524 (acos_downward_test_data): Likewise.
4525 (acos_test_downward): Likewise.
4526 (acos_upward_test_data): Likewise.
4527 (acos_test_upward): Likewise.
4528 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4529 (asin_test_data): Likewise.
4530 (asin_test): Use ALL_RM_TEST.
4531 (asin_tonearest_test_data): Remove.
4532 (asin_test_tonearest): Likewise.
4533 (asin_towardzero_test_data): Likewise.
4534 (asin_test_towardzero): Likewise.
4535 (asin_downward_test_data): Likewise.
4536 (asin_test_downward): Likewise.
4537 (asin_upward_test_data): Likewise.
4538 (asin_test_upward): Likewise.
4539 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4540 (atan_test_data): Likewise.
4541 (atanh_test_data): Likewise.
4542 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4543 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4544 (carg_test_data): Likewise.
4545 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4546 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4547 (ccosh_test_data): Likewise.
4548 (cexp_test_data): Likewise.
4549 (clog_test_data): Likewise.
4550 (clog10_test_data): Likewise.
4551 (cos_test_data): Update call to AUTO_TESTS_f_f.
4552 (cos_test): Use ALL_RM_TEST.
4553 (cos_tonearest_test_data): Remove.
4554 (cos_test_tonearest): Likewise.
4555 (cos_towardzero_test_data): Likewise.
4556 (cos_test_towardzero): Likewise.
4557 (cos_downward_test_data): Likewise.
4558 (cos_test_downward): Likewise.
4559 (cos_upward_test_data): Likewise.
4560 (cos_test_upward): Likewise.
4561 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4562 (cosh_test): Use ALL_RM_TEST.
4563 (cosh_tonearest_test_data): Remove.
4564 (cosh_test_tonearest): Likewise.
4565 (cosh_towardzero_test_data): Likewise.
4566 (cosh_test_towardzero): Likewise.
4567 (cosh_downward_test_data): Likewise.
4568 (cosh_test_downward): Likewise.
4569 (cosh_upward_test_data): Likewise.
4570 (cosh_test_upward): Likewise.
4571 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4572 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4573 (ctan_test_data): Likewise.
4574 (ctan_test): Use ALL_RM_TEST.
4575 (ctan_tonearest_test_data): Remove.
4576 (ctan_test_tonearest): Likewise.
4577 (ctan_towardzero_test_data): Likewise.
4578 (ctan_test_towardzero): Likewise.
4579 (ctan_downward_test_data): Likewise.
4580 (ctan_test_downward): Likewise.
4581 (ctan_upward_test_data): Likewise.
4582 (ctan_test_upward): Likewise.
4583 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4584 (ctanh_test): Use ALL_RM_TEST.
4585 (ctanh_tonearest_test_data): Remove.
4586 (ctanh_test_tonearest): Likewise.
4587 (ctanh_towardzero_test_data): Likewise.
4588 (ctanh_test_towardzero): Likewise.
4589 (ctanh_downward_test_data): Likewise.
4590 (ctanh_test_downward): Likewise.
4591 (ctanh_upward_test_data): Likewise.
4592 (ctanh_test_upward): Likewise.
4593 (erf_test_data): Update call to AUTO_TESTS_f_f.
4594 (erfc_test_data): Likewise.
4595 (exp_test_data): Likewise.
4596 (exp_test): Use ALL_RM_TEST.
4597 (exp_tonearest_test_data): Remove.
4598 (exp_test_tonearest): Likewise.
4599 (exp_towardzero_test_data): Likewise.
4600 (exp_test_towardzero): Likewise.
4601 (exp_downward_test_data): Likewise.
4602 (exp_test_downward): Likewise.
4603 (exp_upward_test_data): Likewise.
4604 (exp_test_upward): Likewise.
4605 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4606 (exp10_test): Use ALL_RM_TEST.
4607 (exp10_tonearest_test_data): Remove.
4608 (exp10_test_tonearest): Likewise.
4609 (exp10_towardzero_test_data): Likewise.
4610 (exp10_test_towardzero): Likewise.
4611 (exp10_downward_test_data): Likewise.
4612 (exp10_test_downward): Likewise.
4613 (exp10_upward_test_data): Likewise.
4614 (exp10_test_upward): Likewise.
4615 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4616 (expm1_test_data): Likewise.
4617 (expm1_test): Use ALL_RM_TEST.
4618 (expm1_tonearest_test_data): Remove.
4619 (expm1_test_tonearest): Likewise.
4620 (expm1_towardzero_test_data): Likewise.
4621 (expm1_test_towardzero): Likewise.
4622 (expm1_downward_test_data): Likewise.
4623 (expm1_test_downward): Likewise.
4624 (expm1_upward_test_data): Likewise.
4625 (expm1_test_upward): Likewise.
4626 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4627 (fma_test): Use ALL_RM_TEST.
4628 (fma_towardzero_test_data): Remove.
4629 (fma_test_towardzero): Likewise.
4630 (fma_downward_test_data): Likewise.
4631 (fma_test_downward): Likewise.
4632 (fma_upward_test_data): Likewise.
4633 (fma_test_upward): Likewise.
4634 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4635 (j0_test_data): Update call to AUTO_TESTS_f_f.
4636 (j1_test_data): Likewise.
4637 (jn_test_data): Update call to AUTO_TESTS_if_f.
4638 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4639 (log_test_data): Update call to AUTO_TESTS_f_f.
4640 (log10_test_data): Likewise.
4641 (log1p_test_data): Likewise.
4642 (log2_test_data): Likewise.
4643 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4644 (pow_tonearest_test_data): Likewise.
4645 (sin_test_data): Update call to AUTO_TESTS_f_f.
4646 (sin_test): Use ALL_RM_TEST.
4647 (sin_tonearest_test_data): Remove.
4648 (sin_test_tonearest): Likewise.
4649 (sin_towardzero_test_data): Likewise.
4650 (sin_test_towardzero): Likewise.
4651 (sin_downward_test_data): Likewise.
4652 (sin_test_downward): Likewise.
4653 (sin_upward_test_data): Likewise.
4654 (sin_test_upward): Likewise.
4655 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4656 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4657 (sinh_test): Use ALL_RM_TEST.
4658 (sinh_tonearest_test_data): Remove.
4659 (sinh_test_tonearest): Likewise.
4660 (sinh_towardzero_test_data): Likewise.
4661 (sinh_test_towardzero): Likewise.
4662 (sinh_downward_test_data): Likewise.
4663 (sinh_test_downward): Likewise.
4664 (sinh_upward_test_data): Likewise.
4665 (sinh_test_upward): Likewise.
4666 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4667 (sqrt_test): Use ALL_RM_TEST.
4668 (sqrt_tonearest_test_data): Remove.
4669 (sqrt_test_tonearest): Likewise.
4670 (sqrt_towardzero_test_data): Likewise.
4671 (sqrt_test_towardzero): Likewise.
4672 (sqrt_downward_test_data): Likewise.
4673 (sqrt_test_downward): Likewise.
4674 (sqrt_upward_test_data): Likewise.
4675 (sqrt_test_upward): Likewise.
4676 (tan_test_data): Update call to AUTO_TESTS_f_f.
4677 (tan_test): Use ALL_RM_TEST.
4678 (tan_tonearest_test_data): Remove.
4679 (tan_test_tonearest): Likewise.
4680 (tan_towardzero_test_data): Likewise.
4681 (tan_test_towardzero): Likewise.
4682 (tan_downward_test_data): Likewise.
4683 (tan_test_downward): Likewise.
4684 (tan_upward_test_data): Likewise.
4685 (tan_test_upward): Likewise.
4686 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4687 (tgamma_test_data): Likewise.
4688 (y0_test_data): Likewise.
4689 (y1_test_data): Likewise.
4690 (yn_test_data): Update call to AUTO_TESTS_if_f.
4691 (main): Do not call removed functions.
4692
d71aeee8
JM
46932014-03-19 Joseph Myers <joseph@codesourcery.com>
4694
4695 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4696 (ldexp_test_data): Remove.
4697 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4698 scalbn_test_data.
4699 (scalb_test): Use ALL_RM_TEST.
4700
baaf1ded
AS
47012014-03-19 Andreas Schwab <schwab@suse.de>
4702
4703 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4704
b1115e91
JM
47052014-03-19 Joseph Myers <joseph@codesourcery.com>
4706
4707 [BZ #16649]
4708 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4709 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4710 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4711 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4712 (__ASSUME_PREADV): Undefine.
4713 (__ASSUME_PWRITEV): Likewise.
4714
0283ecca
RM
47152014-03-18 Roland McGrath <roland@hack.frob.com>
4716
7d375303
RM
4717 * bits/mman-linux.h: Add comment about non-Linux use.
4718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4719 bits/mman-linux.h resting place.
4720
0283ecca
RM
4721 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4722 * bits/mman-linux.h: ... here.
4723
aebe1003
AZ
47242014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4725
4726 * conform/conformtest.pl: Add standard definition when calling C
4727 preprocessor on data files.
4728 (checknamespace): Remove unused variable.
4729
b29b6bb8
JM
47302014-03-18 Joseph Myers <joseph@codesourcery.com>
4731
4732 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4733 minus_oflow, plus_uflow and minus_uflow in expected results.
4734 * math/libm-test.inc (scalbn_test_data): Add more tests of
4735 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4736 minus_uflow.
4737 (scalbn_test): Use ALL_RM_TEST.
4738 (scalbln_test_data): Add more tests of negative arguments. Use
4739 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4740 (scalbln_test): Use ALL_RM_TEST.
4741
c8f8fa15
RM
47422014-03-18 Roland McGrath <roland@hack.frob.com>
4743
4744 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4745
fede7a5f
WN
47462014-03-18 Will Newton <will.newton@linaro.org>
4747
4748 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4749 inaccurate comment.
4750
80cf0a58
JM
47512014-03-18 Joseph Myers <joseph@codesourcery.com>
4752
4753 * Makerules [!subdir] (check-abi): Exit with error status if a
4754 test failed.
4755
b3620862
JM
47562014-03-17 Joseph Myers <joseph@codesourcery.com>
4757
4758 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4759 for rint. Include results for all rounding modes.
4760 (nearbyint_test): Use ALL_RM_TEST.
4761 (rint_test_data): Include all tests used for nearbyint.
4762
788bba36
WN
47632014-03-17 Will Newton <will.newton@linaro.org>
4764
04ec140a
WN
4765 * nptl/sysdeps/pthread/pthread.h: Revert previous
4766 change.
4767
7579d8d5
WN
4768 * sysdeps/generic/ldsodefs.h: Revert previous
4769 change.
4770
c15cf13a
WN
4771 * libio/genops.c: Revert previous change.
4772 * libio/libioP.h: Likewise.
4773 * stdio-common/vfprintf.c: Likewise.
4774
d0ac1324
WN
4775 * sysdeps/generic/math_private.h: Revert previous
4776 change.
4777
9290130a
WN
4778 * sysdeps/generic/math_private.h: Check whether
4779 HAVE_RM_CTX is defined with #ifdef rather
4780 than #if.
4781
afb466fc
WN
4782 * argp/argp-fmtstream.h: Check whether
4783 __STRICT_ANSI__ is defined with #ifdef rather
4784 than #if.
4785 * argp/argp.h: Likewise.
4786
f7efd7c3
WN
4787 * libio/genops.c: Check whether
4788 _IO_JUMPS_OFFSET is defined with #ifdef rather
4789 than #if.
4790 * libio/libioP.h: Likewise.
4791 * stdio-common/vfprintf.c: Likewise.
4792
53f1bed3
WN
4793 * sysdeps/generic/ldsodefs.h: Check whether
4794 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4795 than #if.
4796
788bba36
WN
4797 * nptl/sysdeps/pthread/pthread.h: Check
4798 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4799 its value.
4800
fcd89ebe
SP
48012014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4802
ae42bbc5
SP
4803 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4804 setting O_APPEND.
4805 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4806 test case.
4807
ea33158c
SP
4808 [BZ #16680]
4809 * libio/fileops.c (_IO_file_open): Seek to end of file but
4810 don't cache the offset.
4811 (get_file_offset): Remove function.
4812 (do_ftell): Use cached offset when available.
4813 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4814 don't cache the offset.
4815 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4816 case.
4817 (do_one_test): Call it.
4818 (do_ftell_test): Fix up expected old offset for a+ mode.
4819 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4820 available.
4821
b1dbb426
SP
4822 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4823 up test status with function return status.
4824 (do_write_test): Likewise.
4825 (do_append_test): Likewise.
4826
fcd89ebe
SP
4827 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4828 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4829 Remove.
4830
9962a2d3
JM
48312014-03-17 Joseph Myers <joseph@codesourcery.com>
4832
4833 * math/gen-libm-test.pl (parse_args): Handle results specified for
4834 each rounding mode separately.
4835 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4836 tests and results from lrint_tonearest_test_data,
4837 lrint_towardzero_test_data, lrint_downward_test_data and
4838 lrint_upward_test_data.
4839 (lrint_test): Use ALL_RM_TEST.
4840 (lrint_tonearest_test_data): Remove.
4841 (lrint_test_tonearest): Likewise.
4842 (lrint_towardzero_test_data): Likewise.
4843 (lrint_test_towardzero): Likewise.
4844 (lrint_downward_test_data): Likewise.
4845 (lrint_test_downward): Likewise.
4846 (lrint_upward_test_data): Likewise.
4847 (lrint_test_upward): Likewise.
4848 (llrint_test_data): Merge in per-rounding-mode tests and results
4849 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4850 llrint_downward_test_data and llrint_upward_test_data.
4851 (llrint_test): Use ALL_RM_TEST.
4852 (llrint_tonearest_test_data): Remove.
4853 (llrint_test_tonearest): Likewise.
4854 (llrint_towardzero_test_data): Likewise.
4855 (llrint_test_towardzero): Likewise.
4856 (llrint_downward_test_data): Likewise.
4857 (llrint_test_downward): Likewise.
4858 (llrint_upward_test_data): Likewise.
4859 (llrint_test_upward): Likewise.
4860 (rint_test_data): Merge in per-rounding-mode tests and results
4861 from rint_tonearest_test_data, rint_towardzero_test_data,
4862 rint_downward_test_data and rint_upward_test_data. Add
4863 per-rounding-mode results for tests not in those arrays.
4864 (rint_test): Use ALL_RM_TEST.
4865 (rint_tonearest_test_data): Remove.
4866 (rint_test_tonearest): Likewise.
4867 (rint_towardzero_test_data): Likewise.
4868 (rint_test_towardzero): Likewise.
4869 (rint_downward_test_data): Likewise.
4870 (rint_test_downward): Likewise.
4871 (rint_upward_test_data): Likewise.
4872 (rint_test_upward): Likewise.
4873 (main): Don't call removed functions.
4874
5006148e
RM
48752014-03-14 Roland McGrath <roland@hack.frob.com>
4876
4877 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4878 "Compiled on ..." crapola. It is anti-useful.
4879
d6fe5e58
JM
48802014-03-14 Joseph Myers <joseph@codesourcery.com>
4881
4882 * scripts/evaluate-test.sh: Handle fourth argument to determine
4883 whether test run should stop on failure.
4884 * Makeconfig (stop-on-test-failure): New variable.
4885 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4886 $(stop-on-test-failure).
4887 * Makefile (tests): Give a summary of results from testing and
4888 exit with failure status if they include an ERROR or FAIL.
4889 (xtests): Likewise.
4890 * manual/install.texi (Configuring and compiling): Mention
4891 stop-on-test-failure=y.
4892 * INSTALL: Regenerated.
4893
498a2233
RM
48942014-03-14 Roland McGrath <roland@hack.frob.com>
4895
22dbc19d
RM
4896 * scripts/versionlist.awk: New file.
4897 * Makerules [$(build-shared) = yes]
4898 (postclean-generated): Add Versions.def, not Versions.def.v and
4899 Versions.def.v.i.
4900 ($(common-objpfx)Versions.def.v.i): Target removed.
4901 ($(common-objpfx)Versions.def): New target.
4902 ($(common-objpfx)Versions.all): Depend on that rather that
4903 $(common-objpfx)Versions.def.v.
4904 * Versions.def: File removed.
4905
498a2233
RM
4906 * Makeconfig (+gccwarn): Add -Wundef.
4907 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4908 a dl-sysdep.h breaking its contract.
4909 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4910 * include/stackinfo.h: New file.
4911 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4912 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4913 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4914 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4915 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4916 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4917 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4918 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4919 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4920 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4921 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4922 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4923 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4924 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4925 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4926
c7de5025
AZ
49272014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4928
4929 [BZ #16707]
4930 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4931 implementation.
4932 * math/libm-test.inc (round_test_data): Add more tests.
4933
98fb27a3
AZ
4934 [BZ #16706]
4935 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4936 implementation.
4937 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4938
374f7f61
AZ
4939 [BZ #16701]
4940 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4941 implementation.
4942 * math/libm-test.inc (ceil_test_data): Add more tests.
4943
4655c291
AZ
4944 * math/libm-test.inc (trunc_test_data): Add more tests related to
4945 BZ#16414.
4946
d7329d4b
RM
49472014-03-14 Roland McGrath <roland@hack.frob.com>
4948
4949 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4950 with #if rather than #ifdef.
4951 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4952
aa4de9ce
L
49532014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4954
4955 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4956 first. Disable AVX-512 GCC support if assembler doesn't support
4957 it.
4958 * sysdeps/x86_64/configure: Regenerated.
4959
2e03fae7
CD
49602014-03-13 Carlos O'Donell <carlos@redhat.com>
4961
4962 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4963 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4964 (__old_pthread_attr_setstack): Likewise.
4965 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4966 [!_STACK_GROWS_DOWN]: Likewise.
4967
43ca83ec
MF
49682014-03-13 Mike Frysinger <vapier@gentoo.org>
4969
4970 * config.make.in (have-bash2): Delete.
4971 * configure.ac (libc_cv_have_bash2): Delete.
4972 * configure: Regenerate.
4973 * elf/Makefile (common-ldd-rewrite): Rename to ...
4974 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4975 (sh-ldd-rewrite): Delete.
4976 (bash-ldd-rewrite): Delete.
4977 (have-bash2): Delete checks.
57f41c40
AS
4978 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4979 ldd-rewrite.
c66e48b4
MF
4980
4981 * config.make.in (have-ksh): Delete.
4982 (KSH): Delete.
4983 * configure.ac (libc_cv_have_ksh): Delete.
4984 * configure: Regenerate.
4985
b93834ef
MF
4986 * elf/Makefile: Delete $(have-ksh) check.
4987 ($(objpfx)sotruss): Change KSH to BASH.
4988 * elf/sotruss.ksh: Rename to ...
4989 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4990 function style to match POSIX. Drop ksh vim mode setting.
4991
f3a4632a
MF
4992 * manual/time.texi (Specifying the Time Zone with TZ): Change
4993 Tuesday to Thursday.
4994
5896c8bd
MF
4995 * debug/tst-longjmp_chk2.c: Update header comment.
4996 (stackoverflow_handler): Add comment. Call assert on pass value.
4997
2d63a517
IZ
49982014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4999
5000 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5001 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5002 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5003 (La_x86_64_vector): Add zmm.
5004 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5005 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5006 ($(objpfx)tst-audit10): New target.
5007 ($(objpfx)tst-audit10.out): Likewise.
5008 (tst-audit10-ENV): New.
5009 (AVX512-CFLAGS): Likewise.
5010 (CFLAGS-tst-audit10.c): Likewise.
5011 (CFLAGS-tst-auditmod10a.c): Likewise.
5012 (CFLAGS-tst-auditmod10b.c): Likewise.
5013 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5014 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5015 * sysdeps/x86_64/configure: Regenerated.
5016 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5017 AVX-512 zmm register support.
5018 (_dl_x86_64_save_sse): Likewise.
5019 (_dl_x86_64_restore_sse): Likewise.
5020 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5021 size vector registers.
5022 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5023 (ZMM_SIZE): Likewise.
5024 * sysdeps/x86_64/tst-audit10.c: New file.
5025 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5026 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5027
44c4e5d5
RM
50282014-03-13 Roland McGrath <roland@hack.frob.com>
5029
5030 * configure.ac (HAVE_EHDR_START): New check.
5031 * configure: Regenerated.
5032 * config.h.in (HAVE_EHDR_START): New #undef.
5033 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5034 assuming the lowest-addressed segment maps the start of the file.
5035
acd6e389
JM
50362014-03-13 Joseph Myers <joseph@codesourcery.com>
5037
5038 * INSTALL: Regenerated.
5039
6f918f36
WN
50402014-03-13 Will Newton <will.newton@linaro.org>
5041
5042 * manual/setjmp.texi (System V contexts): Improve
5043 clarity and grammar of documentation.
5044
798212a0
PP
50452014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5046
5047 [BZ #16381]
798212a0 5048 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 5049 (tests-pie): Add tst-pie2.
798212a0
PP
5050 * elf/tst-pie2.c: New file.
5051 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5052 for ET_EXEC.
5053 * elf/rtld.c (map_doit): Load executable as lt_executable.
5054 (dl_main): Likewise.
5055
abe6d90c
JM
50562014-03-12 Joseph Myers <joseph@codesourcery.com>
5057
5058 [BZ #16642]
5059 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5060 (__ASSUME_PSELECT): Undefine.
5061
dd3946c6
AZ
50622014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5063
5064 [BZ #16689]
5065 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5066 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5067 static build.
5068 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5069 selector for static builds.
5070
c44496df
SP
50712014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5072
5073 [BZ #16695]
5074 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5075 key in the buffer.
5076
27c7220a
AZ
50772014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5078
57f41c40
AS
5079 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5080 IFUNC selector for static builds.
27c7220a 5081
600fa361
JM
50822014-03-11 Joseph Myers <joseph@codesourcery.com>
5083
76c96cf7
JM
5084 * sysdeps/mips/math_private.h [__mips_hard_float]
5085 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5086 libc_feresetround_mips_ctx.
5087 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5088 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5089 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5090
600fa361
JM
5091 [BZ #16677]
5092 * math/s_nextafter.c (__nextafter): Do not return value from
5093 overflowing computation.
5094 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5095 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5096 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5097 Likewise.
5098 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5099 Likewise.
5100 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5101 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5102
d7706c32
RM
51032014-03-11 Roland McGrath <roland@hack.frob.com>
5104
5105 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5106 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5107 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5108 the new mov targetting sp.
5109
4facea47
AZ
51102014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5111
5112 [BZ #16683]
5113 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5114 Define it for static builds as well.
5115 (NO_BZERO_IMPL): Likewise.
5116
e65caf1f
VR
51172014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5118
5119 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5120 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5121 multiarch strspn for PPC64.
5122 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5123 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5124 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5125 (__libc_ifunc_impl_list): Likewise.
5126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5127 multiarch optimizations
5128 * string/strspn.c (strspn): Using macro to redefine symbol name.
5129
ba9cc071
AZ
51302014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5131 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5132
5133 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5134 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5135 multiarch strncat for PPC64.
5136 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5137 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5139 (__libc_ifunc_impl_list): Likewise.
5140 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5141 multiarch optimizations
5142
8b4ff974
SP
51432014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5144
5145 [BZ #16639]
5146 * nscd/nscd.service: Make service type forking.
5147
54b46a4b
AZ
51482014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5149
5150 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5151 sign in non default rounding modes.
5152 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5153
e9996ef7
JM
51542014-03-08 Joseph Myers <joseph@codesourcery.com>
5155
5156 * math/libm-test.inc (ALL_RM_TEST): New macro.
5157 (ceil_test): Use ALL_RM_TEST.
5158 (cimag_test): Likewise.
5159 (conj_test): Likewise.
5160 (copysign_test): Likewise.
5161 (cproj_test): Likewise.
5162 (creal_test): Likewise.
5163 (fabs_test): Likewise.
5164 (floor_test): Likewise.
5165 (fmax_test): Likewise.
5166 (fmin_test): Likewise.
5167 (fmod_test): Likewise.
5168 (fpclassify_test): Likewise.
5169 (frexp_test): Likewise.
5170 (ilogb_test): Likewise.
5171 (isfinite_test): Likewise.
5172 (finite_test): Likewise.
5173 (isgreater_test): Likewise.
5174 (isgreaterequal_test): Likewise.
5175 (isinf_test): Likewise.
5176 (isless_test): Likewise.
5177 (islessequal_test): Likewise.
5178 (islessgreater_test): Likewise.
5179 (isnan_test): Likewise.
5180 (isnormal_test): Likewise.
5181 (issignaling_test): Likewise.
5182 (isunordered_test): Likewise.
5183 (logb_test): Likewise.
5184 (logb_downward_test_data): Remove.
5185 (logb_test_downward): Likewise.
5186 (lround_test): Use ALL_RM_TEST.
5187 (llround_test): Likewise.
5188 (modf_test): Likewise.
5189 (nexttoward_test): Likewise.
5190 (remainder_test): Likewise.
5191 (drem_test): Likewise.
5192 (remainder_tonearest_test_data): Likewise.
5193 (remainder_test_tonearest): Likewise.
5194 (drem_test_tonearest): Likewise.
5195 (remainder_towardzero_test_data): Likewise.
5196 (remainder_test_towardzero): Likewise.
5197 (drem_test_towardzero): Likewise.
5198 (remainder_downward_test_data): Likewise.
5199 (remainder_test_downward): Likewise.
5200 (drem_test_downward): Likewise.
5201 (remainder_upward_test_data): Likewise.
5202 (remainder_test_upward): Likewise.
5203 (drem_test_upward): Likewise.
5204 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5205 (round_test): Use ALL_RM_TEST.
5206 (signbit_test): Likewise.
5207 (trunc_test): Likewise.
5208 (significand_test): Likewise.
5209 (main): Don't call removed functions.
5210
bc61d27c
JM
52112014-03-07 Joseph Myers <joseph@codesourcery.com>
5212
5c780849
JM
5213 [BZ #16674]
5214 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5215 || __USE_XOPEN2K8].
5216 (ILL_ILLOPN): Likewise.
5217 (ILL_ILLADR): Likewise.
5218 (ILL_ILLTRP): Likewise.
5219 (ILL_PRVOPC): Likewise.
5220 (ILL_PRVREG): Likewise.
5221 (ILL_COPROC): Likewise.
5222 (ILL_BADSTK): Likewise.
5223 (FPE_INTDIV): Likewise.
5224 (FPE_INTOVF): Likewise.
5225 (FPE_FLTDIV): Likewise.
5226 (FPE_FLTOVF): Likewise.
5227 (FPE_FLTUND): Likewise.
5228 (FPE_FLTRES): Likewise.
5229 (FPE_FLTINV): Likewise.
5230 (FPE_FLTSUB): Likewise.
5231 (SEGV_MAPERR): Likewise.
5232 (SEGV_ACCERR): Likewise.
5233 (BUS_ADRALN): Likewise.
5234 (BUS_ADRERR): Likewise.
5235 (BUS_OBJERR): Likewise.
5236 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5237 (TRAP_TRACE): Likewise.
5238 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5239 __USE_XOPEN2K8].
5240 (CLD_KILLED): Likewise.
5241 (CLD_DUMPED): Likewise.
5242 (CLD_TRAPPED): Likewise.
5243 (CLD_STOPPED): Likewise.
5244 (CLD_CONTINUED): Likewise.
5245 (POLL_IN): Likewise.
5246 (POLL_OUT): Likewise.
5247 (POLL_MSG): Likewise.
5248 (POLL_ERR): Likewise.
5249 (POLL_PRI): Likewise.
5250 (POLL_HUP): Likewise.
5251 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5252 Likewise.
5253 (ILL_ILLOPN): Likewise.
5254 (ILL_ILLADR): Likewise.
5255 (ILL_ILLTRP): Likewise.
5256 (ILL_PRVOPC): Likewise.
5257 (ILL_PRVREG): Likewise.
5258 (ILL_COPROC): Likewise.
5259 (ILL_BADSTK): Likewise.
5260 (FPE_INTDIV): Likewise.
5261 (FPE_INTOVF): Likewise.
5262 (FPE_FLTDIV): Likewise.
5263 (FPE_FLTOVF): Likewise.
5264 (FPE_FLTUND): Likewise.
5265 (FPE_FLTRES): Likewise.
5266 (FPE_FLTINV): Likewise.
5267 (FPE_FLTSUB): Likewise.
5268 (SEGV_MAPERR): Likewise.
5269 (SEGV_ACCERR): Likewise.
5270 (BUS_ADRALN): Likewise.
5271 (BUS_ADRERR): Likewise.
5272 (BUS_OBJERR): Likewise.
5273 (BUS_MCEERR_AR): Likewise.
5274 (BUS_MCEERR_AO): Likewise.
5275 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5276 (TRAP_TRACE): Likewise.
5277 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5278 __USE_XOPEN2K8].
5279 (CLD_KILLED): Likewise.
5280 (CLD_DUMPED): Likewise.
5281 (CLD_TRAPPED): Likewise.
5282 (CLD_STOPPED): Likewise.
5283 (CLD_CONTINUED): Likewise.
5284 (POLL_IN): Likewise.
5285 (POLL_OUT): Likewise.
5286 (POLL_MSG): Likewise.
5287 (POLL_ERR): Likewise.
5288 (POLL_PRI): Likewise.
5289 (POLL_HUP): Likewise.
5290 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5291 (ILL_ILLOPN): Likewise.
5292 (ILL_ILLADR): Likewise.
5293 (ILL_ILLTRP): Likewise.
5294 (ILL_PRVOPC): Likewise.
5295 (ILL_PRVREG): Likewise.
5296 (ILL_COPROC): Likewise.
5297 (ILL_BADSTK): Likewise.
5298 (FPE_INTDIV): Likewise.
5299 (FPE_INTOVF): Likewise.
5300 (FPE_FLTDIV): Likewise.
5301 (FPE_FLTOVF): Likewise.
5302 (FPE_FLTUND): Likewise.
5303 (FPE_FLTRES): Likewise.
5304 (FPE_FLTINV): Likewise.
5305 (FPE_FLTSUB): Likewise.
5306 (SEGV_MAPERR): Likewise.
5307 (SEGV_ACCERR): Likewise.
5308 (BUS_ADRALN): Likewise.
5309 (BUS_ADRERR): Likewise.
5310 (BUS_OBJERR): Likewise.
5311 (BUS_MCEERR_AR): Likewise.
5312 (BUS_MCEERR_AO): Likewise.
5313 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5314 (TRAP_TRACE): Likewise.
5315 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5316 __USE_XOPEN2K8].
5317 (CLD_KILLED): Likewise.
5318 (CLD_DUMPED): Likewise.
5319 (CLD_TRAPPED): Likewise.
5320 (CLD_STOPPED): Likewise.
5321 (CLD_CONTINUED): Likewise.
5322 (POLL_IN): Likewise.
5323 (POLL_OUT): Likewise.
5324 (POLL_MSG): Likewise.
5325 (POLL_ERR): Likewise.
5326 (POLL_PRI): Likewise.
5327 (POLL_HUP): Likewise.
5328 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5329 Likewise.
5330 (ILL_ILLOPN): Likewise.
5331 (ILL_ILLADR): Likewise.
5332 (ILL_ILLTRP): Likewise.
5333 (ILL_PRVOPC): Likewise.
5334 (ILL_PRVREG): Likewise.
5335 (ILL_COPROC): Likewise.
5336 (ILL_BADSTK): Likewise.
5337 (ILL_BADIADDR): Likewise.
5338 (ILL_BREAK): Likewise.
5339 (FPE_INTDIV): Likewise.
5340 (FPE_INTOVF): Likewise.
5341 (FPE_FLTDIV): Likewise.
5342 (FPE_FLTOVF): Likewise.
5343 (FPE_FLTUND): Likewise.
5344 (FPE_FLTRES): Likewise.
5345 (FPE_FLTINV): Likewise.
5346 (FPE_FLTSUB): Likewise.
5347 (FPE_DECOVF): Likewise.
5348 (FPE_DECDIV): Likewise.
5349 (FPE_DECERR): Likewise.
5350 (FPE_INVASC): Likewise.
5351 (FPE_INVDEC): Likewise.
5352 (SEGV_MAPERR): Likewise.
5353 (SEGV_ACCERR): Likewise.
5354 (SEGV_PSTKOVF): Likewise.
5355 (BUS_ADRALN): Likewise.
5356 (BUS_ADRERR): Likewise.
5357 (BUS_OBJERR): Likewise.
5358 (BUS_MCEERR_AR): Likewise.
5359 (BUS_MCEERR_AO): Likewise.
5360 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5361 (TRAP_TRACE): Likewise.
5362 (TRAP_BRANCH): Likewise.
5363 (TRAP_HWBKPT): Likewise.
5364 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5365 __USE_XOPEN2K8].
5366 (CLD_KILLED): Likewise.
5367 (CLD_DUMPED): Likewise.
5368 (CLD_TRAPPED): Likewise.
5369 (CLD_STOPPED): Likewise.
5370 (CLD_CONTINUED): Likewise.
5371 (POLL_IN): Likewise.
5372 (POLL_OUT): Likewise.
5373 (POLL_MSG): Likewise.
5374 (POLL_ERR): Likewise.
5375 (POLL_PRI): Likewise.
5376 (POLL_HUP): Likewise.
5377 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5378 (ILL_ILLOPN): Likewise.
5379 (ILL_ILLADR): Likewise.
5380 (ILL_ILLTRP): Likewise.
5381 (ILL_PRVOPC): Likewise.
5382 (ILL_PRVREG): Likewise.
5383 (ILL_COPROC): Likewise.
5384 (ILL_BADSTK): Likewise.
5385 (FPE_INTDIV): Likewise.
5386 (FPE_INTOVF): Likewise.
5387 (FPE_FLTDIV): Likewise.
5388 (FPE_FLTOVF): Likewise.
5389 (FPE_FLTUND): Likewise.
5390 (FPE_FLTRES): Likewise.
5391 (FPE_FLTINV): Likewise.
5392 (FPE_FLTSUB): Likewise.
5393 (SEGV_MAPERR): Likewise.
5394 (SEGV_ACCERR): Likewise.
5395 (BUS_ADRALN): Likewise.
5396 (BUS_ADRERR): Likewise.
5397 (BUS_OBJERR): Likewise.
5398 (BUS_MCEERR_AR): Likewise.
5399 (BUS_MCEERR_AO): Likewise.
5400 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5401 (TRAP_TRACE): Likewise.
5402 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5403 __USE_XOPEN2K8].
5404 (CLD_KILLED): Likewise.
5405 (CLD_DUMPED): Likewise.
5406 (CLD_TRAPPED): Likewise.
5407 (CLD_STOPPED): Likewise.
5408 (CLD_CONTINUED): Likewise.
5409 (POLL_IN): Likewise.
5410 (POLL_OUT): Likewise.
5411 (POLL_MSG): Likewise.
5412 (POLL_ERR): Likewise.
5413 (POLL_PRI): Likewise.
5414 (POLL_HUP): Likewise.
5415 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5416 (ILL_ILLOPN): Likewise.
5417 (ILL_ILLADR): Likewise.
5418 (ILL_ILLTRP): Likewise.
5419 (ILL_PRVOPC): Likewise.
5420 (ILL_PRVREG): Likewise.
5421 (ILL_COPROC): Likewise.
5422 (ILL_BADSTK): Likewise.
5423 (FPE_INTDIV): Likewise.
5424 (FPE_INTOVF): Likewise.
5425 (FPE_FLTDIV): Likewise.
5426 (FPE_FLTOVF): Likewise.
5427 (FPE_FLTUND): Likewise.
5428 (FPE_FLTRES): Likewise.
5429 (FPE_FLTINV): Likewise.
5430 (FPE_FLTSUB): Likewise.
5431 (SEGV_MAPERR): Likewise.
5432 (SEGV_ACCERR): Likewise.
5433 (BUS_ADRALN): Likewise.
5434 (BUS_ADRERR): Likewise.
5435 (BUS_OBJERR): Likewise.
5436 (BUS_MCEERR_AR): Likewise.
5437 (BUS_MCEERR_AO): Likewise.
5438 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5439 (TRAP_TRACE): Likewise.
5440 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5441 __USE_XOPEN2K8].
5442 (CLD_KILLED): Likewise.
5443 (CLD_DUMPED): Likewise.
5444 (CLD_TRAPPED): Likewise.
5445 (CLD_STOPPED): Likewise.
5446 (CLD_CONTINUED): Likewise.
5447 (POLL_IN): Likewise.
5448 (POLL_OUT): Likewise.
5449 (POLL_MSG): Likewise.
5450 (POLL_ERR): Likewise.
5451 (POLL_PRI): Likewise.
5452 (POLL_HUP): Likewise.
5453 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5454 (ILL_ILLOPN): Likewise.
5455 (ILL_ILLADR): Likewise.
5456 (ILL_ILLTRP): Likewise.
5457 (ILL_PRVOPC): Likewise.
5458 (ILL_PRVREG): Likewise.
5459 (ILL_COPROC): Likewise.
5460 (ILL_BADSTK): Likewise.
5461 (FPE_INTDIV): Likewise.
5462 (FPE_INTOVF): Likewise.
5463 (FPE_FLTDIV): Likewise.
5464 (FPE_FLTOVF): Likewise.
5465 (FPE_FLTUND): Likewise.
5466 (FPE_FLTRES): Likewise.
5467 (FPE_FLTINV): Likewise.
5468 (FPE_FLTSUB): Likewise.
5469 (SEGV_MAPERR): Likewise.
5470 (SEGV_ACCERR): Likewise.
5471 (BUS_ADRALN): Likewise.
5472 (BUS_ADRERR): Likewise.
5473 (BUS_OBJERR): Likewise.
5474 (BUS_MCEERR_AR): Likewise.
5475 (BUS_MCEERR_AO): Likewise.
5476 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5477 (TRAP_TRACE): Likewise.
5478 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5479 __USE_XOPEN2K8].
5480 (CLD_KILLED): Likewise.
5481 (CLD_DUMPED): Likewise.
5482 (CLD_TRAPPED): Likewise.
5483 (CLD_STOPPED): Likewise.
5484 (CLD_CONTINUED): Likewise.
5485 (POLL_IN): Likewise.
5486 (POLL_OUT): Likewise.
5487 (POLL_MSG): Likewise.
5488 (POLL_ERR): Likewise.
5489 (POLL_PRI): Likewise.
5490 (POLL_HUP): Likewise.
5491 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5492 (ILL_ILLOPN): Likewise.
5493 (ILL_ILLADR): Likewise.
5494 (ILL_ILLTRP): Likewise.
5495 (ILL_PRVOPC): Likewise.
5496 (ILL_PRVREG): Likewise.
5497 (ILL_COPROC): Likewise.
5498 (ILL_BADSTK): Likewise.
5499 (ILL_DBLFLT): Likewise.
5500 (ILL_HARDWALL): Likewise.
5501 (FPE_INTDIV): Likewise.
5502 (FPE_INTOVF): Likewise.
5503 (FPE_FLTDIV): Likewise.
5504 (FPE_FLTOVF): Likewise.
5505 (FPE_FLTUND): Likewise.
5506 (FPE_FLTRES): Likewise.
5507 (FPE_FLTINV): Likewise.
5508 (FPE_FLTSUB): Likewise.
5509 (SEGV_MAPERR): Likewise.
5510 (SEGV_ACCERR): Likewise.
5511 (BUS_ADRALN): Likewise.
5512 (BUS_ADRERR): Likewise.
5513 (BUS_OBJERR): Likewise.
5514 (BUS_MCEERR_AR): Likewise.
5515 (BUS_MCEERR_AO): Likewise.
5516 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5517 (TRAP_TRACE): Likewise.
5518 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5519 __USE_XOPEN2K8].
5520 (CLD_KILLED): Likewise.
5521 (CLD_DUMPED): Likewise.
5522 (CLD_TRAPPED): Likewise.
5523 (CLD_STOPPED): Likewise.
5524 (CLD_CONTINUED): Likewise.
5525 (POLL_IN): Likewise.
5526 (POLL_OUT): Likewise.
5527 (POLL_MSG): Likewise.
5528 (POLL_ERR): Likewise.
5529 (POLL_PRI): Likewise.
5530 (POLL_HUP): Likewise.
5531 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5532 (ILL_ILLOPN): Likewise.
5533 (ILL_ILLADR): Likewise.
5534 (ILL_ILLTRP): Likewise.
5535 (ILL_PRVOPC): Likewise.
5536 (ILL_PRVREG): Likewise.
5537 (ILL_COPROC): Likewise.
5538 (ILL_BADSTK): Likewise.
5539 (FPE_INTDIV): Likewise.
5540 (FPE_INTOVF): Likewise.
5541 (FPE_FLTDIV): Likewise.
5542 (FPE_FLTOVF): Likewise.
5543 (FPE_FLTUND): Likewise.
5544 (FPE_FLTRES): Likewise.
5545 (FPE_FLTINV): Likewise.
5546 (FPE_FLTSUB): Likewise.
5547 (SEGV_MAPERR): Likewise.
5548 (SEGV_ACCERR): Likewise.
5549 (BUS_ADRALN): Likewise.
5550 (BUS_ADRERR): Likewise.
5551 (BUS_OBJERR): Likewise.
5552 (BUS_MCEERR_AR): Likewise.
5553 (BUS_MCEERR_AO): Likewise.
5554 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5555 (TRAP_TRACE): Likewise.
5556 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5557 __USE_XOPEN2K8].
5558 (CLD_KILLED): Likewise.
5559 (CLD_DUMPED): Likewise.
5560 (CLD_TRAPPED): Likewise.
5561 (CLD_STOPPED): Likewise.
5562 (CLD_CONTINUED): Likewise.
5563 (POLL_IN): Likewise.
5564 (POLL_OUT): Likewise.
5565 (POLL_MSG): Likewise.
5566 (POLL_ERR): Likewise.
5567 (POLL_PRI): Likewise.
5568 (POLL_HUP): Likewise.
5569 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5570 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5571
bc61d27c
JM
5572 [BZ #16670]
5573 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5574 before #include of <time.h>.
5575 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5576 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5577 (test-xfail-UNIX98/sched.h/conform): Likewise.
5578
302949e2
MS
55792014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5580
5581 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5582 error absence of trapping exception support.
5583 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5584
a00f522a
JM
55852014-03-07 Joseph Myers <joseph@codesourcery.com>
5586
6f99f280
JM
5587 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5588 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5589 * timezone/Makefile (testdata): Move definition above include of
5590 Rules.
5591 (test-zones): New variable.
5592 (tests-special): Add zone files.
5593 (build-testdata): Use $(evaluate-test).
5594
0b20a9e8
JM
5595 * elf/Makefile (tests-special): Rename tests to end with .out.
5596 ($(objpfx)noload-mem): Likewise.
5597 ($(objpfx)tst-leaks1-mem): Likewise.
5598 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5599 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5600 $(objpfx)test-iconvconfig.out.
5601 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5602 set -e inside subshell and redirect output to file.
5603 * iconvdata/Makefile (generated): Rename tests to end with .out.
5604 Correct type.
5605 (tests-special): Rename tests to end with .out.
5606 ($(objpfx)mtrace-tst-loading): Likewise.
5607 * intl/Makefile (generated): Likewise.
5608 (tests-special): Likewise.
5609 ($(objpfx)mtrace-tst-gettext): Likewise.
5610 * misc/Makefile (generated): Likewise.
5611 (tests-special): Likewise.
5612 ($(objpfx)tst-error1-mem): Likewise.
5613 * nptl/Makefile (tests-special): Likewise.
5614 ($(objpfx)tst-stack3-mem): Likewise.
5615 (generated): Likewise.
5616 * posix/Makefile (generated): Likewise.
5617 (tests-special): Likewise.
5618 (xtests-special): Likewise.
5619 ($(objpfx)tst-fnmatch-mem): Likewise.
5620 ($(objpfx)bug-regex2-mem): Likewise.
5621 ($(objpfx)bug-regex14-mem): Likewise.
5622 ($(objpfx)bug-regex21-mem): Likewise.
5623 ($(objpfx)bug-regex31-mem): Likewise.
5624 ($(objpfx)tst-vfork3-mem): Likewise.
5625 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5626 ($(objpfx)tst-pcre-mem): Likewise.
5627 ($(objpfx)tst-boost-mem): Likewise.
5628 ($(objpfx)bug-ga2-mem): Likewise.
5629 ($(objpfx)bug-glob2-mem): Likewise.
5630 * resolv/Makefile (generate): Likewise.
5631 (tests-special): Likewise.
5632 (xtests-special): Likewise.
5633 (generated): Likewise.
5634 ($(objpfx)mtrace-tst-leaks): Likewise.
5635 ($(objpfx)mtrace-tst-leaks2): Likewise.
5636
265d52ab
JM
5637 * scripts/merge-test-results.sh: New file.
5638 * Makefile (tests-special-notdir): New variable.
5639 (tests): Run merge-test-results.sh.
5640 (xtests): Likewise.
5641 * Rules (tests-special-notdir): New variable.
5642 (xtests-special-notdir): Likewise.
5643 (tests): Run merge-test-results.sh
5644 (xtests): Likewise.
5645
54ee292d
JM
5646 * Makeconfig (test-xfail-name): New variable.
5647 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5648 compute variable name for expected failures.
5649 * conform/Makefile (conformtest-headers-data): New variable.
5650 (conformtest-standards): Likewise.
5651 (conformtest-headers-ISO): Likewise.
5652 (conformtest-headers-ISO99): Likewise.
5653 (conformtest-headers-ISO11): Likewise.
5654 (conformtest-headers-POSIX): Likewise.
5655 (conformtest-headers-XPG3): Likewise.
5656 (conformtest-headers-XPG4): Likewise.
5657 (conformtest-headers-UNIX98): Likewise.
5658 (conformtest-headers-XOPEN2K): Likewise.
5659 (conformtest-headers-POSIX2008): Likewise.
5660 (conformtest-headers-XOPEN2K8): Likewise.
5661 (conformtest-header-list-base): Likewise.
5662 (conformtest-header-list-tests): Likewise.
5663 (conformtest-header-base): Likewise.
5664 (conformtest-header-tests): Likewise.
5665 (tests-special): Add $(conformtest-header-list-tests). If
5666 [$(fast-check) && !$(cross-compiling)], add
5667 $(conformtest-header-tests) instead of
5668 $(objpfx)run-conformtest.out.
5669 (generated): Add $(conformtest-header-list-base). If
5670 [$(fast-check) && !$(cross-compiling)], add
5671 $(conformtest-header-base). Remove previous setting.
5672 ($(conformtest-header-list-tests)): New target.
5673 (test-xfail-run-conformtest): Remove variable.
5674 ($(objpfx)run-conformtest.out): Remove target.
5675 (test-xfail-ISO11/complex.h/conform): New variable.
5676 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5677 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5678 (test-xfail-XPG3/varargs.h/conform): Likewise.
5679 (test-xfail-XPG4/varargs.h/conform): Likewise.
5680 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5681 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5682 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5683 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5684 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5685 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5686 (test-xfail-XPG3/ftw.h/conform): Likewise.
5687 (test-xfail-XPG3/grp.h/conform): Likewise.
5688 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5689 (test-xfail-XPG3/limits.h/conform): Likewise.
5690 (test-xfail-XPG3/pwd.h/conform): Likewise.
5691 (test-xfail-XPG3/search.h/conform): Likewise.
5692 (test-xfail-XPG3/signal.h/conform): Likewise.
5693 (test-xfail-XPG3/stdio.h/conform): Likewise.
5694 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5695 (test-xfail-XPG3/string.h/conform): Likewise.
5696 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5697 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5698 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5699 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5700 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5701 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5702 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5703 (test-xfail-XPG3/termios.h/conform): Likewise.
5704 (test-xfail-XPG3/time.h/conform): Likewise.
5705 (test-xfail-XPG3/unistd.h/conform): Likewise.
5706 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5707 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5708 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5709 (test-xfail-XPG4/netdb.h/conform): Likewise.
5710 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5711 (test-xfail-XPG4/signal.h/conform): Likewise.
5712 (test-xfail-XPG4/stdio.h/conform): Likewise.
5713 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5714 (test-xfail-XPG4/stropts.h/conform): Likewise.
5715 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5716 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5717 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5718 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5719 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5720 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5721 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5722 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5723 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5724 (test-xfail-XPG4/termios.h/conform): Likewise.
5725 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5726 (test-xfail-XPG4/unistd.h/conform): Likewise.
5727 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5728 (test-xfail-POSIX/sched.h/conform): Likewise.
5729 (test-xfail-POSIX/signal.h/conform): Likewise.
5730 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5731 (test-xfail-POSIX/tar.h/conform): Likewise.
5732 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5733 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5734 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5735 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5736 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5737 (test-xfail-UNIX98/sched.h/conform): Likewise.
5738 (test-xfail-UNIX98/signal.h/conform): Likewise.
5739 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5740 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5741 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5742 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5743 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5744 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5745 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5746 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5747 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5748 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5749 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5750 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5751 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5752 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5753 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5754 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5755 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5756 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5757 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5758 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5759 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5760 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5761 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5762 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5763 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5764 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5765 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5766 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5767 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5768 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5769 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5770 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5771 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5772 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5773 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5774 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5775 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5776 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5777 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5778 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5779 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5780 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5781 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5782 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5783 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5784 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5785 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5786 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5787 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5788 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5789 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5790 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5791 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5792 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5793 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5794 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5795 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5796 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5797 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5798 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5799 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5800 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5801 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5802 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5803 (conformtest-cc-flags): Likewise.
5804 ($(conformtest-header-tests): New target.
5805 * conform/check-header-lists.sh: New file.
5806 * conform/run-conformtest.sh: Remove.
5807
a00f522a
JM
5808 * conform/conformtest.pl: Allow ' and \ in values given for
5809 constants.
5810 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5811 inclusion.
5812 [POSIX] (sys/types.h): Likewise.
5813 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5814 inclusion.
5815 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5816 inclusion.
5817 * conform/data/signal.h-data (SIGIO): Remove expectation.
5818 [XPG3] (SIGBUS): Do not expect.
5819 [POSIX || XPG3] (SIGPOLL): Likewise.
5820 [POSIX || XPG3] (SIGPROF): Likewise.
5821 [POSIX || XPG3] (SIGSYS): Likewise.
5822 [XPG3] (SIGTRAP): Likewise.
5823 [POSIX || XPG3] (SIGURG): Likewise.
5824 [POSIX || XPG3] (SIGVTALRM): Likewise.
5825 [POSIX || XPG3] (SIGXCPU): Likewise.
5826 [POSIX || XPG3] (SIGXFSZ): Likewise.
5827 [POSIX] (SA_SIGINFO): Expect.
5828 [XPG3] (siginfo_t): Do not expect type or contents.
5829 [POSIX] (si_pid): Do not expect element.
5830 [POSIX] (si_uid): Likewise.
5831 [POSIX] (si_addr): Likewise.
5832 [POSIX] (si_status): Likewise.
5833 [POSIX] (si_band): Likewise.
5834 [XPG4] (si_value): Likewise.
5835 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5836 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5837 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5838 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5839 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5840 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5841 [POSIX || XPG3] (ILL_COPROC): Likewise.
5842 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5843 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5844 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5845 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5846 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5847 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5848 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5849 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5850 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5851 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5852 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5853 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5854 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5855 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5856 [POSIX || XPG3] (CLD_EXITED): Likewise.
5857 [POSIX || XPG3] (CLD_KILLED): Likewise.
5858 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5859 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5860 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5861 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5862 [POSIX || XPG3] (POLL_IN): Likewise.
5863 [POSIX || XPG3] (POLL_OUT): Likewise.
5864 [POSIX || XPG3] (POLL_MSG): Likewise.
5865 [POSIX || XPG3] (POLL_ERR): Likewise.
5866 [POSIX || XPG3] (POLL_PRI): Likewise.
5867 [POSIX || XPG3] (POLL_HUP): Likewise.
5868 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5869 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5870 (SIG*): Do not allow.
5871 [XPG3] (si_*): Likewise.
5872 [XPG3] (SI_*): Likewise.
5873 [XPG3 || XPG4] (sigev_*): Likewise.
5874 [XPG3 || XPG4] (SIGEV_*): Likewise.
5875 [XPG3 || XPG4] (sival_*): Likewise.
5876 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5877 [POSIX || XPG3] (BUS_*): Likewise.
5878 [POSIX || XPG3] (CLD_*): Likewise.
5879 [POSIX || XPG3] (FPE_*): Likewise.
5880 [POSIX || XPG3] (ILL_*): Likewise.
5881 [POSIX || XPG3] (POLL_*): Likewise.
5882 [POSIX || XPG3] (SEGV_*): Likewise.
5883 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5884 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5885 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5886 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5887 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5888 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5889 Specify type and value.
5890 (TVERSLEN): Likewise.
5891 (REGTYPE): Likewise.
5892 (AREGTYPE): Likewise.
5893 (LNKTYPE): Likewise.
5894 (SYMTYPE): Likewise.
5895 (CHRTYPE): Likewise.
5896 (BLKTYPE): Likewise.
5897 (DIRTYPE): Likewise.
5898 (FIFOTYPE): Likewise.
5899 (CONTTYPE): Likewise.
5900 (TSUID): Likewise.
5901 (TSGID): Likewise.
5902 (TSVTX): Likewise.
5903 (TUREAD): Likewise.
5904 (TUWRITE): Likewise.
5905 (TUEXEC): Likewise.
5906 (TGREAD): Likewise.
5907 (TGWRITE): Likewise.
5908 (TGEXEC): Likewise.
5909 (TOREAD): Likewise.
5910 (TOWRITE): Likewise.
5911 (TOEXEC): Likewise.
5912 [POSIX] (TSVTX): Expect constant.
5913
aa97dee1
JM
59142014-03-06 Joseph Myers <joseph@codesourcery.com>
5915
f214606a
JM
5916 * Makefile (tests): Change dependencies to ....
5917 (tests-special): ... additions to this variable.
5918 (tests): Depend on $(tests-special).
5919 * Makerules (check-abi-list): New variable.
5920 (check-abi): Depend on $(check-abi-list).
5921 [$(subdir) = elf] (tests-special): Add
5922 $(objpfx)check-abi-libc.out.
5923 [$(build-shared) = yes && subdir] (tests-special): Add
5924 $(check-abi-list).
5925 [$(build-shared) = yes && subdir] (tests): Do not depend on
5926 check-abi.
5927 * Rules (tests): Depend on $(tests-special).
5928 (xtests): Depend on $(xtests-special).
5929 * catgets/Makefile (tests): Change dependencies to ....
5930 (tests-special): ... additions to this variable.
5931 * conform/Makefile (tests): Change dependencies to ....
5932 (tests-special): ... additions to this variable.
5933 * elf/Makefile (tests): Change dependencies to ....
5934 (tests-special): ... additions to this variable.
5935 * grp/Makefile (tests): Change dependencies to ....
5936 (tests-special): ... additions to this variable.
5937 * iconv/Makefile (xtests): Change dependencies to ....
5938 (xtests-special): ... additions to this variable.
5939 * iconvdata/Makefile (tests): Change dependencies to ....
5940 (tests-special): ... additions to this variable.
5941 * intl/Makefile (tests): Change dependencies to ....
5942 (tests-special): ... additions to this variable. Also add
5943 $(objpfx)tst-gettext.out.
5944 * io/Makefile (tests): Change dependencies to ....
5945 (tests-special): ... additions to this variable.
5946 * libio/Makefile (tests): Change dependencies to ....
5947 (tests-special): ... additions to this variable.
5948 * malloc/Makefile (tests): Change dependencies to ....
5949 (tests-special): ... additions to this variable.
5950 * misc/Makefile (tests): Change dependencies to ....
5951 (tests-special): ... additions to this variable.
5952 * nptl/Makefile (tests): Change dependencies to ....
5953 (tests-special): ... additions to this variable.
5954 * nptl_db/Makefile (tests): Change dependencies to ....
5955 (tests-special): ... additions to this variable.
5956 * posix/Makefile (tests): Change dependencies to ....
5957 (tests-special): ... additions to this variable.
5958 (xtests): Change dependencies to ....
5959 (xtests-special): ... additions to this variable.
5960 * resolv/Makefile (tests): Change dependencies to ....
5961 (tests-special): ... additions to this variable.
5962 (xtests): Change dependencies to ....
5963 (xtests-special): ... additions to this variable.
5964 * stdio-common/Makefile (tests): Change dependencies to ....
5965 (tests-special): ... additions to this variable.
5966 (do-tst-unbputc): Remove target.
5967 (do-tst-printf): Likewise.
5968 * stdlib/Makefile (tests): Change dependencies to ....
5969 (tests-special): ... additions to this variable.
5970 * string/Makefile (tests): Change dependencies to ....
5971 (tests-special): ... additions to this variable.
5972 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5973 (tests-special): ... additions to this variable.
5974
81700b53
JM
5975 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5976 whole file.
5977 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5978 whole file.
5979 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5980 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5981
2ea18461
JM
5982 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5983 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5984 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5985 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5986 * conform/data/libgen.h-data [XPG3]: Likewise.
5987 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5988 * conform/data/ndbm.h-data [XPG3]: Likewise.
5989 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5990 * conform/data/netdb.h-data [XPG3]: Likewise.
5991 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5992 * conform/data/poll.h-data [XPG3]: Likewise.
5993 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5994 * conform/data/strings.h-data [XPG3]: Likewise.
5995 * conform/data/stropts.h-data [XPG3]: Likewise.
5996 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5997 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5998 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5999 Likewise.
6000 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6001 * conform/data/sys/time.h-data [XPG3]: Likewise.
6002 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6003 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6004 * conform/data/sys/un.h-data [XPG3]: Likewise.
6005 * conform/data/syslog.h-data [XPG3]: Likewise.
6006 * conform/data/ucontext.h-data [XPG3]: Likewise.
6007 * conform/data/utmpx.h-data [XPG3]: Likewise.
6008 * conform/data/varargs.h-data [UNIX98]: Enable file.
6009
355bc986
JM
6010 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6011
215db402
JM
6012 * math/libm-test.inc (struct test_f_f_data): Move expected results
6013 into structure for each rounding mode.
6014 (struct test_ff_f_data): Likewise.
6015 (struct test_ff_f_data_nexttoward): Likewise.
6016 (struct test_fi_f_data): Likewise.
6017 (struct test_fl_f_data): Likewise.
6018 (struct test_if_f_data): Likewise.
6019 (struct test_fff_f_data): Likewise.
6020 (struct test_c_f_data): Likewise.
6021 (struct test_f_f1_data): Likewise.
6022 (struct test_fF_f1_data): Likewise.
6023 (struct test_ffI_f1_data): Likewise.
6024 (struct test_c_c_data): Likewise.
6025 (struct test_cc_c_data): Likewise.
6026 (struct test_f_i_data): Likewise.
6027 (struct test_ff_i_data): Likewise.
6028 (struct test_f_l_data): Likewise.
6029 (struct test_f_L_data): Likewise.
6030 (struct test_fFF_11_data): Likewise.
6031 (RM_): New macro.
6032 (RM_FE_DOWNWARD): Likewise.
6033 (RM_FE_TONEAREST): Likewise.
6034 (RM_FE_TOWARDZERO): Likewise.
6035 (RM_FE_UPWARD): Likewise.
6036 (RUN_TEST_LOOP_f_f): Update references to expected results.
6037 (RUN_TEST_LOOP_2_f): Likewise.
6038 (RUN_TEST_LOOP_fff_f): Likewise.
6039 (RUN_TEST_LOOP_c_f): Likewise.
6040 (RUN_TEST_LOOP_f_f1): Likewise.
6041 (RUN_TEST_LOOP_fF_f1): Likewise.
6042 (RUN_TEST_LOOP_fI_f1): Likewise.
6043 (RUN_TEST_LOOP_ffI_f1): Likewise.
6044 (RUN_TEST_LOOP_c_c): Likewise.
6045 (RUN_TEST_LOOP_cc_c): Likewise.
6046 (RUN_TEST_LOOP_f_i): Likewise.
6047 (RUN_TEST_LOOP_f_i_tg): Likewise.
6048 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6049 (RUN_TEST_LOOP_f_b): Likewise.
6050 (RUN_TEST_LOOP_f_b_tg): Likewise.
6051 (RUN_TEST_LOOP_f_l): Likewise.
6052 (RUN_TEST_LOOP_f_L): Likewise.
6053 (RUN_TEST_LOOP_fFF_11): Likewise.
6054 * math/gen-libm-test.pl (parse_args): Output four copies of
6055 expected results for each test.
6056
67737b8f
JM
6057 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6058 (__ASSUME_UTIMES): Remove.
6059 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6060 (__ASSUME_UTIMES): Likewise.
6061
aa97dee1
JM
6062 * math/gen-auto-libm-tests.c: Update comment on output format.
6063 (output_for_one_input_case): Generate before-rounding and
6064 after-rounding information as conditions on output flags not
6065 floating-point format.
6066 * math/auto-libm-test-out: Regenerated.
6067 * math/gen-libm-test.pl (cond_value): New function.
6068 (or_cond_value): Use cond_value.
6069 (generate_testfile): Handle conditional exceptions.
6070
e6b6a857
JM
60712014-03-05 Joseph Myers <joseph@codesourcery.com>
6072
2f0a0f44
JM
6073 * math/libm-test.inc (max_valid_error): New variable.
6074 (init_max_error): Take new argument specifying whether function
6075 results are exactly determined. Set max_valid_error and bound
6076 other variables for errors based on this argument.
6077 (set_max_error): Do not record results above max_valid_error.
6078 (check_float_internal): Only accept errors of up to 0.5ulps if
6079 also at most max_valid_error.
6080 (START): Take new argument EXACT and pass it to init_max_error.
6081 (acos_test): Update call to START.
6082 (acos_test_tonearest): Likewise.
6083 (acos_test_towardzero): Likewise.
6084 (acos_test_downward): Likewise.
6085 (acos_test_upward): Likewise.
6086 (acosh_test): Likewise.
6087 (asin_test): Likewise.
6088 (asin_test_tonearest): Likewise.
6089 (asin_test_towardzero): Likewise.
6090 (asin_test_downward): Likewise.
6091 (asin_test_upward): Likewise.
6092 (asinh_test): Likewise.
6093 (atan_test): Likewise.
6094 (atanh_test): Likewise.
6095 (atan2_test): Likewise.
6096 (cabs_test): Likewise.
6097 (cacos_test): Likewise.
6098 (cacosh_test): Likewise.
6099 (carg_test): Likewise.
6100 (casin_test): Likewise.
6101 (casinh_test): Likewise.
6102 (catan_test): Likewise.
6103 (catanh_test): Likewise.
6104 (cbrt_test): Likewise.
6105 (ccos_test): Likewise.
6106 (ccosh_test): Likewise.
6107 (ceil_test): Likewise.
6108 (cexp_test): Likewise.
6109 (cimag_test): Likewise.
6110 (clog_test): Likewise.
6111 (clog10_test): Likewise.
6112 (conj_test): Likewise.
6113 (copysign_test): Likewise.
6114 (cos_test): Likewise.
6115 (cos_test_tonearest): Likewise.
6116 (cos_test_towardzero): Likewise.
6117 (cos_test_downward): Likewise.
6118 (cos_test_upward): Likewise.
6119 (cosh_test): Likewise.
6120 (cosh_test_tonearest): Likewise.
6121 (cosh_test_towardzero): Likewise.
6122 (cosh_test_downward): Likewise.
6123 (cosh_test_upward): Likewise.
6124 (cpow_test): Likewise.
6125 (cproj_test): Likewise.
6126 (creal_test): Likewise.
6127 (csin_test): Likewise.
6128 (csinh_test): Likewise.
6129 (csqrt_test): Likewise.
6130 (ctan_test): Likewise.
6131 (ctan_test_tonearest): Likewise.
6132 (ctan_test_towardzero): Likewise.
6133 (ctan_test_downward): Likewise.
6134 (ctan_test_upward): Likewise.
6135 (ctanh_test): Likewise.
6136 (ctanh_test_tonearest): Likewise.
6137 (ctanh_test_towardzero): Likewise.
6138 (ctanh_test_downward): Likewise.
6139 (ctanh_test_upward): Likewise.
6140 (erf_test): Likewise.
6141 (erfc_test): Likewise.
6142 (exp_test): Likewise.
6143 (exp_test_tonearest): Likewise.
6144 (exp_test_towardzero): Likewise.
6145 (exp_test_downward): Likewise.
6146 (exp_test_upward): Likewise.
6147 (exp10_test): Likewise.
6148 (exp10_test_tonearest): Likewise.
6149 (exp10_test_towardzero): Likewise.
6150 (exp10_test_downward): Likewise.
6151 (exp10_test_upward): Likewise.
6152 (pow10_test): Likewise.
6153 (exp2_test): Likewise.
6154 (expm1_test): Likewise.
6155 (expm1_test_tonearest): Likewise.
6156 (expm1_test_towardzero): Likewise.
6157 (expm1_test_downward): Likewise.
6158 (expm1_test_upward): Likewise.
6159 (fabs_test): Likewise.
6160 (fdim_test): Likewise.
6161 (floor_test): Likewise.
6162 (fma_test): Likewise.
6163 (fma_test_towardzero): Likewise.
6164 (fma_test_downward): Likewise.
6165 (fma_test_upward): Likewise.
6166 (fmax_test): Likewise.
6167 (fmin_test): Likewise.
6168 (fmod_test): Likewise.
6169 (fpclassify_test): Likewise.
6170 (frexp_test): Likewise.
6171 (hypot_test): Likewise.
6172 (ilogb_test): Likewise.
6173 (isfinite_test): Likewise.
6174 (finite_test): Likewise.
6175 (isgreater_test): Likewise.
6176 (isgreaterequal_test): Likewise.
6177 (isinf_test): Likewise.
6178 (isless_test): Likewise.
6179 (islessequal_test): Likewise.
6180 (islessgreater_test): Likewise.
6181 (isnan_test): Likewise.
6182 (isnormal_test): Likewise.
6183 (issignaling_test): Likewise.
6184 (isunordered_test): Likewise.
6185 (j0_test): Likewise.
6186 (j1_test): Likewise.
6187 (jn_test): Likewise.
6188 (ldexp_test): Likewise.
6189 (lgamma_test): Likewise.
6190 (gamma_test): Likewise.
6191 (lrint_test): Likewise.
6192 (lrint_test_tonearest): Likewise.
6193 (lrint_test_towardzero): Likewise.
6194 (lrint_test_downward): Likewise.
6195 (lrint_test_upward): Likewise.
6196 (llrint_test): Likewise.
6197 (llrint_test_tonearest): Likewise.
6198 (llrint_test_towardzero): Likewise.
6199 (llrint_test_downward): Likewise.
6200 (llrint_test_upward): Likewise.
6201 (log_test): Likewise.
6202 (log10_test): Likewise.
6203 (log1p_test): Likewise.
6204 (log2_test): Likewise.
6205 (logb_test): Likewise.
6206 (logb_test_downward): Likewise.
6207 (lround_test): Likewise.
6208 (llround_test): Likewise.
6209 (modf_test): Likewise.
6210 (nearbyint_test): Likewise.
6211 (nextafter_test): Likewise.
6212 (nexttoward_test): Likewise.
6213 (pow_test): Likewise.
6214 (pow_test_tonearest): Likewise.
6215 (pow_test_towardzero): Likewise.
6216 (pow_test_downward): Likewise.
6217 (pow_test_upward): Likewise.
6218 (remainder_test): Likewise.
6219 (drem_test): Likewise.
6220 (remainder_test_tonearest): Likewise.
6221 (drem_test_tonearest): Likewise.
6222 (remainder_test_towardzero): Likewise.
6223 (drem_test_towardzero): Likewise.
6224 (remainder_test_downward): Likewise.
6225 (drem_test_downward): Likewise.
6226 (remainder_test_upward): Likewise.
6227 (drem_test_upward): Likewise.
6228 (remquo_test): Likewise.
6229 (rint_test): Likewise.
6230 (rint_test_tonearest): Likewise.
6231 (rint_test_towardzero): Likewise.
6232 (rint_test_downward): Likewise.
6233 (rint_test_upward): Likewise.
6234 (round_test): Likewise.
6235 (scalb_test): Likewise.
6236 (scalbn_test): Likewise.
6237 (scalbln_test): Likewise.
6238 (signbit_test): Likewise.
6239 (sin_test): Likewise.
6240 (sin_test_tonearest): Likewise.
6241 (sin_test_towardzero): Likewise.
6242 (sin_test_downward): Likewise.
6243 (sin_test_upward): Likewise.
6244 (sincos_test): Likewise.
6245 (sinh_test): Likewise.
6246 (sinh_test_tonearest): Likewise.
6247 (sinh_test_towardzero): Likewise.
6248 (sinh_test_downward): Likewise.
6249 (sinh_test_upward): Likewise.
6250 (sqrt_test): Likewise.
6251 (sqrt_test_tonearest): Likewise.
6252 (sqrt_test_towardzero): Likewise.
6253 (sqrt_test_downward): Likewise.
6254 (sqrt_test_upward): Likewise.
6255 (tan_test): Likewise.
6256 (tan_test_tonearest): Likewise.
6257 (tan_test_towardzero): Likewise.
6258 (tan_test_downward): Likewise.
6259 (tan_test_upward): Likewise.
6260 (tanh_test): Likewise.
6261 (tgamma_test): Likewise.
6262 (trunc_test): Likewise.
6263 (y0_test): Likewise.
6264 (y1_test): Likewise.
6265 (yn_test): Likewise.
6266 (significand_test): Likewise.
6267
e6b6a857
JM
6268 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6269 individual tests in comment.
6270 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6271 (prev_max_error): New variable.
6272 (prev_real_max_error): Likewise.
6273 (prev_imag_max_error): Likewise.
6274 (compare_ulp_data): Don't refer to test names in comment.
6275 (find_test_ulps): Remove function.
6276 (find_function_ulps): Likewise.
6277 (find_complex_function_ulps): Likewise.
6278 (init_max_error): Take function name as argument. Look up ulps
6279 for that function.
6280 (print_ulps): Remove function.
6281 (print_max_error): Use prev_max_error instead of calling
6282 find_function_ulps.
6283 (print_complex_max_error): Use prev_real_max_error and
6284 prev_imag_max_error instead of calling find_complex_function_ulps.
6285 (check_float_internal): Take max_ulp parameter instead of calling
6286 find_test_ulps. Don't call print_ulps.
6287 (check_float): Update call to check_float_internal.
6288 (check_complex): Update calls to check_float_internal.
6289 (START): Pass argument to init_max_error.
6290 * math/gen-libm-test.pl (%results): Don't include "kind"
6291 information.
6292 (parse_ulps): Don't handle ulps of individual tests.
6293 (print_ulps_file): Likewise.
6294 (output_ulps): Likewise.
6295 * math/README.libm-test: Update.
6296 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6297 individual tests.
6298 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6299 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6300 * sysdeps/arm/libm-test-ulps: Likewise.
6301 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6302 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6303 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6304 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6305 * sysdeps/microblaze/libm-test-ulps: Likewise.
6306 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6307 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6308 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6309 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6310 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6311 * sysdeps/sh/libm-test-ulps: Likewise.
6312 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6313 * sysdeps/tile/libm-test-ulps: Likewise.
6314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6315
45adef3c
JM
63162014-03-04 Joseph Myers <joseph@codesourcery.com>
6317
6318 * math/libm-test.inc (print_complex_max_error): Check separately
6319 whether real and imaginary errors are within allowed range and
6320 pass 0 to print_complex_function_ulps instead of value within
6321 allowed range.
6322
000232b9
SP
63232014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6324
d4b17258
SP
6325 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6326 formatting.
6327 (get_handles_fopen): Likewise.
6328 (do_write_test): Likewise.
6329
091eff71
SP
6330 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6331
fa3cd248
SP
6332 * libio/fileops.c (do_ftell): Use cached offset when
6333 available.
6334 * libio/iofwide.c (do_ftell_wide): Likewise.
6335 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6336 _IO_file_attach.
6337 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6338
000232b9
SP
6339 [BZ #16532]
6340 * libio/libioP.h (get_file_offset): New function.
6341 * libio/fileops.c (get_file_offset): Likewise.
6342 (do_ftell): Likewise.
6343 (_IO_new_file_seekoff): Split out ftell logic.
6344 * libio/wfileops.c (do_ftell_wide): Likewise.
6345 (_IO_wfile_seekoff): Split out ftell logic.
6346 * libio/tst-ftell-active-handler.c: New test case.
6347 * libio/Makefile (tests): Add it.
6348
116f4d1a
RM
63492014-03-03 Roland McGrath <roland@hack.frob.com>
6350
6351 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6352 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6353
532a6035
SP
63542014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6355
6356 [BZ #16639]
6357 * nscd/connections.c (nscd_init): Call do_exit.
6358 (start_threads): Call do_exit and notify_parent.
6359 (begin_drop_privileges): Call do_exit.
6360 (finish_drop_privileges): Likewise.
6361 * nscd/selinux.c (preserve_capabilities): Likewise.
6362 (install_real_capabilities): Likewise.
6363 (nscd_selinux_enabled): Likewise.
6364 (avc_create_thread): Likewise.
6365 (avc_alloc_lock): Likewise.
6366 (nscd_avc_init): Likewise.
6367 * nscd/nscd.c (parent_fd): New static variable.
6368 (main): Create a pipe between parent and child processes.
6369 Skip closing parent_fd.
6370 (monitor_child): New function.
6371 (do_exit): Likewise.
6372 (notify_parent): Likewise.
6373 * nscd/nscd.h (notify_parent): Likewise.
6374 (do_exit): Likewise.
6375
d6285c9f
CD
63762014-03-03 Carlos O'Donell <carlos@redhat.com>
6377
6378 * malloc/malloc.c (__libc_calloc): Revert last change.
6379
2b85d2a0
AZ
63802014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6381
6382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6383
c7debbdf
RS
63842014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6385
6386 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6388 implementation.
6389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6390 (__libc_ifunc_impl_list): Likewise.
6391 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6392 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6393 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6394 * string/strrchr.c: Define STRRCHR.
6395
235eed86
OB
63962014-02-28 Ondřej Bílka <neleai@seznam.cz>
6397
6398 * benchtest/bench-strtok.c (simple_strtok): Delete.
6399 (strtok_string): Use as benchmark.
6400 * string/strtok (STRTOK): New macro.
6401
8e25d1e7
CD
64022014-02-28 Carlos O'Donell <carlos@redhat.com>
6403
ef563f92
CD
6404 * manual/threads.texi: Add header and standard comments to all
6405 functions.
6406
8e25d1e7
CD
6407 * elf/dl-lookup.c (check_match): New function.
6408 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6409 (do_lookup_x): Remove nested function check_match. Use non-nested
6410 function check_match.
6411
ff71cc37
RM
64122014-02-28 Roland McGrath <roland@hack.frob.com>
6413
f08e9a26
RM
6414 * csu/Makefile (generated, before-compile): Use += rather than =.
6415 * catgets/Makefile (generated, generated-dirs): Likewise.
6416 * debug/Makefile (generated): Likewise.
6417 * dlfcn/Makefile (generated): Likewise.
6418 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6419 * iconvdata/Makefile (before-compile, generated): Likewise.
6420 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6421 * libio/Makefile (generated): Likewise.
6422 * malloc/Makefile (generated): Likewise.
6423 * manual/Makefile (generated, generated-dirs): Likewise.
6424 * misc/Makefile (generated): Likewise.
6425 * posix/Makefile (generated): Likewise.
6426 * resolv/Makefile (generated): Likewise.
6427 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6428 * timezone/Makefile (generated, generated-dirs): Likewise.
6429
ff71cc37
RM
6430 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6431
fe13a20c
AZ
64322014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6433
57f41c40
AS
6434 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6435 power8 implementation.
6436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6437 file: POWER8 llround ifunc implementation.
6438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6439 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
6440 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6441 POWER8 llround implementation.
6442
57f41c40
AS
6443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6444 power8 implementation.
6445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6446 file: POWER8 llrint ifunc implementation.
6447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6448 Add POWER8 implementation.
1ad8950a
AZ
6449 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6450 POWER8 llrint implementation.
6451
57f41c40
AS
6452 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6453 power8 implementation.
6454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6455 file: POWER8 finite ifunc implementation.
6456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6457 Add POWER8 implementation.
cac626d6
AZ
6458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6459 Likewise.
6460 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6461 POWER8 finite implementation.
6462 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6463
57f41c40
AS
6464 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6465 power8 implementation.
6466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6467 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
6468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6469 POWER8 implementation.
6470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6471 Likewise.
57f41c40
AS
6472 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6473 isinf implementation.
4393fc11
AZ
6474 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6475
57f41c40
AS
6476 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6477 (INIT_ARCH): Add hwcap2 initialization.
6478 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6479 power8 implementation.
6480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6481 file: POWER8 isnan ifunc implementation.
487972ae
AZ
6482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6483 POWER8 implementation.
6484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6485 Likewise.
57f41c40
AS
6486 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6487 isnan implementation.
487972ae
AZ
6488 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6489
7d92b787
JY
64902014-02-27 Joey Ye <joey.ye@arm.com>
6491
6492 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6493 (_FP_NANFRAC_Q): Set to zero.
6494
1cadc858
SP
64952014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6496
6497 [BZ #16623]
6498 * math/auto-libm-test-in: New test inputs.
6499 * math/auto-libm-test-out: Regenerate.
6500 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6501 and DA.
6502 (__cos): Likewise.
6503 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6504
f8c17e79
JM
65052014-02-27 Joseph Myers <joseph@codesourcery.com>
6506
6507 * scripts/evaluate-test.sh: Take new argument indicating whether
6508 failure is expected.
6509 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6510 indicating whether failure is expected.
6511 * conform/Makefile (test-xfail-run-conformtest): New variable.
6512 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6513 level.
6514 * posix/Makefile (test-xfail-annexc): New variable.
6515 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6516
a5f891ac
JM
65172014-02-26 Joseph Myers <joseph@codesourcery.com>
6518
6519 * argp/Makefile: Include Makeconfig immediately after defining
6520 subdir.
6521 * assert/Makefile: Likewise.
6522 * benchtests/Makefile: Likewise.
6523 * catgets/Makefile: Likewise.
6524 * conform/Makefile: Likewise.
6525 * crypt/Makefile: Likewise.
6526 * csu/Makefile: Likewise.
6527 (all): Remove target.
6528 * ctype/Makefile: Include Makeconfig immediately after defining
6529 subdir.
6530 * debug/Makefile: Likewise.
6531 * dirent/Makefile: Likewise.
6532 * dlfcn/Makefile: Likewise.
6533 * gmon/Makefile: Likewise.
6534 * gnulib/Makefile: Likewise.
6535 * grp/Makefile: Likewise.
6536 * gshadow/Makefile: Likewise.
6537 * hesiod/Makefile: Likewise.
6538 * hurd/Makefile: Likewise.
6539 (all): Remove target.
6540 * iconvdata/Makefile: Include Makeconfig immediately after
6541 defining subdir.
6542 * inet/Makefile: Likewise.
6543 * intl/Makefile: Likewise.
6544 * io/Makefile: Likewise.
6545 * libio/Makefile: Likewise.
6546 (all): Remove target.
6547 * locale/Makefile: Include Makeconfig immediately after defining
6548 subdir.
6549 * login/Makefile: Likewise.
6550 * mach/Makefile: Likewise.
6551 (all): Remove target.
6552 * malloc/Makefile: Include Makeconfig immediately after defining
6553 subdir.
6554 (all): Remove target.
6555 * manual/Makefile: Include Makeconfig immediately after defining
6556 subdir.
6557 * math/Makefile: Likewise.
6558 * misc/Makefile: Likewise.
6559 * nis/Makefile: Likewise.
6560 * nss/Makefile: Likewise.
6561 * po/Makefile: Likewise.
6562 (all): Remove target.
6563 * posix/Makefile: Include Makeconfig immediately after defining
6564 subdir.
6565 * pwd/Makefile: Likewise.
6566 * resolv/Makefile: Likewise.
6567 * resource/Makefile: Likewise.
6568 * rt/Makefile: Likewise.
6569 * setjmp/Makefile: Likewise.
6570 * shadow/Makefile: Likewise.
6571 * signal/Makefile: Likewise.
6572 * socket/Makefile: Likewise.
6573 * soft-fp/Makefile: Likewise.
6574 * stdio-common/Makefile: Likewise.
6575 * stdlib/Makefile: Likewise.
6576 * streams/Makefile: Likewise.
6577 * string/Makefile: Likewise.
6578 * sunrpc/Makefile: Likewise.
6579 (all): Remove target.
6580 * sysvipc/Makefile: Include Makeconfig immediately after defining
6581 subdir.
6582 * termios/Makefile: Likewise.
6583 * time/Makefile: Likewise.
6584 * timezone/Makefile: Likewise.
6585 (all): Remove target.
6586 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6587 subdir.
6588 * wctype/Makefile: Likewise.
6589
5b456e9d
SE
65902014-02-26 Steve Ellcey <sellcey@mips.com>
6591
6592 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6593 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6594 (libc_feholdexcept_setround_mips): Ditto.
6595 (libc_feholdsetround): New.
6596 (libc_feholdsetroundf): New.
6597 (libc_feholdsetroundl): New.
6598 (libc_feupdateenv_test_mips): New.
6599 (libc_feupdateenv_test): New.
6600 (libc_feupdateenv_testf): New.
6601 (libc_feupdateenv_testl): New.
6602 (libc_feresetround): New.
6603 (libc_feresetroundf): New.
6604 (libc_feresetroundl): New.
6605 (libc_fetestexcept_mips): New.
6606 (libc_fetestexcept): New.
6607 (libc_fetestexceptf): New.
6608 (libc_fetestexceptl): New.
6609 (HAVE_RM_CTX): New.
6610 (libc_feholdexcept_setround_mips_ctx): New.
6611 (libc_feholdexcept_setround_ctx): New.
6612 (libc_feholdexcept_setroundf_ctx): New.
6613 (libc_feholdexcept_setroundl_ctx): New.
6614 (libc_fesetenv_mips_ctx): New.
6615 (libc_fesetenv_ctx): New.
6616 (libc_fesetenv_ctxf): New.
6617 (libc_fesetenv_ctxl): New.
6618 (libc_feupdateenv_mips_ctx): New.
6619 (libc_feupdateenv_ctx): New.
6620 (libc_feupdateenvf_ctx): New.
6621 (libc_feupdateenvl_ctx): New.
6622 (libc_feholdsetround_mips_ctx): New.
6623 (libc_feholdsetround_ctx): New.
6624 (libc_feholdsetroundf_ctx): New.
6625 (libc_feholdsetroundl_ctx): New.
6626 (libc_feresetround_mips_ctx): New.
6627 (libc_feresetround_ctx): New.
6628 (libc_feresetroundf_ctx): New.
6629 (libc_feresetroundl_ctx): New.
6630
085d0e35
CD
66312014-02-26 Carlos O'Donell <carlos@redhat.com>
6632
f067bf1f
CD
6633 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6634
085d0e35
CD
6635 * manual/ipc.texi: New file.
6636 * manual/Makefile (chapters): Add ipc.
6637 * manual/job.texi: Add "Inter-Process Communication" to next.
6638 * manual/process.texi: Add "Inter-Process Communication" to prev.
6639
86e58c08
AZ
66402014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6641
6642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6643
4248f0da
OB
66442014-02-26 Ondřej Bílka <neleai@seznam.cz>
6645
6646 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6647
cf822e3c
OB
6648 * manual/arith.texi: Fix spaces after sentences.
6649 * manual/charset.texi: Likewise.
6650 * manual/errno.texi: Likewise.
6651 * manual/install.texi: Likewise.
6652 * manual/llio.texi: Likewise.
6653 * manual/locale.texi: Likewise.
6654 * manual/maint.texi: Likewise.
6655 * manual/math.texi: Likewise.
6656 * manual/memory.texi: Likewise.
6657 * manual/message.texi: Likewise.
6658 * manual/probes.texi: Likewise.
6659 * manual/resource.texi: Likewise.
6660 * manual/signal.texi: Likewise.
6661 * manual/socket.texi: Likewise.
6662 * manual/stdio.texi: Likewise.
6663 * manual/string.texi: Likewise.
6664 * manual/time.texi: Likewise.
6665 * manual/users.texi: Likewise.
6666
ade40b10
CD
66672014-02-25 Carlos O'Donell <carlos@redhat.com>
6668
6669 [BZ #16632]
6670 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6671 _DEFAULT_SOURCE is defined.
6672
d0503676
CD
66732014-02-25 Ulrich Drepper <drepper@gmail.com>
6674 Carlos O'Donell <carlos@redhat.com>
6675
6676 [BZ #16613]
6677 * elf/dl-tls.c (_dl_count_modids): New function.
6678 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6679 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6680 audit library and increment generation counter.
6681 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6682 * elf/tst-audit9.c: New file.
6683 * elf/tst-auditmod9a.c: New file.
6684 * elf/tst-auditmod9b.c: New file.
6685 * elf/Makefile: Add rules to build and run tst-audit9.
6686
4cbf380c
FW
66872014-02-25 Florian Weimer <fweimer@redhat.com>
6688
6689 [BZ #15347]
6690 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6691
80a56cc3
WN
66922014-02-25 Will Newton <will.newton@linaro.org>
6693
6694 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6695 (__longjmp): Restore sp and lr before restoring callee
6696 saved registers. Add longjmp and longjmp_target
6697 SystemTap probe point.
6698 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6699 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6700 Define to zero to match jmpbuf layout.
6701 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6702 (__sigsetjmp): Save sp and lr before saving callee
6703 saved registers. Add setjmp SystemTap probe point.
6704
3ea0f74e
SL
67052014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6706
6707 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6708
b04acb26
AS
67092014-02-24 Andreas Schwab <schwab@suse.de>
6710
6711 [BZ #15804]
6712 * elf/pldd.c (wait_for_ptrace_stop): New function.
6713 (main): Call it after attaching.
6714
098ad55c
RM
67152014-02-22 Roland McGrath <roland@hack.frob.com>
6716
d4ec6ae1
RM
6717 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6718 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6719 Versions files is now verboten.
6720 * hurd/Versions (libc: GLIBC_2.0):
6721 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6722 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6723 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6724 * mach/Versions: Likewise.
6725
098ad55c
RM
6726 * csu/Versions: Remove unused %include.
6727 * resolv/Versions: Likewise.
6728
acd7f096
JM
67292014-02-21 Joseph Myers <joseph@codesourcery.com>
6730
f0881698
JM
6731 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6732 ($(objpfx)check-local-headers.out): Likewise.
6733 ($(objpfx)begin-end-check.out): Likewise.
6734 * Makerules (check-abi-%.out): Likewise.
6735 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6736 ($(objpfx)test2.cat): Likewise.
6737 ($(objpfx)de/libc.cat): Likewise.
6738 ($(objpfx)test-gencat.out): Likewise.
6739 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6740 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6741 ($(objpfx)noload-mem): Likewise.
6742 ($(objpfx)tst-pathopt.out): Likewise.
6743 ($(objpfx)tst-rtld-load-self.out): Likewise.
6744 ($(objpfx)tst-array1-cmp.out): Likewise.
6745 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6746 ($(objpfx)tst-array2-cmp.out): Likewise.
6747 ($(objpfx)tst-array3-cmp.out): Likewise.
6748 ($(objpfx)tst-array4-cmp.out): Likewise.
6749 ($(objpfx)tst-array5-cmp.out): Likewise.
6750 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6751 ($(objpfx)check-textrel.out): Likewise.
6752 ($(objpfx)check-execstack.out): Likewise.
6753 ($(objpfx)check-localplt.out): Likewise.
6754 ($(objpfx)order2-cmp.out): Likewise.
6755 ($(objpfx)tst-leaks1-mem): Likewise.
6756 ($(objpfx)tst-leaks1-static-mem): Likewise.
6757 ($(objpfx)tst-initorder-cmp.out): Likewise.
6758 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6759 ($(objpfx)tst-unused-dep.out): Likewise.
6760 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6761 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6762 * iconv/Makefile (test-iconvconfig): Likewise.
6763 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6764 ($(objpfx)iconv-test.out): Likewise.
6765 ($(objpfx)tst-tables.out): Likewise.
6766 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6767 ($(objpfx)tst-gettext.out): Likewise.
6768 ($(objpfx)tst-translit.out): Likewise.
6769 ($(objpfx)tst-gettext2.out): Likewise.
6770 ($(objpfx)tst-gettext4.out): Likewise.
6771 ($(objpfx)tst-gettext6.out): Likewise.
6772 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6773 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6774 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6775 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6776 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6777 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6778 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6779 ($(objpfx)wordexp-tst.out): Likewise.
6780 ($(objpfx)annexc.out): Likewise.
6781 ($(objpfx)tst-fnmatch-mem): Likewise.
6782 ($(objpfx)bug-regex2-mem): Likewise.
6783 ($(objpfx)bug-regex14-mem): Likewise.
6784 ($(objpfx)bug-regex21-mem): Likewise.
6785 ($(objpfx)bug-regex31-mem): Likewise.
6786 ($(objpfx)tst-vfork3-mem): Likewise.
6787 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6788 ($(objpfx)tst-pcre-mem): Likewise.
6789 ($(objpfx)tst-boost-mem): Likewise.
6790 ($(objpfx)tst-getconf.out): Likewise.
6791 ($(objpfx)bug-ga2-mem): Likewise.
6792 ($(objpfx)bug-glob2-mem): Likewise.
6793 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6794 ($(objpfx)mtrace-tst-leaks2): Likewise.
6795 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6796 ($(objpfx)tst-printf.out): Likewise.
6797 ($(objpfx)tst-setvbuf1.out): Likewise.
6798 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6799 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6800 ($(objpfx)tst-fmtmsg.out): Likewise.
6801 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6802 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6803
acd7f096
JM
6804 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6805 * bits/sigaction.h [__USE_MISC]: Likewise.
6806 * bits/waitstatus.h: Update #endif comments.
6807 * ctype/ctype.h: Likewise.
6808 * dirent/dirent.h: Likewise.
6809 [__USE_MISC]: Remove redundant conditionals.
6810 * grp/grp.h: Update #endif comments.
6811 [__USE_GNU]: Remove redundant conditionals.
6812 [__USE_MISC]: Likewise.
6813 * inet/netinet/in.h [__USE_GNU]: Likewise.
6814 * io/sys/stat.h [__USE_MISC]: Likewise.
6815 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6816 * libio/bits/stdio.h: Update #endif comments.
6817 [__USE_MISC]: Remove redundant conditionals.
6818 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6819 * libio/stdio.h: Update #endif comments.
6820 [__USE_MISC]: Remove redundant conditionals.
6821 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6822 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6823 * math/math.h: Update #else and #endif comments.
6824 [__USE_MISC]: Remove redundant conditionals.
6825 * misc/sys/uio.h: Update #endif comments.
6826 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6827 * posix/glob.h [__USE_MISC]: Likewise.
6828 * posix/sys/types.h: Update #endif comments.
6829 [__USE_MISC]: Remove redundant conditionals.
6830 * posix/sys/wait.h: Update #endif comments.
6831 [__USE_MISC]: Remove redundant conditionals.
6832 * posix/unistd.h: Update #endif comments.
6833 [__USE_MISC]: Remove redundant conditionals.
6834 * pwd/pwd.h [__USE_GNU]: Likewise.
6835 [__USE_MISC]: Likewise.
6836 * resolv/netdb.h [__USE_GNU]: Likewise.
6837 * signal/signal.h: Update #endif comments.
6838 [__USE_MISC]: Remove redundant conditionals.
6839 * stdlib/stdlib.h: Update #else and #endif comments.
6840 [__USE_MISC]: Remove redundant conditionals.
6841 [__USE_GNU]: Likewise.
6842 * string/bits/string2.h [__USE_MISC]: Likewise.
6843 * string/string.h: Update #endif comments.
6844 [__USE_MISC]: Remove redundant conditionals.
6845 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6846 Likewise.
6847 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6848 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6849 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6850 Likewise.
6851 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6852 Likewise.
6853 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6854 comments.
6855 [__USE_MISC]: Remove redundant conditionals.
6856 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6857 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6858 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6859 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6860 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6861 Likewise.
6862 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6863 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6864 Likewise.
6865 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6866 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6867 Likewise.
6868 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6869 Likewise.
6870 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6871 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6872 Likewise.
6873 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6874 Likewise.
6875 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6876 * sysdeps/x86/bits/string.h: Update #endif comments.
6877 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6878 conditionals.
6879 * time/sys/time.h: Update #endif comments.
6880 * time/time.h: Likewise.
6881 [__USE_MISC]: Remove redundant conditionals.
6882
a5d82e4e
YG
68832014-02-21 Yury Gribov <y.gribov@samsung.com>
6884
6885 [BZ #16600]
6886 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6887
9a80491d
AS
68882014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6889
6890 * Versions.def (librt): Add GLIBC_2.17.
6891
105fa381
AC
68922014-02-21 Adam Conrad <adconrad@0c3.net>
6893
6894 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6895 synonym for _SYS_AUXV_H to allow direct inclusion.
6896 * sysdeps/sparc/bits/hwcap.h: Likewise.
6897 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6898 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6899 * sysdeps/sparc/sysdep.h: Likewise.
6900
b8cd1c4e
SP
69012014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6902
6903 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6904
bd939d23
RS
69052014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6906
6907 * benchtests/bench-strrchr.c: Print length instead of position.
6908
5d7b57ca
JM
69092014-02-20 Joseph Myers <joseph@codesourcery.com>
6910
bc688c10
JM
6911 [BZ #16611]
6912 * sysdeps/unix/sysv/linux/kernel-features.h
6913 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6914 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6915 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6916 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6917 Likewise.
6918 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6919 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6920 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6921 (__ASSUME_SENDMMSG): Define instead of using previous
6922 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6923 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6924 (__ASSUME_SENDMMSG_SYSCALL): Define.
6925 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6926 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6927 Likewise.
6928 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6929 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6930 Likewise.
6931 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6932 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6933 Likewise.
6934 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6935 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6936 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6937 [__ASSUME_SENDMMSG]: Change conditionals to
6938 [__ASSUME_SENDMMSG_SOCKETCALL].
6939 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6940 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6941 Define.
6942 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6943 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6944 Likewise.
6945 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6946 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6947 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6948 [!__ASSUME_SENDMMSG]: Change conditional to
6949 [!__ASSUME_SENDMMSG_SOCKETCALL].
6950 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6951 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6952 Define.
6953
0e31b18c
JM
6954 [BZ #16610]
6955 * sysdeps/unix/sysv/linux/kernel-features.h
6956 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6957 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6958 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6959 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6960 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6961 [__i386__ || __sparc__]
6962 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6963 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6964 (__ASSUME_RECVMMSG): Define instead of using previous
6965 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6966 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6967 (__ASSUME_RECVMMSG_SYSCALL): Define.
6968 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6969 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6970 Likewise.
6971 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6972 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6973 Likewise.
6974 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6975 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6976 Likewise.
6977 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6978 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6979 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6980 [__ASSUME_RECVMMSG]: Change condition to
6981 [__ASSUME_RECVMMSG_SOCKETCALL].
6982 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6983 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6984 Define.
6985 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6986 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6987 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6988 Likewise.
6989 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6990 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6991 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6992 [!__ASSUME_RECVMMSG]: Change condition to
6993 [!__ASSUME_RECVMMSG_SOCKETCALL].
6994 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6995 (__ASSUME_RECVMMSG_SYSCALL): Define.
6996
dd481ccf
JM
6997 [BZ #16609]
6998 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6999 __powerpc__ || __s390__ || __sh__ || __sparc__]
7000 (__ASSUME_SOCKETCALL): Define.
7001 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7002 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7003 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7004 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7005 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7006 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7007 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7008 (__ASSUME_ACCEPT4): Define instead of using previous
7009 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7010 __powerpc__ || __sparc__ || __s390__)] condition.
7011 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7012 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7013 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7014 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7015 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7016 [!__ASSUME_ACCEPT4]: Change condition to
7017 [!__ASSUME_ACCEPT4_SOCKETCALL].
7018 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7019 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7020 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7021 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7022 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7023 __ASSUME_ACCEPT4_SYSCALL.
7024 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7025 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7026 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7027 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7028 __ASSUME_ACCEPT4_SYSCALL.
7029 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7030 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7031 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7032 [__ASSUME_ACCEPT4]: Change condition to
7033 [__ASSUME_ACCEPT4_SOCKETCALL].
7034 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7035 (__ASSUME_SOCKETCALL): Define.
7036 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7037 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7038 (__ASSUME_SOCKETCALL): Define.
7039 (__ASSUME_ACCEPT4): Remove.
7040 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7041 Define.
7042 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7043 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7044 Likewise.
7045 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7046 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7047
5d7b57ca
JM
7048 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7049 macro.
7050 (HWCAP_ARM_LPAE): Likewise.
7051 (HWCAP_ARM_EVTSTRM): Likewise.
7052 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7053 Add vpfd32, lpae and evtstrm.
7054 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7055 Increase to 22.
7056
63689d61
JM
70572014-02-19 Joseph Myers <joseph@codesourcery.com>
7058
7059 * math/auto-libm-test-in: Add tests of clog10.
7060 * math/auto-libm-test-out: Regenerated.
7061 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7062 * sysdeps/i386/fpu/libm-test-ulps: Update.
7063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7064
ab09bf61
AS
70652014-02-18 Andreas Schwab <schwab@suse.de>
7066
7067 [BZ #16574]
7068 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7069 Store non-zero if the second buffer was newly allocated.
7070 (send_dg): Likewise.
7071 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7072 to send_vc and send_dg.
7073 (res_nsend): Pass NULL for ansp2_malloced.
7074 * resolv/res_query.c (__libc_res_nquery): Add parameter
7075 answerp2_malloced and pass it down to __libc_res_nsend.
7076 (res_nquery): Pass additional NULL to __libc_res_nquery.
7077 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7078 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7079 second answer buffer if answerp2_malloced was set.
7080 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7081 (__libc_res_nquerydomain): Add parameter
7082 answerp2_malloced and pass it down to __libc_res_nquery.
7083 (res_nquerydomain): Pass additional NULL to
7084 __libc_res_nquerydomain.
7085 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7086 additional NULL to __libc_res_nsend and __libc_res_nquery.
7087 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7088 additional NULL to __libc_res_nsearch.
7089 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7090 parameter of __libc_res_nsearch to check for separately allocated
7091 second buffer.
7092 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7093 __libc_res_nquery.
7094 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7095 additional NULL to __libc_res_nquery.
7096 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7097 __libc_res_nsearch.
7098 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7099 * include/resolv.h: Update prototypes of __libc_res_nquery,
7100 __libc_res_nsearch, __libc_res_nsend.
7101
a4fb7861
JM
71022014-02-18 Joseph Myers <joseph@codesourcery.com>
7103
c6af2d89
JM
7104 * math/auto-libm-test-in: Add tests of fma.
7105 * math/auto-libm-test-out: Regenerated.
7106 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7107 (fma_towardzero_test_data): Likewise.
7108 (fma_downward_test_data): Likewise.
7109 (fma_upward_test_data): Likewise.
7110 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7111 mpc_mode.
7112 (rounding_modes): Add values for new field.
7113 (func_calc_method): Add value mpfr_fff_f.
7114 (func_calc_desc): Add mpfr_fff_f union field.
7115 (test_function): Add field exact_args.
7116 (FUNC): Add macro argument EXACT_ARGS.
7117 (FUNC_mpfr_f_f): Update call to FUNC.
7118 (FUNC_mpfr_f_f): Likewise.
7119 (FUNC_mpfr_ff_f): Likewise.
7120 (FUNC_mpfr_if_f): Likewise.
7121 (FUNC_mpc_c_f): Likewise.
7122 (FUNC_mpc_c_c): Likewise.
7123 (test_functions): Add fma. Update calls to FUNC.
7124 (handle_input_arg): Add argument exact_args.
7125 (add_test): Update call to handle_input_arg.
7126 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7127 (output_for_one_input_case): Update call to calc_generic_results.
7128 Recalculate exact zero results in each rounding mode.
7129
a4fb7861
JM
7130 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7131 non-negative before setting low bit.
7132 * math/auto-libm-test-in: Mark one asin test possibly having
7133 spurious underflow.
7134 * math/auto-libm-test-out: Regenerated.
7135 * sysdeps/i386/fpu/libm-test-ulps: Update.
7136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7137
ef114eaf
DH
71382014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7139
2b7f4f2c
SP
7140 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7141 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7142 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
7143 * README: Add missing listing for microblaze*-*-linux-gnu.
7144
c70a4b1d
MF
71452014-02-16 Mike Frysinger <vapier@gentoo.org>
7146
7147 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7148 * sysdeps/unix/sysv/linux/ia64: Move directory from
7149 ports/sysdeps/unix/sysv/linux/ia64.
7150 * README: Update listing for ia64-*-linux-gnu.
7151
591aeaf7
TD
71522014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7153 Joseph Myers <joseph@codesourcery.com>
7154
7155 * Makeconfig (test-name): New variable.
7156 (evaluate-test): Likewise.
7157 * Makerules (do-test-clean): Remove .test-result files.
7158 (common-mostlyclean): Likewise.
7159 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7160 * scripts/evaluate-test.sh: New file.
7161
6e89caf1
JM
71622014-02-14 Joseph Myers <joseph@codesourcery.com>
7163
7f98f180
JM
7164 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7165 separate $(objpfx)tst-fopenloc-cmp.out and
7166 $(objpfx)tst-fopenloc-mem.out targets.
7167 (tests): Update dependencies.
7168 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7169 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7170 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7171 (tst-rxspencer-no-utf8-ARGS): New variable.
7172 (tst-rxspencer-no-utf8-ENV): Likewise.
7173 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7174 instead of $(objpfx)tst-rxspencer-mem.
7175 ($(objpfx)tst-rxspencer-mem): Change target to
7176 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7177 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7178 * posix/tst-rxspencer-no-utf8.c: New file.
7179
6e89caf1
JM
7180 * elf/Makefile ($(objpfx)order.out): Remove rule.
7181 [$(run-built-tests) = yes] (tests): Depend on
7182 $(objpfx)order-cmp.out.
7183 ($(objpfx)order-cmp.out): New rule.
7184 [$(run-built-tests) = yes] (tests): Depend on
7185 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7186 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7187 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7188 $(objpfx)tst-array5-static-cmp.out.
7189 ($(objpfx)tst-array1.out): Remove rule.
7190 ($(objpfx)tst-array1-cmp.out): New rule.
7191 ($(objpfx)tst-array1-static.out): Remove rule.
7192 ($(objpfx)tst-array1-static-cmp.out): New rule.
7193 ($(objpfx)tst-array2.out): Remove rule.
7194 ($(objpfx)tst-array2-cmp.out): New rule.
7195 ($(objpfx)tst-array3.out): Remove rule.
7196 ($(objpfx)tst-array3-cmp.out): New rule.
7197 ($(objpfx)tst-array4.out): Remove rule.
7198 ($(objpfx)tst-array4-cmp.out): New rule.
7199 ($(objpfx)tst-array5.out): Remove rule.
7200 ($(objpfx)tst-array5-cmp.out): New rule.
7201 ($(objpfx)tst-array5-static.out): Remove rule.
7202 ($(objpfx)tst-array5-static-cmp.out): New rule.
7203 [$(run-built-tests) = yes] (tests): Depend on
7204 $(objpfx)order2-cmp.out.
7205 ($(objpfx)order2.out): Remove rule.
7206 ($(objpfx)order2-cmp.out): New rule.
7207 ($(objpfx)tst-initorder.out): Remove rule.
7208 [$(run-built-tests) = yes] (tests): Depend on
7209 $(objpfx)tst-initorder-cmp.out.
7210 ($(objpfx)tst-initorder-cmp.out): New rule.
7211 ($(objpfx)tst-initorder2.out): Remove rule.
7212 [$(run-built-tests) = yes] (tests): Depend on
7213 $(objpfx)tst-initorder2-cmp.out.
7214 ($(objpfx)tst-initorder2-cmp.out): New rule.
7215 [$(run-built-tests) = yes] (tests): Depend on
7216 $(objpfx)tst-unused-dep-cmp.out.
7217 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7218 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7219 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7220 on $(objpfx)tst-setvbuf1-cmp.out.
7221 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7222 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7223 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7224 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7225 ($(objpfx)tst-svc.out): Remove rule.
7226 ($(objpfx)tst-svc-cmp.out): New rule.
7227
ed9a38e2
JM
72282014-02-13 Joseph Myers <joseph@codesourcery.com>
7229
7230 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7231 * ctype/ctype.h [__USE_MISC]: Likewise.
7232 * dirent/dirent.h [__USE_MISC]: Likewise.
7233 * grp/grp.h [__USE_MISC]: Likewise.
7234 * io/fcntl.h [__USE_MISC]: Likewise.
7235 * io/sys/stat.h [__USE_MISC]: Likewise.
7236 * libio/stdio.h [__USE_MISC]: Likewise.
7237 * posix/unistd.h [__USE_MISC]: Likewise.
7238 * pwd/pwd.h [__USE_MISC]: Likewise.
7239 * stdlib.h [__USE_MISC]: Likewise.
7240 * string/bits/string2.h [__USE_MISC]: Likewise.
7241 * string/string.h [__USE_MISC]: Likewise.
7242 * time/time.h [__USE_MISC]: Likewise.
7243
d6680619
AS
72442014-02-13 Andreas Schwab <schwab@suse.de>
7245
7246 [BZ #16574]
7247 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7248 second answer buffer if it was separately allocated.
7249
ace614b8
JM
72502014-02-12 Joseph Myers <joseph@codesourcery.com>
7251
743151ae
JM
7252 * sysdeps/mips/math-tests.h: Include <features.h>.
7253 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7254 (ROUNDING_TESTS_long_double): Do not define.
7255 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7256 (EXCEPTION_TESTS_long_double): Likewise.
7257 * sysdeps/mips/mips64/libm-test-ulps: Update.
7258
498afc54
JM
7259 * include/features.h (__USE_BSD): Remove macro definitions.
7260 (__USE_SVID): Likewise.
7261 (_BSD_SOURCE): Likewise.
7262 (_SVID_SOURCE): Likewise.
7263 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7264 from definition of _DEFAULT_SOURCE.
7265 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7266 [_DEFAULT_SOURCE].
7267 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7268 * bits/mman.h [__USE_BSD]: Likewise.
7269 * bits/termios.h [__USE_BSD]: Likewise.
7270 * bits/waitstatus.h [__USE_BSD]: Likewise.
7271 * ctype/ctype.h [__USE_SVID]: Likewise.
7272 * dirent/dirent.h [__USE_BSD]: Likewise.
7273 * grp/grp.h [__USE_SVID]: Likewise.
7274 [__USE_BSD]: Likewise.
7275 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7276 * io/fcntl.h [__USE_BSD]: Likewise.
7277 * io/ftw.h [__USE_BSD]: Likewise.
7278 * io/sys/stat.h [__USE_BSD]: Likewise.
7279 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7280 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7281 * libio/stdio.h [__USE_SVID]: Likewise.
7282 [__USE_BSD]: Likewise.
7283 * math/math.h [__USE_SVID]: Likewise.
7284 [__USE_BSD]: Likewise.
7285 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7286 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7287 * misc/search.h [__USE_SVID]: Likewise.
7288 * misc/sys/mman.h [__USE_BSD]: Likewise.
7289 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7290 * misc/sys/uio.h [__USE_BSD]: Likewise.
7291 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7292 * posix/glob.h [__USE_BSD]: Likewise.
7293 * posix/regex.h [__USE_BSD]: Likewise.
7294 * posix/sys/types.h [__USE_BSD]: Likewise.
7295 [__USE_SVID]: Likewise.
7296 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7297 * posix/sys/wait.h [__USE_BSD]: Likewise.
7298 [__USE_SVID]: Likewise.
7299 * posix/unistd.h [__USE_BSD]: Likewise.
7300 [__USE_SVID]: Likewise.
7301 * pwd/pwd.h [__USE_SVID]: Likewise.
7302 * resolv/netdb.h [__USE_BSD]: Likewise.
7303 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7304 * signal/signal.h [__USE_BSD]: Likewise.
7305 [__USE_SVID]: Likewise.
7306 * socket/sys/socket.h [__USE_BSD]: Likewise.
7307 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7308 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7309 [__USE_SVID]: Likewise.
7310 * string/bits/string2.h [__USE_BSD]: Likewise.
7311 [__USE_SVID]: Likewise.
7312 * string/bits/string3.h [__USE_BSD]: Likewise.
7313 * string/endian.h [__USE_BSD]: Likewise.
7314 * string/string.h [__USE_SVID]: Likewise.
7315 [__USE_BSD]: Likewise.
7316 * string/strings.h [__USE_BSD]: Likewise.
7317 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7318 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7319 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7320 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7321 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7322 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7323 Likewise.
7324 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7325 Likewise.
7326 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7327 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7328 Likewise.
7329 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7330 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7331 Likewise.
7332 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7333 Likewise.
7334 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7335 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7336 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7337 Likewise.
7338 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7339 Likewise.
7340 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7341 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7342 * termios/termios.h [__USE_BSD]: Likewise.
7343 * time/sys/time.h [__USE_BSD]: Likewise.
7344 * time/time.h [__USE_BSD]: Likewise.
7345 [__USE_SVID]: Likewise.
7346
dd7b064c
JM
7347 * Makefile (subdir_targets): Remove subdir_lint.out.
7348
a2c4c199
JM
7349 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7350 (do-tst-printf): Likewise.
7351 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7352 $(objpfx)tst-printf.out.
7353
8756f740
JM
7354 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7355
1b6dd3f1
JM
7356 * Makerules (check-abi-%): Change target to
7357 $(objpfx)check-abi-%.out.
7358 (check-abi target): Update dependencies.
7359 (check-abi-pattern variable): Redirect output of diff to $@.
7360 (check-abi variable): Likewise.
7361 * elf/Makefile (check-abi): Update dependencies.
7362
ace614b8
JM
7363 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7364 unused.
7365 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7366 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7367 subnormal range.
7368 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7369 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7370 value has largest subnormal exponent.
7371 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7372 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7373 * sysdeps/aarch64/soft-fp/sfp-machine.h
7374 (_FP_TININESS_AFTER_ROUNDING): New macro.
7375 * sysdeps/alpha/soft-fp/sfp-machine.h
7376 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7377 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7378 Likewise.
7379 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7380 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7381 * sysdeps/mips/soft-fp/sfp-machine.h
7382 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7383 * sysdeps/powerpc/soft-fp/sfp-machine.h
7384 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7385 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7386 Likewise.
7387 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7388 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7389 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7390 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7391 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7392 Likewise.
7393
fbfdf9cb
DAS
73942014-02-12 Dylan Alex Simon <dylan@dylex.net>
7395
7396 [BZ #16545]
7397 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7398 model 1.
7399
68b7efaa
RH
74002014-02-12 Richard Henderson <rth@redhat.com>
7401
c70a4b1d 7402 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
7403 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7404 * sysdeps/unix/sysv/linux/alpha: Move directory from
7405 ports/sysdeps/unix/sysv/linux/alpha.
7406 * README: Update listing for alpha-*-linux-gnu.
7407
cb4a2928
JM
74082014-02-11 Joseph Myers <joseph@codesourcery.com>
7409
c941736c
JM
7410 * include/features.h: Update comment documenting feature test
7411 macros.
7412 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7413 _DEFAULT_SOURCE.
7414 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7415 (_SVID_SOURCE): Likewise.
7416 (_DEFAULT_SOURCE): Update description of default features.
7417 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7418 with _GNU_SOURCE.
7419 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7420 (S_ISVTX): Likewise.
7421 * manual/math.texi (Mathematical Constants): Likewise.
7422 * manual/signal.texi (Interrupted Primitives): Likewise.
7423 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7424 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7425 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7426 Don't refer to _SVID_SOURCE in warning text.
7427
e8d8d7ec
JM
7428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7429
cb4a2928
JM
7430 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7431 already defined.
7432 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7433 * sysdeps/mips/dl-lookup.c: Remove.
7434 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7435
7e6424e3
AK
74362014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7437
7438 [BZ #16447]
7439 * math/auto-libm-test-in: Add testcase for expl.
7440 * math/auto-libm-test-out: Regenerate.
7441 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7442 calculation of unsafe.
7443 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7444
75eff3fe
MS
74452014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7446
7447 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7448 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7449 ports/sysdeps/unix/sysv/linux/aarch64.
7450 * README: Update listing for aarch64*-*-linux-gnu.
7451
d35f1e80
WN
74522014-02-11 Will Newton <will.newton@linaro.org>
7453
7454 * manual/probes.texi (Mathematical Function Probes): Use
7455 "triggered" instead of "hit".
7456
7b3436d4
WN
7457 * manual/probes.texi (Internal Probes): Add documentation
7458 of setjmp, longjmp and longjmp_target probes.
7459
b4f12ca3
WN
7460 * include/stap-probe.h: Add comment about probe argument
7461 format.
7462
c13a72b7
WN
7463 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7464 definition. (tr_where, tr_freehook, tr_mallochook,
7465 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7466
195b8165
DM
74672014-02-11 David S. Miller <davem@davemloft.net>
7468
7469 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7470 processing int_tests.
7471
2ad7600b
JM
74722014-02-10 Joseph Myers <joseph@codesourcery.com>
7473
7474 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7475 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7476 * sysdeps/unix/sysv/linux/mips: Move directory from
7477 ports/sysdeps/unix/sysv/linux/mips.
7478 * README: Update listing for mips-*-linux-gnu and
7479 mips64-*-linux-gnu.
7480
73588a72
AS
74812014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7482
7483 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7484 * sysdeps/unix/sysv/linux/m68k: Move directory from
7485 ports/sysdeps/unix/sysv/linux/m68k.
7486 * README: Update listing for m68k-*-linux-gnu.
7487
4372980f
CM
74882014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7489
7490 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7491 * sysdeps/unix/sysv/linux/generic: Move directory from
7492 ports/sysdeps/unix/sysv/linux/generic.
7493 * sysdeps/unix/sysv/linux/tile: Move directory from
7494 ports/sysdeps/unix/sysv/linux/tile.
7495 * README: Update listing for tile*-*-linux-gnu.
7496
a1ffb40e
OB
74972014-02-10 Ondřej Bílka <neleai@seznam.cz>
7498
57f41c40
AS
7499 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7500 __builtin_expect.
a1ffb40e
OB
7501 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7502 * catgets/open_catalog.c (__open_catalog): Likewise.
7503 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7504 * debug/confstr_chk.c: Likewise.
7505 * debug/fread_chk.c (__fread_chk): Likewise.
7506 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7507 * debug/getgroups_chk.c: Likewise.
7508 * debug/mbsnrtowcs_chk.c: Likewise.
7509 * debug/mbsrtowcs_chk.c: Likewise.
7510 * debug/mbstowcs_chk.c: Likewise.
7511 * debug/memcpy_chk.c: Likewise.
7512 * debug/memmove_chk.c: Likewise.
7513 * debug/mempcpy_chk.c: Likewise.
7514 * debug/memset_chk.c: Likewise.
7515 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7516 * debug/strcat_chk.c (__strcat_chk): Likewise.
7517 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7518 * debug/strncat_chk.c (__strncat_chk): Likewise.
7519 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7520 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7521 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7522 * debug/wcpncpy_chk.c: Likewise.
7523 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7524 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7525 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7526 * debug/wcsncpy_chk.c: Likewise.
7527 * debug/wcsnrtombs_chk.c: Likewise.
7528 * debug/wcsrtombs_chk.c: Likewise.
7529 * debug/wcstombs_chk.c: Likewise.
7530 * debug/wmemcpy_chk.c: Likewise.
7531 * debug/wmemmove_chk.c: Likewise.
7532 * debug/wmempcpy_chk.c: Likewise.
7533 * debug/wmemset_chk.c: Likewise.
7534 * dirent/scandirat.c (SCANDIRAT): Likewise.
7535 * dlfcn/dladdr1.c (dladdr1): Likewise.
7536 * dlfcn/dladdr.c (dladdr): Likewise.
7537 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7538 * dlfcn/dlerror.c (__dlerror): Likewise.
7539 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7540 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7541 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7542 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7543 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7544 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7545 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7546 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7547 Likewise.
7548 * elf/dl-conflict.c: Likewise.
7549 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7550 * elf/dl-dst.h: Likewise.
7551 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7552 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7553 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7554 * elf/dl-init.c (call_init, _dl_init): Likewise.
7555 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
7556 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7557 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7558 Likewise.
a1ffb40e
OB
7559 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7560 Likewise.
7561 * elf/dl-minimal.c (__libc_memalign): Likewise.
7562 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7563 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7564 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7565 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
7566 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7567 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
7568 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7569 * elf/dl-writev.h (_dl_writev): Likewise.
7570 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
7571 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7572 (dl_main): Likewise.
a1ffb40e
OB
7573 * elf/setup-vdso.h (setup_vdso): Likewise.
7574 * grp/compat-initgroups.c (compat_call): Likewise.
7575 * grp/fgetgrent.c (fgetgrent): Likewise.
7576 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7577 * grp/putgrent.c (putgrent): Likewise.
7578 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7579 Likewise.
7580 * hurd/hurdinit.c: Likewise.
7581 * iconvdata/8bit-gap.c (struct): Likewise.
7582 * iconvdata/ansi_x3.110.c : Likewise.
7583 * iconvdata/big5.c : Likewise.
7584 * iconvdata/big5hkscs.c : Likewise.
7585 * iconvdata/cp1255.c: Likewise.
7586 * iconvdata/cp1258.c : Likewise.
7587 * iconvdata/cp932.c : Likewise.
7588 * iconvdata/euc-cn.c: Likewise.
7589 * iconvdata/euc-jisx0213.c : Likewise.
7590 * iconvdata/euc-jp.c: Likewise.
7591 * iconvdata/euc-jp-ms.c : Likewise.
7592 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7593 * iconvdata/gb18030.c : Likewise.
7594 * iconvdata/gbbig5.c (const): Likewise.
7595 * iconvdata/gbgbk.c: Likewise.
7596 * iconvdata/gbk.c : Likewise.
7597 * iconvdata/ibm1364.c : Likewise.
7598 * iconvdata/ibm930.c : Likewise.
7599 * iconvdata/ibm932.c: Likewise.
7600 * iconvdata/ibm933.c : Likewise.
7601 * iconvdata/ibm935.c : Likewise.
7602 * iconvdata/ibm937.c : Likewise.
7603 * iconvdata/ibm939.c : Likewise.
7604 * iconvdata/ibm943.c: Likewise.
7605 * iconvdata/iso_11548-1.c: Likewise.
7606 * iconvdata/iso-2022-cn.c : Likewise.
7607 * iconvdata/iso-2022-cn-ext.c : Likewise.
7608 * iconvdata/iso-2022-jp-3.c: Likewise.
7609 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7610 * iconvdata/iso-2022-kr.c : Likewise.
7611 * iconvdata/iso646.c (gconv_end): Likewise.
7612 * iconvdata/iso_6937-2.c : Likewise.
7613 * iconvdata/iso_6937.c : Likewise.
7614 * iconvdata/iso8859-1.c: Likewise.
7615 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7616 * iconvdata/shift_jisx0213.c : Likewise.
7617 * iconvdata/sjis.c : Likewise.
7618 * iconvdata/t.61.c : Likewise.
7619 * iconvdata/tcvn5712-1.c : Likewise.
7620 * iconvdata/tscii.c: Likewise.
7621 * iconvdata/uhc.c : Likewise.
7622 * iconvdata/unicode.c (gconv_end): Likewise.
7623 * iconvdata/utf-16.c (gconv_end): Likewise.
7624 * iconvdata/utf-32.c (gconv_end): Likewise.
7625 * iconvdata/utf-7.c (base64): Likewise.
7626 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7627 * iconv/gconv_close.c (__gconv_close): Likewise.
7628 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
7629 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7630 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7631 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7632 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7633 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
7634 * iconv/iconv.c (iconv): Likewise.
7635 * iconv/iconv_close.c: Likewise.
7636 * iconv/loop.c (SINGLE): Likewise.
7637 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7638 * include/atomic.h: Likewise.
7639 * inet/inet6_option.c (option_alloc): Likewise.
7640 * intl/bindtextdom.c (set_binding_values): Likewise.
7641 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7642 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7643 * intl/localealias.c (read_alias_file): Likewise.
7644 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
7645 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7646 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
7647 * libio/fmemopen.c (fmemopen): Likewise.
7648 * libio/iofgets.c (_IO_fgets): Likewise.
7649 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7650 * libio/iofgetws.c (fgetws): Likewise.
7651 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7652 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
7653 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7654 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
7655 * locale/findlocale.c (_nl_find_locale): Likewise.
7656 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7657 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7658 Likewise.
7659 * locale/setlocale.c (setlocale): Likewise.
7660 * login/programs/pt_chown.c (main): Likewise.
7661 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7662 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
7663 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7664 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
7665 * math/e_exp2l.c: Likewise.
7666 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7667 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7668 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7669 * math/s_catan.c (__catan): Likewise.
7670 * math/s_catanf.c (__catanf): Likewise.
7671 * math/s_catanh.c (__catanh): Likewise.
7672 * math/s_catanhf.c (__catanhf): Likewise.
7673 * math/s_catanhl.c (__catanhl): Likewise.
7674 * math/s_catanl.c (__catanl): Likewise.
7675 * math/s_ccosh.c (__ccosh): Likewise.
7676 * math/s_ccoshf.c (__ccoshf): Likewise.
7677 * math/s_ccoshl.c (__ccoshl): Likewise.
7678 * math/s_cexp.c (__cexp): Likewise.
7679 * math/s_cexpf.c (__cexpf): Likewise.
7680 * math/s_cexpl.c (__cexpl): Likewise.
7681 * math/s_clog10.c (__clog10): Likewise.
7682 * math/s_clog10f.c (__clog10f): Likewise.
7683 * math/s_clog10l.c (__clog10l): Likewise.
7684 * math/s_clog.c (__clog): Likewise.
7685 * math/s_clogf.c (__clogf): Likewise.
7686 * math/s_clogl.c (__clogl): Likewise.
7687 * math/s_csin.c (__csin): Likewise.
7688 * math/s_csinf.c (__csinf): Likewise.
7689 * math/s_csinh.c (__csinh): Likewise.
7690 * math/s_csinhf.c (__csinhf): Likewise.
7691 * math/s_csinhl.c (__csinhl): Likewise.
7692 * math/s_csinl.c (__csinl): Likewise.
7693 * math/s_csqrt.c (__csqrt): Likewise.
7694 * math/s_csqrtf.c (__csqrtf): Likewise.
7695 * math/s_csqrtl.c (__csqrtl): Likewise.
7696 * math/s_ctan.c (__ctan): Likewise.
7697 * math/s_ctanf.c (__ctanf): Likewise.
7698 * math/s_ctanh.c (__ctanh): Likewise.
7699 * math/s_ctanhf.c (__ctanhf): Likewise.
7700 * math/s_ctanhl.c (__ctanhl): Likewise.
7701 * math/s_ctanl.c (__ctanl): Likewise.
7702 * math/w_pow.c: Likewise.
7703 * math/w_powf.c: Likewise.
7704 * math/w_powl.c: Likewise.
7705 * math/w_scalb.c (sysv_scalb): Likewise.
7706 * math/w_scalbf.c (sysv_scalbf): Likewise.
7707 * math/w_scalbl.c (sysv_scalbl): Likewise.
7708 * misc/error.c (error_tail): Likewise.
7709 * misc/pselect.c (__pselect): Likewise.
7710 * nis/nis_callback.c (__nis_create_callback): Likewise.
7711 * nis/nis_call.c (__nisfind_server): Likewise.
7712 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7713 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7714 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7715 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7716 * nis/nis_lookup.c (nis_lookup): Likewise.
7717 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
7718 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7719 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 7720 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
7721 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7722 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7723 * nis/nss_compat/compat-initgroups.c (add_group)
7724 (internal_getgrent_r): Likewise.
7725 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7726 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7727 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7728 (internal_getspnam_r): Likewise.
7729 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7730 (_nss_nis_getaliasbyname_r): Likewise.
7731 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7732 (_nss_nis_getntohost_r): Likewise.
7733 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7734 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7735 (_nss_nis_getgrgid_r): Likewise.
7736 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7737 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7738 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7739 (_nss_nis_gethostbyname4_r): Likewise.
7740 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7741 (initgroups_netid): Likewise.
a1ffb40e 7742 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
7743 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7744 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7745 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7746 (_nss_nis_getprotobynumber_r): Likewise.
7747 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7748 (_nss_nis_getsecretkey): Likewise.
7749 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7750 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7751 (_nss_nis_getpwuid_r): Likewise.
7752 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7753 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7754 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7755 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7756 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7757 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
7758 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7759 Likewise.
57f41c40
AS
7760 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7761 (_nss_nisplus_getntohost_r): Likewise.
7762 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7763 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7764 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7765 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 7766 Likewise.
57f41c40
AS
7767 * nis/nss_nisplus/nisplus-initgroups.c
7768 (_nss_nisplus_initgroups_dyn): Likewise.
7769 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7770 (_nss_nisplus_getnetbyaddr_r): Likewise.
7771 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7772 (_nss_nisplus_getprotobynumber_r): Likewise.
7773 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7774 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
7775 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7776 Likewise.
57f41c40
AS
7777 * nis/nss_nisplus/nisplus-service.c
7778 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7779 (_nss_nisplus_getservbyport_r): Likewise.
7780 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7781 (_nss_nisplus_getspnam_r): Likewise.
7782 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7783 Likewise.
a1ffb40e
OB
7784 * nscd/aicache.c (addhstaiX): Likewise.
7785 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
7786 * nscd/connections.c (register_traced_file, send_ro_fd)
7787 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7788 (main_loop_epoll): Likewise.
a1ffb40e
OB
7789 * nscd/grpcache.c (addgrbyX): Likewise.
7790 * nscd/hstcache.c (addhstbyX): Likewise.
7791 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7792 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
7793 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7794 (addinnetgrX): Likewise.
7795 * nscd/nscd-client.h (__nscd_acquire_maplock)
7796 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
7797 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7798 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7799 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7800 Likewise.
7801 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7802 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
7803 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7804 (__nscd_get_map_ref): Likewise.
a1ffb40e 7805 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
7806 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7807 Likewise.
a1ffb40e
OB
7808 * nscd/pwdcache.c (addpwbyX): Likewise.
7809 * nscd/selinux.c (preserve_capabilities): Likewise.
7810 * nscd/servicescache.c (addservbyX): Likewise.
7811 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7812 * posix/fnmatch.c (fnmatch): Likewise.
7813 * posix/getopt.c (_getopt_internal_r): Likewise.
7814 * posix/glob.c (glob, glob_in_dir): Likewise.
7815 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
7816 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7817 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
7818 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7819 * resolv/res_init.c: Likewise.
7820 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7821 * resolv/res_query.c (__libc_res_nquery): Likewise.
7822 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7823 Likewise.
7824 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7825 * stdio-common/perror.c (perror): Likewise.
7826 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7827 * stdio-common/tmpnam.c (tmpnam): Likewise.
7828 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7829 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
7830 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7831 Likewise.
a1ffb40e
OB
7832 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7833 * stdlib/putenv.c (putenv): Likewise.
7834 * stdlib/setenv.c (__add_to_environ): Likewise.
7835 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7836 * stdlib/strtol_l.c (INTERNAL): Likewise.
7837 * string/memmem.c (memmem): Likewise.
7838 * string/strerror.c (strerror): Likewise.
7839 * string/strnlen.c (__strnlen): Likewise.
7840 * string/test-memmem.c (simple_memmem): Likewise.
7841 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7842 * sunrpc/pm_getport.c (__get_socket): Likewise.
7843 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7844 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
7845 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7846 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
7847 Likewise.
7848 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7849 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7850 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7851 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7852 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
7853 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7854 Likewise.
7855 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7856 Likewise.
a1ffb40e
OB
7857 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7858 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7859 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7860 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7861 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7862 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7863 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7864 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7865 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7866 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7867 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7868 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7869 Likewise.
7870 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7871 Likewise.
7872 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7873 Likewise.
7874 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7875 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7876 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7877 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7878 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7879 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7880 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7881 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7882 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7883 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7884 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7885 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7886 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7887 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7888 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
7889 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7890 Likewise.
a1ffb40e
OB
7891 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7892 Likewise.
7893 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7894 Likewise.
7895 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7896 Likewise.
7897 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7898 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7899 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7900 Likewise.
7901 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7902 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7903 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7904 * sysdeps/posix/sleep.c: Likewise.
7905 * sysdeps/posix/tempname.c: Likewise.
7906 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7907 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7908 Likewise.
57f41c40
AS
7909 * sysdeps/powerpc/powerpc32/dl-machine.h
7910 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
7911 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7912 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7913 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7914 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7915 Likewise.
7916 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7917 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7918 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7919 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7920 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7921 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7922 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7923 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7924 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7925 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7926 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7927 (elf_machine_lazy_rel): Likewise.
a1ffb40e 7928 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7929 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7930 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7931 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7932 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7933 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7934 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7935 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7936 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7937 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7938 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7939 Likewise.
7940 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7941 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7942 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7943 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7944 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7945 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7946 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7947 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7948 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7949 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7950 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7951 Likewise.
7952 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7953 (__posix_fallocate64_l64): Likewise.
7954 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7955 (posix_fallocate): Likewise.
57f41c40
AS
7956 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7957 Likewise.
a1ffb40e 7958 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
7959 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7960 (getifaddrs_internal): Likewise.
a1ffb40e
OB
7961 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7962 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7963 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7964 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7965 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7966 (__posix_fallocate64_l64): Likewise.
7967 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7968 Likewise.
7969 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
7970 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7971 (__get_clockfreq): Likewise.
a1ffb40e
OB
7972 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7973 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7974 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7975 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7976 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7977 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7978 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7979 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7980 Likewise.
7981 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7982 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7983 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7984 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7985 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7986 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7987 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7988 Likewise.
7989 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7990 (posix_fallocate): Likewise.
7991 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7992 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7993 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7994 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7995 (elf_machine_rela, elf_machine_rela_relative)
7996 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7997 * time/asctime.c (asctime_internal): Likewise.
7998 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7999 * time/tzset.c (__tzset_parse_tz): Likewise.
8000 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8001 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8002 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8003 * wcsmbs/wcsmbsload.h: Likewise.
8004
f3d338c9
OB
8005 [BZ #15894]
8006 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8007
57f41c40
AS
8008 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8009 (arena_get2): Remove THREAD_STATS conditionals.
8010 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8011 (__malloc_stats, int): Likewise.
bdfe308a 8012
d674667c
MF
80132014-02-08 Mike Frysinger <vapier@gentoo.org>
8014
8015 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8016 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8017
6349768c
MF
8018 * manual/setjmp.texi: Fix typos/grammar errors.
8019
0b7c7473
MF
8020 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8021 Only return early when n is <= 0. Delete unused return statement.
8022
ac8cc9e3
MF
8023 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8024 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8025 * debug/tst-longjmp_chk3.c: New file.
8026
c5bb8e23
MF
8027 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8028 (test_main): Replace code with set_fortify_handler call.
8029 * debug/test-strcpy_chk.c: Likewise.
8030 * debug/tst-chk1.c: Likewise.
8031 * debug/tst-longjmp_chk.c: Likewise.
8032 * test-skeleton.c: Include fcntl.h & paths.h
8033 (set_fortify_handler): Define.
8034
10444e42
MF
8035 * debug/tst-longjmp_chk.c: Add header comment and include
8036 ../test-skeleton.c.
8037 (do_test): Mark static.
8038 (TEST_FUNCTION): Define.
8039
1e805e8d
MF
8040 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8041 (IP_PMTUDISC_INTERFACE): Likewise.
8042 (IP_MULTICAST_IF): Likewise.
8043 (IP_MULTICAST_TTL): Likewise.
8044 (IP_MULTICAST_LOOP): Likewise.
8045 (IP_ADD_MEMBERSHIP): Likewise.
8046 (IP_DROP_MEMBERSHIP): Likewise.
8047 (IP_UNBLOCK_SOURCE): Likewise.
8048 (IP_BLOCK_SOURCE): Likewise.
8049 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8050 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8051 (IP_MSFILTER): Likewise.
8052 (MCAST_JOIN_GROUP): Likewise.
8053 (MCAST_BLOCK_SOURCE): Likewise.
8054 (MCAST_UNBLOCK_SOURCE): Likewise.
8055 (MCAST_LEAVE_GROUP): Likewise.
8056 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8057 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8058 (MCAST_MSFILTER): Likewise.
8059 (IP_MULTICAST_ALL): Likewise.
8060 (IP_UNICAST_IF): Likewise.
8061
73f79bb7
MF
8062 * timezone/Makefile: Delete $(have-ksh) check.
8063 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8064 * timezone/tzselect.ksh: Add +x mode bits.
8065
8da79b60
MF
8066 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8067 (ANON_INODE_FS_MAGIC): Likewise.
8068 (BDEVFS_MAGIC): Likewise.
8069 (BINFMTFS_MAGIC): Likewise.
8070 (BTRFS_TEST_MAGIC): Likewise.
8071 (CRAMFS_MAGIC_WEND): Likewise.
8072 (DEBUGFS_MAGIC): Likewise.
8073 (ECRYPTFS_SUPER_MAGIC): Likewise.
8074 (EXT3_SUPER_MAGIC): Likewise.
8075 (EXT4_SUPER_MAGIC): Likewise.
8076 (FUTEXFS_SUPER_MAGIC): Likewise.
8077 (HOSTFS_SUPER_MAGIC): Likewise.
8078 (HUGETLBFS_MAGIC): Likewise.
8079 (MINIX3_SUPER_MAGIC): Likewise.
8080 (MTD_INODE_FS_MAGIC): Likewise.
8081 (NILFS_SUPER_MAGIC): Likewise.
8082 (OPENPROM_SUPER_MAGIC): Likewise.
8083 (PIPEFS_MAGIC): Likewise.
8084 (PSTOREFS_MAGIC): Likewise.
8085 (QNX6_SUPER_MAGIC): Likewise.
8086 (RAMFS_MAGIC): Likewise.
8087 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8088 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8089 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8090 (SECURITYFS_MAGIC): Likewise.
8091 (SELINUX_MAGIC): Likewise.
8092 (SMACK_MAGIC): Likewise.
8093 (SOCKFS_MAGIC): Likewise.
8094 (SQUASHFS_MAGIC): Likewise.
8095 (STACK_END_MAGIC): Likewise.
8096 (TMPFS_MAGIC): Likewise.
8097 (USBDEVICE_SUPER_MAGIC): Likewise.
8098 (V9FS_MAGIC): Likewise.
8099 (XENFS_SUPER_MAGIC): Likewise.
8100 (CRAMFS_MAGIC): Fix typo in comment.
8101 (EXT2_SUPER_MAGIC): Update comment.
8102 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8103
464263cc
JM
81042014-02-08 Joseph Myers <joseph@codesourcery.com>
8105
c6bfe5c4
JM
8106 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8107 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8108 * sysdeps/unix/sysv/linux/arm: Move directory from
8109 ports/sysdeps/unix/sysv/linux/arm.
8110 * README: Update listing for arm-*-linux-gnueabi.
8111
464263cc
JM
8112 * README: Remove mention of am33.
8113
32749f6c
RM
81142014-02-07 Roland McGrath <roland@hack.frob.com>
8115
8116 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8117 than the comma operator, to avoid "rhs of comma has no effect"
8118 compiler warnings.
8119 (__sigfillset, __sigandset, __sigorset): Likewise.
8120 * include/signal.h (__sigemptyset): Likewise.
8121 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8122
d5b396c1
AM
81232014-02-07 Allan McRae <allan@archlinux.org>
8124
8125 * version.h (RELEASE): Set to "development".
8126 (VERSION): Set to "2.19.90"
8127 * NEWS: Add 2.20 section.
8128
3bfff2ed
CD
81292014-02-06 Carlos O'Donell <carlos@redhat.com>
8130
8131 [BZ #16529]
8132 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8133
ee7cc385
SP
81342014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8135
8136 * manual/contrib.texi: Update entry for Carlos O'Donell,
8137 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8138
f877c4f2
CD
81392014-02-05 Carlos O'Donell <carlos@rehdat.com>
8140
27e839f6
CD
8141 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8142
f877c4f2
CD
8143 * sysdeps/unix/sysv/linux/kernel-features.h
8144 [__LINUX_KERNEL_VERSION >= 0x020621]
8145 (__ASSUME_PROC_PID_TASK_COMM): Define.
8146
68159946
SP
81472014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8148
ba17cdbd
SP
8149 [BZ #16398]
8150 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8151 conversion when destination buffer does not have enough space.
8152 * libio/tst-ftell-partial-wide.c: New test case.
8153 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8154
68159946
SP
8155 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8156 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8157 Leonard and Allan McRae.
8158
2b528732
DM
81592014-02-04 David S. Miller <davem@davemloft.net>
8160
8161 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8162 32-bit.
8163
0ff82463
AZ
81642014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8165
57f41c40
AS
8166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8167 New file
c01603f7
AZ
8168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8169 New file
57f41c40
AS
8170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8171 New file.
8172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8173 New file.
c01603f7
AZ
8174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8175 New file.
57f41c40
AS
8176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8177 New file.
8178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8179 New file.
c01603f7
AZ
8180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8181 New file.
8182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8183 New file.
8184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8185 New file.
8186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8187 New file.
8188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8189 New file.
8190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8191 New file.
8192
81932014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8194
0ff82463
AZ
8195 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8196 * shlib-versions: Likewise.
8197
1695c773
AZ
81982014-02-04 Roland McGrath <roland@hack.frob.com>
8199 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8200
8201 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8202 (abilist-pattern): New variable, set to %-le.abilist.
8203
8204 * Makerules (abilist-pattern): New variable.
8205 (vpath): Use $(abilist-pattern) in place of %.abilist.
8206 (check-abi-% pattern rule): Likewise.
8207 (check-abi, update-abi): Likewise.
8208
6c0ce4b4
EW
82092014-02-04 Eric Wong <normalperson@yhbt.net>
8210
8211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8212
481e3524
CD
82132014-02-03 Carlos O'Donell <carlos@redhat.com>
8214
8215 * manual/startup.texi: Add next, previous, and top entries for
8216 the `Program Arguments' and `Environment Variables' nodes.
8217
375592d3
AO
82182014-02-03 Alexandre Oliva <aoliva@redhat.com>
8219
8220 * manual/macros.texi: Add comments before MTASC-safety macros.
8221
f54838ba
AO
8222 * manual/users.texi: Document MTASC-safety properties.
8223
57f41c40
AS
8224 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8225 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
8226 @deftypefun, and add @safety note.
8227 * manual/signal.texi: Move comments that analyze the above
8228 functions to their home place.
8229
fd3daba4
AM
82302014-02-03 Allan McRae <allan@archlinux.org>
8231
8232 * po/sl.po: Update Slovenian translation from translation project.
8233
597636d7
AO
82342014-02-02 Alexandre Oliva <aoliva@redhat.com>
8235
8236 * manual/time.texi (timegm): Add missing blank after @c.
8237 Reported by Joseph Myers <joseph@codesourcery.com>.
8238
ee196e3c
AO
82392014-02-01 Alexandre Oliva <aoliva@redhat.com>
8240
8241 * manual/check-safety.sh: New.
8242 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8243
f8d529d5
AO
8244 * manual/terminal.texi: Document MTASC-safety properties.
8245
de55fdf4
AO
8246 * manual/filesys.texi: Document MTASC-safety properties.
8247
c3299c08
AO
8248 * manual/errno.texi: Document MTASC-safety properties.
8249
06e90b14
AO
8250 * manual/intro.texi: Document safety identifiers and
8251 conditionals.
8252
1acd4371
AO
8253 * manual/string.texi (wcstok): Fix prototype.
8254 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8255
23e5b8cb
AO
8256 * manual/time.texi: Document MTASC-safety properties.
8257
11087373
AO
8258 * manual/string.texi: Document MTASC-safety properties.
8259
5da2c93d
AO
8260 * manual/threads.texi: Document MTASC-safety properties.
8261
171e9210
AO
8262 * manual/stdio.texi: Document MTASC-safety properties.
8263
d9e02532
AO
8264 * manual/syslog.texi: Document MTASC-safety properties.
8265
6af8bab7
AO
8266 * manual/sysinfo.texi: Document MTASC-safety properties.
8267
663b02d7
AO
8268 * manual/startup.texi: Document MTASC-safety properties.
8269
973f180b
AO
8270 * manual/socket.texi: Document MTASC-safety properties.
8271
8f3c25c8
AO
8272 * manual/signal.texi: Document MTASC-safety properties.
8273
542210fb
AO
82742014-01-31 Alexandre Oliva <aoliva@redhat.com>
8275
8276 * manual/setjmp.texi: Document MTASC-safety properties.
8277
433c45a2
AO
8278 * manual/search.texi: Document MTASC-safety properties.
8279
c8ce789c
AO
8280 * manual/resource.texi: Document MTASC-safety properties.
8281
19f5d29c
AO
8282 * manual/process.texi: Document MTASC-safety properties.
8283
e2dfb7f4
AO
8284 * manual/platform.texi: Document MTASC-safety properties.
8285
8c1413f5
AO
8286 * manual/pipe.texi: Document MTASC-safety properties.
8287
03483ada
AO
8288 * manual/pattern.texi: Document MTASC-safety properties.
8289
29e7e2df
AO
8290 * manual/message.texi: Document MTASC-safety properties.
8291
9f529d7c
AO
8292 [BZ #12751]
8293 * manual/memory.texi: Document MTASC-safety properties.
8294
27aaa791
AO
8295 * manual/math.texi: Document MTASC-safety properties.
8296
f2d58726
AO
8297 * manual/locale.texi: Document MTASC-safety properties.
8298
2cc3615c
AO
8299 * manual/llio.texi: Document MTASC-safety properties.
8300
d9f0ec97
AO
8301 * manual/libdl.texi: New.
8302
e7c4409a
AO
8303 * manual/lang.texi: Document MTASC-safety properties.
8304
27bdc63c
AO
8305 * manual/job.texi: Document MTASC-safety properties.
8306
a7b90ea9
AO
8307 * manual/getopt.texi: Document MTASC-safety properties.
8308
c49130e3
AO
8309 * manual/ctype.texi: Document MTASC-safety properties.
8310
0d23a5c1
MR
83112014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8312
8313 [BZ #16046]
8314 * csu/libc-tls.c (static_map): Remove variable.
8315 (__libc_setup_tls): Use main executable's link map for TLS data.
8316 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8317 casing for LM_ID_BASE and GL(dl_nns).
8318 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8319 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8320 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8321 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8322 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8323 member.
8324 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8325 l_phnum members.
8326
0037bb60
AO
83272014-01-30 Alexandre Oliva <aoliva@redhat.com>
8328
8329 * manual/debug.texi: Document MTASC-safety properties.
8330
409e00bd
L
83312014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8332
8333 [BZ #16510]
8334 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8335 of __x86_64__ when disabling x87 inline functions.
8336
86e60666
AO
83372014-01-29 Alexandre Oliva <aoliva@redhat.com>
8338
8339 * manual/charset.texi: Document MTASC-safety properties.
8340
76167637
AO
8341 * manual/crypt.texi: Document MTASC-safety properties.
8342
e567f2a0
AO
8343 * manual/conf.texi: Document MTASC-safety properties.
8344
b719dafd
AO
8345 * manual/arith.texi: Document MTASC-safety properties.
8346
4a16c662
AO
8347 * manual/argp.texi: Document MTASC-safety properties.
8348
0a57b83e
AO
8349 * manual/macros.texi: Introduce macros to document multi
8350 thread, asynchronous signal and asynchronous cancellation
8351 safety properties.
8352 * manual/intro.texi: Introduce the properties themselves.
8353
feab2397
KK
83542014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8355
8356 * sysdeps/sh/sh4/Makefile: New file.
8357
1c0d11bc
AS
83582014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8359
8360 * math/gen-libm-test.pl ($srcdir): New variable.
8361 ($auto_input): Use it.
8362
af37a8a3
SP
83632014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8364
d7b00f98
SP
8365 [BZ #16506]
8366 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8367 access beyond array bounds when parsing netgroups file.
8368
af37a8a3
SP
8369 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8370 the old buffer before realloc.
8371
0c00f062
AM
83722014-01-27 Allan McRae <allan@archlinux.org>
8373
8374 * po/fr.po: Update French translation from translation project.
8375
7d69a1b0
KK
83762014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8377
8378 * sysdeps/sh/libm-test-ulps: Regenerate.
8379
6e697ff7
DM
83802014-01-24 David S. Miller <davem@davemloft.net>
8381
8382 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8383
9cadb35c
KK
83842014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8385
8386 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8387 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8388
5d41dadf
SP
83892013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8390
8391 [BZ #16474]
8392 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8393 string pointers after reallocation.
8394
0bad441c
KK
83952014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8396
8397 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8398 __SH4A__ instead of __SH_FPU_ANY__.
8399
7007c661
KK
84002014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8401
8402 * sysdeps/sh/fpu_control.h: New file.
8403 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8404 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8405 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8406 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8407 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8408 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8409 * sysdeps/sh/sys/ucontext.h: Remove.
8410 * sysdeps/sh/sys: Remove directory.
8411
0f0c35e4
AK
84122014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8413
8414 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8415 s390/sys/ucontext.h.
8416 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8417 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8418
4959e284
L
84192014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8420
8421 [BZ #15605]
8422 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8423
d98720e0
AZ
84242014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8425
8426 [BZ#16431]
8427 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8428 Adjust the vDSO correctly for internal calls.
8429 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8430
91cbd0bc
AM
84312014-01-20 Allan McRae <allan@archlinux.org>
8432
8433 * po/ca.po: Update Catalan translation from translation project.
8434
7a02cfad
MF
84352014-01-16 Mike Frysinger <vapier@gentoo.org>
8436
8437 * sysdeps/s390/sotruss-lib.c: New file.
8438
736c304a
AZ
84392014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8440
8441 [BZ#16430]
6e077ee5 8442 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
8443 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8444 local calls issues by not having a PLT stub required for IFUNC calls.
8445 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8446
94d0cea0
JM
84472014-01-16 Joseph Myers <joseph@codesourcery.com>
8448
8449 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8450 * math/test-fpucw-static.c: Likewise.
8451
980cb518
SP
84522013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8453
8454 [BZ #16453]
8455 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8456
2393fc01
AZ
84572014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8458
8459 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8460 implementation for powerpc.
8461
d359bcc2
OB
84622014-01-15 Ondřej Bílka <neleai@seznam.cz>
8463
8464 [BZ #14782]
8465 * sysdeps/posix/system.c (__libc_system): Do not enable
8466 asynchronous cancellation.
8467
7beb48cb
AK
84682014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8469
8470 [BZ #16427]
8471 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8472 handling only for numbers special also in the IEEE case.
8473
c20d5bf5
AK
84742014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8475
8476 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8477
e83bd4ee
AM
84782014-01-11 Allan McRae <allan@archlinux.org>
8479
76d0ea69
AM
8480 * po/bg.po: Update Bulgarian translation from translation project.
8481
e83bd4ee
AM
8482 * po/de.po: Update German translation from translation project.
8483
bc2ba20a
RM
84842014-01-10 Roland McGrath <roland@hack.frob.com>
8485
8486 * sysdeps/generic/gcc-compat.h: New file.
8487
649ecea2
SP
84882014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8489
8490 * benchtests/asin-inputs: Correct slow inputs.
8491 * benchtests/acos-inputs: Likewise.
8492
1b19c006
AM
84932014-01-10 Allan McRae <allan@archlinux.org>
8494
a46dab08
AM
8495 * po:sv.po: Update Swedish translation from translation project.
8496
421df74a
AM
8497 * po/vi.po: Update Vietnamese translation from translation project.
8498
d61c51a7
AM
8499 * po/eo.po: Update Esperanto translation from translation project.
8500
0339a319
AM
8501 * po/cs.po: Update Czech translation from translation project.
8502
94ad3e99
AM
8503 * po/nl.po: Update Dutch translation from translation project.
8504
e349ca71
AM
8505 * po/pl.po: Update Polish translation from translation project.
8506
ddf930c1
AM
8507 * po/ru.po: Update Russian translation from translation project.
8508
1b19c006
AM
8509 * po/uk.po: Update Ukrainian translation from translation project.
8510
9f236c49
BM
85112014-01-08 Brooks Moses <bmoses@google.com>
8512
8513 * elf/dl-load.c: Fix comment typo.
8514
cd6701cf
CD
85152014-01-08 Carlos O'Donell <carlos@redhat.com>
8516
8517 * po/header.pot: Rename to...
8518 * po/pot.header: ... this.
8519 * po/Makefile: Use pot.header.
8520
66671c84
YK
85212014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8522 Maxim Kuvyrkov <maxim@kugelworks.com>
8523
8524 [BZ #16394]
cd6701cf
CD
8525 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8526 SRC and DEST against LEN.
66671c84 8527
38f34581
AZ
85282014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8529
8530 [BZ #16414]
8531 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8532 implementation.
8533 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8534
85352014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
8536
8537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8538
4c327f2a
JM
85392014-01-08 Joseph Myers <joseph@codesourcery.com>
8540
8541 [BZ #16408]
8542 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8543 for large positive arguments.
8544
b821f414
JM
85452014-01-07 Joseph Myers <joseph@codesourcery.com>
8546
1f0f2067
JM
8547 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8548
a5a326f6
JM
8549 * math/auto-libm-test-in: Mark various tests with
8550 xfail-rounding:ldbl-128ibm.
8551 * math/auto-libm-test-out: Regenerated.
8552
b821f414
JM
8553 [BZ #16407]
8554 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8555 Increase overflow threshold.
8556
94c8a4bc
OB
85572014-01-07 Ondřej Bílka <neleai@seznam.cz>
8558
8559 [BZ #14286]
8560 * stdio-common/vfprintf.c: Check for integer overflow.
8561
87ded0c3
AK
85622014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8563
8564 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8565 the first argument and return value of __tls_get_addr_internal.
8566
c5eebdd0
AK
85672014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8568
8569 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8570 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8571
05d138ef
AK
85722014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8573
8574 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8575 * sysdeps/s390/rtld-global-offsets.sym: New file.
8576 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8577 GLIBC_2.19 symbol.
8578 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8579 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8580 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8581 ... this.
8582 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8583 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8584 ... this.
8585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8586 Regenerate.
8587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8588 Regenerate.
8589 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8590 halfs of GPRs for high_gprs contexts.
8591 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8592 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8593 field.
8594 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8595 uc_flags field.
8596 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8597 64 bit versions:
8598 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8599 for high GPRs (uc_high_gprs) and for future extensions
8600 (__reserved).
8601 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8602 for future extensions (__reserved).
8603 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8604 64 bit versions:
8605 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8606 SC_HIGHGPRS offset definition.
8607 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8608 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8609
93a45ff1
AK
8610 * Versions.def: Add GLIBC_2.19 for libpthread.
8611 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8612 siglongjmp for libpthread with GLIBC_2.19 symver.
8613 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8614 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8615 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8616 * sysdeps/s390/__longjmp.c: New file.
8617 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8618 * sysdeps/s390/longjmp.c: New file.
8619 * sysdeps/s390/setjmp.S: New file.
8620 * sysdeps/s390/sigjmp.S: New file.
8621 * sysdeps/s390/v1-longjmp.c: New file.
8622 * sysdeps/s390/v1-setjmp.h: New file.
8623 * sysdeps/s390/v1-sigjmp.c: New file.
8624 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8625 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8626 GLIBC_2.19 version.
8627 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8628 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8629 versioned symbols for ____longjmp_chk.
8630 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8631 Likewise.
8632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8633 Regenerate.
8634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8635 Regenerate.
8636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8637 Regenerate.
8638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8639 Regenerate.
8640 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8641 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8642 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8643 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8644 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8645 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8646 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8647 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8648 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8649 * sysdeps/s390/rtld-__longjmp.c: New file.
8650 * sysdeps/s390/rtld-setjmp.S: New file.
8651
eb3fc44b
JM
86522014-01-06 Joseph Myers <joseph@codesourcery.com>
8653
8654 [BZ #16400]
8655 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8656 Return -__logl (x) for small positive arguments without evaluating
8657 a polynomial.
8658
9341dde4
MF
86592014-01-06 Mike Frysinger <vapier@gentoo.org>
8660
8661 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8662 Rename to ...
8663 (__ptrace_peeksiginfo_args): ... this.
8664 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8665 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8666 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8667
4cff0293
AM
86682014-01-06 Allan McRae <allan@archlinux.org>
8669
8670 * inet/netinet/in.h: Fix typo in comment.
8671
75595dcf
AJ
86722014-01-05 Andreas Jaeger <aj@suse.de>
8673
8674 * sysdeps/i386/fpu/libm-test-ulps: Update.
8675
79c1e109
AM
86762014-01-05 Allan McRae <allan@archlinux.org>
8677
dd804818
AM
8678 * po/libc.pot: Regenerated.
8679
79c1e109
AM
8680 * malloc/memusagestat.c: Fix gettext call formatting.
8681
0c813d1f
SK
86822014-01-04 Sami Kerola <kerolasa@iki.fi>
8683
8684 * nscd/nscd.c: Improve usage() output.
8685
20f4a8d9
MF
86862014-01-04 Mike Frysinger <vapier@gentoo.org>
8687
8688 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8689 * sysdeps/unix/sysv/linux/configure: Regenerated.
8690 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8691 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8692
22562bb2
JM
86932014-01-03 Joseph Myers <joseph@codesourcery.com>
8694
8695 [BZ #16390]
8696 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8697 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8698
d7ad2d9b
AZ
86992014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8700
8701 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8702 extra tokens at end of #undef directive.
8703 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8704 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8705 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8706
7dd009d8
JM
87072014-01-03 Joseph Myers <joseph@codesourcery.com>
8708
24db925a
JM
8709 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8710
7dd009d8
JM
8711 * math/auto-libm-test-in: Mark various tests with
8712 xfail-rounding:ldbl-128ibm.
8713 * math/auto-libm-test-out: Regenerated.
8714
396e3ecf
JM
87152014-01-02 Joseph Myers <joseph@codesourcery.com>
8716
819e5d50
JM
8717 [BZ #16386]
8718 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8719 numbers with subnormal high part when calculating exponent.
8720
90b6a1e5
JM
8721 [BZ #16385]
8722 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8723 fabs.
8724
396e3ecf
JM
8725 [BZ #16384]
8726 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8727 M_LN2l.
8728 (__ieee754_acoshl): Use __log1pl not __log1p.
8729
6c8dbf00
OB
87302013-01-02 Ondřej Bílka <neleai@seznam.cz>
8731
57f41c40
AS
8732 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8733 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8734 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8735 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8736 (reused_arena, arena_get2): Convert to GNU style.
8737 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8738 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8739 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 8740 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
8741 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8742 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8743 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8744 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8745 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8746 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 8747 * malloc/malloc.h: Likewise.
57f41c40
AS
8748 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8749 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 8750 * malloc/mcheck.h: Likewise.
57f41c40
AS
8751 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8752 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
8753 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8754 * malloc/morecore.c (__default_morecore): Likewise.
8755 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
8756 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8757 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8758 (print_and_abort): Likewise.
6c8dbf00
OB
8759 * malloc/obstack.h: Likewise.
8760 * malloc/set-freeres.c (__libc_freeres): Likewise.
8761 * malloc/tst-mallocstate.c (main): Likewise.
8762 * malloc/tst-mtrace.c (main): Likewise.
8763 * malloc/tst-realloc.c (do_test): Likewise.
8764
d4124212
SP
87652013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8766
9a3c6a6f
SP
8767 [BZ #16366]
8768 * nscd/netgroupcache.c (do_notfound): New function.
8769 (addgetnetgrentX): Use it.
8770
d4124212
SP
8771 [BZ # 16365]
8772 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8773 NSS_STATUS_NOTFOUND.
8774
97b9a009
JM
87752014-01-01 Joseph Myers <joseph@codesourcery.com>
8776
8777 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8779
d4697bc9
AM
87802014-01-01 Allan McRae <allan@archlinux.org>
8781
ddb3687f
AM
8782 * scripts/update-copyrights: Update configure input file suffix.
8783
88726d48
AM
8784 * NEWS: Update copyright year.
8785 * catgets/gencat.c: Likewise.
8786 * csu/version.c: Likewise.
8787 * debug/catchsegv.sh: Likewise.
8788 * debug/pcprofiledump.c: Likewise.
8789 * debug/xtrace.sh: Likewise.
8790 * elf/ldconfig.c: Likewise.
8791 * elf/ldd.bash.in: Likewise.
8792 * elf/pldd.c: Likewise.
8793 * elf/sotruss.ksh: Likewise.
8794 * elf/sprof.c: Likewise.
8795 * iconv/iconv_prog.c: Likewise.
8796 * iconv/iconvconfig.c: Likewise.
8797 * locale/programs/locale.c: Likewise.
8798 * locale/programs/localedef.c: Likewise.
8799 * login/programs/pt_chown.c: Likewise.
8800 * malloc/memusage.sh: Likewise.
8801 * malloc/memusagestat.c: Likewise.
8802 * malloc/mtrace.pl: Likewise.
8803 * manual/libc.texinfo: Likewise.
8804 * nscd/nscd.c: Likewise.
8805 * nss/getent.c: Likewise.
8806 * nss/makedb.c: Likewise.
8807 * posix/getconf.c: Likewise.
8808 * scripts/test-installation.pl: Likewise.
8809
d4697bc9
AM
8810 * All files with FSF copyright notices: Update copyright dates
8811 using scripts/update-copyrights.
8812 * intl/plural.c: Regenerated.
8813 * locale/programs/charmap-kw.h: Likewise.
8814 * locale/programs/locfile-kw.h: Likewise.
8815
c8590f9d
MF
88162013-12-31 Mike Frysinger <vapier@gentoo.org>
8817
8818 * sysdeps/unix/sysv/linux/configure: Regenerated.
8819 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8820 the linux/fanotify.h header.
8821 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8822 HAVE_LINUX_FANOTIFY_H is defined.
8823
b19221b9
SP
88242013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8825
dd1d85e5
SP
8826 * benchtests/cos-inputs: New inputs.
8827 * benchtests/sin-inputs: Likewise.
8828
1acbb90f
SP
8829 * benchtests/atan-inputs: New inputs. Fix name of multiple
8830 precision fallback inputs.
8831
4c012ed3
SP
8832 * benchtests/atanh-inputs: New inputs.
8833 * benchtests/tanh-inputs: Likewise.
8834
eff98324
SP
8835 * benchtests/acosh-inputs: New inputs.
8836 * benchtests/asinh-inputs: Likewise.
8837
ce641152
SP
8838 * benchtests/cosh-inputs: New inputs.
8839 * benchtests/sinh-inputs: Likewise.
8840
b19221b9
SP
8841 * benchtests/acos-inputs: Add more inputs.
8842 * benchtests/asin-inputs: Likewise.
8843
030a4976 88442013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 8845
030a4976 8846 [BZ #16375]
9dcc8f11
VS
8847 * manual/arith.texi: Fix spelling.
8848 * manual/charset.texi: Likewise.
8849 * manual/errno.texi: Likewise.
8850 * manual/filesys.texi: Likewise.
8851 * manual/lang.texi: Likewise.
8852 * manual/llio.texi: Likewise.
8853 * manual/locale.texi: Likewise.
8854 * manual/message.texi: Likewise.
8855 * manual/resource.texi: Likewise.
8856 * manual/search.texi: Likewise.
8857 * manual/setjmp.texi: Likewise.
8858 * manual/stdio.texi: Likewise.
8859 * manual/string.texi: Likewise.
8860 * manual/sysinfo.texi: Likewise.
8861 * manual/time.texi: Likewise.
8862
11520a57
CD
88632013-12-27 Carlos O'Donell <carlos@redhat.com>
8864
8865 * po/sl.po: New file.
8866
471103ae
MF
88672013-12-27 Mike Frysinger <vapier@gentoo.org>
8868
8869 * .gitignore: Add core/.gdbinit/.gdb_history.
8870
6c9642ed
AM
88712013-12-27 Allan McRae <allan@archlinux.org>
8872
8873 [BZ #16369]
8874 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8875 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8876
3f637079
BM
88772013-12-24 Brooks Moses <bmoses@google.com>
8878
8879 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8880 all compilers that claim C++98 compliance, not just GCC.
8881 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8882 Likewise.
8883
abc26e99
MK
88842013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8885
8886 * NEWS: Restore accidentally deleted bug-fix entries.
8887
362b47fe
MK
88882013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8889 Ondřej Bílka <neleai@seznam.cz>
8890
8891 [BZ #15073]
8892 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 8893 have_lock.
362b47fe 8894
b9bcbbcb
OB
88952013-12-23 Ondřej Bílka <neleai@seznam.cz>
8896
8897 [BZ #12986]
8898 * manual/stdio.texi (String Input Conversions): Clarify that character
8899 classes are not supported.
8900
fb55fcd2
AZ
89012013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8902
8903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8904
ef7344f0
JM
89052013-12-22 Joseph Myers <joseph@codesourcery.com>
8906
4f40e4b3
JM
8907 [BZ #16337]
8908 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8909 Calculate results for small negative arguments directly rather
8910 than using reflection formula with special underflow handling.
8911
ef7344f0
JM
8912 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8913 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8914 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8915 (fchflags): Likewise.
8916 (revoke): Likewise.
8917 (setlogin): Likewise.
8918 (sigaltstack): Likewise.
8919 (wait4): Likewise.
8920 (sigblock): Remove.
8921 (sigsetmask): Likewise.
8922 (wait3): Likewise.
8923 (waitpid): Likewise.
8924 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8925 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8926 file.
8927 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8928 * sysdeps/unix/bsd/Makefile: ... here.
8929 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8930 * sysdeps/unix/bsd/Versions: ... here.
8931 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8932 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8933 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8934 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8935 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8936 * sysdeps/unix/bsd/sigblock.c: ... here.
8937 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8938 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8939 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8940 * sysdeps/unix/bsd/sigvec.c: ... here.
8941 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8942 * sysdeps/unix/bsd/tcdrain.c: ... here.
8943 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8944 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8945 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8946 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8947 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8948 * sysdeps/unix/bsd/wait.c: ... here.
8949 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8950 * sysdeps/unix/bsd/wait3.c: ... here.
8951 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8952 * sysdeps/unix/bsd/waitpid.c: ... here.
8953
5b0626b9
JM
89542013-12-21 Joseph Myers <joseph@codesourcery.com>
8955
8956 [BZ #16356]
8957 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8958 round-to-nearest for [!USE_AS_EXPM1L].
8959 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8960 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8961 more tests of exp and exp10. Expect some exp10 tests to miss
8962 exceptions or fail in directed rounding modes.
8963 * math/auto-libm-test-out: Regenerated.
8964 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8965 (exp10_test_tonearest): New function.
8966 (exp10_towardzero_test_data): New array.
8967 (exp10_test_towardzero): New function.
8968 (exp10_downward_test_data): New array.
8969 (exp10_test_downward): New function.
8970 (exp10_upward_test_data): New array.
8971 (exp10_test_upward): New function.
8972 (main): Call the new functions.
8973 * sysdeps/i386/fpu/libm-test-ulps: Update.
8974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8975
7fda5682
JM
89762013-12-20 Joseph Myers <joseph@codesourcery.com>
8977
31e3a405
JM
8978 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8979 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8980 * math/auto-libm-test-out: Regenerated.
8981 * math/libm-test.inc (acosh_test_data): Add more tests.
8982 (atanh_test_data): Likewise.
8983 (ceil_test_data): Likewise.
8984 (copysign_test_data): Likewise.
8985 * sysdeps/i386/fpu/libm-test-ulps: Update.
8986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8987
85bff96a
JM
8988 * timezone/checktab.awk: Update from tzcode 2013i.
8989 * timezone/private.h: Likewise.
8990 * timezone/scheck.c: Likewise.
8991 * timezone/tzfile.h: Likewise.
8992 * timezone/tzselect.ksh: Likewise.
8993 * timezone/zdump.c: Likewise.
8994 * timezone/zic.c: Likewise.
8995
b7867a3b
JM
8996 * math/auto-libm-test-in: Add tests of cpow.
8997 * math/auto-libm-test-out: Regenerated.
8998 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 8999 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
9000 mpc_cc_c.
9001 (func_calc_desc): Add mpc_cc_c union field.
9002 (test_functions): Add cpow.
9003 (special_fill_2pi): New function.
9004 (special_real_inputs): Add 2pi.
9005 (calc_generic_results): Handle mpc_cc_c.
9006 * sysdeps/i386/fpu/libm-test-ulps: Update.
9007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9008
7fda5682
JM
9009 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9010 csqrt, ctan and ctanh.
9011 * math/auto-libm-test-out: Regenerated.
9012 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9013 (TEST_COND_x86): Likewise.
9014 (ccos_test_data): Use AUTO_TESTS_c_c.
9015 (ccosh_test_data): Likewise.
9016 (cexp_test_data): Likewise.
9017 (clog_test_data): Likewise.
9018 (csqrt_test_data): Likewise.
9019 (ctan_test_data): Likewise.
9020 (ctan_tonearest_test_data): Likewise.
9021 (ctan_towardzero_test_data): Likewise.
9022 (ctan_downward_test_data): Likewise.
9023 (ctan_upward_test_data): Likewise.
9024 (ctanh_test_data): Likewise.
9025 (ctanh_tonearest_test_data): Likewise.
9026 (ctanh_towardzero_test_data): Likewise.
9027 (ctanh_downward_test_data): Likewise.
9028 (ctanh_upward_test_data): Likewise.
9029 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9030 mpc_c_c.
9031 (func_calc_desc): Add mpc_c_c union field.
9032 (FUNC_mpc_c_c): New macro.
9033 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9034 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9035 ctanh.
9036 (special_fill_min_subnorm_p120): New function.
9037 (special_real_inputs): Add min_subnorm_p120.
9038 (calc_generic_results): Handle mpc_c_c.
9039 * sysdeps/i386/fpu/libm-test-ulps: Update.
9040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9041
5ff8d60e
SP
90422013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9043
57f41c40
AS
9044 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9045 (do_sin_slow): New functions.
9046 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9047 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 9048
84ba214c
SP
9049 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9050 Use M to change sign of result instead of X. Assume X is
9051 positive.
9052 (csloww1): Likewise.
9053 (__sin): Adjust.
9054 (__cos): Adjust.
9055
975195e4
SP
9056 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9057 arguments A and DA.
9058 (__sin): Adjust.
9059 (__cos): Likewise.
9060
5ff8d60e
SP
9061 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9062 (__cos): Likewise.
9063 (sloww1): Don't adjust sign of DX.
9064 (csloww1): Likewise.
9065 (sloww2): Use X directly and don't adjust sign of DX.
9066 (csloww2): Likewise.
9067
eb983568
JM
90682013-12-19 Joseph Myers <joseph@codesourcery.com>
9069
64a17f1a
JM
9070 * math/auto-libm-test-in: Add tests of cabs and carg.
9071 * math/auto-libm-test-out: Regenerated.
9072 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9073 (carg_test_data): Likewise.
9074 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9075 mpc_c_f.
9076 (func_calc_desc): Add mpc_c_f union field.
9077 (test_functions): Add cabs and carg.
9078 (calc_generic_results): Handle mpc_c_f.
9079
eb983568
JM
9080 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9081 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9082 as a macro and a compat symbol.
9083 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9084 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9085 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9086 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9087 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9088 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9089 not use .hidden.
9090 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9091 Likewise.
9092 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9093 Likewise.
9094 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9095 Likewise.
9096 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9097 Likewise.
9098 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9099 Likewise.
9100 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9101 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9102 from GLIBC_2.3.2.
9103
6eeb678a
AZ
91042013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9105
9106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9107
6f6fc482
JM
91082013-12-19 Joseph Myers <joseph@codesourcery.com>
9109
21fea2e2
JM
9110 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9111 trailing whitespace removed.
9112 * scripts/config.guess: Update to version 2013-11-29.
9113 * scripts/config.sub: Update to version 2013-10-01.
9114
6f6fc482
JM
9115 * math/auto-libm-test-in: Add tests of sincos.
9116 * math/auto-libm-test-out: Regenerated.
9117 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9118 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9119 mpfr_f_11.
9120 (func_calc_desc): Add mpfr_f_11 union field.
9121 (test_functions): Add sincos.
9122 (calc_generic_results): Handle mpfr_f_11.
9123 * sysdeps/i386/fpu/libm-test-ulps: Update.
9124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9125
83f5c32d
AS
91262013-12-19 Andreas Schwab <schwab@suse.de>
9127
9128 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9129 CALL_MCOUNT.
9130 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9131 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9132 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9133
c688b419
JM
91342013-12-19 Joseph Myers <joseph@codesourcery.com>
9135
335ee092
JM
9136 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9137 * sysdeps/i386/fpu/libm-test-ulps: Update.
9138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9139
f88acd39
JM
9140 [BZ #16293]
9141 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9142 round-to-nearest mode when using frndint.
9143 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9144 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9145 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9146 Likewise.
9147 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9148 sinh test to fail.
9149 * math/auto-libm-test-out: Regenerated.
9150 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9151 (TEST_COND_x86): Likewise.
9152 (expm1_tonearest_test_data): New array.
9153 (expm1_test_tonearest): New function.
9154 (expm1_towardzero_test_data): New array.
9155 (expm1_test_towardzero): New function.
9156 (expm1_downward_test_data): New array.
9157 (expm1_test_downward): New function.
9158 (expm1_upward_test_data): New array.
9159 (expm1_test_upward): New function.
9160 (main): Run the new test functions.
9161 * sysdeps/i386/fpu/libm-test-ulps: Update.
9162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9163
c688b419
JM
9164 * include/features.h: Update comment documenting feature test
9165 macros. Mention _DEFAULT_SOURCE in comment.
9166 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9167 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9168 _BSD_SOURCE and _SVID_SOURCE.
9169 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9170 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9171 !_SVID_SOURCE]: Likewise.
9172 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9173 (__USE_POSIX_IMPLICITLY): Define.
9174 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9175 (_POSIX_SOURCE): Undefine and redefine.
9176 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9177 (_POSIX_C_SOURCE): Likewise.
9178 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9179 (Feature Test Macros): Update documentation of default features.
9180
9f6e964c
RS
91812013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9182
9183 * benchtests/Makefile: Add bench-strtok.
9184 * benchtests/bench-strtok.c: New file: strtok benchtest.
9185
ee0a148a
AM
91862013-12-19 Allan McRae <allan@archlinux.org>
9187
9188 * manual/install.texi: Suppress menu for plain text output.
9189 * INSTALL: Regenerated.
9190
b9ab448f
BM
91912013-12-18 Brooks Moses <bmoses@google.com>
9192
9193 [BZ #15846]
9194 * misc/getauxval.c: Include errno.h.
9195 (__getauxval): Set errno to ENOENT if the requested type is not
9196 found.
9197 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9198 don't declare with __attribute_const__.
9199 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9200 * manual/startup.texi: Document that getauxval sets errno.
9201
23776487
JM
92022013-12-18 Joseph Myers <joseph@codesourcery.com>
9203
f889953b
JM
9204 * math/auto-libm-test-in: Add tests of jn and yn.
9205 * math/auto-libm-test-out: Regenerated.
9206 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9207 (yn_test_data): Likewise.
9208 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9209 mpfr_if_f.
9210 (func_calc_desc): Add mpfr_if_f union field.
9211 (FUNC_mpfr_if_f): New macro.
9212 (test_functions): Add jn and yn.
9213 (calc_generic_results): Assert type of second input for
9214 mpfr_ff_f. Handle mpfr_if_f.
9215 (output_for_one_input_case): Disable all checking for arguments
9216 fitting floating-point types in case of an integer argument.
9217 * sysdeps/i386/fpu/libm-test-ulps: Update.
9218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9219
23776487
JM
9220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9221 Don't expect fegetround reference in libm.so.
9222
cb756c6d
MS
92232013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9224
9225 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9226 $(config-cflags-nofma).
9227
2dec468f
JM
92282013-12-18 Joseph Myers <joseph@codesourcery.com>
9229
5953eb3a
JM
9230 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9231 * math/auto-libm-test-out: Regenerated.
9232
2dec468f
JM
9233 [BZ #16338]
9234 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9235 to determine exponent and adjust argument to have exponent of -1.
9236 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9237 log2.
9238 * math/auto-libm-test-out: Regenerated.
9239 * sysdeps/i386/fpu/libm-test-ulps: Update.
9240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9241
4d84e6ad
OB
92422013-12-18 Ondřej Bílka <neleai@seznam.cz>
9243
9244 * manual/probes.texi: Remove cases when per-thread arenas are
9245 disabled.
9246
1818483b
AS
92472013-12-18 Andreas Schwab <schwab@suse.de>
9248
9249 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9250 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9251 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9252 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9253 * sysdeps/i386/i686/multiarch/Makefile: Update.
9254 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9255
25de95bf
JM
92562013-12-17 Joseph Myers <joseph@codesourcery.com>
9257
9258 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9259 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9260
674762d9
PE
92612013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9262
ed27ed83 9263 [BZ #15968]
0748546f
PE
9264 Support TZ transition times < 00:00:00.
9265 This is needed for version-3 tz-format files; it supports time
9266 stamps past 2037 for America/Godthab (the only entry in the tz
9267 database for which this change is relevant).
9268 * manual/time.texi (TZ Variable): Document transition times
9269 from -167:59:59 through -00:00:01.
9270 * time/tzset.c (tz_rule): Time of day is now signed.
9271 (__tzset_parse_tz): Parse negative time of day.
9272
4480e934
PE
9273 Document TZ transition times >= 25:00:00.
9274 * manual/time.texi (TZ Variable): Document transition times from
9275 25:00:00 through 167:59:59. These are already supported, and this
9276 support will help with version-3 tz-format files.
9277
69947401
PE
9278 * manual/time.texi (TZ Variable): Modernize North America example
9279 to reflect current (i.e., 2007-and-later) daylight saving rules.
9280
674762d9
PE
9281 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9282
7011c262
JM
92832013-12-17 Joseph Myers <joseph@codesourcery.com>
9284
2fc6557e
JM
9285 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9286 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9287 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9288 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9289 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9290 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9291 * sysdeps/unix/bsd/clock.c: Likewise.
9292 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9293 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9294 * sysdeps/unix/bsd/init-posix.c: Likewise.
9295 * sysdeps/unix/bsd/poll.c: Likewise.
9296 * sysdeps/unix/bsd/ptsname.c: Likewise.
9297 * sysdeps/unix/bsd/seekdir.c: Likewise.
9298 * sysdeps/unix/bsd/setegid.c: Likewise.
9299 * sysdeps/unix/bsd/seteuid.c: Likewise.
9300 * sysdeps/unix/bsd/setgid.c: Likewise.
9301 * sysdeps/unix/bsd/setrgid.c: Likewise.
9302 * sysdeps/unix/bsd/setruid.c: Likewise.
9303 * sysdeps/unix/bsd/setsid.c: Likewise.
9304 * sysdeps/unix/bsd/setuid.c: Likewise.
9305 * sysdeps/unix/bsd/sigaction.c: Likewise.
9306 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9307 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9308 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9309 * sysdeps/unix/bsd/telldir.c: Likewise.
9310 * sysdeps/unix/bsd/times.c: Likewise.
9311 * sysdeps/unix/bsd/usleep.c: Likewise.
9312
029c7b25
JM
9313 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9314 ($(objpfx)libbsd-compat.a): Remove rule.
9315
7011c262
JM
9316 * include/features.h (__FAVOR_BSD): Do not define.
9317 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9318 features conflicting with POSIX.
9319 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9320 (_BSD_SOURCE): Remove description of not being a subset of other
9321 feature test macros.
9322 * manual/job.texi (getpgrp): Do not document BSD version.
9323 (getpgid): Do not document by reference to BSD getpgrp.
9324 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9325 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9326 * signal/signal.h [__FAVOR_BSD]: Likewise.
9327 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9328 instead of making contents conditional on [__FAVOR_BSD].
9329 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9330
affb6f78
AZ
93312013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9332
9333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9334
c88769dd
JM
93352013-12-17 Joseph Myers <joseph@codesourcery.com>
9336
6432a540
JM
9337 [BZ #16314]
9338 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9339 values below 2**-450, not 2**-500.
9340 * math/auto-libm-test-in: Don't allow spurious underflow from
9341 hypot.
9342 * math/auto-libm-test-out: Regenerated.
9343
c88769dd
JM
9344 [BZ #16316]
9345 [BZ #16330]
9346 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9347 values of ha and hb and sort them after adjusting subnormal
9348 arguments.
9349 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9350 Likewise.
9351 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9352 values of ea and eb and sort them after adjusting subnormal
9353 arguments.
9354 * math/auto-libm-test-in: Do not expect some hypot tests of
9355 subnormals to fail. Add more hypot tests.
9356 * math/auto-libm-test-out: Regenerated.
9357
29618f6b
KK
93582013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9359
9360 [BZ #13304]
9361 * sysdeps/sh/s_fma.c: New file.
9362 * sysdeps/sh/s_fmaf.c: New file.
9363 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9364 version.
9365 * sysdeps/sh/Implies: Add sh/soft-fp.
9366
eacfdfbf
RM
93672013-12-16 Roland McGrath <roland@hack.frob.com>
9368
9369 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9370 level of indirection to members `objname', `errstring', `malloced'.
9371 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9372 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9373 it as the __longjmp argument (just pass 1 instead).
9374 (_dl_catch_error): Initialize C with argument pointers and address of
9375 volatile local ERRCODE rather than copying values out of C at return.
9376
ff362e5b
JM
93772013-12-16 Joseph Myers <joseph@codesourcery.com>
9378
9379 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9380 * math/auto-libm-test-out: Regenerated.
9381 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9382 (hypot_test_data): Likewise.
9383 (pow_test_data): Likewise.
9384 (pow_tonearest_test_data): Likewise.
9385 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9386 mpfr_ff_f.
9387 (func_calc_desc): Add mpfr_ff_f union field.
9388 (FUNC_mpfr_ff_f): New macro.
9389 (test_functions): Add atan2, hypot and pow.
9390 (special_fill_min): New function.
9391 (special_fill_minus_min): Likewise.
9392 (special_fill_min_subnorm): Likewise.
9393 (special_fill_minus_min_subnorm): Likewise.
9394 (special_real_inputs): Add min, -min, min_subnorm and
9395 -min_subnorm.
9396 (calc_generic_results): Handle mpfr_ff_f.
9397 * sysdeps/i386/fpu/libm-test-ulps: Update.
9398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9399
5764c27f
WN
94002013-12-16 Will Newton <will.newton@linaro.org>
9401
9402 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9403 (Aligned Memory Blocks): Add documentation for aligned_alloc
9404 and suggest it as an alternative to posix_memalign.
9405 (Hooks for Malloc): Document __memalign_hook is also called
9406 for aligned_alloc. (Summary of Malloc): Add summary for
9407 aligned alloc. Document __memalign_hook is also called
9408 for aligned_alloc.
9409
0a096e44
WN
94102013-12-16 Will Newton <will.newton@linaro.org>
9411
9412 * manual/memory.texi (Malloc Examples): Clarify default
9413 alignment documentation. Suggest posix_memalign rather
9414 than memalign or valloc.
9415 (Aligned Memory Blocks): Remove suggestion to use memalign
9416 or valloc. Remove obsolete comment about BSD.
9417 Document memalign errno values and mark the function obsolete.
9418 Document posix_memalign returned error codes. Mark valloc
9419 as obsolete. (Hooks for Malloc): __memalign_hook is also
9420 called for posix_memalign and valloc.
9421 (Summary of Malloc): Add posix_memalign to function summary.
9422 __memalign_hook is also called for posix_memalign and valloc.
9423
8d561986
SP
94242013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9425
9426 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9427 TAYLOR_SIN.
9428 (__sin): Adjust.
9429 (__cos): Likewise.
9430 (sloww): Use mynumber union. Expand ternary operator into
9431 if-else statements.
9432 (cslow): use mynumber union.
9433
73616a74
AM
94342013-12-16 Allan McRae <allan@archlinux.org>
9435
9e8ac24b
AM
9436 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9437 * configure: Regenerated.
9438
6f8e37eb
AM
9439 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9440
8894bad3
AM
9441 [BZ #14120]
9442 * configure.ac: Added --enable-maintainer-mode. Check for
9443 autoconf when enabled.
9444 * configure: Regenerated.
9445
73616a74
AM
9446 * nscd/nscd.service: New file.
9447 * nscd/nscd.tmpfiles: New file.
9448
584b18eb
OB
94492013-12-14 Ondřej Bílka <neleai@seznam.cz>
9450
9451 [BZ #12100]
9452 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9453 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9454 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9455 (strstr): Add __strstr_sse2_unaligned ifunc.
9456 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9457 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9458 (strcasestr): Remove __strcasestr_sse42 ifunc.
9459 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9460 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9462
8a5c7897
KK
94632013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9464
9465 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9466 * sysdeps/sh/bits/fenv.h: ... here.
9467 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9468
fd712ef3
AZ
94692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9470
9471 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9472
42fcb46c
AZ
9473 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9474 hypotf multiarch implementations.
9475 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9476 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9477 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9478 multiarch hypot for PPC64.
9479 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9480 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9481 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9482 multiarch hypotf for PPC64.
9483
83efded4
AZ
9484 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9485 modff multiarch implementations.
9486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9489 multiarch modf for PPC64.
9490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9493 multiarch modff for PPC64.
9494
43e246d2
AZ
9495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9496 and logl multiarch implementations.
9497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9500 multiarch logb for PPC64.
9501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9504 multiarch logb for PPC64.
9505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9508 multiarch logb for PPC64.
9509
8fdad123
AZ
9510 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9511 isinff multiarch implementation.
9512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9513 file.
9514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9516 multiarch isinf for PPC64.
9517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9518 file.
9519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9520 multiarch isinff for PPC64.
9521
1481d706
AZ
9522 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9523 finitef multiarch implementation.
9524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9525 file.
9526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9528 multiarch finite for PPC64.
9529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9530 file.
9531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9532 multiarch finitef for PPC64.
9533
5ccd5fc8
AZ
9534 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9535 lrint multiarch implementation.
9536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9537 file.
9538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9540 multiarch llrint for PPC64.
9541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9542 multiarch lrint for PPC64.
9543
2568f3fa
AZ
9544 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9545 copysignf multiarch implementation.
9546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9547 file.
9548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9549 file.
9550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9551 multiarch copysign for PPC64.
9552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9553 multiarch copysignf for PPC64.
9554
1cb341fd
AZ
9555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9556 multiarch implementation.
9557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9558 file.
9559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9560 file.
9561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9562 file.
9563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9564 file.
9565 multiarch llround for PPC64.
9566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9567 multiarch trunc for PPC64.
9568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9569 multiarch truncf for PPC64.
9570
59a3e194
AZ
9571 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9572 multiarch implementation.
9573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9574 file.
9575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9576 file.
9577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9578 file.
9579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9580 file.
9581 multiarch llround for PPC64.
9582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9583 multiarch round for PPC64.
9584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9585 multiarch roundf for PPC64.
9586
357fd3b4
AZ
9587 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9588 multiarch implementation.
9589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9590 file.
9591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9592 file.
9593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9594 file.
9595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9596 file.
9597 multiarch llround for PPC64.
9598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9599 multiarch floor for PPC64.
9600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9601 multiarch floorf for PPC64.
9602
96770f12
AZ
9603 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9604 multiarch implementation.
9605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9606 file.
9607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9608 file.
9609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9610 file.
9611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9612 file.
9613 multiarch llround for PPC64.
9614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9615 multiarch ceil for PPC64.
9616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9617 multiarch ceilf for PPC64.
9618
c3627f6e
AZ
9619 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9620 multiarch implementation.
9621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9622 file.
9623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9624 file.
9625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9626 file.
9627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9628 multiarch llround for PPC64.
9629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9630 multiarch lround for PPC64.
9631
b2284ad7
AZ
9632 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9633 multiarch implementation.
9634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9637 file.
9638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9641 multiarch isnan for PPC64.
9642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9643 multiarch isnanf for PPC64.
9644
69bbc63d
AZ
9645 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9646 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9647 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9648 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9649 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9651
c24517c9
AZ
9652 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9653 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9654 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9655 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9656
a52374e8
AZ
9657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9658 multiarch implementations.
9659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9660 (__libc_ifunc_impl_list): Likewise.
9661 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9662 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9663 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9664 multiarch stpcpy for PPC64.
9665
7f5ec113
AZ
9666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9667 multiarch implementations.
9668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9669 (__libc_ifunc_impl_list): Likewise.
9670 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9671 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9672 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9673 multiarch strcpy for PPC64.
9674
e28bcd42
AZ
9675 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9676 redefine function name.
9677 (_wordcopy_fwd_dest_aligned): Likewise.
9678 (_wordcopy_bwd_aligned): Likewise.
9679 (_wordcopy_bwd_dest_aligned): Likewise.
9680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9681 multiarch implementations.
9682 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9683 (__libc_ifunc_impl_list): Likewise.
9684 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9685 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9686 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9687 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9688 multiarch wcscpy for PPC64.
9689
92cacfce
AZ
9690 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9691 multiarch implementations.
9692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9693 (__libc_ifunc_impl_list): Likewise.
9694 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9695 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9696 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9697 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9698 multiarch wcscpy for PPC64.
9699
7b714620
AZ
9700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9701 multiarch implementations.
9702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9703 (__libc_ifunc_impl_list): Likewise.
9704 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9705 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9706 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9707 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9708 multiarch wcsrchr for PPC64.
9709
16fd2ae3
AZ
9710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9711 multiarch implementations.
9712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9713 (__libc_ifunc_impl_list): Likewise.
9714 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9715 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9716 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9717 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9718 multiarch wcschr for PPC64.
9719
9ee2969b
AZ
9720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9721 multiarch implementations.
9722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9723 (__libc_ifunc_impl_list): Likewise.
9724 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9725 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9726 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9727 multiarch strchrnul for PPC64.
9728
372dc060
AZ
9729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9730 implementations.
9731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9732 (__libc_ifunc_impl_list): Likewise.
9733 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9734 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9735 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9736 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9737 strchr for PPC64.
9738
24c2c3b9
AZ
9739 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9740 implementations.
9741 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9742 (__libc_ifunc_impl_list): Likewise.
9743 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9744 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9745 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9746 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9747 strncmp for PPC64.
9748
1c92d9a0
AZ
9749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9750 multiarch implementations.
9751 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9752 (__libc_ifunc_impl_list): Likewise.
9753 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9754 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9755 strncasecmp for PPC64.
9756 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9757 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9758 multiarch strncasecmp_l for PPC64.
9759
17de3ee3
AZ
9760 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9761 multiarch implementations.
9762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9763 (__libc_ifunc_impl_list): Likewise.
9764 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9765 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9766 multiarch strcasecmp for PPC64.
9767 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9768 file.
9769 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9770 multiarch strcasecmp_l for PPC64.
9771
62982bf9
AZ
9772 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9773 implementations.
9774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9775 (__libc_ifunc_impl_list): Likewise.
9776 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9777 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9778 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9779 strnlen for PPC64.
9780
a65f4904
AZ
9781 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9782 implementations.
9783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9784 (__libc_ifunc_impl_list): Likewise.
9785 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9786 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9787 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9788 strlen for PPC64.
9789
1fd005ad
AZ
9790 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9791 implementations.
9792 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9793 (__libc_ifunc_impl_list): Likewise.
9794 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9795 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9796 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9797 rawmemrchr for PPC64.
9798
cd05ba91
AZ
9799 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9800 implementation.
9801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9802 (__libc_ifunc_impl_list): Likewise.
9803 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9804 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9805 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9806 memrchr for PPC64.
9807
870f8676
AZ
9808 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9809 implementation.
9810 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9811 (__libc_ifunc_impl_list): Likewise.
9812 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9813 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9814 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9815 memchr for PPC64.
9816
f00be62b
AZ
9817 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9818 implementation.
9819 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9820 (__libc_ifunc_impl_list): Likewise.
9821 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9822 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9823 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9824 mempcpy for PPC64.
9825
8a29a3d0
AZ
9826 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9827 avoid cretion of __bzero symbol.
9828 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9829 Likewise.
9830 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9831 Likewise.
9832 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9833 Likewise.
9834 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9835 multiarch implementations.
9836 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9837 (__libc_ifunc_impl_list): Likewise.
9838 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9839 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9840 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9841 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9842 bzero for PPC32.
9843 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9844 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9845 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9846 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9847 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9848 memset for PPC64.
9849 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9850
07253fcf
AZ
9851 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9852 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9853 implementations.
9854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9855 (__libc_ifunc_impl_list): Likewise.
9856 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9857 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9858 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9859 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9860 memcmp for PPC64.
9861
b5beafbc
AZ
9862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9863 multiarch for POWER/PPC64.
9864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9865 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9866 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9867 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9868 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9869 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9870 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9871 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9872 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9873 memcpy for PPC64.
9874
5e6a4d4b
AZ
9875 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9876 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9877 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9878 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9879 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9880 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9881 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9882 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9883 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9884 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9885 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9886 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9887 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9888 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9889 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9897
ddfab6dc
KK
98982013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9899
9900 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9901
19b5525e
SP
99022013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9903
9904 * benchtests/Makefile (bench): Add exp2 and log2.
9905 (LDLIBS-bench-exp2): Add -lm.
9906 (LDLIBS-bench-log2): Likewise.
9907 * benchtests/exp2-inputs: New inputs file.
9908 * benchtests/log2-inputs: New inputs file.
9909 * benchtests/log-inputs: Add new inputs.
9910 * benchtests/tan-inputs: Likewise.
9911
196f7f5d
SP
99122013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9913
7a74607f
SP
9914 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9915 definition...
57f41c40
AS
9916 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9917 (csloww2): ... from here.
7a74607f 9918
196f7f5d
SP
9919 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9920 instead of structures.
9921 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9922 (POLYNOMIAL): Likewise.
9923 (TAYLOR_SLOW): Likewise.
9924 (__sin): Likewise.
9925 (__cos): Likewise.
9926 (slow1): Likewise.
9927 (slow2): Likewise.
9928 (sloww): Likewise.
9929 (sloww1); Likewise.
9930 (sloww2): Likewise.
9931 (bsloww1): Likewise.
9932 (bsloww2): Likewise.
9933 (cslow2): Likewise.
9934 (csloww): Likewise.
9935 (csloww1): Likewise.
9936 (csloww2): Likewise.
9937
0dfa665c
OB
99382013-12-10 Ondřej Bílka <neleai@seznam.cz>
9939
9940 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
9941 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9942 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
9943 * malloc/hooks.c (realloc_check): Likewise.
9944
5782a80f
OB
9945 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9946 * malloc/arena.c: Remove PER_THREAD conditional.
9947 [!PER_THREAD]: Remove code.
9948 (ptmalloc_unlock_all2): Likewise.
9949 (ptmalloc_init): Likewise.
9950 (_int_new_arena): Likewise.
9951 (arena_get2): Likewise.
9952 * malloc/hooks.c (__malloc_get_state): Likewise.
9953 (__malloc_set_state): Likewise.
9954 * malloc/malloc.c: Likewise.
9955 (struct malloc_state): Likewise.
9956 (struct malloc_par): Likewise.
9957 (__libc_realloc): Likewise.
9958 (__libc_mallopt): Likewise.
9959
aeb95445
AZ
99602013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9961
9962 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9963
e8349efd
OB
99642013-12-09 Ondřej Bílka <neleai@seznam.cz>
9965
9966 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9967 macro to a function. Check for zero perturb_byte.
9968 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9969
f3eeb3fc 9970 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
9971 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9972 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
9973 force_reg by atomic_forced_read.
9974 * malloc/arena.c (ptmalloc_init): Likewise.
9975 * malloc/hooks.c (top_check): Likewise.
9976
be2f9009
AZ
99772013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9978
9979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9980
e7b914bd
MT
99812013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9982
9983 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9984
9f0be4f8
JM
99852013-12-08 Joseph Myers <joseph@codesourcery.com>
9986
9987 * math/auto-libm-test-in: Add tests of lgamma.
9988 * math/auto-libm-test-out: Regenerated.
9989 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9990 (M_LOG_2_SQRT_PIl): Likewise.
9991 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9992 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9993 mpfr_f_f1.
9994 (func_calc_desc): Add mpfr_f_f1 union field.
9995 (ARGS1): New macro.
9996 (ARGS2): Likewise.
9997 (ARGS3): Likewise.
9998 (ARGS4): Likewise.
9999 (RET1): Likewise.
10000 (RET2): Likewise.
10001 (CALC): Likewise.
10002 (FUNC): Likewise.
10003 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10004 (test_functions): Add lgamma.
10005 (calc_generic_results): Handle mpfr_f_f1.
10006 * sysdeps/i386/fpu/libm-test-ulps: Update.
10007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10008
24eeafdb
AZ
100092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10010
10011 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10012 __mpn_add_n for PowerPC64/POWER7.
10013 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10014 __mpn_sub_n for PowerPC64/POWER7.
10015
4a2c0fd4
AZ
10016 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10017 __mpn_addmul_1 for PowerPC64.
10018 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10019 __mpn_submul_1 for PowerPC64.
10020 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10021 for PowerPC64.
10022 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10023 for PowerPC64.
10024
4b5b548c
FS
100252013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10026
10027 [BZ #15089]
10028 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10029
0a3ac0aa
AZ
100302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10031
10032 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10033
ccdc8438
AZ
10034 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10035 add multiarch folders.
10036 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10037 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10038 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10039 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10040 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10041 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10042 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10043 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10044 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10045 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10046 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10053
2e973d99
AZ
10054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10055 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10057 New file.
10058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10059 New file.
10060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10061 multiarch __ieee754_hypot for PowerPC32.
10062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10063 New file.
10064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10065 New file.
10066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10067 multiarch __ieee754_hypotf for PowerPC32.
10068
2d9470b2
AZ
10069 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10070 long_double_symbol only if __logbl is defined.
10071 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10072 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10073 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10074 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10075 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10076 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10077 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10078 path for implementation.
10079 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10080 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10082 logb, and logbl multiarch implementations for PowerPC32.
10083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10084 file.
10085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10086 file.
10087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10088 multiarch logb for PowerPC32.
10089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10090 file.
10091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10092 file.
10093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10094 multiarch logbf for PowerPC32.
10095 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10097 file.
10098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10099 multiarch logbl implementation for PowerPC32.
10100
5212ffce
AZ
10101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10102 and modff multiarch implementations.
10103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10104 New file.
10105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10106 New file.
10107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10108 multiarch modf for PowerPC32.
10109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10110 New file.
10111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10112 New file.
10113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10114 multiarch modff for PowerPC32.
10115
79dccf31
AZ
10116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10117 and lrintf multiarch implementations.
10118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10119 New file.
10120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10121 New file.
10122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10123 multiarch lrint for PowerPC32.
10124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10125 file: multiarch lrintf for PowerPC32.
10126
deb66480
AZ
10127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10128 and lroundf multiarch implementations.
10129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10130 New file.
10131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10132 New file.
10133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10134 New file.
10135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10136 multiarch lround for PowerPC32.
10137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10138 file: multiarch lroundf for PowerPC32.
10139
264b036b
AZ
10140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10141 copysign and copysignf multiarch implementations.
10142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10143 New file.
10144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10145 New file.
10146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10147 file: multiarch copysign for PowerPC32.
10148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10149 file: multiarch copysignf for PowerPC32.
10150
d47db6c9
AZ
10151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10152 and truncf multiarch implementations.
10153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10154 New file.
10155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10156 file.
10157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10158 multiarch trunc for PowerPC32.
10159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10160 New file.
10161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10162 New file.
10163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10164 multiarch truncf for PowerPC32.
10165
ddb60b5a
AZ
10166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10167 and roundf multiarch implementations.
10168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10169 New file.
10170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10171 file.
10172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10173 multiarch round for PowerPC32.
10174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10175 New file.
10176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10177 New file.
10178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10179 multiarch roundf for PowerPC32.
10180
bedcf49b
AZ
10181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10182 and floorf multiarch implementations.
10183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10184 New file.
10185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10186 file.
10187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10188 multiarch floor for PowerPC32.
10189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10190 New file.
10191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10192 New file.
10193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10194 multiarch floorf for PowerPC32.
10195
35ae5b40
AZ
10196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10197 and ceilf multiarch implementations.
10198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10199 New file.
10200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10201 file.
10202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10203 multiarch ceil for PowerPC32.
10204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10205 New file.
10206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10207 file.
10208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10209 multiarch ceilf for PowerPC32.
10210
ae1a4cd9
AZ
10211 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10212 is defined.
10213 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10214 FINITEF is defined.
10215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10216 and finitef multiarch implementations.
10217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10218 New file.
10219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10220 file.
10221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10222 multiarch finite for PowerPC32.
10223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10224 New file.
10225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10226 file: multiarch finitef for PowerPC32.
10227
64fffd65
AZ
10228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10229 and isinff multiarch implementations.
10230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10231 file.
10232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10233 file.
10234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10235 multiarch isinf for PowerPC32.
10236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10237 New file.
10238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10239 multiarch isinff for PowerPC32.
10240
8e4e7ba2
AZ
10241 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10242 alias when __isnan is defined.
10243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10244 and isnanf multiarch implementations.
10245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10246 file.
10247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10248 file.
10249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10250 file.
10251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10252 file.
10253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10254 multiarch isnan for PowerPC32.
10255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10256 New file.
10257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10258 New file.
10259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10260 multiarch isnanf for PowerPC32.
10261
ddba588e
AZ
10262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10263 and sqrtf multiarch implementations.
10264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10265 file.
10266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10267 file.
10268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10269 multiarch sqrt for PowerPC32.
10270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10271 file.
10272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10273 file.
10274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10275 multiarch sqrtf for PowerPC32.
10276
0f96a2f0
AZ
10277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10278 and llroundf multiarch implementations.
10279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10280 New file.
10281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10282 New file.
10283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10284 New file.
10285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10286 file: multiarch llround for PowerPC32.
10287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10288 file: multiarch llroundf for PowerPC32.
10289
c9b5d79e
AZ
10290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10291 multiarch PowerPC32 fpu implementations.
10292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10293 New file.
10294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10295 New file.
10296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10297 multiarch llrint for PowerPC32.
10298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10299 New file.
10300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10301 New file.
10302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10303 file.
10304
9cbb3aab
AZ
10305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10306
ea5a72f8
AZ
10307 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10308 file.
10309 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10310 file.
10311 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10312 file.
10313 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10314 multiarch wordcopy for PPC32.
10315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10316 wordcopy objects.
10317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10318 (__libc_ifunc_impl_list): Likewise.
10319 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10320 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10321 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10322 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10323 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10324 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10325
93be09e7
AZ
10326 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10327 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10328 file.
10329 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10330 file.
10331 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10332 file.
10333 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10334 multiarch wcscpy for PPC32.
10335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10336 multiarch objects.
10337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10338 (__libc_ifunc_impl_list): Likewise.
10339 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10340 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10341 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10342 sysdeps/powerpc/power6/wcscpy.c.
10343
bb04e529
AZ
10344 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10345 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10346 file.
10347 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10348 file.
10349 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10350 file.
10351 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10352 multiarch wcsrchr for PPC32.
10353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10354 multiarch objects.
10355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10356 (__libc_ifunc_impl_list): Likewise.
10357 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10358 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10359 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10360 sysdeps/powerpc/power6/wcsrchr.c.
10361
05b5cd1c
AZ
10362 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10363 file.
10364 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10365 file.
10366 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10368 multiarch wcschr for PPc32.
10369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10370 multiarch objects.
10371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10372 (__libc_ifunc_impl_list): Likewise.
10373 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10374 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10375 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10376 sysdeps/powerpc/power6/wcschr.c.
10377
ba964147
AZ
10378 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10379 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10380 file.
10381 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10382 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10383 file: multiarch strchr for PPC32.
10384 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10385 multiarch objects.
10386 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10387 (__libc_ifunc_impl_list): Likewise.
10388
31c81aaa
AZ
10389 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10390 name.
10391 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10392 file.
10393 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10394 file.
10395 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10396 multiarch strchrnul for PPC32.
10397 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10398 multiarch objects.
10399 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10400 (__libc_ifunc_impl_list): Likewise.
10401
0d0607d9
AZ
10402 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10403 file.
10404 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10405 multiarch strncasecmp for PPC32.
10406 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10407 file.
10408 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10409 multiarch strncasecmp_l for PPC32.
10410 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10411 strncasecmp multiarch objects.
10412 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10413 (__libc_ifunc_impl_list): Likewise.
10414
4dfd5c86
AZ
10415 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10416 file.
10417 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10418 multiarch strncasecmp for PPC32.
10419 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10420 New file.
10421 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10422 multiarch strcasecmp_l for PPC32.
10423 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10424 multiarch objects.
10425 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10426 (__libc_ifunc_impl_list): Likewise.
10427
a19e01a3
AZ
10428 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10429 file.
10430 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10431 file.
10432 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10433 multiarch strncmp for PPC32.
10434 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10435 multiarch objects.
10436 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10437 (__libc_ifunc_impl_list): Likewise.
10438
ae9cf7a2
AZ
10439 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10440 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10441 file.
10442 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10443 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10444 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10445 multiarch objects.
10446 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10447 (__libc_ifunc_impl_list): Likewise.
10448
3148bb7d
AZ
10449 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10450 file.
10451 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10452 file.
10453 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10454 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10455 multiarch objects.
10456 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10457 (__libc_ifunc_impl_list): Likewise.
10458
7af8b946
AZ
10459 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10460 file.
10461 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10462 file.
10463 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10464 multiarch rawmemchr for PPC32.
10465 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10466 multiarch objects.
10467 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10468 (__libc_ifunc_impl_list): Likewise.
10469
03a6aa6a
AZ
10470 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10471 file.
10472 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10473 file.
10474 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10475 file: memrchr multiarch for PPC32.
10476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10477 multiarch objects.
10478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10479 (__libc_ifunc_impl_list): Likewise.
10480
1c62e6d9
AZ
10481 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10482 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10483 file.
10484 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10485 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10486 multiarch memchr for PPC32.
10487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10488 multiarch objects.
10489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10490 (__libc_ifunc_impl_list): Likewise.
10491
87da8bdb
AZ
10492 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10493 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10494 file.
10495 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10496 file.
10497 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10498 file: multiarch mempcpy for PPC32.
10499 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10500 multiarch objects.
10501 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10502 (__libc_ifunc_impl_list): Likewise.
10503
20ed4714
AZ
10504 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10505 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10506 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10507 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10508 multiarch bzero for PPC32.
10509 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10510 file.
10511 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10512 file.
10513 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10514 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10515 file: multiarch memset for PPC32.
10516 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10517 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10518 memset multiarch objects.
10519 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10520 (__libc_ifunc_impl_list): Likewise.
10521
ab3e3a46
AZ
10522 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10523 file.
10524 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10525 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10526 memcmp for PPC32.
10527 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10528 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10529 multiarch objects.
10530 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10531 (__libc_ifunc_impl_list): Likewise.
10532
930de6f0
AZ
10533 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10534 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10535 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10536 file.
10537 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10538 file.
10539 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10540 file.
10541 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10542 multiarch memcpy for PPC32.
10543 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10544 multiarch objects.
10545 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10546 (__libc_ifunc_impl_list): Likewise.
10547
4c628e00
AZ
10548 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10549 support multiarch for POWER/PPC32.
10550 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10551 Likewise.
10552 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10554 Implies file to make multiarch folder appers before the fpu and
10555 default folder for power4 configuration.
10556
f4479220
SP
105572013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10558
10559 * scripts/bench.pl: Append volatile keyword to type.
10560
8517800f
KK
105612013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10562
10563 * sysdeps/sh/sotruss-lib.c: New file.
10564 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10565
180138f1
AZ
105662013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10567
10568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10569
bbf37bdc
JM
105702013-12-05 Joseph Myers <joseph@codesourcery.com>
10571
e47cc4e0
JM
10572 [BZ #6810]
10573 * math/w_tgamma.c: Include <errno.h>.
10574 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10575 * math/w_tgammaf.c: Include <errno.h>.
10576 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10577 * math/w_tgammal.c: Include <errno.h>.
10578 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10579 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10580 underflow. Add more tgamma tests.
10581 * math/auto-libm-test-out: Regenerated.
10582 * sysdeps/i386/fpu/libm-test-ulps: Update.
10583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10584
bbf37bdc
JM
10585 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10586 sin, sinh, tan, tanh, tgamma, y0 and y1.
10587 * math/auto-libm-test-out: Regenerated.
10588 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10589 (TEST_COND_x86): Likewise.
10590 (M_E2l): Remove macro.
10591 (M_E3l): Likewise.
10592 (M_2_SQRT_PIl): Likewise.
10593 (M_SQRT_PIl): Likewise.
10594 (M_1_DIV_El): Likewise.
10595 (log_test_data): Use AUTO_TESTS_f_f.
10596 (log10_test_data): Likewise.
10597 (log1p_test_data): Likewise.
10598 (log2_test_data): Likewise.
10599 (sin_test_data): Likewise.
10600 (sin_tonearest_test_data): Likewise.
10601 (sin_towardzero_test_data): Likewise.
10602 (sin_downward_test_data): Likewise.
10603 (sin_upward_test_data): Likewise.
10604 (sinh_test_data): Likewise.
10605 (sinh_tonearest_test_data): Likewise.
10606 (sinh_towardzero_test_data): Likewise.
10607 (sinh_downward_test_data): Likewise.
10608 (sinh_upward_test_data): Likewise.
10609 (tan_test_data): Likewise.
10610 (tan_tonearest_test_data): Likewise.
10611 (tan_towardzero_test_data): Likewise.
10612 (tan_downward_test_data): Likewise.
10613 (tan_upward_test_data): Likewise.
10614 (tanh_test_data): Likewise.
10615 (tgamma_test_data): Likewise.
10616 (y0_test_data): Likewise.
10617 (y1_test_data): Likewise.
10618 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10619 (special_real_inputs): Add pi/4.
10620 * sysdeps/i386/fpu/libm-test-ulps: Update.
10621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10622
eb5ad6b9
AZ
106232013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10624
10625 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10626 "longjmp_target" static probes.
10627 (__longjmp): Rename to __longjmp_symbol.
10628 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10629 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10630 on which longjmp to generate.
10631 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10632 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10633 probe.
10634 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10635 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10636 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10637 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10638 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10639 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10641 __longjmp_symbol based on which __longjmp to generate.
10642 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10643 probe.
10644 (setjmp): Rename to setjmp_symbol.
10645 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10646 (_setjmp): Rename to _setjmp_symbol.
10647 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10648 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10649 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10650 which setjmp to generate.
10651 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10652 "longjmp_target" static probes.
10653
d136c6dc
SP
106542013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10655
9298ecba
SP
10656 * benchtests/README: Add note about output arguments.
10657 * benchtests/bench-sincos.c: Remove file.
10658 * benchtests/sincos-inputs: New file.
10659 * scripts/bench.pl: Identify output arguments and define
10660 static variables for them.
10661
232983e9
SP
10662 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10663
d136c6dc
SP
10664 [BZ #15941]
10665 * Makefile (INSTALL): Add install-plain.texi as the primary
10666 dependency.
10667 * manual/install-plain.texi: New file.
10668 * manual/install.texi: Include node directive only for
10669 non-plaintext output.
10670
699ff837
JM
106712013-12-04 Joseph Myers <joseph@codesourcery.com>
10672
ab07cea8
JM
10673 * stdlib/longlong.h: Update from GCC.
10674
699ff837
JM
10675 [BZ #6807]
10676 [BZ #15901]
10677 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10678 * math/w_j0f.c (y0f): Likewise.
10679 * math/w_j0l.c (__y0l): Likewise.
10680 * math/w_j1.c (y1): Likewise.
10681 * math/w_j1f.c (y1f): Likewise.
10682 * math/w_j1l.c (__y1l): Likewise
10683 * math/w_jn.c (yn): Likewise.
10684 * math/w_jnf.c (ynf): Likewise.
10685 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10686 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10687 value for Bessel function domain errors outside _SVID_ mode.
10688 Adjust sign of return value for yn (negative integer, 0).
10689 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10690 by zero in return for negative x and set sign appropriately for
10691 negative n.
10692 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10693 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10694 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10695 expectations in error cases.
10696 (y1_test_data): Likewise.
10697 (yn_test_data): Likewise.
10698 * sysdeps/i386/fpu/libm-test-ulps: Update.
10699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10700
5b118558
UW
107012013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10702
10703 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10704 "64" to "64-v1". Add "64-v2".
10705 (abi-64-options): Rename to ...
10706 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10707 (abi-64-condition): Rename to ...
10708 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10709 (abi-64-ld-soname): Rename to ...
10710 (abi-64-v1-ld-soname): ... this.
10711 (abi-64-v2-options): Define.
10712 (abi-64-v2-condition): Likewise.
10713 (abi-64-v2-ld-soname): Likewise.
10714 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10715 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10719
61cd8fe4
UW
107202013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10721 Alan Modra <amodra@gmail.com>
10722
10723 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10724 New versions for use with the ELFv2 ABI.
10725 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10726 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10727 declaration.
10728 (struct La_ppc64v2_retval): Likewise.
10729 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10730 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10731 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10732 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10733 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10734 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10735 Do not save or restore CR.
10736 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10737 (_dl_profile_resolve): Do no save or restore CR. Support extended
10738 return values for ELFv2 ABI. Fix location of FPR return registers.
10739 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10740 updated values for _CALL_ELF == 2.
10741 (La_regs, La_retval, int_retval): Likewise.
10742
8b8a692c
UW
107432013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10744
10745 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10746 (FRAME_MIN_SIZE_PARM): Likewise.
10747 (FRAME_BACKCHAIN): Likewise.
10748 (FRAME_CR_SAVE): Likewise.
10749 (FRAME_LR_SAVE): Likewise.
10750 (FRAME_TOC_SAVE): Likewise.
10751 (FRAME_PARM_SAVE): Likewise.
10752 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10753 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10754 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10755 (call_mcount_parm_offset): New macro.
10756 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10757 (PROF): Use symbolic stack frame offsets.
10758 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10759 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10760 Redefine in terms of FRAME_MIN_SIZE.
10761 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10762 (_dl_profile_resolve): Likewise. Update comment.
10763 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10764 symbols stack frame offsets.
10765 (__sigsetjmp): Likewise.
10766 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10767 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10768 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10769 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10770
10771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10772 (FRAME_BACKCHAIN): Remove.
10773 (FRAME_CR_SAVE): Likewise.
10774 (FRAME_LR_SAVE): Likewise.
10775 (FRAME_COMPILER_DW): Likewise.
10776 (FRAME_LINKER_DW): Likewise.
10777 (FRAME_TOC_SAVE): Likewise.
10778 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
10779 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10780 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10781 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
10782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10783 (CHECK_SP): Use symbolic stack frame offsets.
10784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10785 zone" instead of caller's parameter save area for temp storage.
10786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10787 Likewise. Also, use symbolic stack frame offsets.
10788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10789 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10790 our own stack frame instead of the caller's.
10791 (__socket): Use symbolic stack frame offsets.
10792
122b66de
UW
107932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10794 Alan Modra <amodra@gmail.com>
10795
10796 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10797 Define.
57f41c40
AS
10798 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10799 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
10800 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10801 New function.
10802 (elf_machine_fixup_plt): Call it.
10803 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10804 reloc arguments.
10805 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
10806 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10807 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
10808 r2 before calling target.
10809
696caf1d
UW
108102013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10811 Alan Modra <amodra@gmail.com>
10812
10813 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10814 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10815 versions of macros to support ELFv2 ABI.
10816 (LOCALENTRY): New macro.
10817 (ENTRY, EALIGN): Use it.
10818 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10819 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10820 fall through into ENTRY entry point.
10821 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10822 Only define if _CALL_ELF != 2.
10823
10824 (elf_machine_matches_host): Verify ABI version matches.
10825 (RTLD_START): Use LOCALENTRY.
10826 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10827 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10828 (PLT_ENTRY_WORDS): New macro.
10829 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10830 (elf_machine_runtime_setup): Support ELFv2 ABI.
10831 (elf_machine_fixup_plt): Likewise.
10832 (elf_machine_plt_conflict): Likewise.
10833 (resolve_ifunc): Likewise.
10834 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10835 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10836 Likewise.
10837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10838 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10840 (makecontext): Support ELFv2 ABI.
10841 * elf/elf.h (EF_PPC64_ABI): Define.
10842
d31beafa
UW
108432013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10844
57f41c40
AS
10845 * sysdeps/powerpc/powerpc64/sysdep.h
10846 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10847 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10848 (ENTRY) [ASSEMBLER]: ... but instead here ...
10849 (EALIGN) [ASSEMBLER]: ... and here.
10850 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10851 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10852 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
10853 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10854 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
10855 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10856 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
10857 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10859 Use PPC64_LOAD_FUNCPTR.
10860
b525166b
UW
10861 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10862
7ec07d9a
AM
108632013-12-04 Alan Modra <amodra@gmail.com>
10864
10865 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10866 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10867 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10868 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10869
10870 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10871 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10872 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10873 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10874 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10875 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10876
5162e7dd
UW
108772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10878
10879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10880 (__makecontext): Fix incorrect CFI when backtracing out of
10881 context created via makecontext.
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10883 (__setcontext): Fix incorrect CFI during switch to new context.
10884 (__novec_setcontext): Likewise.
10885
19e3372b
OB
108862013-12-04 Ondřej Bílka <neleai@seznam.cz>
10887
10888 [BZ #4772]
10889 * time/strptime_l.c (__strptime_internal): Allow modifiers
10890 in strptime.
10891 * time/tst-strptime.c (day_tests): Add testcase.
10892
ecaf142d
SP
108932013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10894
10895 * scripts/bench.pl: Skip over blank lines.
10896
fbf964ae
PE
108972013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10898
10899 [BZ #926]
10900 * manual/time.texi (Calendar Time): Clarify what timezone functions
10901 use.
10902
fa60a674
AZ
109032013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10904
10905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10906
d674f0ef
OB
109072013-12-04 Ondřej Bílka <neleai@seznam.cz>
10908
10909 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10910 implementation.
10911 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10912 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10913 * debug/memset_chk.c (__memset_chk): Likewise.
10914 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10915 * debug/strncpy_chk.c: Likewise.
10916
17dea188
JM
109172013-12-03 Joseph Myers <joseph@codesourcery.com>
10918
749008ff
JM
10919 [BZ #15268]
10920 [BZ #15425]
10921 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10922 (__ieee754_exp): For possibly underflowing results, check size of
10923 result and force underflow exception if required.
10924 * math/auto-libm-test-in: Add more tests of exp.
10925 * math/auto-libm-test-out: Regenerated.
10926 * sysdeps/i386/fpu/libm-test-ulps: Update.
10927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10928
17dea188
JM
10929 [BZ #16283]
10930 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10931 * math/w_exp2f.c (__exp2f): Likewise.
10932 * math/w_exp2l.c (__exp2l): Likewise.
10933 * math/auto-libm-test-in: Do not allow missing errno on exp2
10934 underflow.
10935 * math/auto-libm-test-out: Regenerated.
10936
b20de2c3
OB
109372013-12-03 Ondřej Bílka <neleai@seznam.cz>
10938
10939 [BZ #16274]
10940 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10941 handle filename validation.
10942 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10943 (do_open): Delete.
10944
d8e2dbe3
JM
109452013-12-03 Joseph Myers <joseph@codesourcery.com>
10946
34e16df5
JM
10947 [BZ #6786]
10948 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10949 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10950 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10951 <float.h>.
10952 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10953 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10954 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10955 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10956 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10957 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10958 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10959 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10960 Add more erfc tests.
10961 * math/auto-libm-test-out: Regenerated.
10962 * sysdeps/i386/fpu/libm-test-ulps: Update.
10963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10964
d8e2dbe3
JM
10965 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10966 exp2, expm1, j0 and j1.
10967 * math/auto-libm-test-out: Regenerated.
10968 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10969 (erfc_test_data): Likewise.
10970 (exp_test_data): Likewise.
10971 (exp_tonearest_test_data): Likewise.
10972 (exp_towardzero_test_data): Likewise.
10973 (exp_downward_test_data): Likewise.
10974 (exp_upward_test_data): Likewise.
10975 (exp10_test_data): Likewise.
10976 (exp2_test_data): Likewise.
10977 (expm1_test_data): Likewise.
10978 (j0_test_data): Likewise.
10979 (j1_test_data): Likewise.
10980 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10981 (input_flag_type): Add flag_xfail_rounding.
10982 (input_flags): Add xfail-rounding.
10983 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10984 (output_for_one_input_case): Handle flag_xfail_rounding.
10985 * sysdeps/i386/fpu/libm-test-ulps: Update.
10986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10987
18d14251
AJ
109882013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10989
3d2e6075 10990 [BZ #16289]
18d14251
AJ
10991 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10992 division by 0.
10993
520d437b
SP
109942013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10995
10996 [BZ #16195]
10997 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10998 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10999 (STAP_PROBE0): New macro.
11000 (STAP_PROBE1): Likewise.
11001 (STAP_PROBE2): Likewise.
11002 (STAP_PROBE3): Likewise.
11003 (STAP_PROBE4): Likewise.
11004
416e0145
OB
110052013-12-02 Ondřej Bílka <neleai@seznam.cz>
11006
11007 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11008
9d17796a
SE
110092013-12-02 Steve Ellcey <sellcey@mips.com>
11010
11011 * benchtests/Makefile (bench): Add sqrt.
11012 (LDLIBS-bench-sqrt): New.
11013 * benchtests/sqrt-input: New.
11014
f524d6a8
PS
110152013-12-02 Pavel Simerda <psimerda@redhat.com>
11016
639a0ef8
PS
11017 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11018 (GAIH_EAI): Likewise.
11019 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11020 (gaih_inet): Likewise.
11021 (getaddrinfo): Don't use GAIH_EAI.
11022
f524d6a8
PS
11023 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11024 (struct gaih): Remove definition.
11025
df3aedaf
SP
110262013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11027
11028 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11029 Use HERRNOP directly.
11030
1ab19dec
AZ
110312013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11032
b42ad38d 11033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 11034
176b0c79
JM
110352013-11-30 Joseph Myers <joseph@codesourcery.com>
11036
11037 * math/gen-auto-libm-tests.c (test_functions): Add more
11038 single-argument functions.
11039 (special_fill_pi_2): New function.
11040 (special_fill_minus_pi_2): Likewise.
11041 (special_fill_pi_6): Likewise.
11042 (special_fill_minus_pi_6): Likewise.
11043 (special_fill_pi_3): Likewise.
11044 (special_fill_2pi_3): Likewise.
11045 (special_fill_e): Likewise.
11046 (special_fill_1_e): Likewise.
11047 (special_fill_e_minus_1): Likewise.
11048 (special_real_inputs): Add more special inputs.
11049 (output_for_one_input_case): Do not require ERANGE on underflow to
11050 zero if round-to-nearest result does not underflow to zero, unless
11051 exact results required.
11052 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11053 atan, atanh, cbrt, cos and cosh.
11054 * math/auto-libm-test-out: Regenerated.
11055 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11056 (acos_tonearest_test_data): Likewise.
11057 (acos_towardzero_test_data): Likewise.
11058 (acos_downward_test_data): Likewise.
11059 (acos_upward_test_data): Likewise.
11060 (acosh_test_data): Likewise.
11061 (asin_test_data): Likewise.
11062 (asin_tonearest_test_data): Likewise.
11063 (asin_towardzero_test_data): Likewise.
11064 (asin_upward_test_data): Likewise.
11065 (asinh_test_data): Likewise.
11066 (atan_test_data): Likewise.
11067 (atanh_test_data): Likewise.
11068 (cbrt_test_data): Likewise.
11069 (cos_test_data): Likewise.
11070 (cos_tonearest_test_data): Likewise.
11071 (cos_towardzero_test_data): Likewise.
11072 (cos_downward_test_data): Likewise.
11073 (cos_upward_test_data): Likewise.
11074 (cosh_test_data): Likewise.
11075 (cosh_tonearest_test_data): Likewise.
11076 (cosh_towardzero_test_data): Likewise.
11077 (cosh_downward_test_data): Likewise.
11078 (cosh_upward_test_data): Likewise.
11079 * sysdeps/i386/fpu/libm-test-ulps: Update.
11080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11081
ffb536d0
JM
110822013-11-29 Joseph Myers <joseph@codesourcery.com>
11083
2a77a467
JM
11084 [BZ #6787]
11085 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11086 * math/w_exp10f.c (__exp10f): Likewise.
11087 * math/w_exp10l.c (__exp10l): Likewise.
11088 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11089 errno settings in existing tests.
11090
ea3bc4e8
JM
11091 [BZ #14032]
11092 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11093 precision control set to double precision.
11094 * sysdeps/i386/fpu/w_sqrt.c: New file.
11095 * math/auto-libm-test-in: Add more tests.
11096 * math/auto-libm-test-out: Update.
11097
0712c9d8
JM
11098 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11099 (sqrt_test_tonearest): New function.
11100 (sqrt_towardzero_test_data): New variable.
11101 (sqrt_test_towardzero): New function.
11102 (sqrt_downward_test_data): New variable.
11103 (sqrt_test_downward): New function.
11104 (sqrt_upward_test_data): New variable.
11105 (sqrt_test_upward): New function.
11106 (main): Call the new functions.
11107
ffb536d0
JM
11108 * math/gen-auto-libm-tests.c: New file.
11109 * math/auto-libm-test-in: Likewise.
11110 * math/auto-libm-test-out: New generated file.
11111 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11112 variables.
11113 (%beautify): Add generated representations of zero.
11114 (top level): Set $auto_input and call parse_auto_input.
11115 (beautify): Remove trailing "f" from hex float constants.
11116 (parse_args): Handle XFAIL_TEST.
11117 (convert_condition): New function.
11118 (or_value): Likewise.
11119 (or_cond_value): Likewise.
11120 (generate_testfile): Handle AUTO_TESTS_* lines.
11121 (parse_auto_input): New function.
11122 * math/libm-test.inc (XFAIL_TEST): New macro.
11123 (ERRNO_UNCHANGED): Update value.
11124 (ERRNO_EDOM): Likewise.
11125 (ERRNO_ERANGE): Likewise.
11126 (IGNORE_RESULT): Likewise.
11127 (TEST_COND_flt_32): New macro.
11128 (TEST_COND_dbl_64): Likewise.
11129 (TEST_COND_ldbl_96_intel): Likewise.
11130 (TEST_COND_ldbl_96_m68k): Likewise.
11131 (TEST_COND_ldbl_128): Likewise.
11132 (TEST_COND_ldbl_128ibm): Likewise.
11133 (TEST_COND_long32): Likewise.
11134 (TEST_COND_long64): Likewise.
11135 (TEST_COND_before_rounding): Likewise.
11136 (TEST_COND_after_rounding): Likewise.
11137 (enable_test): Handle XFAIL_TEST flag.
11138 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11139 with finite results.
11140 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11141 auto-libm-test-out.
11142
acd98a8e
AK
111432013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11144 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11145
11146 [BZ #16214]
11147 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11148 __tls_get_addr_internal instead of __tls_get_offset in order to
11149 avoid GOT pointer dependency. Make rtld export
11150 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11151 __tls_get_addr since we are a __tls_get_offset platform.
11152 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11153 GOT pointer being set up before.
11154 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11155
3c1c46a6
JM
111562013-11-28 Joseph Myers <joseph@codesourcery.com>
11157
7475aef5
JM
11158 * manual/math.texi (Errors in Math Functions): Document accuracy
11159 goals.
11160
8bca7cd8
JM
11161 [BZ #15004]
11162 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11163 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11166 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11167 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11168 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11169 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11170 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11171 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11173 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11174 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11175 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11177 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11178
91a1f3fe
JM
11179 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11180 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11181 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11182 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11183 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11184 Likewise.
11185 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11186 Likewise.
11187 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11188 Likewise.
11189 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11190 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11191 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11192 atomic-feupdateenv and flt-rounds.
11193 * sysdeps/powerpc/nofpu/Versions (libc): Add
11194 __atomic_feholdexcept, __atomic_feclearexcept,
11195 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11196 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11197 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11198 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11199 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11200 here.
11201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11202 Update.
11203
c5df7609
JM
11204 * manual/arith.texi (FP Exceptions): Document that exceptions may
11205 not be raised when matherr is used.
11206 (Math Error Reporting): Document overflow in directed rounding
11207 modes. Document that errno may not be set when finite values are
11208 returned on overflow. Document intent to set errno on underflow
11209 only for underflow to zero.
11210
3c1c46a6
JM
11211 [BZ #16271]
11212 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11213 round-to-nearest then adjust result for other rounding modes.
11214 * include/fenv.h (fegetround): Use libm_hidden_proto.
11215 * math/fegetround.c (fegetround): Use libm_hidden_def.
11216 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11217 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11218 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11219 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11220 Likewise.
11221 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11222 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11223 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11224 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11225
5a4c6d53
SP
112262013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11227
11228 [BZ #16077]
11229 * nss/Versions (libnss_files): Add
11230 _nss_files_gethostbyname3_r.
11231 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11232 New function.
11233 (HOST_DB_LOOKUP): Remove macro.
11234 (_nss_files_gethostbyname_r): Implement function without the
11235 HOST_DB_LOOKUP macro.
11236 (_nss_files_gethostbyname2_r): Likewise.
11237
897b98ba
OB
112382013-11-28 Ondřej Bílka <neleai@seznam.cz>
11239
11240 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11241
6f476861
UB
112422013-11-26 Uros Bizjak <ubizjak@gmail.com>
11243
11244 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11245 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11246 warning.
11247
bd12ab55
AZ
112482013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11249
11250 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11251 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11252 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11253 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11254 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11255 __fe_nomask_env_priv and attribute_hidden.
11256 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11257 (libc_feupdateenv_test_ppc): Likewise.
11258 (libc_feresetround_ppc): Likewise.
11259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11260 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11261 compat_symbol macro.
11262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11263 (__fe_nomask_env): Likewise.
11264 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11265
52bb6543
OB
112662013-11-26 Ondřej Bílka <neleai@seznam.cz>
11267
11268 * string/Makefile: Remove ifunc tests.
11269 * string/test-string.h: Define TEST_IFUNC.
11270 * string/test-bcopy-ifunc.c: Remove.
11271 * string/test-bzero-ifunc.c: Likewise.
11272 * string/test-memccpy-ifunc.c: Likewise.
11273 * string/test-memchr-ifunc.c: Likewise.
11274 * string/test-memcmp-ifunc.c: Likewise.
11275 * string/test-memcpy-ifunc.c: Likewise.
11276 * string/test-memmem-ifunc.c: Likewise.
11277 * string/test-memmove-ifunc.c: Likewise.
11278 * string/test-mempcpy-ifunc.c: Likewise.
11279 * string/test-memrchr-ifunc.c: Likewise.
11280 * string/test-memset-ifunc.c: Likewise.
11281 * string/test-rawmemchr-ifunc.c: Likewise.
11282 * string/test-stpcpy-ifunc.c: Likewise.
11283 * string/test-stpncpy-ifunc.c: Likewise.
11284 * string/test-strcasecmp-ifunc.c: Likewise.
11285 * string/test-strcasestr-ifunc.c: Likewise.
11286 * string/test-strcat-ifunc.c: Likewise.
11287 * string/test-strchr-ifunc.c: Likewise.
11288 * string/test-strchrnul-ifunc.c: Likewise.
11289 * string/test-strcmp-ifunc.c: Likewise.
11290 * string/test-strcpy-ifunc.c: Likewise.
11291 * string/test-strcspn-ifunc.c: Likewise.
11292 * string/test-strlen-ifunc.c: Likewise.
11293 * string/test-strncasecmp-ifunc.c: Likewise.
11294 * string/test-strncat-ifunc.c: Likewise.
11295 * string/test-strncmp-ifunc.c: Likewise.
11296 * string/test-strncpy-ifunc.c: Likewise.
11297 * string/test-strnlen-ifunc.c: Likewise.
11298 * string/test-strpbrk-ifunc.c: Likewise.
11299 * string/test-strrchr-ifunc.c: Likewise.
11300 * string/test-strspn-ifunc.c: Likewise.
11301 * string/test-strstr-ifunc.c: Likewise.
11302
ab260039 113032013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
11304
11305 * benchtests/Makefile: Remove ifunc tests.
11306 * benchtests/bench-string.h: Define TEST_IFUNC.
11307 * benchtests/bench-bcopy-ifunc.c: Remove.
11308 * benchtests/bench-bzero-ifunc.c: Likewise.
11309 * benchtests/bench-memccpy-ifunc.c: Likewise.
11310 * benchtests/bench-memchr-ifunc.c: Likewise.
11311 * benchtests/bench-memcmp-ifunc.c: Likewise.
11312 * benchtests/bench-memcpy-ifunc.c: Likewise.
11313 * benchtests/bench-memmem-ifunc.c: Likewise.
11314 * benchtests/bench-memmove-ifunc.c: Likewise.
11315 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11316 * benchtests/bench-memrchr-ifunc.c: Likewise.
11317 * benchtests/bench-memset-ifunc.c: Likewise.
11318 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11319 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11320 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11321 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11322 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11323 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11324 * benchtests/bench-strcat-ifunc.c: Likewise.
11325 * benchtests/bench-strchr-ifunc.c: Likewise.
11326 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11327 * benchtests/bench-strcmp-ifunc.c: Likewise.
11328 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11329 * benchtests/bench-strcpy-ifunc.c: Likewise.
11330 * benchtests/bench-strcspn-ifunc.c: Likewise.
11331 * benchtests/bench-strlen-ifunc.c: Likewise.
11332 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11333 * benchtests/bench-strncat-ifunc.c: Likewise.
11334 * benchtests/bench-strncmp-ifunc.c: Likewise.
11335 * benchtests/bench-strncpy-ifunc.c: Likewise.
11336 * benchtests/bench-strnlen-ifunc.c: Likewise.
11337 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11338 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 11339 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
11340 * benchtests/bench-strspn-ifunc.c: Likewise.
11341 * benchtests/bench-strstr-ifunc.c: Likewise.
11342
113432013-11-26 Ondřej Bílka <neleai@seznam.cz>
11344
ab260039
OB
11345 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11346
d1d9eaf4 113472013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 11348
d1d9eaf4
OB
11349 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11350 * rt/aio.h: Likewise.
11351 * sysdeps/gnu/bits/utmp.h: Likewise.
11352 * sysdeps/gnu/bits/utmpx.h: Likewise.
11353 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11354 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11355 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11356 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11357 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11358 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11359 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11360 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11361 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11362 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11363 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11364 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11365 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11367 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11368 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11369 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11370 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11371 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11372 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11373 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11374 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11375 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11376 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11377 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11378 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11379 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11380 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11381 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11382 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11383 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11384 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11385 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11386 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11387 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11388 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11389 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11390 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11391 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11392 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11393 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11394 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11395
a7624ed9
CD
113962013-11-25 Carlos O'Donell <carlos@redhat.com>
11397
11398 [BZ #16245]
11399 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11400 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11401
63cfe52b
JM
114022013-11-25 Joseph Myers <joseph@codesourcery.com>
11403
11404 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11405 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11406 Likewise.
11407
41e8926a
AZ
114082013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11409
11410 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11411 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11412 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11413 (__fesetround): Remove define.
11414 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11415 rounding and exceptions handling.
11416 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11417 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11418 (__fe_nomask_env): Likewise.
11419 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11420 __fegetround instead of fegetround.
11421 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11422 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11423
6851bd4d
RM
114242013-11-21 Roland McGrath <roland@hack.frob.com>
11425
070906ff
RM
11426 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11427 it's there.
11428
6851bd4d
RM
11429 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11430
84ae135d
MI
114312013-11-21 Meador Inge <meadori@codesourcery.com>
11432
11433 [BZ #11157]
11434 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11435 (encrypt_r): Likewise.
11436 * malloc/obstack.h (obstack_free): Likewise.
11437 * posix/unistd.h (encrypt): Likewise.
11438
daf75146
GM
114392013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11440
11441 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11442 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11443 DL_CALL_DT_FINI() that call the functions directly.
11444 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11445 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11446 * elf/dl-fini.c: Likewise.
11447
10ad46bc
OB
114482013-11-20 Ondřej Bílka <neleai@seznam.cz>
11449
11450 * malloc/hooks.c (memalign_check): Add alignment rounding.
11451 * malloc/malloc.c (_mid_memalign): New function.
11452 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11453 Implement by calling _mid_memalign.
11454 * manual/probes.texi (Memory Allocation Probes): Remove
11455 memory_valloc_retry and memory_pvalloc_retry.
11456
f3fd2628
SP
114572013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11458
4712799f
SP
11459 * locale/programs/locarchive.c (open_archive): Add const
11460 qualifier to ARCHIVEFNAME and copy default fname to
11461 DEFAULT_FNAME.
11462
0417b20f
SP
11463 [BZ #15601]
11464 * libio/tst-widetext.input: Rename Oriya to Odia.
11465 * locale/iso-639.def: Likewise.
11466
f3fd2628
SP
11467 * manual/probes.texi (Mathematical Function Probes): Add
11468 documentation for sin, cos, asin and acos probes.
11469 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11470 (__sin32): Add slowasin probe.
11471 (__cos32): Add slowacos probe.
11472 (__mpsin): Add slowsin probe.
11473 (__mpcos): Add slowcos probe.
11474
73c1ce4f
JM
114752013-11-19 Joseph Myers <joseph@codesourcery.com>
11476
11477 [BZ #15483]
11478 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11479 thread-local __sim_exceptions_thread and global
11480 __sim_exceptions_global.
11481 (__sim_disabled_exceptions): Change to thread-local
11482 __sim_disabled_exceptions_thread and global
11483 __sim_disabled_exceptions_global.
11484 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11485 and global __sim_round_mode_global.
11486 (__simulate_exceptions): Use thread-local floating-point state and
11487 set global state from it as needed.
11488 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11489 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11490 __sim_round_mode_thread.
11491 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11492 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11493 and global __sim_exceptions_global.
11494 (__sim_disabled_exceptions): Change to thread-local
11495 __sim_disabled_exceptions_thread and global
11496 __sim_disabled_exceptions_global.
11497 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11498 and global __sim_round_mode_global.
11499 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11500 (SIM_SET_GLOBAL): Likewise.
11501 * sysdeps/powerpc/soft-fp/sfp-machine.h
11502 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11503 __sim_round_mode_thread.
11504 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11505 __sim_disabled_exceptions_thread.
11506 (__sim_exceptions): Change to __sim_exceptions_thread.
11507 (__sim_disabled_exceptions): Change to
11508 __sim_disabled_exceptions_thread.
11509 (__sim_round_mode): Change to __sim_round_mode_thread.
11510 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11511 thread-local floating-point state and set global state from it as
11512 needed.
11513 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11514 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11515 (__sim_disabled_exceptions): Remove extern declaration.
11516 (feenableexcept): Use thread-local floating-point state and set
11517 global state from it as needed.
11518 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11519 extern declaration.
11520 (__sim_disabled_exceptions): Likewise.
11521 (__sim_round_mode): Likewise.
11522 (__fegetenv): Use thread-local floating-point state.
11523 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11524 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11525 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11526 floating-point state and set global state from it as needed.
11527 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11528 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11529 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11530 Likewise.
11531 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11532 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11533 Likewise.
11534 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11535 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11536 Use __sim_round_mode_thread.
11537 * math/test-fenv-tls.c: New file.
11538 * math/Makefile (tests): Add test-fenv-tls.
11539 ($(objpfx)test-fenv-tls): Depend on
11540 $(common-objpfx)nptl/libpthread.so.
11541
b5449b12
AS
115422013-11-19 Andreas Schwab <schwab@suse.de>
11543
11544 * locale/programs/locale.c (show_info): Decode wordarray elements.
11545 * locale/categories.def (LC_MONETARY): Add element for
11546 _NL_MONETARY_CRNCYSTR.
11547 * locale/C-monetary.c (conversion_rate): New variable.
11548 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11549 element.
11550
e186536b
CM
115512013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11552
11553 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11554 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11555
5c349950
PP
115562013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11557
11558 * elf/Makefile (tst-auxv): New test.
11559 * elf/tst-auxv.c: New
11560 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11561
699df45b
JM
115622013-11-18 Joseph Myers <joseph@codesourcery.com>
11563
11564 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11565 (hidden_proto): Caller changed.
11566 (hidden_tls_proto): New macro.
11567 (libc_hidden_tls_proto): Likewise.
11568 (rtld_hidden_tls_proto): Likewise.
11569 (libm_hidden_tls_proto): Likewise.
11570 (libresolv_hidden_tls_proto): Likewise.
11571 (librt_hidden_tls_proto): Likewise.
11572 (libdl_hidden_tls_proto): Likewise.
11573 (libnss_files_hidden_tls_proto): Likewise.
11574 (libnsl_hidden_tls_proto): Likewise.
11575 (libnss_nisplus_hidden_tls_proto): Likewise.
11576 (libutil_hidden_tls_proto): Likewise.
11577
b7589107
OB
115782013-11-18 Ondřej Bílka <neleai@seznam.cz>
11579
11580 [BZ #10253]
11581 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11582 (decompose_rpath): Defer expansion to fillin_rpath.
11583 (_dl_init_paths): Pass linkmap to fillin_rpath.
11584
250c23bd
RS
115852013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11586
11587 * benchtests/Makefile: Add strsep.
11588 * benchtests/bench-strsep.c: New file: strsep benchtest.
11589 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11590
a7931fcf
AS
115912013-11-18 Andreas Schwab <schwab@suse.de>
11592
11593 * locale/programs/locale.c (show_info) [case byte]: Check for
11594 '\377' instead of '\177'.
11595 * locale/C-monetary.c (not_available): Always use "\377".
11596 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11597 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11598 detect unavailable sign_posn locale elements.
11599 * locale/localeconv.c (__localeconv): For grouping and
11600 mon_grouping handle "\177" and "\377" like no grouping.
11601 (INT_ELEM): New macro. Use it to set all numeric members.
11602 * locale/programs/ld-monetary.c (monetary_read)
11603 <tok_mon_grouping>: Normalize single -1 to the empty string.
11604 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11605 Likewise.
11606
728dab0e
OB
116072013-11-07 Ondřej Bílka <neleai@seznam.cz>
11608
11609 [BZ #16055]
11610 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11611 when we match (nil).
11612 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11613
66294491
JM
116142013-11-16 Joseph Myers <joseph@codesourcery.com>
11615
ce665817
JM
11616 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11617 (NO_TEST_INLINE): Update value.
11618 (ERRNO_UNCHANGED): Likewise.
11619 (ERRNO_EDOM): Likewise.
11620 (ERRNO_ERANGE): Likewise.
11621 (IGNORE_RESULT): Likewise.
11622 (check_float_internal): Check signs of NaN results if
11623 TEST_NAN_SIGN used.
11624 (check_complex): Pass TEST_NAN_SIGN flag through to second
11625 check_float_internal call.
11626 (copysign_test_data): Add tests with quiet NaNs as second
11627 argument. Use TEST_NAN_SIGN.
11628 (fabs_test_data): Add test of negative quiet NaN argument. Use
11629 TEST_NAN_SIGN.
11630 (signbit_test_data): Add tests of quiet NaN argument.
11631 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11632
ee1466a9
JM
11633 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11634 $ignore_result.
11635 (parse_args): Handle function results specified as IGNORE.
11636 * math/libm-test.inc (IGNORE_RESULT): New macro.
11637 (check_float_internal): Do not check numerical result if flag
11638 IGNORE_RESULT set.
11639 (check_complex): Pass through IGNORE_RESULT to second
11640 check_float_internal call.
11641 (check_int): Do not check numerical result if flag IGNORE_RESULT
11642 set.
11643 (check_long): Likewise.
11644 (check_bool): Likewise.
11645 (check_longlong): Likewise.
11646 (lrint_test_data): Add tests of infinite and NaN arguments.
11647 (lrint_tonearest_test_data): Likewise.
11648 (lrint_towardzero_test_data): Likewise.
11649 (lrint_downward_test_data): Likewise.
11650 (lrint_upward_test_data): Likewise.
11651 (llrint_test_data): Likewise.
11652 (llrint_tonearest_test_data): Likewise.
11653 (llrint_towardzero_test_data): Likewise.
11654 (llrint_downward_test_data): Likewise.
11655 (llrint_upward_test_data): Likewise.
11656 (lround_test_data): Likewise.
11657 (llround_test_data): Likewise.
11658
14407b7e
JM
11659 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11660 (ERRNO_UNCHANGED): Update value.
11661 (ERRNO_EDOM): Likewise.
11662 (ERRNO_ERANGE): Likewise.
11663 (NO_TEST_INLINE_FLOAT): New macro.
11664 (NO_TEST_INLINE_DOUBLE): Likewise.
11665 (enable_test): New function.
11666 (RUN_TEST_f_f): Check enable_test before running test.
11667 (RUN_TEST_2_f): Likewise.
11668 (RUN_TEST_fff_f): Likewise.
11669 (RUN_TEST_c_f): Likewise.
11670 (RUN_TEST_f_f1): Likewise.
11671 (RUN_TEST_fF_f1): Likewise.
11672 (RUN_TEST_fI_f1): Likewise.
11673 (RUN_TEST_ffI_f1): Likewise.
11674 (RUN_TEST_c_c): Likewise.
11675 (RUN_TEST_cc_c): Likewise.
11676 (RUN_TEST_f_i): Likewise.
11677 (RUN_TEST_f_i_tg): Likewise.
11678 (RUN_TEST_ff_i_tg): Likewise.
11679 (RUN_TEST_f_b): Likewise.
11680 (RUN_TEST_f_b_tg): Likewise.
11681 (RUN_TEST_f_l): Likewise.
11682 (RUN_TEST_f_L): Likewise.
11683 (RUN_TEST_fFF_11): Likewise.
11684 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11685 conditionals.
11686 (cosh_test_data): Likewise.
11687 (exp_test_data): Likewise.
11688 (expm1_test_data): Likewise.
11689 (hypot_test_data): Likewise.
11690 (pow_test_data): Likewise.
11691 (sinh_test_data): Likewise.
11692 (tanh_test_data): Likewise.
11693 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11694 flags argument.
11695
ca07f197
JM
11696 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11697 tests with quiet NaN input and output.
11698 (acosh_test_data): Likewise.
11699 (asin_test_data): Likewise.
11700 (asinh_test_data): Likewise.
11701 (atan_test_data): Likewise.
11702 (atanh_test_data): Likewise.
11703 (atan2_test_data): Likewise.
11704 (cbrt_test_data): Likewise.
11705 (cos_test_data): Likewise.
11706 (cosh_test_data): Likewise.
11707 (erf_test_data): Likewise.
11708 (erfc_test_data): Likewise.
11709 (exp_test_data): Likewise.
11710 (exp10_test_data): Likewise.
11711 (exp2_test_data): Likewise.
11712 (expm1_test_data): Likewise.
11713 (hypot_test_data): Likewise.
11714 (j0_test_data): Likewise.
11715 (j1_test_data): Likewise.
11716 (jn_test_data): Likewise.
11717 (lgamma_test_data): Likewise.
11718 (log_test_data): Likewise.
11719 (log10_test_data): Likewise.
11720 (log1p_test_data): Likewise.
11721 (log2_test_data): Likewise.
11722 (pow_test_data): Likewise.
11723 (scalb_test_data): Likewise.
11724 (sin_test_data): Likewise.
11725 (sincos_test_data): Likewise.
11726 (sinh_test_data): Likewise.
11727 (tan_test_data): Likewise.
11728 (tanh_test_data): Likewise.
11729 (tgamma_test_data): Likewise.
11730 (y0_test_data): Likewise.
11731 (y1_test_data): Likewise.
11732 (yn_test_data): Likewise.
11733
66294491
JM
11734 [BZ #16167]
11735 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11736 argument being NaN and avoid computations with second argument in
11737 that case.
11738 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11739 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11740 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11741
1820b143
CL
117422013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11743
11744 * locale/iso-639.def: Add Chitwani Tharu (the).
11745
714bd261
AS
117462013-11-14 Andreas Schwab <schwab@suse.de>
11747
11748 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11749 word instead of empty string.
11750
7ab44563
AZ
117512013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11752
11753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11754 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11756 (__fe_nomask_env): Likewise.
11757
e8470ea2
SE
117582013-11-13 Steve Ellcey <sellcey@mips.com>
11759
11760 * benchtests/bench-timing.h: Include time.h.
11761
17c1d9f0
L
117622013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11763
11764 [BZ #15997]
11765 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11766 to 3.4.0 for x32.
11767 * sysdeps/unix/sysv/linux/configure: Regenerated.
11768
9310c284
JM
117692013-11-13 Joseph Myers <joseph@codesourcery.com>
11770
11771 [BZ #16151]
11772 * stdlib/strtod_l.c (round_and_return): Do not consider
11773 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11774 exponent one less than half the least subnormal exponent.
11775 * stdlib/test-strtod-round-data: Add more tests.
11776 * stdlib/tst-strtod-round.c (tests): Regenerated.
11777
7a2ad8cf
AZ
117782013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11779
11780 [BZ #14143]
11781 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11782 (__fe_mask_env): Likewise.
11783 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11784 libm_hidden_proto and add function prototype.
11785 (__fe_mask_env): Add function prototype.
11786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11787 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11789 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11791 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11792
50727aa7
MS
117932013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11794
b2f386c1 11795 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
11796 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11797
a615be46
MS
117982013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11799
11800 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11801 of htab_find_slot().
11802
7ddace62
DM
118032013-11-11 David S. Miller <davem@davemloft.net>
11804
11805 [BZ #16150]
11806 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11807 symbol in the non-vis3 case in static builds.
11808 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11809 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11810 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11811 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11812
9182aa67
JK
118132013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11814
11815 [BZ #387]
11816 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11817 it is empty.
11818
450a2e2d
AZ
118192013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11820
b2f386c1
SP
11821 * benchtests/Makefile: Add bench-strtod.
11822 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 11823
8ec3f656
AS
118242013-11-11 Andreas Schwab <schwab@suse.de>
11825
11826 [BZ #16153]
11827 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11828 terminating NUL in key length.
11829
76a9b998
AZ
118302013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11831
11832 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11833 Add artificial ODP entry for vDSO symbol for PPC64.
11834 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11835 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11836
e4368156
OB
118372013-11-07 Ondřej Bílka <neleai@seznam.cz>
11838
11839 [BZ #15374]
11840 * nss/getent.c (services_keys): Recognize services starting with digit.
11841
8d6bb57c
DM
118422013-11-06 David S. Miller <davem@davemloft.net>
11843
11844 [BZ #15985]
11845 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11846 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11847
e256c421
WN
118482013-11-06 Will Newton <will.newton@linaro.org>
11849
11850 * manual/memory.texi (Malloc Examples): Remove register
11851 keyword from examples.
11852
f6e12daa 118532013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 11854
f6e12daa 11855 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 11856
9d880655
AS
118572013-11-04 Joseph Myers <joseph@codesourcery.com>
11858
fd2f9486 11859 [BZ #6981]
9d880655
AS
11860 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11861 depending on [__GCC_IEC_559 > 0].
11862 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11863 depending on [__GCC_IEC_559_COMPLEX > 0].
11864
ae129d3c
CL
118652013-11-03 Chris Leonard <cjl@sugarlabs.org>
11866
11867 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11868 to iso-639.def.
11869
4a15c2a4 118702013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
11871
11872 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11873
8b35e35d
OB
118742013-11-01 Ondřej Bílka <neleai@seznam.cz>
11875
11876 [BZ #16112]
11877 * malloc/malloc (malloc_info): Do not handle first bin as
11878 special case.
11879
1d70fd6c
CL
118802013-11-01 Chris Leonard <cjl@sugarlabs.org>
11881
11882 * locale/iso-639.def: Add Central Nahuatl (nhn).
11883
8c5c2600
BH
118842013-11-01 Bruno Haible <bruno@clisp.org>
11885
11886 [BZ #7003]
11887 * manual/math.texi (BSD Random): Specify range upper bound as
11888 in POSIX.
11889
da5579c2
CL
118902013-10-31 Chris Leonard <cjl@sugarlabs.org>
11891
11892 * locale/iso-639.def: Add Meadow Mari (mhr).
11893
5d30d853
OB
118942013-10-31 Ondřej Bílka <neleai@seznam.cz>
11895
11896 [BZ #14752], [BZ #15763]
11897 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11898 Validate name.
11899 * rt/tst_shm.c: Add test for escaping directory.
11900
a4966c61
AS
119012013-10-31 Andreas Schwab <schwab@suse.de>
11902
8a43e768 11903 [BZ #15917]
a4966c61
AS
11904 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11905 followed by 'x' as part of digit sequence.
11906 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11907
28d708c4
MAP
119082013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11909
11910 [BZ #16037]
11911 * configure.ac: allow GNU Make 4.0 and greater.
11912 * configure: Regenerated.
11913
a56ee40b
WN
119142013-10-30 Will Newton <will.newton@linaro.org>
11915
11916 [BZ #16038]
11917 * malloc/hooks.c (memalign_check): Limit alignment to the
11918 maximum representable power of two.
11919 * malloc/malloc.c (__libc_memalign): Likewise.
11920 * malloc/tst-memalign.c (do_test): Add test for very
11921 large alignment values.
11922 * malloc/tst-posix_memalign.c (do_test): Likewise.
11923
c6e4925d
OB
119242013-10-30 Ondřej Bílka <neleai@seznam.cz>
11925
11926 [BZ #11087]
11927 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11928 (munmap_chunk): Likewise.
11929 (mremap_chunk): Likewise.
11930
119312013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 11932
8a43e768 11933 [BZ #15799]
bbea82f7
OB
11934 * stdlib/div.c (div): Remove obsolete code.
11935 * stdlib/ldiv.c (ldiv): Likewise.
11936 * stdlib/lldiv.c (lldiv): Likewise.
11937
977f4b31
SP
119382013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11939
11940 [BZ #16071]
11941 * nss/nss_files/files-XXX.c (get_contents_ret): New
11942 enumerator.
11943 (get_contents): New function.
11944 (internal_getent): Use it. Expand size of LINEBUFLEN.
11945
cb8a6dbd
MF
119462013-10-30 Mike Frysinger <vapier@gentoo.org>
11947
11948 * configure.in: Moved to ...
11949 * configure.ac: ... here. Change reference to configure.in
11950 to configure.ac.
11951 * sysdeps/arm/preconfigure.ac: ... here.
11952 configure.in to configure.ac.
11953 * sysdeps/gnu/configure.in: Moved to ...
11954 * sysdeps/gnu/configure.ac: ... here.
11955 * sysdeps/i386/configure.in: Moved to ...
11956 * sysdeps/i386/configure.ac: ... here.
11957 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11958 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11959 * sysdeps/mach/configure.in: Moved to ...
11960 * sysdeps/mach/configure.ac: ... here.
11961 * sysdeps/mach/hurd/configure.in: Moved to ...
11962 * sysdeps/mach/hurd/configure.ac: ... here.
11963 * sysdeps/powerpc/configure.in: Moved to ...
11964 * sysdeps/powerpc/configure.ac: ... here.
11965 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11966 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11967 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11968 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11969 * sysdeps/s390/s390-32/configure.in: Moved to ...
11970 * sysdeps/s390/s390-32/configure.ac: ... here.
11971 * sysdeps/s390/s390-64/configure.in: Moved to ...
11972 * sysdeps/s390/s390-64/configure.ac: ... here.
11973 * sysdeps/sh/configure.in: Moved to ...
11974 * sysdeps/sh/configure.ac: ... here.
11975 * sysdeps/sparc/configure.in: Moved to ...
11976 * sysdeps/sparc/configure.ac: ... here.
11977 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11978 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11979 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11980 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11981 * sysdeps/x86_64/configure.in: Moved to ...
11982 * sysdeps/x86_64/configure.ac: ... here.
11983 * sysdeps/x86_64/preconfigure.in: Moved to ...
11984 * sysdeps/x86_64/preconfigure.ac: ... here.
11985 * aclocal.m4: Change reference to configure.in to configure.ac.
11986 * config.h.in: Likewise.
11987 * manual/install.texi: Likewise.
11988 * manual/maint.texi: Likewise.
11989 * Makefile: Likewise.
11990 * malloc/Makefile: Likewise.
11991 * nscd/Makefile: Likewise.
11992 * Makeconfig: Change reference to configure.in and
11993 preconfigure.in to configure.ac and preconfigure.ac
11994 respectively.
11995 * INSTALL: Regenerated.
11996 * configure: Likewise.
11997 * sysdeps/gnu/configure: Likewise.
11998 * sysdeps/i386/configure: Likewise.
11999 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12000 * sysdeps/mach/configure: Likewise.
12001 * sysdeps/mach/hurd/configure: Likewise.
12002 * sysdeps/powerpc/configure: Likewise.
12003 * sysdeps/powerpc/powerpc32/configure: Likewise.
12004 * sysdeps/powerpc/powerpc64/configure: Likewise.
12005 * sysdeps/s390/s390-32/configure: Likewise.
12006 * sysdeps/s390/s390-64/configure: Likewise.
12007 * sysdeps/sh/configure: Likewise.
12008 * sysdeps/sparc/configure: Likewise.
12009 * sysdeps/unix/sysv/linux/configure: Likewise.
12010 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12011 * sysdeps/x86_64/configure: Likewise.
12012 * sysdeps/x86_64/preconfigure: Likewise.
12013
36a4953a
AS
120142013-10-29 Andreas Schwab <schwab@suse.de>
12015
12016 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12017
c79a1204
SP
120182013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12019
dfa1b402
SP
12020 * benchtests/pow-inputs: Add new inputs.
12021
54f73d9c
SP
12022 * benchtests/exp-inputs: Add new inputs.
12023
c79a1204
SP
12024 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12025 conditional check for return value.
12026 (__cos32): Likewise.
12027
67beb545 120282013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
12029
12030 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12031 to provide a boost for large inputs with word alignment.
12032 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12033 implementation based on optimized PPC64 strcpy.
12034 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12035 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12036 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12037 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12038
151659f6
OB
120392013-10-25 Ondřej Bílka <neleai@seznam.cz>
12040
482a077e 12041 [BZ #2801]
151659f6
OB
12042 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12043
10b0f26b
OB
120442013-10-25 Ondřej Bílka <neleai@seznam.cz>
12045
12046 [BZ #14876]
12047 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12048 * time/tst-strptime.c (day_tests): Add testcase.
12049
ca42d35e
OB
120502013-10-25 Ondřej Bílka <neleai@seznam.cz>
12051
482a077e 12052 [BZ #14029]
ca42d35e
OB
12053 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12054
52e6d801
FB
120552013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12056
12057 [BZ #16074]
12058 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12059 MAP_FAILED on error.
12060
7cbcdb36
SP
120612013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12062
12063 [BZ #16072]
12064 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12065 heap for large requests.
12066
894f3f10
AM
120672013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12068
12069 [BZ #9954]
12070 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12071 result if the result has no associated interface.
12072 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12073 interface for all 127.X.Y.Z addresses.
12074
b85545a6
CL
120752013-10-24 Chris Leonard <cjl@sugarlabs.org>
12076
12077 * locale/iso-639.def: Add Ligurian (lij)
12078
d1f23d46
OB
120792013-10-21 Ondřej Bílka <neleai@seznam.cz>
12080
12081 [BZ #15825]
12082 * sunrpc/rpc_main.c: Document rpcgen -5.
12083
4db5b08f
MS
120842013-10-19 Michael Stahl <mstahl@redhat.com>
12085
12086 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12087
a471e96a
OB
120882013-10-19 Ondřej Bílka <neleai@seznam.cz>
12089
d1f23d46 12090 [BZ #10278]
a471e96a
OB
12091 * posix/glob.c: Match only directories when trailing slash is present.
12092 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12093 (main): Add testcase.
12094
45c30c61
OB
120952013-10-19 Ondřej Bílka <neleai@seznam.cz>
12096
12097 [BZ #15670]
12098 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12099
484c12fb
CD
121002013-10-18 Carlos O'Donell <carlos@redhat.com>
12101
3d7dc513
CD
12102 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12103 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12104 AUTH_DES and cindex for FIPS 140-2.
12105 (DES Encryption): Add cindex FIPS 46-3.
12106
484c12fb
CD
12107 * locale/locarchive.h (struct locarhandle): Add fname.
12108 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12109 if an optional argument was specified to --list-archive,
12110 otherwise NULL.
12111 * locale/programs/locarchive.c (show_archive_content): Take new
12112 argument fname and pass it via ah.fname to open_archive.
12113 * locale/programs/localedef.h: Update decl.
12114 (open_archive): If AH->fname is non-null, open that file
12115 rather than the default file name, and don't ignore ENOENT.
12116 (create_archive): Set AH.fname to NULL.
12117 (delete_locales_from_archive): Likewise.
12118 (add_locales_to_archive): Likewise.
12119 * locale/programs/locfile.c (write_all_categories): Likewise.
12120
3c8325fb
JM
121212013-10-18 Joseph Myers <joseph@codesourcery.com>
12122 Aldy Hernandez <aldyh@redhat.com>
12123
12124 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12125 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12126 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12127 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12128 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12129 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12130 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12131 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12132 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12133 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12134 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12135 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12136 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12137 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12138 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12139 Likewise.
12140 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12141 Likewise.
12142 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12143 Likewise.
12144 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12145 Likewise.
12146 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12147 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12148 Likewise.
12149 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12150 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12151 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12152 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12153 Likewise.
12154 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12155 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12156 * sysdeps/powerpc/preconfigure: Likewise.
12157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12158 Likewise.
12159 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12160 Replace contents of file by #include of <fenv_libc.h>.
12161 * sysdeps/powerpc/soft-fp/sfp-machine.h
12162 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12163 and <sys/prctl.h>.
12164 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12165 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12166 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12167 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12168 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12169 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12170 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12171 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12172 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12173 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12174 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12175 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12177 Allow copysignl PLT reference to be missing.
12178
5abe0682
RS
121792013-10-18 Richard Sandiford <richard@codesourcery.com>
12180 Joseph Myers <joseph@codesourcery.com
12181
12182 [BZ #15948]
12183 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12184 single character.
12185 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12186
c7738d08
SP
121872013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12188
12189 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12190 * elf/tst-tls1.c: Likewise.
12191 * elf/tst-tls10.h: Likewise.
12192 * elf/tst-tls14.c: Likewise.
12193 * elf/tst-tls2.c: Likewise.
12194 * elf/tst-tls3.c: Likewise.
12195 * elf/tst-tls4.c: Likewise.
12196 * elf/tst-tls5.c: Likewise.
12197 * elf/tst-tls6.c: Likewise.
12198 * elf/tst-tls7.c: Likewise.
12199 * elf/tst-tls8.c: Likewise.
12200 * elf/tst-tls9.c: Likewise.
12201 * elf/tst-tlsmod1.c: Likewise.
12202 * elf/tst-tlsmod13.c: Likewise.
12203 * elf/tst-tlsmod13a.c: Likewise.
12204 * elf/tst-tlsmod14a.c: Likewise.
12205 * elf/tst-tlsmod16a.c: Likewise.
12206 * elf/tst-tlsmod16b.c: Likewise.
12207 * elf/tst-tlsmod2.c: Likewise.
12208 * elf/tst-tlsmod3.c: Likewise.
12209 * elf/tst-tlsmod4.c: Likewise.
12210 * elf/tst-tlsmod5.c: Likewise.
12211 * elf/tst-tlsmod6.c: Likewise.
12212
0bfcf2c7
OB
122132013-10-18 Ondřej Bílka <neleai@seznam.cz>
12214
12215 [BZ #12486]
12216 * malloc/malloc.c: remove checks for statistics.
12217
264aad1e
OB
122182013-10-17 Ondřej Bílka <neleai@seznam.cz>
12219
12220 [BZ #15277]
12221 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12222 * inet/tst-network.c: Add testcase.
12223
b957ced8
AS
122242013-10-17 Andreas Schwab <schwab@suse.de>
12225
12226 [BZ #15218]
12227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12228 to determine canonical name.
12229
c5d5d574
OB
122302013-10-17 Ondřej Bílka <neleai@seznam.cz>
12231
12232 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12233 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12234 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12235 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12236 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12237 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12238 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12239 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12240 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12241 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12242 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12243 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12244 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12245 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12246 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12247 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12248 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12249 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12250 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12251 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12252 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12253 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12254 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12255 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12256 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12257 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12258 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12259 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12260 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12261 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12262 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12263 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12264 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12265 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12266 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12267 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12268 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12269 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12270 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12271 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12272 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12273 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12274 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12275 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12276 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12277 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12278 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12279 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12280 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12281 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12282 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12284 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12285 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12286 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12287 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12288 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12289 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12290
e5c2c2d0
JM
122912013-10-17 Joseph Myers <joseph@codesourcery.com>
12292
12293 [BZ #16041]
12294 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12295 make result into a quiet NaN.
12296
51ca9e29
JM
122972013-10-16 Joseph Myers <joseph@codesourcery.com>
12298
12299 * soft-fp/adddf3.c: Fix horizontal whitespace.
12300 * soft-fp/addsf3.c: Likewise.
12301 * soft-fp/addtf3.c: Likewise.
12302 * soft-fp/divdf3.c: Likewise.
12303 * soft-fp/divsf3.c: Likewise.
12304 * soft-fp/divtf3.c: Likewise.
12305 * soft-fp/double.h: Likewise.
12306 * soft-fp/eqdf2.c: Likewise.
12307 * soft-fp/eqsf2.c: Likewise.
12308 * soft-fp/eqtf2.c: Likewise.
12309 * soft-fp/extenddftf2.c: Likewise.
12310 * soft-fp/extended.h: Likewise.
12311 * soft-fp/extendsfdf2.c: Likewise.
12312 * soft-fp/extendsftf2.c: Likewise.
12313 * soft-fp/extendxftf2.c: Likewise.
12314 * soft-fp/fixdfdi.c: Likewise.
12315 * soft-fp/fixdfsi.c: Likewise.
12316 * soft-fp/fixdfti.c: Likewise.
12317 * soft-fp/fixsfdi.c: Likewise.
12318 * soft-fp/fixsfsi.c: Likewise.
12319 * soft-fp/fixsfti.c: Likewise.
12320 * soft-fp/fixtfdi.c: Likewise.
12321 * soft-fp/fixtfsi.c: Likewise.
12322 * soft-fp/fixtfti.c: Likewise.
12323 * soft-fp/fixunsdfdi.c: Likewise.
12324 * soft-fp/fixunsdfsi.c: Likewise.
12325 * soft-fp/fixunsdfti.c: Likewise.
12326 * soft-fp/fixunssfdi.c: Likewise.
12327 * soft-fp/fixunssfsi.c: Likewise.
12328 * soft-fp/fixunssfti.c: Likewise.
12329 * soft-fp/fixunstfdi.c: Likewise.
12330 * soft-fp/fixunstfsi.c: Likewise.
12331 * soft-fp/fixunstfti.c: Likewise.
12332 * soft-fp/floatdidf.c: Likewise.
12333 * soft-fp/floatdisf.c: Likewise.
12334 * soft-fp/floatditf.c: Likewise.
12335 * soft-fp/floatsidf.c: Likewise.
12336 * soft-fp/floatsisf.c: Likewise.
12337 * soft-fp/floatsitf.c: Likewise.
12338 * soft-fp/floattidf.c: Likewise.
12339 * soft-fp/floattisf.c: Likewise.
12340 * soft-fp/floattitf.c: Likewise.
12341 * soft-fp/floatundidf.c: Likewise.
12342 * soft-fp/floatundisf.c: Likewise.
12343 * soft-fp/floatunditf.c: Likewise.
12344 * soft-fp/floatunsidf.c: Likewise.
12345 * soft-fp/floatunsisf.c: Likewise.
12346 * soft-fp/floatunsitf.c: Likewise.
12347 * soft-fp/floatuntidf.c: Likewise.
12348 * soft-fp/floatuntisf.c: Likewise.
12349 * soft-fp/floatuntitf.c: Likewise.
12350 * soft-fp/fmadf4.c: Likewise.
12351 * soft-fp/fmasf4.c: Likewise.
12352 * soft-fp/fmatf4.c: Likewise.
12353 * soft-fp/gedf2.c: Likewise.
12354 * soft-fp/gesf2.c: Likewise.
12355 * soft-fp/getf2.c: Likewise.
12356 * soft-fp/ledf2.c: Likewise.
12357 * soft-fp/lesf2.c: Likewise.
12358 * soft-fp/letf2.c: Likewise.
12359 * soft-fp/muldf3.c: Likewise.
12360 * soft-fp/mulsf3.c: Likewise.
12361 * soft-fp/multf3.c: Likewise.
12362 * soft-fp/negdf2.c: Likewise.
12363 * soft-fp/negsf2.c: Likewise.
12364 * soft-fp/negtf2.c: Likewise.
12365 * soft-fp/op-1.h: Likewise.
12366 * soft-fp/op-2.h: Likewise.
12367 * soft-fp/op-4.h: Likewise.
12368 * soft-fp/op-8.h: Likewise.
12369 * soft-fp/op-common.h: Likewise.
12370 * soft-fp/quad.h: Likewise.
12371 * soft-fp/single.h: Likewise.
12372 * soft-fp/soft-fp.h: Likewise.
12373 * soft-fp/sqrtdf2.c: Likewise.
12374 * soft-fp/sqrtsf2.c: Likewise.
12375 * soft-fp/sqrttf2.c: Likewise.
12376 * soft-fp/subdf3.c: Likewise.
12377 * soft-fp/subsf3.c: Likewise.
12378 * soft-fp/subtf3.c: Likewise.
12379 * soft-fp/truncdfsf2.c: Likewise.
12380 * soft-fp/trunctfdf2.c: Likewise.
12381 * soft-fp/trunctfsf2.c: Likewise.
12382 * soft-fp/trunctfxf2.c: Likewise.
12383 * soft-fp/unorddf2.c: Likewise.
12384 * soft-fp/unordsf2.c: Likewise.
12385 * soft-fp/unordtf2.c: Likewise.
12386
9ebb0332
JM
123872013-10-15 Joseph Myers <joseph@codesourcery.com>
12388
12389 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12390 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12391
4b1a6d8b
OB
123922013-10-15 Ondřej Bílka <neleai@seznam.cz>
12393
12394 * elf/dl-libc.c: Clear initfini list after freeing.
12395
1e145589
JM
123962013-10-14 Joseph Myers <joseph@codesourcery.com>
12397
12398 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12399 * soft-fp/addsf3.c: Likewise.
12400 * soft-fp/addtf3.c: Likewise.
12401 * soft-fp/divdf3.c: Likewise.
12402 * soft-fp/divsf3.c: Likewise.
12403 * soft-fp/divtf3.c: Likewise.
12404 * soft-fp/double.h: Likewise.
12405 * soft-fp/eqdf2.c: Likewise.
12406 * soft-fp/eqsf2.c: Likewise.
12407 * soft-fp/eqtf2.c: Likewise.
12408 * soft-fp/extenddftf2.c: Likewise.
12409 * soft-fp/extended.h: Likewise.
12410 * soft-fp/extendsfdf2.c: Likewise.
12411 * soft-fp/extendsftf2.c: Likewise.
12412 * soft-fp/extendxftf2.c: Likewise.
12413 * soft-fp/fixdfdi.c: Likewise.
12414 * soft-fp/fixdfsi.c: Likewise.
12415 * soft-fp/fixdfti.c: Likewise.
12416 * soft-fp/fixsfdi.c: Likewise.
12417 * soft-fp/fixsfsi.c: Likewise.
12418 * soft-fp/fixsfti.c: Likewise.
12419 * soft-fp/fixtfdi.c: Likewise.
12420 * soft-fp/fixtfsi.c: Likewise.
12421 * soft-fp/fixtfti.c: Likewise.
12422 * soft-fp/fixunsdfdi.c: Likewise.
12423 * soft-fp/fixunsdfsi.c: Likewise.
12424 * soft-fp/fixunsdfti.c: Likewise.
12425 * soft-fp/fixunssfdi.c: Likewise.
12426 * soft-fp/fixunssfsi.c: Likewise.
12427 * soft-fp/fixunssfti.c: Likewise.
12428 * soft-fp/fixunstfdi.c: Likewise.
12429 * soft-fp/fixunstfsi.c: Likewise.
12430 * soft-fp/fixunstfti.c: Likewise.
12431 * soft-fp/floatdidf.c: Likewise.
12432 * soft-fp/floatdisf.c: Likewise.
12433 * soft-fp/floatditf.c: Likewise.
12434 * soft-fp/floatsidf.c: Likewise.
12435 * soft-fp/floatsisf.c: Likewise.
12436 * soft-fp/floatsitf.c: Likewise.
12437 * soft-fp/floattidf.c: Likewise.
12438 * soft-fp/floattisf.c: Likewise.
12439 * soft-fp/floattitf.c: Likewise.
12440 * soft-fp/floatundidf.c: Likewise.
12441 * soft-fp/floatundisf.c: Likewise.
12442 * soft-fp/floatunsidf.c: Likewise.
12443 * soft-fp/floatunsisf.c: Likewise.
12444 * soft-fp/floatuntidf.c: Likewise.
12445 * soft-fp/floatuntisf.c: Likewise.
12446 * soft-fp/floatuntitf.c: Likewise.
12447 * soft-fp/fmadf4.c: Likewise.
12448 * soft-fp/fmasf4.c: Likewise.
12449 * soft-fp/fmatf4.c: Likewise.
12450 * soft-fp/gedf2.c: Likewise.
12451 * soft-fp/gesf2.c: Likewise.
12452 * soft-fp/getf2.c: Likewise.
12453 * soft-fp/ledf2.c: Likewise.
12454 * soft-fp/lesf2.c: Likewise.
12455 * soft-fp/letf2.c: Likewise.
12456 * soft-fp/muldf3.c: Likewise.
12457 * soft-fp/mulsf3.c: Likewise.
12458 * soft-fp/multf3.c: Likewise.
12459 * soft-fp/negdf2.c: Likewise.
12460 * soft-fp/negsf2.c: Likewise.
12461 * soft-fp/negtf2.c: Likewise.
12462 * soft-fp/op-1.h: Likewise.
12463 * soft-fp/op-2.h: Likewise.
12464 * soft-fp/op-4.h: Likewise.
12465 * soft-fp/op-8.h: Likewise.
12466 * soft-fp/op-common.h: Likewise.
12467 * soft-fp/quad.h: Likewise.
12468 * soft-fp/single.h: Likewise.
12469 * soft-fp/soft-fp.h: Likewise.
12470 * soft-fp/sqrtdf2.c: Likewise.
12471 * soft-fp/sqrtsf2.c: Likewise.
12472 * soft-fp/sqrttf2.c: Likewise.
12473 * soft-fp/subdf3.c: Likewise.
12474 * soft-fp/subsf3.c: Likewise.
12475 * soft-fp/subtf3.c: Likewise.
12476 * soft-fp/truncdfsf2.c: Likewise.
12477 * soft-fp/trunctfdf2.c: Likewise.
12478 * soft-fp/trunctfsf2.c: Likewise.
12479 * soft-fp/trunctfxf2.c: Likewise.
12480 * soft-fp/unorddf2.c: Likewise.
12481 * soft-fp/unordsf2.c: Likewise.
12482 * soft-fp/unordtf2.c: Likewise.
12483
17c48a60
OB
124842013-10-14 Ondřej Bílka <neleai@seznam.cz>
12485
12486 [BZ #15672]
12487 * misc/error.c (error_tail): Fix possible buffer overflow.
12488
cabba934
OB
124892013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12490
12491 [BZ #13028]
12492 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12493 address.
12494
94bf958a
PM
124952013-10-14 P. J. McDermott <pj@pehjota.net>
12496
12497 [BZ #832]
12498 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12499 testing pipefail option.
12500
71b4dea7
JM
125012013-10-12 Joseph Myers <joseph@codesourcery.com>
12502
12503 * soft-fp/double.h: Indent preprocessor directives inside #if.
12504 * soft-fp/extended.h: Likewise.
12505 * soft-fp/op-2.h: Likewise.
12506 * soft-fp/op-4.h: Likewise.
12507 * soft-fp/op-common.h: Likewise.
12508 * soft-fp/quad.h: Likewise.
12509 * soft-fp/single.h: Likewise.
12510 * soft-fp/soft-fp.h: Likewise.
12511
55602758
YC
125122013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12513
12514 * iconv/iconv_prog.c: Fix typos.
12515 * stdio-common/psiginfo-data.h: Likewise.
12516
9cd83302
RT
125172013-10-12 Reuben Thomas <rrt@sc3d.org>
12518
12519 [BZ #15764]
12520 * locale/setlocale.c: Fix typo.
12521
99fd9f47
JM
125222013-10-12 Joseph Myers <joseph@codesourcery.com>
12523
b7ea74f0
JM
12524 [BZ #16036]
12525 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12526 signaling NaN arguments.
12527 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12528 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12529
8a509447
JM
12530 [BZ #14910]
12531 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12532 unordered operands.
12533 * soft-fp/gesf2.c (__gesf2): Likewise.
12534 * soft-fp/getf2.c (__getf2): Likewise.
12535 * soft-fp/ledf2.c (__ledf2): Likewise.
12536 * soft-fp/lesf2.c (__lesf2): Likewise.
12537 * soft-fp/letf2.c (__letf2): Likewise.
12538
98998e9f
JM
12539 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12540 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12541 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12542 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12543 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12544 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12545 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12546 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12547 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12548 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12549 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12550 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12551 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12552 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12553 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12554 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12555 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12556 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12557 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12558 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12559 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12560 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12561 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12562 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12563 * soft-fp/floattidf.c (__floattidf): Likewise.
12564 * soft-fp/floattisf.c (__floattisf): Likewise.
12565 * soft-fp/floattitf.c (__floattitf): Likewise.
12566 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12567 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12568 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12569 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12570 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12571 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12572 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12573 * soft-fp/gesf2.c (__gesf2): Likewise.
12574 * soft-fp/getf2.c (__getf2): Likewise.
12575 * soft-fp/ledf2.c (__ledf2): Likewise.
12576 * soft-fp/lesf2.c (__lesf2): Likewise.
12577 * soft-fp/letf2.c (__letf2): Likewise.
12578
8edc4a11
JM
12579 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12580 Undefine and redefine.
12581 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12582 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12583 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12584 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12585 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12586 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12587 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12588 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12589 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12590 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12591 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12592 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12593 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12594 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12595 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12596
8399acaf
JM
12597 [BZ #16032]
12598 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12599 without decrementing exponent if mantissa >= that for the
12600 denominator, not >.
12601 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12602 denominator, not >. Decrement exponent in < case instead of
12603 incrementing in >= case.
12604 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12605 without decrementing exponent if mantissa >= that for the
12606 denominator, not >.
12607
99fd9f47
JM
12608 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12609 computing saturated result for unsigned overflow.
12610
10e1cf6b
SP
126112013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12612 Jeff Law <law@redhat.com>
12613
12614 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12615 (atan2Mp): Add systemtap probe marker.
12616 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12617 (__ieee754_log): Add systemtap probe marker.
12618 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12619 (atanMp): Add systemtap probe marker.
12620 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12621 (tanMp): Add systemtap probe marker.
12622 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12623 (__slowexp): Add systemtap probe marker.
12624 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12625 (__slowpow): Add systemtap probe marker.
12626 * manual/probes.texi: Document probes.
12627
3d110c7c
EB
126282013-10-11 Eric Biggers <ebiggers3@gmail.com>
12629
12630 [BZ #15362]
12631 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12632 written.
12633 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12634 written.
12635 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12636 written to buffer but not flushed.
12637 * libio/iofwrite_u.c: Likewise.
12638 * libio/iopadn.c: Return bytes returned even if EOF was
12639 encountered.
12640 * libio/iowpadn.c: Likewise.
12641 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12642 if _IO_padn does not write the whole buffer.
12643 [!COMPILE_WPRINTF] (PAD): Likewise.
12644
75b4202a
DM
126452013-10-10 David S. Miller <davem@davemloft.net>
12646
12647 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12648 directory block.
12649
6c6352e6
JM
126502013-10-10 Joseph Myers <joseph@codesourcery.com>
12651
33b853c3
JM
12652 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12653 instead of FSF address.
12654 * soft-fp/fixdfti.c: Likewise.
12655 * soft-fp/fixsfti.c: Likewise.
12656 * soft-fp/fixtfti.c: Likewise.
12657 * soft-fp/fixunsdfti.c: Likewise.
12658 * soft-fp/fixunssfti.c: Likewise.
12659 * soft-fp/fixunstfti.c: Likewise.
12660 * soft-fp/floattidf.c: Likewise.
12661 * soft-fp/floattisf.c: Likewise.
12662 * soft-fp/floattitf.c: Likewise.
12663 * soft-fp/floatuntidf.c: Likewise.
12664 * soft-fp/floatuntisf.c: Likewise.
12665 * soft-fp/floatuntitf.c: Likewise.
12666 * soft-fp/trunctfxf2.c: Likewise.
12667
6c6352e6
JM
12668 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12669 * soft-fp/fixdfti.c: Likewise.
12670 * soft-fp/fixsfti.c: Likewise.
12671 * soft-fp/fixtfti.c: Likewise.
12672 * soft-fp/fixunsdfti.c: Likewise.
12673 * soft-fp/fixunssfti.c: Likewise.
12674 * soft-fp/fixunstfti.c: Likewise.
12675 * soft-fp/floattidf.c: Likewise.
12676 * soft-fp/floattisf.c: Likewise.
12677 * soft-fp/floattitf.c: Likewise.
12678 * soft-fp/floatuntidf.c: Likewise.
12679 * soft-fp/floatuntisf.c: Likewise.
12680 * soft-fp/floatuntitf.c: Likewise.
12681 * soft-fp/trunctfxf2.c: Likewise.
12682
3bf78b71
DM
126832013-10-10 David S. Miller <davem@davemloft.net>
12684
12685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12686
6f10289e
JM
126872013-10-10 Joseph Myers <joseph@codsourcery.com>
12688
bd878fc0
JM
12689 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12690 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12691 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12692 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12693 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12694 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12695 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12696
6f10289e
JM
12697 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12698 for NaNs before doing comparisons on argument.
12699 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12700 Likewise.
12701
321e2684
WN
127022013-10-10 Will Newton <will.newton@linaro.org>
12703
12704 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12705 passed to _int_memalign does not overflow.
12706
40fefba1
TR
127072013-10-10 Torvald Riegel <triegel@redhat.com>
12708
12709 * scripts/bench.pl: Add include-sources directive.
12710 * benchtests/README: Update documentation.
12711
2ae21ed2
JM
127122013-10-10 Joseph Myers <joseph@codesourcery.com>
12713
dcc2dd3f
JM
12714 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12715 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12716 instead of FP_INIT_ROUNDMODE.
12717 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12718 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12719
2ae21ed2
JM
12720 [BZ #16034]
12721 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12722 copy class of input value.
12723 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12724 not handle exceptions.
12725 * soft-fp/negsf2.c (__negsf2): Likewise.
12726 * soft-fp/negtf2.c (__negtf2): Likewise.
12727 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12728
cb8f9562
JM
127292013-10-09 Joseph Myers <joseph@codesourcery.com>
12730
12731 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12732 semicolon. From Linux kernel.
12733
5b60c59d
AB
127342013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12735
12736 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12737
b86835ca
YC
127382013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12739
12740 [BZ #156]
12741 * manual/socket.texi: Added statement about buffer
12742 for gethostbyname2_r.
12743
e7044ea7
OB
127442013-10-08 Ondřej Bílka <neleai@seznam.cz>
12745
12746 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12747 Use .p2align directive instead, throughout.
12748 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12749 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12750 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12751 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12752 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12753 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12754 * sysdeps/x86_64/strchr.S: Likewise.
12755 * sysdeps/x86_64/strrchr.S: Likewise.
12756
09544cbc
SP
127572013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12758
88576635
SP
12759 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12760
e7b2d1dd
SP
12761 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12762
09544cbc
SP
12763 * sysdeps/generic/math_private.h (__mpsin1): Remove
12764 declaration.
12765 (__mpcos1): Likewise.
12766 (__mpsin): New argument __range_reduce.
12767 (__mpcos): Likewise.
12768 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12769 (slow): Use __mpsin and __mpcos.
12770 (slow1): Likewise.
12771 (slow2): Likewise.
12772 (sloww): Likewise.
12773 (sloww1): Likewise.
12774 (sloww2): Likewise.
12775 (bsloww): Likewise.
12776 (bsloww1): Likewise.
12777 (bsloww2): Likewise.
12778 (cslow2): Likewise.
12779 (csloww): Likewise.
12780 (csloww1): Likewise.
12781 (csloww2): Likewise.
12782 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12783 range_reduce. Merge in __mpsin1.
12784 (__mpcos): Likewise.
12785 (__mpsin1): Remove.
12786 (__mpcos1): Likewise.
12787
7602d070
JM
127882013-10-07 Joseph Myers <joseph@codesourcery.com>
12789
12790 * locale/loadlocale.c (_nl_intern_locale_data): Use
12791 LOCFILE_ALIGNED_P.
12792 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12793 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12794 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12795 obstack data is appropriately aligned.
12796 (obstack_int32_grow_fast): Likewise.
12797 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12798 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12799 (add_locale_uint32_array): Likewise.
12800
a357259b
SP
128012013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12802
12803 * benchtests/Makefile: Remove ARGLIST and RET variables.
12804 ($(objpfx)bench-%.c): Pass only function name to the script.
12805 * benchtests/README: Update documentation.
12806 * benchtests/acos-inputs: Add new directives.
12807 * benchtests/acosh-inputs: Likewise.
12808 * benchtests/asin-inputs: Likewise.
12809 * benchtests/asinh-inputs: Likewise.
12810 * benchtests/atan-inputs: Likewise.
12811 * benchtests/atanh-inputs: Likewise.
12812 * benchtests/cos-inputs: Likewise.
12813 * benchtests/cosh-inputs: Likewise.
12814 * benchtests/exp-inputs: Likewise.
12815 * benchtests/log-inputs: Likewise.
12816 * benchtests/pow-inputs: Likewise.
12817 * benchtests/rint-inputs: Likewise.
12818 * benchtests/sin-inputs: Likewise.
12819 * benchtests/sinh-inputs: Likewise.
12820 * benchtests/tan-inputs: Likewise.
12821 * benchtests/tanh-inputs: Likewise.
12822 * scripts/bench.pl: Add support for new directives.
12823
9ec1b13d
AM
128242013-10-07 Alan Modra <amodra@gmail.com>
12825
12826 * README: Fix careless merge.
12827
8b7d57cd
AM
128282013-10-05 Alan Modra <amodra@gmail.com>
12829
12830 * NEWS: Mention powerpc64le support and bugs fixed.
12831 * README: Both big-endian and little-endian powerpc64 supported.
12832
7b7bab13
ST
128332013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12834
57f41c40
AS
12835 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12836 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
12837 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12838 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12839
d39baad1
RA
128402013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12841
12842 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12843 match prototype.
12844
cd78f7e7
JM
128452013-10-04 Joseph Myers <joseph@codesourcery.com>
12846
29d73d86
JM
12847 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12848 Move -mhard-float appending from
12849 ports/sysdeps/powerpc/powerpc32/Makefile.
12850 [$(with-fp) = yes] (ASFLAGS): Likewise.
12851 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12852 * sysdeps/powerpc/nofpu: Move directory from
12853 ports/sysdeps/powerpc/nofpu.
12854 * sysdeps/powerpc/soft-fp: Move directory from
12855 ports/sysdeps/powerpc/soft-fp.
12856 * sysdeps/powerpc/powerpc32/405: Move directory from
12857 ports/sysdeps/powerpc/powerpc32/405.
12858 * sysdeps/powerpc/powerpc32/440: Move directory from
12859 ports/sysdeps/powerpc/powerpc32/440.
12860 * sysdeps/powerpc/powerpc32/464: Move directory from
12861 ports/sysdeps/powerpc/powerpc32/464.
12862 * sysdeps/powerpc/powerpc32/476: Move directory from
12863 ports/sysdeps/powerpc/powerpc32/476.
12864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12865 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12867 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12869 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12871 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12873 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12874 * README: Update for powerpc-*-linux-gnu software floating point
12875 support in libc.
12876
e246b347
JM
12877 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12878 case to powerpc/powerpc32*.
12879 * sysdeps/unix/sysv/linux/configure: Regenerated.
12880
89c2003e
JM
12881 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12882 (_FPU_MASK_OM): Define as 0x04.
12883 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12884 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12885 0x00c10080.
12886 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12887 0x0000003c.
12888 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12889
cd78f7e7
JM
12890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12891 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12892 getcontext_e500.
12893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12894 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12895 setcontext_e500.
12896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12897 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12898 and setcontext_e500.
12899
c755294d
CL
129002013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12901
12902 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12903
e16d221c
SP
129042013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12905
12906 * manual/threads.texi (Default Thread Attributes): Fix typo.
12907
215c7d43
WN
129082013-10-04 Will Newton <will.newton@linaro.org>
12909
12910 * malloc/Makefile: Add tst-memalign.
12911 * malloc/tst-memalign.c: New file.
12912
27d0461b
WN
12913 * malloc/tst-posix_memalign.c: Add comments.
12914 (do_test): Add comments and call free on all potentially
12915 allocated pointers. Add space after cast.
12916
1bc92709
WN
12917 * malloc/tst-pvalloc.c: Add comments.
12918 (do_test): Add comments and call free on all potentially
12919 allocated pointers. Remove duplicate check for NULL pointer.
12920 Add space after cast.
12921
66a9be9d
WN
12922 * malloc/tst-valloc.c: Add comments.
12923 (do_test): Add comments and call free on all potentially
12924 allocated pointers. Remove duplicate check for NULL pointer.
12925 Add space after cast.
12926
4cb81307
AM
129272013-10-04 Alan Modra <amodra@gmail.com>
12928
12929 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12930 Use stdint types in rather than __attribute__((mode())).
12931 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12932
f8e3e9f3
AM
129332013-10-04 Alan Modra <amodra@gmail.com>
12934
12935 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12936 Correct handling of unaligned relocs for little-endian.
12937 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12938
8f9ebb08
AM
129392013-10-04 Alan Modra <amodra@gmail.com>
12940
12941 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12942 * configure: Regenerate.
12943 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12944 * shlib-versions: Likewise.
12945
0edf96c2
AM
129462013-10-04 Alan Modra <amodra@gmail.com>
12947
12948 * string/tester.c (test_memrchr): Increment reported test cycle.
12949
e0f7a380
AM
129502013-10-04 Alan Modra <amodra@gmail.com>
12951
12952 * string/test-memcpy.c (do_one_test): When reporting errors, print
12953 string address and don't overrun end of string.
12954
466b0393
AM
129552013-10-04 Alan Modra <amodra@gmail.com>
12956
12957 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12958 insrdi. Make better use of reg selection to speed exit slightly.
12959 Schedule entry path a little better. Remove useless "are we done"
12960 checks on entry to main loop. Handle wrapping around zero address.
12961 Correct main loop count. Handle single left-over word from main
12962 loop inline rather than by using loop_small. Remove extra word
12963 case in loop_small caused by wrong loop count. Add little-endian
12964 support.
12965 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12966 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12967 cache hint.
12968 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12969 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12970 support. Avoid rlwimi.
12971 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12972
3be87c77
AM
129732013-10-04 Alan Modra <amodra@gmail.com>
12974
12975 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 12976 insrdi. Formatting.
3be87c77
AM
12977 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12978 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12979 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12980 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12981 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12982 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12983
759cfef3
AM
129842013-10-04 Alan Modra <amodra@gmail.com>
12985
12986 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12987 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12988 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12989 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12990 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12991 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12992 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12993 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12994 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12995 use of regs. Use power7 mtocrf. Tidy function tails.
12996
fe6e95d7
AM
129972013-10-04 Alan Modra <amodra@gmail.com>
12998
12999 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13000 Formatting. Consistently use rXXX register defines or rN defines.
13001 Use early exit labels that avoid restoring unused non-volatile regs.
13002 Make cr field use more consistent with rWORDn compares. Rename
13003 regs used as shift registers for unaligned loop, using rN defines
13004 for short lifetime/multiple use regs.
13005 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13006 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13007 addi 1,1,64 to pop stack frame. Simplify return value code.
13008 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13009
664318c3
AM
130102013-10-04 Alan Modra <amodra@gmail.com>
13011
13012 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13013 support. Correct typos, formatting. Optimize tail. Use insrdi
13014 rather than rlwimi.
13015 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13016 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13017 little-endian support. Correct typos.
13018 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13019 rather than rlwimi.
13020 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13021 in loop and entry code to keep "and." results.
13022 (strchr): Add little-endian support. Comment. Move cntlzd
13023 earlier in tail.
13024 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13025
43b84013
AM
130262013-10-04 Alan Modra <amodra@gmail.com>
13027
13028 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13029 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13030 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13031 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13032
8a7413f9
AM
130332013-10-04 Alan Modra <amodra@gmail.com>
13034
13035 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13036 (rTMP): Define as r11.
13037 (strcmp): Add little-endian support. Optimise tail.
13038 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13039 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13040 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13041 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13042 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13043 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13044 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13045
33ee81de
AM
130462013-10-04 Alan Modra <amodra@gmail.com>
13047
13048 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13049 little-endian support. Remove unnecessary "are we done" tests.
13050 Handle "s" wrapping around zero and extremely large "size".
13051 Correct main loop count. Handle single left-over word from main
13052 loop inline rather than by using small_loop. Correct comments.
13053 Delete "zero" tail, use "end_max" instead.
13054 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13055
db9b4570
AM
130562013-10-04 Alan Modra <amodra@gmail.com>
13057
13058 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13059 support. Don't branch over align.
13060 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13061 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13062 support. Rearrange tmp reg use to suit. Comment.
13063 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13064
f7c399cf
AM
130652013-10-04 Alan Modra <amodra@gmail.com>
13066
13067 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13068
0b2c2ace
AM
130692013-10-04 Alan Modra <amodra@gmail.com>
13070
13071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13072 conditional form of branch and link when obtaining pc.
13073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13074
02f04a6c
AM
130752013-10-04 Alan Modra <amodra@gmail.com>
13076
13077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13078 HIWORD/LOWORD.
13079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13081
9b874b2f
AM
130822013-10-04 Alan Modra <amodra@gmail.com>
13083
13084 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13085 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13086 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13087 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13088 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13089 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13090 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13091 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13092 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13093 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13094
be1e5d31
AB
130952013-10-04 Anton Blanchard <anton@au1.ibm.com>
13096 Alistair Popple <alistair@ozlabs.au.ibm.com>
13097 Alan Modra <amodra@gmail.com>
13098
13099 [BZ #15723]
13100 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13101 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13102 _dl_hwcap access for little-endian.
13103 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13104 destroy vmx regs when saving unaligned.
13105 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13106 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13107 destroy vmx regs when saving unaligned.
13108
fef13a78
AM
131092013-10-04 Alan Modra <amodra@gmail.com>
13110
13111 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13112 Don't use a union to pack hi/low value.
13113
76a66d51
AB
131142013-10-04 Anton Blanchard <anton@au1.ibm.com>
13115
13116 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13117 for little-endian.
13118 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13119 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13120 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13121 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13122 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13123
6a31fe7f
AM
131242013-10-04 Alan Modra <amodra@gmail.com>
13125
13126 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13127 constants to usual value for .cst8 section, and remove redundant
13128 high address load.
13129 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13130 constant for 0x1p52. Load little-endian words of double from
13131 correct stack offsets.
13132
7b88401f
AM
131332013-10-04 Alan Modra <amodra@gmail.com>
13134
13135 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13136 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13137 words of double from correct stack offsets.
13138 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13139 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13140 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13141 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13142 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13143 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13144 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13145 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13146 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13147 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13148 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13149 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13150 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13151 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13152 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13153 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13154 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13155
9c008155
AM
131562013-10-04 Alan Modra <amodra@gmail.com>
13157
13158 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13159 64-bit int/double union.
13160 (_FPU_SETCW): Likewise.
13161 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13162 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13163
da13146d
AM
131642013-10-04 Alan Modra <amodra@gmail.com>
13165
13166 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13167 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13168
603e8410
AM
131692013-10-04 Alan Modra <amodra@gmail.com>
13170
13171 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13172 use vector int constants.
13173 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13174
4a28b3ca
AB
131752013-10-04 Anton Blanchard <anton@au1.ibm.com>
13176
13177 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13178 array with long long.
13179 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13180 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13181 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13182 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13183 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13184 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13185 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13186 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13187 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13188 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13189 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13190 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13191 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13192
2ca85d2b
AB
131932013-10-04 Anton Blanchard <anton@au1.ibm.com>
13194
13195 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13196 (__signbit): Likewise. Correct for little-endian.
13197 (__signbitl): Call __signbit.
13198 (lrint): Correct for little-endian.
13199 (lrintf): Call lrint.
13200
62a728ae
AM
132012013-10-04 Alan Modra <amodra@gmail.com>
13202
13203 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13204 union 32-bit int array member with 64-bit int array.
13205 (t515, tm256): Double rather than long double.
13206 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13207
32c301df
AM
132082013-10-04 Alan Modra <amodra@gmail.com>
13209
13210 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13211 Delete.
13212 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13213 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13214 version of math_ldbl.h.
13215
650ef4bd
AM
132162013-10-04 Alan Modra <amodra@gmail.com>
13217
13218 [BZ #15734], [BZ #15735]
13219 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13220 all uses of ieee875 long double macros and unions. Simplify test
13221 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13222 ldbl_extract_mantissa value for ix,iy exponents. Properly
13223 normalize after ldbl_extract_mantissa, and don't add hidden bit
13224 already handled. Don't treat low word of ieee854 mantissa like
13225 low word of IBM long double and mask off bit when testing for
13226 zero.
13227 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13228 all uses of ieee875 long double macros and unions. Simplify tests
13229 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13230 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13231 two1022, instead use their values. Recognise that tests for large
13232 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13233 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13234 Rewrite all uses of ieee875 long double macros and unions. Simplify
13235 test for 0.0L and nan. Correct negation.
13236 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13237 ieee875 long double macros and unions. Correct output for large
13238 magnitude x. Correct absolute value calculation.
13239 (__erfcl): Likewise.
13240 * math/libm-test.inc: Add tests for errors discovered in IBM long
13241 double versions of fmodl, remainderl, erfl and erfcl.
13242
765714ca
AM
132432013-10-04 Alan Modra <amodra@gmail.com>
13244
13245 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13246 all uses of ieee854 long double macros and unions. Simplify tests
13247 for long doubles that are fully specified by the high double.
13248 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13249 Likewise.
13250 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13251 Remove dead code too.
13252 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13253 (__ieee754_ynl): Likewise.
13254 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13255 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13256 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13257 Remove dead code too.
13258 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13259 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13260 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13261 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13262 Simplify.
13263 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13264 Simplify.
13265 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13266 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13267 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13268 Comment on variable precision.
13269 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13270 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13271 Likewise.
13272 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13273 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13274 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13275 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13276 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13277
4ebd120c
AM
132782013-10-04 Alan Modra <amodra@gmail.com>
13279
13280 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13281 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13282 all uses of ieee854 long double macros and unions.
13283 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13284 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13285 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13286 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13287 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13288 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13289 Likewise.
13290 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13291 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13292 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13293 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13294 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13295 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13296 Simplify sign and nan test too.
13297 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13298 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13299 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13300 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13301 Likewise.
13302 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13303 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13304 Likewise.
13305 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13306 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13307 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13308 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13309 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13310 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13311
1b6adf88
AM
133122013-10-04 Alan Modra <amodra@gmail.com>
13313
13314 * stdio-common/printf_size.c (__printf_size): Don't use
13315 union ieee854_long_double in fpnum union.
13316 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13317 signbit macro to retrieve sign from long double.
13318 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13319 retrieve sign from long double.
13320 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13321 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13322 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13323 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13324 * math/test-misc.c (main): Don't use union ieee854_long_double.
13325
4cf69995
AM
133262013-10-04 Alan Modra <amodra@gmail.com>
13327
13328 [BZ #15680]
13329 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13330 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13331 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13332 calculation. Remove unnecessary test for denormal exponent.
13333 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13334 Correct handling of denormals. Avoid undefined shift behaviour.
13335 Correct normalisation of low mantissa when low double is denormal.
13336 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13337 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13338 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13339 Correct normalisation of low mantissa. Test for overflow of high
13340 mantissa and normalise.
13341 (ldbl_nearbyint): Use more readable constant for two52.
13342 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13343 (__mpn_construct_long_double): Fix test for overflow of high
13344 mantissa and correct normalisation. Avoid undefined shift.
13345
9605ca6c
AM
133462013-10-04 Alan Modra <amodra@gmail.com>
13347
13348 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13349 (union ibm_extended_long_double): Define as an array of ieee754_double.
13350 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13351 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13352 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13353 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13354 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13355 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13356 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13357 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13358 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13359 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13360 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13361
975569d0
JM
133622013-10-03 Joseph Myers <joseph@codesourcery.com>
13363
d3d23756
JM
13364 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13365 page size instead of calling getpagesize.
13366
975569d0
JM
13367 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13368 (LOCFILE_ALIGN_MASK): Likewise.
13369 (LOCFILE_ALIGN_UP): Likewise.
13370 (LOCFILE_ALIGNED_P): Likewise.
13371 * locale/programs/ld-collate.c (collate_output): Use the new
13372 macros instead of __alignof__ (int32_t).
13373 * locale/weight.h (findidx): Likewise.
13374
b1fe1f2b
OB
133752013-10-03 Ondřej Bílka <neleai@seznam.cz>
13376
13377 [BZ #431]
13378 * manual/string.texi: Fix strncat and wcsncat.
13379
5f855e35
BM
133802013-10-03 Brooks Moses <bmoses@google.com>
13381
13382 [BZ #15915]
13383 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13384 * Makerules: ...here, and adjust associated comments.
13385
3cef6009
WN
133862013-10-02 Will Newton <will.newton@linaro.org>
13387
13388 * malloc/Makefile: Add tst-pvalloc.
13389 * malloc/tst-pvalloc.c: New file.
13390
7815420b
WN
133912013-10-02 Will Newton <will.newton@linaro.org>
13392
13393 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13394 improve test coverage.
13395
4868b204
WN
133962013-10-02 Will Newton <will.newton@linaro.org>
13397
13398 * malloc/Makefile: Add tst-posix_memalign.
13399 * malloc/tst-posix_memalign.c: New file.
13400
29c793b3
EB
134012013-10-01 Eric Blake <eblake@redhat.com>
13402
13403 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13404 Use __THROWNL rather than __THROW on static functions.
13405
fd967522
PM
134062013-09-30 Petr Machata <pmachata@redhat.com>
13407
13408 * elf/elf.h (R_AARCH64_ABS16): New macro.
13409 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13410 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13411 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13412 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13413 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13414 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13415 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13416 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13417 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13418 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13419 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13420 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13421 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13422 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13423 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13424 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13425 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13426 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13427 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13428 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13429 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13430 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13431 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13432 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13433 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13434 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13435 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13436 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13437 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13438 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13439 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13440 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13441 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13442 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13443 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13444 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13445 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13446 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13447 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13448 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13449 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13450 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13451 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13452 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13453 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13454 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13455 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13456 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13457 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13458 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13459 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13460 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13461 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13462 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13463 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13464 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13465 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13466 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13467 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13468 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13469 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13470 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13471 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13472 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13473 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13474 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13475 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13476 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13477 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13478 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13479 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13480 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13481 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13482 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13483 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13484 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13485 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13486 (R_AARCH64_TLSDESC_LDR): Likewise.
13487 (R_AARCH64_TLSDESC_ADD): Likewise.
13488 (R_AARCH64_TLSDESC_CALL): Likewise.
13489
b2179107
AS
134902013-09-30 Andreas Schwab <schwab@suse.de>
13491
13492 [BZ #15048]
13493 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13494 the nss database lookup.
13495 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13497
47f28d0a
MF
134982013-09-28 Mike Frysinger <vapier@gentoo.org>
13499
13500 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13501
135022013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
13503
13504 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13505 ${Bash-specific parameter/pattern/string} parameter expansion.
13506 * sysdeps/unix/make-syscalls.sh: Likewise.
13507
f4518a17
KK
135082013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13509
13510 * sysdeps/sh/stackguard-macros.h: New file.
13511
dc1a95c7
OB
135122013-09-26 Ondřej Bílka <neleai@seznam.cz>
13513
13514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13515 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13516 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13517 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13518 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13519 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13520
5ebbff8f
AZ
135212013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13522
13523 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13524 Fix thread ID register.
13525
4fd2cf9f
JM
135262013-09-25 Joseph Myers <joseph@codesourcery.com>
13527
13528 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13529 [POSIX || UNIX98]: Require rather than permitting all symbols from
13530 <time.h>.
13531 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13532 element of struct sched_param.
13533 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13534 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13535 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13536 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13537 constant.
13538
12c22bc4
OL
135392013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13540
13541 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13542 argument calculation.
13543
a03d8ea7
JM
135442013-09-24 Joseph Myers <joseph@codesourcery.com>
13545
13546 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13547 Expect macro.
13548 [POSIX] (pthread_attr_t): Do not require type.
13549 [POSIX] (pthread_cond_t): Likewise.
13550 [POSIX] (pthread_condattr_t): Likewise.
13551 [POSIX] (pthread_key_t): Likewise.
13552 [POSIX] (pthread_mutex_t): Likewise.
13553 [POSIX] (pthread_mutexattr_t): Likewise.
13554 [POSIX] (pthread_once_t): Likewise.
13555 [POSIX] (pthread_t): Likewise.
13556 [POSIX-based standards] (pthread_atfork): Expect function.
13557
6055173a
JM
135582013-09-24 Joseph Myers <joseph@codesourcery.com>
13559 Richard Sandiford <richard@codesourcery.com>
13560
13561 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13562 (swap_endianness_p): New extern variable.
13563 (set_big_endian): New inline function.
13564 (maybe_swap_uint32): Likewise.
13565 (maybe_swap_uint32_array): Likewise.
13566 (maybe_swap_uint32_obstack): Likewise.
13567 * locale/programs/locfile.c: Include <stdbool.h>.
13568 (swap_endianness_p): New variable.
13569 (add_locale_uint32): Call maybe_swap_uint32.
13570 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13571 (write_locale_data): Call maybe_swap_uint32_array.
13572 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13573 maybe_swap_uint32.
13574 (obstack_int32_grow_fast): Likewise.
13575 (output_weightwc): Call maybe_swap_uint32_obstack.
13576 (collate_output): Likewise.
13577 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13578 (OPT_LITTLE_ENDIAN): Likewise.
13579 (options): Add --little-endian and --big-endian options.
13580 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13581 * locale/programs/locarchive.c: Include "locfile.h".
13582 (GET): New macro.
13583 (SET): Likewise.
13584 (INC): Likewise.
13585 (create_archive): Use the new macros to access fields of
13586 structures directly mapped from or written to locale archives.
13587 (oldlocrecentcmp): Likewise.
13588 (enlarge_archive): Likewise.
13589 (insert_name): Likewise.
13590 (add_alias): Likewise.
13591 (add_locale): Likewise.
13592 (delete_locales_from_archive): Likewise.
13593 (show_archive_content): Likewise.
13594 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13595 locale data.
13596
39bf0bb4
RM
135972013-09-24 Roland McGrath <roland@hack.frob.com>
13598
13599 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13600 http://www.gnu.org/doc/freemanuals.texi.
13601 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13602
f02eed10
WN
136032013-09-24 Will Newton <will.newton@linaro.org>
13604
13605 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13606 macro.
13607
a3a6c312
JM
136082013-09-23 Joseph Myers <joseph@codesourcery.com>
13609
13610 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13611 unsigned char.
13612
107375ac
MR
136132013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13614
13615 * manual/threads.texi (POSIX Threads): Fix a typo.
13616
141f3a77
SP
136172013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13618
303e567a
SP
13619 [BZ #14547]
13620 * string/tst-strcoll-overflow.c: New test case.
13621 * string/Makefile (xtests): Add tst-strcoll-overflow.
13622 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13623 cache if string sizes may cause integer overflow.
13624
141f3a77
SP
13625 [BZ #14547]
13626 * string/strcoll_l.c (coll_seq): New members rule, idx,
13627 save_idx and back_us.
13628 (get_next_seq_nocache): New function.
13629 (do_compare_nocache): New function.
13630 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13631 when malloc fails.
13632
c61b4d41
CD
136332013-09-23 Carlos O'Donell <carlos@redhat.com>
13634
0b1f8e35
CD
13635 [BZ #15754]
13636 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13637 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13638 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13639
c61b4d41
CD
13640 [BZ #15754]
13641 * elf/Makefile (tests): Add tst-ptrguard1.
13642 (tests-static): Add tst-ptrguard1-static.
13643 (tst-ptrguard1-ARGS): Define.
13644 (tst-ptrguard1-static-ARGS): Define.
13645 * elf/tst-ptrguard1.c: New file.
13646 * elf/tst-ptrguard1-static.c: New file.
13647 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13648 * sysdeps/i386/stackguard-macros.h: Likewise.
13649 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13650 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13651 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13652 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13653 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13654 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13655
136562013-09-23 Hector Marco <hecmargi@upv.es>
13657 Ismael Ripoll <iripoll@disca.upv.es>
13658 Carlos O'Donell <carlos@redhat.com>
13659
13660 [BZ #15754]
13661 * sysdeps/generic/stackguard-macros.h: Define
13662 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13663 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13664 Define __pointer_chk_guard_local.
13665 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13666 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13667
f5f4e7b4
VV
136682013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13669
13670 [BZ #15859]
13671 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13672
5bb43a43
AS
136732013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13674
13675 * include/string.h (__ffs): Declare as hidden.
13676 * string/ffs.c (__ffs): Define as hidden.
13677 * sysdeps/i386/ffs.c (__ffs): Likewise.
13678 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13679 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13680 * sysdeps/s390/ffs.c (__ffs): Likewise.
13681 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13682
3ea5be54
AO
136832013-09-20 Alexandre Oliva <aoliva@redhat.com>
13684
ffb89e53
AO
13685 * NEWS: Mention malloc probes.
13686
322dea08
AO
13687 * malloc/arena.c (new_heap): New memory_heap_new probe.
13688 (grow_heap): New memory_heap_more probe.
13689 (shrink_heap): New memory_heap_less probe.
13690 (heap_trim): New memory_heap_free probe.
13691 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13692 (systrim): New memory_sbrk_less probe.
13693 * manual/probes.texi: Document them.
13694
655673f3
AO
13695 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13696 * manual/probes.texi: Document it.
13697
35fed6f1
AO
13698 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13699 (__libc_realloc): Add memory_realloc_retry probe.
13700 (__libc_memalign): Add memory_memalign_retry probe.
13701 (__libc_valloc): Add memory_valloc_retry probe.
13702 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13703 (__libc_calloc): Add memory_calloc_retry probe.
13704 * manual/probes.texi: Document them.
13705
6999d38c
AO
13706 * malloc/arena.c (get_free_list): Add probe
13707 memory_arena_reuse_free_list.
13708 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13709 and memory_arena_reuse.
13710 (arena_get2) [!PER_THREAD]: Likewise.
13711 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13712 memory_arena_reuse_realloc.
13713 * manual/probes.texi: Document them.
13714
0653427f
AO
13715 * malloc/malloc.c (__libc_free): Add
13716 memory_mallopt_free_dyn_thresholds probe.
13717 (__libc_mallopt): Add multiple memory_mallopt probes.
13718 * manual/probes.texi: Document them.
13719
3ea5be54
AO
13720 * malloc/malloc.c: Include stap-probe.h.
13721 (__libc_mallopt): Add memory_mallopt probe.
13722 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13723 * manual/probes.texi: New.
13724 * manual/Makefile (chapters): Add probes.
13725 * manual/threads.texi: Set next node.
13726
e35696c3 137272013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 13728
e35696c3
CL
13729 [BZ #15963, #13985]
13730 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13731 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13732 Add `Chinese' to `nan' entry name.
13733
4aafb73c
SP
137342013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13735
13736 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13737 (POLYNOMIAL): Likewise.
13738 (TAYLOR_SINCOS): Likewise.
13739 (TAYLOR_SLOW): Likewise.
13740 (__sin): Use TAYLOR_SINCOS.
13741 (__cos): Likewise.
13742 (slow): Use TAYLOR_SLOW.
13743 (sloww): Likewise.
13744 (bsloww): Likewise.
13745 (csloww): Likewise.
13746
d84f25c7
LD
137472013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13748
13749 * stdlib/strtod_l.c: Fix buffer overrun.
13750
5eea0404
SP
137512013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13752
7849ff93
SP
13753 * benchtests/Makefile (bench): Add sincos.
13754 * benchtests/bench-sincos.c: New file.
13755
cfa3c886
SP
13756 * math/libm-test.inc (cos_test_data): New test inputs.
13757 (sin_test_data): Likewise.
13758
b348e1e3
SP
13759 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13760 macro.
13761 (__sin): Use it.
13762 (__cos): Likewise.
13763 (slow1): Likewise.
13764 (slow2): Likewise.
13765 (sloww1): Likewise.
13766 (sloww2): Likewise.
13767 (bsloww1): Likewise.
13768 (bsloww2): Likewise.
13769 (cslow2): Likewise.
13770 (csloww1): Likewise.
13771 (csloww2): Likewise.
13772
6cce25f8
SP
13773 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13774 function.
13775 (__sin): Use it.
13776 (__cos): Likewise.
13777
5eea0404
SP
13778 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13779 gotos.
13780 (__cos): Likewise.
13781
9c21573c
MR
137822013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13783
13784 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13785 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13786 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13787 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13788 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13789 * elf/cache.c (print_entry): Handle the new cache flags.
13790
24d22e65
JM
137912013-09-18 Joseph Myers <joseph@codesourcery.com>
13792 Aldy Hernandez <aldyh@redhat.com>
13793
13794 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13795 Change condition to [_SOFT_FLOAT].
13796 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13797 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13798 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13799 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13800 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13801 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13802 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13803 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13804 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13805 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13806 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13807 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13808 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13810 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13811 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13812 declaration.
13813
d13ef066
JM
138142013-09-18 Joseph Myers <joseph@codesourcery.com>
13815
2e071de0
JM
13816 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13817 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13818 (__longjmp): Use LOAD_GP to load saved GPRs.
13819 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13820 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13821 (__sigsetjmp): Use SAVE_GP to save GPRs.
13822
d13ef066
JM
13823 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13824 Do not append -msoft-float.
13825 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13826
97a0650b
SP
138272013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13828
13829 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13830
11ca09e9
JM
138312013-09-17 Joseph Myers <joseph@codesourcery.com>
13832
13833 [BZ #15966]
13834 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13835 (_FPU_GETCW): Use initial "__" on variable and field names but not
13836 on macro parameter name.
13837 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13838 parentheses around reference to macro parameter.
13839
08ffcf34
RS
138402013-09-13 Richard Sandiford <richard@codesourcery.com>
13841
13842 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13843 prototype.
13844 (ctype_startup): Use uint32_t in cast and sizeof for
13845 ctype->charnames.
13846
ae7080d3
JL
138472013-09-11 Jia Liu <proljc@gmail.com>
13848
13849 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13850 __daddr_t_defined.
13851 [__FreeBSD__]: Likewise.
13852
5905e7b3
OB
138532013-09-11 Ondřej Bílka <neleai@seznam.cz>
13854
13855 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13856 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13857 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13858 (strchr): Remove __strchr_sse42 ifunc selection.
13859 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13860 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13861
b987c776
WN
138622013-09-11 Will Newton <will.newton@linaro.org>
13863
13864 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13865 parameter to RES. Remove hardcoded 1000 value.
13866 * benchtests/bench-skeleton.c (main): Pass RES parameter
13867 to TIMING_INIT and multiply result by 1000.
13868
ddf985af
AZ
138692013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13870
13871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13872
ffdd3181
AS
138732013-09-11 Andreas Schwab <schwab@suse.de>
13874
13875 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13876 if not defined.
13877 (O_TMPFILE) [__USE_GNU]: Define.
13878 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13879 Define.
13880
b73ed247
WN
138812013-09-11 Will Newton <will.newton@linaro.org>
13882
13883 [BZ #15857]
13884 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13885 does not overflow.
13886
55e17aad
WN
138872013-09-11 Will Newton <will.newton@linaro.org>
13888
13889 [BZ #15856]
13890 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13891 does not overflow.
13892
1159a193
WN
138932013-09-11 Will Newton <will.newton@linaro.org>
13894
13895 [BZ #15855]
13896 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13897 does not overflow.
13898
5905e7b3 138992013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
13900
13901 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13902 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13903 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13904 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13905 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13906
cdfc721b
AM
139072013-09-10 Allan McRae <allan@archlinux.org>
13908
aa04af00
AM
13909 [BZ #15748]
13910 * manual/arith.texi (Parsing of Floats): Clarify
13911 cross-reference.
13912
cdfc721b
AM
13913 [BZ #15849]
13914 * manual/install.texi (Running make install): Mention
13915 --enable-pt-chown.
13916 * INSTALL: Regenerated.
13917
95e7cf29
MR
139182013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13919
13920 * csu/init-first.c (_init): Remove the !SHARED condition around
13921 FPU control word initialization.
13922 * elf/dl-support.c (_dl_fpu_control): New variable.
13923 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13924 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13925 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13926 * math/test-fpucw-static.c: New file.
13927 * math/test-fpucw-ieee.c: New file.
13928 * math/test-fpucw-ieee-static.c: New file.
13929 * math/Makefile (tests): Add `test-fpucw-ieee' and
13930 `$(tests-static)'.
13931 (tests-static): New variable.
13932 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13933 dependency to...
13934 [($(build-shared),yes)]
13935 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13936 ... this.
13937 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13938 New dependency.
13939
83e43bf0
AM
139402013-09-09 Allan McRae <allan@archlinux.org>
13941
a9f5ce09
AM
13942 [BZ #15939]
13943 * manual/string.texi (Collation Functions): Fix typo in
13944 strcoll example.
13945 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13946
34829bc2
AM
13947 [BZ #15893]
13948 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13949
3932737d
AM
13950 [BZ #15892]
13951 * libio/memstream.c (open_memstream): Fix memory leak.
13952 * libio/wmemstream.c (open_wmemstream): Likewise.
13953
83e43bf0
AM
13954 [BZ #15895]
13955 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13956
0c66b8e9
WN
139572013-09-09 Will Newton <will.newton@linaro.org>
13958
13959 * malloc/Makefile: Add tst-realloc to tests.
13960 * malloc/tst-realloc.c: New file.
13961
f6b00fd1
AM
139622013-09-09 Allan McRae <allan@archlinux.org>
13963
13964 [BZ #15844]
13965 * COPYING: Update from GNU website to fix FSF address.
13966 * COPYING.LIB: Likewise.
13967
eec55e16
DM
139682013-09-06 David S. Miller <davem@davemloft.net>
13969
13970 * po/zh_TW.po: Update Chinese (traditional) translation from
13971 translation project.
13972
1ecbb381
RS
139732013-09-06 Richard Sandiford <richard@codesourcery.com>
13974 Joseph Myers <joseph@codesourcery.com>
13975
13976 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13977 "localeinfo.h".
13978 (obstack_chunk_alloc): New macro.
13979 (obstack_chunk_free): Likewise.
13980 (record_offset): New function.
13981 (init_locale_data): Likewise.
13982 (align_locale_data): Likewise.
13983 (add_locale_empty): Likewise.
13984 (add_locale_raw_data): Likewise.
13985 (add_locale_raw_obstack): Likewise.
13986 (add_locale_string): Likewise.
13987 (add_locale_wstring): Likewise.
13988 (add_locale_uint32): Likewise.
13989 (add_locale_uint32_array): Likewise.
13990 (add_locale_char): Likewise.
13991 (start_locale_structure): Likewise.
13992 (end_locale_structure): Likewise.
13993 (start_locale_prelude): Likewise.
13994 (end_locale_prelude): Likewise.
13995 (write_locale_data): Take locale_file structure rather than an
13996 iovec.
13997 * locale/programs/locfile.h: Include "obstack.h".
13998 (struct locale_file): Change to store locale file contents instead
13999 of header.
14000 (init_locale_data): New prototype.
14001 (align_locale_data): Likewise.
14002 (add_locale_empty): Likewise.
14003 (add_locale_raw_data): Likewise.
14004 (add_locale_raw_obstack): Likewise.
14005 (add_locale_string): Likewise.
14006 (add_locale_wstring): Likewise.
14007 (add_locale_uint32): Likewise.
14008 (add_locale_uint32_array): Likewise.
14009 (add_locale_char): Likewise.
14010 (start_locale_structure): Likewise.
14011 (end_locale_structure): Likewise.
14012 (start_locale_prelude): Likewise.
14013 (end_locale_prelude): Likewise.
14014 (write_locale_data): Update prototype.
14015 * locale/programs/3level.h (struct TABLE): Remove result field.
14016 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14017 Use new locale_file interface.
14018 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14019 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14020 * locale/programs/ld-address.c (address_output): Use new
14021 locale_file interface.
14022 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14023 NO_ADD_LOCALE.
14024 (collate_finish): Don't call collseq_table_finalize.
14025 (collate_output): Use new locale_file interface.
14026 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14027 in file.
14028 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14029 (TABLE): Move defines earlier in file.
14030 (ELEMENT): Likewise.
14031 (DEFAULT): Likewise.
14032 (wctrans_table_add): Move macro and inline function earlier in
14033 file.
14034 (struct wctype_table): Move type earlier in file.
14035 (add_locale_wctype_table): New static prototype.
14036 (struct locale_ctype_t): Use logical types instead of struct iovec
14037 pointers for members.
14038 (ctype_output): Use new locale_file interface.
14039 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14040 new locale_file interface.
14041 (allocate_arrays): Update for use of new locale_file interface.
14042 * locale/programs/ld-identification.c (identification_output): Use
14043 new locale_file interface.
14044 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14045 * locale/programs/ld-messages.c (messages_output): Likewise.
14046 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14047 * locale/programs/ld-name.c (name_output): Likewise.
14048 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14049 * locale/programs/ld-paper.c (paper_output): Likewise.
14050 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14051 * locale/programs/ld-time.c (time_output): Likewise.
14052
e029e2e5
AZ
140532013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14054
14055 * benchtests/Makefile: Add memrchr benchmark.
14056 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14057 benchmark as memrchr.
14058 * benchtests/bench-memrchr-ifunc.c: New file.
14059 * benchtests/bench-memrchr.c: New file.
14060
bbf6e8e4
WN
140612013-09-06 Will Newton <will.newton@linaro.org>
14062
14063 * benchtests/Makefile (string-bench): Add memcpy.
14064
6c82a2f8
CD
140652013-09-05 Carlos O'Donell <carlos@redhat.com>
14066 Cong Wang <amwang@redhat.com>
14067
e732c5f0 14068 [BZ #15850]
6c82a2f8
CD
14069 * sysdeps/unix/sysv/linux/bits/in.h
14070 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14071 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14072 before __USE_KERNEL_IPV6_DEFS uses.
14073 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14074 IPPROTO_BEETPH.
14075 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14076 sockaddr_in6, or ipv6_mreq.
14077
5430fc65
AZ
140782013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14079
14080 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14081 memory access for final bytes in some large inputs.
14082 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14083
4660856c
AZ
140842013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14085
14086 * string/test-memrchr.c: New file.
14087 * string/test-memrchr-ifunc.c: New file.
14088 * string/Makefile: Add new memrchr testcase.
14089
bb8ea713
MF
140902013-09-05 Mike Frysinger <vapier@gentoo.org>
14091
14092 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14093 fanotify_init returns EPERM.
14094
b92a20b5
JM
140952013-09-04 Joseph Myers <joseph@codesourcery.com>
14096
14097 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14098 errors.
14099 (top level): Treat second token from macro or constant entries for
14100 allowed headers as allowed.
14101 * include/complex.h: Condition internal declarations on
14102 [!_ISOMAC].
14103 * include/fenv.h: Condition include of <stdbool.h> and internal
14104 declarations on [!_ISOMAC].
7447ccd9
CL
14105
141062013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14107
3e181dda 14108 [BZ #15923]
7447ccd9
CL
14109 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14110
3f2e46a4
JM
141112013-09-04 Joseph Myers <joseph@codesourcery.com>
14112
14113 * configure.in (--enable-versioning): Remove configure option.
14114 (libc_cv_asm_symver_directive): Remove configure test.
14115 (libc_cv_ld_version_script_option): Likewise.
14116 (VERSIONING): Remove variable and AC_SUBST.
14117 (DO_VERSIONING): Remove AC_DEFINE.
14118 * configure: Regenerated.
14119 * config.h.in (DO_VERSIONING): Remove macro.
14120 * Makerules [$(versioning) = yes]: Change conditionals to
14121 [$(build-shared) = yes].
14122 * config.make.in (versioning): Remove variable.
14123 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14124 [$(build-shared) = yes].
14125 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14126 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14127 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14128 [$(build-shared) = yes].
14129 * extra-lib.mk [$(versioning) = yes]: Likewise.
14130 * hurd/Makefile [$(versioning) = yes]: Likewise.
14131 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14132 [SHARED].
14133 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14134 [SHARED].
14135 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14136 [SHARED && !NO_HIDDEN].
14137 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14138 [SHARED].
14139 [SHARED && DO_VERSIONING]: Likewise..
14140 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14141 [$(build-shared) = yes].
14142 * manual/install.texi (--disable-versioning): Remove
14143 documentation.
14144 * INSTALL: Regenerated.
14145 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14146 to [SHARED].
14147 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14148 [$(build-shared) = yes].
14149 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14150 * sysdeps/i386/i686/multiarch/strstr-c.c
14151 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14152 [SHARED && !NO_HIDDEN].
14153 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14154 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14155 * sysdeps/powerpc/powerpc32/dl-machine.c
14156 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14157 * sysdeps/powerpc/powerpc32/sysdep.h
14158 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14159 to [SHARED && PIC && !NO_HIDDEN].
14160 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14161 conditional to [SHARED].
14162
44558701
WN
141632013-09-04 Will Newton <will.newton@linaro.org>
14164
14165 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14166 * benchtests/bench-string.h: Include bench-timing.h instead
14167 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14168 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14169 call to HP_TIMING_DIFF_INIT.
14170 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14171 instead of hp-timing.h macros.
14172 * benchtests/bench-memchr.c: Likewise.
14173 * benchtests/bench-memcmp.c: Likewise.
14174 * benchtests/bench-memcpy.c: Likewise.
14175 * benchtests/bench-memmem.c: Likewise.
14176 * benchtests/bench-memmove.c: Likewise.
14177 * benchtests/bench-memset.c: Likewise.
14178 * benchtests/bench-rawmemchr.c: Likewise.
14179 * benchtests/bench-strcasecmp.c: Likewise.
14180 * benchtests/bench-strcasestr.c: Likewise.
14181 * benchtests/bench-strcat.c: Likewise.
14182 * benchtests/bench-strchr.c: Likewise.
14183 * benchtests/bench-strcmp.c: Likewise.
14184 * benchtests/bench-strcpy.c: Likewise.
14185 * benchtests/bench-strcpy_chk.c: Likewise.
14186 * benchtests/bench-strlen.c: Likewise.
14187 * benchtests/bench-strncasecmp.c: Likewise.
14188 * benchtests/bench-strncat.c: Likewise.
14189 * benchtests/bench-strncmp.c: Likewise.
14190 * benchtests/bench-strncpy.c: Likewise.
14191 * benchtests/bench-strnlen.c: Likewise.
14192 * benchtests/bench-strpbrk.c: Likewise.
14193 * benchtests/bench-strrchr.c: Likewise.
14194 * benchtests/bench-strspn.c: Likewise.
14195 * benchtests/bench-strstr.c: Likewise.
14196
cae16d66
WN
141972013-09-04 Will Newton <will.newton@linaro.org>
14198
14199 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14200
ffa3cd7f
JM
142012013-09-03 Joseph Myers <joseph@codesourcery.com>
14202
14203 [BZ #15427]
14204 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14205 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14206 * math/libm-test.inc (lgamma_test_data): Add more tests.
14207 * sysdeps/i386/fpu/libm-test-ulps: Update.
14208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14209
8f02859f
OB
142102013-09-03 Ondřej Bílka <neleai@seznam.cz>
14211
14212 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14213 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14214 Add ifunc.
14215 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14216 Add strcmp-sse2-unaligned
14217 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14218
18d43716
MF
142192013-09-02 Mike Frysinger <vapier@gentoo.org>
14220
14221 * Versions.def (libc): Add GLIBC_2.19.
14222
ac444012
MF
142232013-09-02 Mike Frysinger <vapier@gentoo.org>
14224
14225 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14226 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14227
b7835e32
JM
142282013-09-02 Joseph Myers <joseph@codesourcery.com>
14229
14230 [BZ #14155]
14231 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14232 intermediate calculations in recurrence.
14233 (__ieee754_ynf): Likewise.
14234 * math/libm-test.inc (jn_test_data): Do not allow spurious
14235 underflow exception. Add more tests.
14236 (yn_test_data): Add more tests.
14237 * sysdeps/i386/fpu/libm-test-ulps: Update.
14238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14239
8220f4f0
OB
142402013-09-02 Ondřej Bílka <neleai@seznam.cz>
14241
14242 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14243
f24a6d08
OB
142442013-08-30 Ondřej Bílka <neleai@seznam.cz>
14245
14246 * csu/init-first.c: Fix then/than typos.
14247 * locale/programs/ld-collate.c: Likewise.
14248 * locale/programs/linereader.h: Likewise.
14249 * manual/charset.texi: Likewise.
14250 * manual/filesys.texi: Likewise.
14251 * manual/stdio.texi: Likewise.
14252 * manual/string.texi: Likewise.
14253 * stdlib/fmtmsg.c: Likewise.
14254 * sysdeps/i386/stpncpy.S: Likewise.
14255 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14256 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14257 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14258 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14259
382466e0
OB
142602013-08-30 Ondřej Bílka <neleai@seznam.cz>
14261
14262 * elf/dl-open.c: Fix typos.
14263 * iconvdata/gbbig5.c: Likewise.
14264 * iconvdata/iso-2022-jp.c: Likewise.
14265 * iconv/gconv_int.h: Likewise.
14266 * iconv/loop.c: Likewise.
14267 * nis/rpcsvc/nis.h: Likewise.
14268 * resolv/ns_name.c: Likewise.
14269 * stdio-common/vfscanf.c: Likewise.
14270 * streams/stropts.h: Likewise.
14271 * sunrpc/rpc_thread.c: Likewise.
14272 * sysdeps/i386/strpbrk.S: Likewise.
14273 * sysdeps/ieee754/k_standard.c: Likewise.
14274 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14275 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14276 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14277 * sysdeps/mach/hurd/profil.c: Likewise.
14278 * sysdeps/s390/dl-procinfo.h: Likewise.
14279 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14280 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14281 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14282 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14283 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14284
0186c6e9
OB
142852013-08-30 Ondřej Bílka <neleai@seznam.cz>
14286
14287 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14288 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14289
d4e16af1
OB
142902013-08-29 Ondřej Bílka <neleai@seznam.cz>
14291
14292 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14293 aix specific files.
14294 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14295 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14296 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14297 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14298 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14299 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14300 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14301 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14302
88335980
TS
143032013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14304 Roland McGrath <roland@hack.frob.com>
14305
14306 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14307 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14308
ed479b02
ST
143092013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14310
14311 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14312 __executable_start symbol instead of _start.
14313
f1cc4c86
TS
143142013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14315
d821f07c
TS
14316 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14317 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14318 Move macros to...
14319 * sysdeps/gnu/ldsodefs.h: ... this new file.
14320
c54290cf
TS
14321 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14322 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14323 instead of ELFOSABI_LINUX.
14324
0007fc9b 14325 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
14326 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14327 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14328 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14329 Likewise.
14330 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14331 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14332 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14333 Likewise.
14334 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14335 (ibm_extended_long_double): Add ieee_nan member.
14336 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14337 (do_test): New function.
14338
f1cc4c86
TS
14339 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14340 TEST_TRUNC.
14341 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14342 functions, renamed from truncdfsf_test, trunctfsf_test,
14343 trunctfdf_test.
14344 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14345 functions.
14346 (do_test): Run all these.
14347
6f65e668
OB
143482013-08-29 Ondřej Bílka <neleai@seznam.cz>
14349
14350 * argp/argp-help.c: Fix typos.
14351 * argp/argp-parse.c: Likewise.
14352 * debug/backtracesyms.c: Likewise.
14353 * elf/elf.h: Likewise.
14354 * malloc/malloc.c: Likewise.
14355 * nis/nis_print.c: Likewise.
14356 * resolv/res_comp.c: Likewise.
14357 * stdlib/stdlib.h: Likewise.
14358 * sunrpc/clnt_tcp.c: Likewise.
14359 * sunrpc/clnt_udp.c: Likewise.
14360 * sunrpc/clnt_unix.c: Likewise.
14361 * sysdeps/unix/bsd/ptsname.c: Likewise.
14362 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14363 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
14364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14365 Likewise.
14366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14367 Likewise.
14368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14369 Likewise.
6f65e668
OB
14370 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14371
3a309239
SP
143722013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14373
14374 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14376
3b813b29
MF
143772013-08-27 Mike Frysinger <vapier@gentoo.org>
14378
14379 [BZ #15897]
14380 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14381 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14382 ($(objpfx)bug-dl-leaf): New rule.
14383 ($(objpfx)bug-dl-leaf.so): Likewise.
14384 ($(objpfx)bug-dl-leaf.out): Likewise.
14385 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14386 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14387 * dlfcn/bug-dl-leaf.c: New test.
14388 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14389 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14390 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14391 (dlclose): Likewise.
14392 (dlmopen): Likewise.
14393
8cc3269f
RM
143942013-08-27 Roland McGrath <roland@hack.frob.com>
14395
7f9d0034
RM
14396 * include/netdb.h [!_ISOMAC]:
14397 Don't include <tls.h>.
14398 (h_errno, __libc_h_errno): Move declaration and macros out of
14399 [_LIBC_REENTRANT].
14400
fb431262
RM
14401 * include/resolv.h [_RESOLV_H_]:
14402 Don't include <tls.h>.
14403 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14404 * resolv/res_libc.c: Don't include <tls.h>.
14405 (_res): Use __attribute__ ((nocommon)) in place of
14406 __attribute__ ((section (".bss"))).
14407
bd81123a
RM
14408 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14409 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14410
c4e42566
RM
14411 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14412
f890a59b
RM
14413 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14414 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14415
14416 * resolv/res_mkquery.c: Include <sys/time.h>.
14417
5d1f0a09
RM
14418 * inet/ifreq.c: Moved to ...
14419 * sysdeps/unix/ifreq.c: ... here.
14420 * inet/ifreq.c: New file, true stub version.
14421
6fcf28b3
RM
14422 * socket/sa_len.c: New file.
14423 * socket/Makefile (aux): Add it.
14424 * sysdeps/unix/sysv/linux/Makefile
14425 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14426 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14427 and #include <socket/sa_len.c>.
14428 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14429 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14430
e041fb8b
RM
14431 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14432 * bits/socket.h: ... here.
14433
8cc3269f
RM
14434 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14435 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14436 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14437
5d228a43
AS
144382013-08-27 Andreas Schwab <schwab@suse.de>
14439
45b8accc
AS
14440 [BZ #15736]
14441 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14442 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14443 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14444 * string/test-strcasecmp.c (test_main): Run tests in several
14445 locales.
14446 * string/test-strncasecmp.c (test_main): Likewise.
14447
5d228a43
AS
14448 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14449 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14450 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14451 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14452 (__strncasecmp_ssse3) [PIC]: Likewise.
14453
59d112a4
RM
144542013-08-26 Roland McGrath <roland@hack.frob.com>
14455
53234cc3
RM
14456 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14457
59d112a4
RM
14458 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14459 instead of explicitly declaring xdecrypt.
14460 * nis/nss_nis/nis-publickey.c: Likewise.
14461
595aba70
SP
144622013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14463
14464 [BZ #15890]
14465 * nscd/aicache.c: Include res_hconf.h.
14466 (addhstaiX): Initialize res_hconf.
14467
ffabd393
AS
144682013-08-26 Andreas Schwab <schwab@suse.de>
14469
14470 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14471 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14472
e0a69f5c
SP
144732013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14474
14475 * nscd/aicache.c (addhstaiX): Fix indentation.
14476
8c12f01d
MF
144772013-08-25 Mike Frysinger <vapier@gentoo.org>
14478
14479 * configure.ac: Quote $build_pt_chown test.
14480 * configure: Regenerated.
14481
8fe89494
JM
144822013-08-23 Joseph Myers <joseph@codesourcery.com>
14483
14484 [BZ #15532]
14485 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14486 * math/s_cexpf.c (__cexpf): Likewise.
14487 * math/s_cexpl.c (__cexpl): Likewise.
14488 * math/libm-test.inc (cexp_test_data): Correct expected return
14489 value for NaN + i0. Add another test.
14490
75b181d6
DM
144912013-08-22 David S. Miller <davem@davemloft.net>
14492
14493 * po/ca.po: Update Catalan translation from translation project.
936241e4 14494 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 14495
acd06bb1
JM
144962013-08-21 Joseph Myers <joseph@codesourcery.com>
14497
14498 [BZ #15797]
14499 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14500 is infinite, not alongside NaN test.
14501 * math/s_fdimf.c (__fdimf): Likewise.
14502 * math/s_fdiml.c (__fdiml): Likewise.
14503 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14504 errno is unchanged.
14505
c0c3f78a
OB
145062013-08-21 Ondřej Bílka <neleai@seznam.cz>
14507
14508 * argp/argp-help.c: Fix typos.
14509 * crypt/speeds.c: Likewise.
14510 * csu/check_fds.c: Likewise.
14511 * elf/dl-load.c: Likewise.
14512 * elf/dl-open.c: Likewise.
14513 * elf/reldep3.c: Likewise.
14514 * elf/reldep.c: Likewise.
14515 * elf/sprof.c: Likewise.
14516 * iconv/iconv_charmap.c: Likewise.
14517 * iconv/skeleton.c: Likewise.
14518 * iconv/strtab.c: Likewise.
14519 * io/lockf64.c: Likewise.
14520 * libio/libioP.h: Likewise.
14521 * resolv/gai_notify.c: Likewise.
14522 * resolv/ns_name.c: Likewise.
14523 * resolv/ns_samedomain.c: Likewise.
14524 * resolv/res_send.c: Likewise.
14525 * stdlib/random.c: Likewise.
14526 * sunrpc/rpc/xdr.h: Likewise.
14527 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14528 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14529 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14530 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14531 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14532 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14533 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14534 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14535 * sysdeps/mach/hurd/check_fds.c: Likewise.
14536 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14537 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14538 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14539 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14540 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14541 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14542 * sysdeps/pthread/aio_notify.c: Likewise.
14543 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14544 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14545 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14546 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14547 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14548
46ed1038
LD
145492013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14550
14551 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14552 version if bit_Slow_SSE4_2 is set.
14553 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14554 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14555
d400dcac
AZ
145562013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14557
14558 [BZ #15867]
14559 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14560 trampoline stack frame information.
14561 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14562 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14563 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14564 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14565 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14566 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14567 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14568 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14569 sa_flags value.
14570 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14571 interrupting a syscall and set with option SA_SIGINFO.
14572
42c8fdd8
JM
145732013-08-20 Joseph Myers <joseph@codesourcery.com>
14574
c980f2f4
JM
14575 [BZ #15531]
14576 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14577 argument is infinite.
14578 * math/s_cprojf.c (__cprojf): Likewise.
14579 * math/s_cprojl.c (__cprojl): Likewise.
14580 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14581 * math/libm-test.inc (cproj_test_data): Add more tests.
14582
0716c4fc
JM
14583 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14584
42c8fdd8
JM
14585 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14586 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14587 size. Use __ffs to determine corresponding shift.
14588
b31469d0
JM
145892013-08-20 Joseph Myers <joseph@codesourcery.com>
14590 Roland McGrath <roland@hack.frob.com>
14591
14592 * Makefile (INSTALL): Remove trailing blank lines from output of
14593 makeinfo.
14594
4e39af6e
AK
145952013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14596
14597 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14598 Align 32 bit compat elf_greg to 8 bytes.
14599
f315524e
AA
146002013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14601
14602 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14603
1326ba1a
SP
146042013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14605
14606 * string/strcoll_l.c (coll_seq): New structure.
14607 (get_next_seq_cached): New function.
14608 (get_next_seq): New function.
14609 (do_compare): New function.
14610 (STRCOLL): Use GNU style definition. Simplify implementation
14611 by using get_next_seq, get_next_seq_cached and do_compare.
14612
91ce4085
FW
146132013-08-16 Florian Weimer <fweimer@redhat.com>
14614
14615 [BZ #14699]
14616 CVE-2013-4237
14617 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14618 member.
14619 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14620 member.
14621 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14622 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14623 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14624 conditional.
14625 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14626 GETDENTS_64BIT_ALIGNED.
14627 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14628 * manual/filesys.texi (Reading/Closing Directory): Document
14629 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14630 strongly.
14631 * manual/conf.texi (Limits for Files): Add portability note to
14632 NAME_MAX, PATH_MAX.
14633 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14634
ca0a6bc4
AS
146352013-08-13 Andreas Schwab <schwab@suse.de>
14636
14637 [BZ #15749]
14638 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14639 of fabs.
14640 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14641 LDBL_MAX_EXP >= 16384]: Add tests for it.
14642
6c1fd795
DM
146432013-08-12 David S. Miller <davem@davemloft.net>
14644
14645 * version.h (RELEASE): Set to "development".
14646 (VERSION): Set to "2.18.90".
14647 * NEWS: Add 2.19 section.
14648
31ad488d
DM
146492013-08-03 David S. Miller <davem@davemloft.net>
14650
14651 * po/ko.po: Update Korean translation from translation project.
14652
db24e684
DM
146532013-08-01 David S. Miller <davem@davemloft.net>
14654
14655 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14656 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14657 Bilka.
14658
f723285b
DM
146592013-07-30 David S. Miller <davem@davemloft.net>
14660
14661 * po/fr.po: Update French translation from translation project.
14662
3cbc52db
DM
146632013-07-28 David S. Miller <davem@davemloft.net>
14664
30bbc0cc
DM
14665 * po/cs.po: Update Czech translation from translation project.
14666
3cbc52db
DM
14667 * po/sv.po: Update Swedish translation from translation project.
14668
d492e6d0
DM
146692013-07-27 David S. Miller <davem@davemloft.net>
14670
f1a7f492
DM
14671 * po/eo.po: Update Esperanto translation from translation project.
14672
90e62a4a
DM
14673 * po/vi.po: Update Vietnamese translation from translation project.
14674
d492e6d0
DM
14675 * po/de.po: Update German translation from translation project.
14676
d4baa62d
DM
146772013-07-26 David S. Miller <davem@davemloft.net>
14678
641aa7b4
DM
14679 * po/bg.po: Update Bulgarian translation from translation project.
14680
d4baa62d
DM
14681 * po/nl.po: Update Dutch translation from translation project.
14682 * po/pl.po: Update Polish translation from translation project.
14683 * po/ru.po: Update Russian translation from translation project.
14684
61a9dcb9
DM
146852013-07-24 David S. Miller <davem@davemloft.net>
14686
14687 * po/libc.pot: Update.
14688
7b1f8b58
AZ
146892013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14690
14691 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14692 variable page size.
14693 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14694 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14695 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14696
a8fc7a03
AK
146972013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14698
14699 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14700
e4608715
CD
147012013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14702 Andreas Schwab <schwab@suse.de>
14703 Roland McGrath <roland@hack.frob.com>
14704 Joseph Myers <joseph@codesourcery.com>
14705 Carlos O'Donell <carlos@redhat.com>
14706
14707 [BZ #15755]
14708 * config.h.in: Define HAVE_PT_CHOWN.
14709 * config.make.in (build-pt-chown): New variable.
14710 * configure.in (--enable-pt_chown): New configure option.
14711 * configure: Regenerate.
14712 * login/Makefile: Include Makeconfig. Build pt_chown only if
14713 build-pt-chown is enabled.
14714 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14715 pt_chown to fix pty ownership.
14716 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14717 CLOSE_ALL_FDS.
14718 * manual/install.texi (Configuring and compiling): Mention
14719 --enable-pt_chown. Add @findex for grantpt.
14720 * INSTALL: Regenerate.
14721
da2d62df
DM
147222013-07-20 David S. Miller <davem@davemloft.net>
14723
14724 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14725 difference between 32-bit and 64-bit.
14726
d7e06450
CD
147272013-07-15 Carlos O'Donell <carlos@redhat.com>
14728
14729 [BZ #15711]
14730 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14731 Avoid system header dependency with -ffreestanding.
14732 ($(objpfx)bits/syscall%d): Likewise.
14733
f959cfd7
DM
147342013-07-13 David S. Miller <davem@davemloft.net>
14735
14736 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14737 underflows from atanl/atan2l due to bug 15319.
14738 (casinh_test_data): Likewise.
14739
c61f8513
DM
147402013-07-07 David S. Miller <davem@davemloft.net>
14741
14742 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14743
72c90ed0
JA
147442013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14745
14746 * sysdeps/i386/fpu/libm-test-ulps: Update.
14747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14748
52dfbe13
SP
147492013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14750
14751 * configure.in (--enable-lock-elision): Fix message text.
14752 * INSTALL: Regenerate.
14753 * configure: Regenerate.
14754
3f169543
AZ
147552013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14756
14757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14758
521c6785
AJ
147592013-07-03 Andreas Jaeger <aj@suse.de>
14760
14761 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14762 define.
14763 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14764 (ptrace_peeksiginfo_args): Add.
14765 (__ptrace_peeksiginfo_flags): Add.
14766 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14767 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14768 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14769
d2cc15cb
AM
147702013-07-03 Allan McRae <allan@archlinux.org>
14771
14772 * sysdeps/i386/fpu/libm-test-ulps: Update.
14773
3aaeeca7
DM
147742013-07-02 David S. Miller <davem@davemloft.net>
14775
14776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14777
5314ed1a
MT
147782013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14779
14780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14781
67338156
JM
147822013-07-02 Joseph Myers <joseph@codesourcery.com>
14783
14784 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14786
1717da59
AK
147872013-07-02 Andi Kleen <ak@linux.intel.com>
14788
14789 * config.h.in (ENABLE_LOCK_ELISION): Add.
14790 * configure.in (--enable-lock-elision): Add option.
14791 * manual/install.texi: Document --enable lock elision.
14792 * configure: Regenerate
14793 * INSTALL: Regenerate.
14794
1c81621c
L
147952013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14796
14797 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14798 SSE4.2 strcasecmp for libc.a.
14799 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14800
77f01ab5
JM
148012013-07-02 Joseph Myers <joseph@codesourcery.com>
14802
14803 [BZ #13304]
14804 * soft-fp/op-common.h (_FP_FMA): New macro.
14805 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14806 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14807 (_FP_MUL_MEAT_1_imm): ... here.
14808 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14809 (_FP_MUL_MEAT_1_wide): ... here.
14810 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14811 (_FP_MUL_MEAT_1_hard): ... here.
14812 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14813 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14814 (_FP_MUL_MEAT_2_wide): ... here.
14815 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14816 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14817 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14818 (_FP_MUL_MEAT_2_gmp): ... here.
14819 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14820 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14821 (_FP_MUL_MEAT_4_wide): ... here.
14822 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14823 (_FP_MUL_MEAT_4_gmp): ... here.
14824 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14825 (_FP_WFRACBITS_DW_S): Likewise.
14826 (_FP_WFRACXBITS_DW_S): Likewise.
14827 (_FP_HIGHBIT_DW_S): Likewise.
14828 (FP_FMA_S): Likewise.
14829 (_FP_FRAC_HIGH_DW_S): Likewise.
14830 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14831 (_FP_WFRACBITS_DW_D): Likewise.
14832 (_FP_WFRACXBITS_DW_D): Likewise.
14833 (_FP_HIGHBIT_DW_D): Likewise.
14834 (FP_FMA_D): Likewise.
14835 (_FP_FRAC_HIGH_DW_D): Likewise.
14836 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14837 (_FP_WFRACBITS_DW_E): Likewise.
14838 (_FP_WFRACXBITS_DW_E): Likewise.
14839 (_FP_HIGHBIT_DW_E): Likewise.
14840 (FP_FMA_E): Likewise.
14841 (_FP_FRAC_HIGH_DW_E): Likewise.
14842 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14843 (_FP_WFRACBITS_DW_Q): Likewise.
14844 (_FP_WFRACXBITS_DW_Q): Likewise.
14845 (_FP_HIGHBIT_DW_Q): Likewise.
14846 (FP_FMA_Q): Likewise.
14847 (_FP_FRAC_HIGH_DW_Q): Likewise.
14848 * soft-fp/fmasf4.c: New file.
14849 * soft-fp/fmadf4.c: Likewise.
14850 * soft-fp/fmatf4.c: Likewise.
14851
6308fd9a
LD
148522013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14853
14854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14855 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14856 Silvermont.
14857 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14858 macro.
14859 (index_Slow_SSE4_2): Likewise.
14860 (index_Prefer_PMINUB_for_stringop): Likewise.
14861 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14862 bit_Slow_SSE4_2 is set.
14863 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14864 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14865
89cd9569
RA
148662013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14867
14868 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14869 rtld_global._dl_hwcap2.
14870 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14871 POWER8.
14872 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14873 POWER8 feature descriptions defined in _dl_hwcap2.
14874 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14875 string handling for POWER8 feature bits.
14876 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14877 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14878 _dl_powerpc_cap_flags.
14879 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14880 * sysdeps/powerpc/rtld-global-offsets.sym
14881 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14882 _dl_hwcap2 in the rtld_global_ro structure.
14883
1ae8bfe0
RA
148842013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14885
14886 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14887 hardware capabilities in support of AT_HWCAP2.
14888 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14889 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14890 GLRO(dl_hwcap2).
14891 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14892 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14893 explicitly the unknown a_type display mechanism is used.
14894 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14895 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14896 struct member.
14897 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14898 to macro prototype for AT_HWCAP2 support.
14899 * sysdeps/i386/dl-procinfo.h: Likewise.
14900 * sysdeps/s390/dl-procinfo.h: Likewise.
14901 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14902 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14903 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14904 return -1 for unknown a_type display fallback.
14905 * sysdeps/sparc/dl-procinfo.h: Likewise.
14906 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14907 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14908
8fbec010
JM
149092013-06-28 Joseph Myers <joseph@codesourcery.com>
14910
14911 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14912 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14913
0432680e
PY
149142013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14915
14916 [BZ #12492]
14917 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14918 mprotect making __stack_prot writable.
14919
ce61a2ad
NF
149202013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14921 Joseph Myers <joseph@codesourcery.com>
14922
14923 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14924 as being properly aligned.
14925
f91f1c0f
MR
149262013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14927
3d0f5d0c
MR
14928 * dlfcn/modstatic5.c: New file.
14929 * dlfcn/tststatic5.c: New file.
14930 * dlfcn/Makefile (tests): Add tststatic5.
14931 (tests-static): Likewise.
14932 (modules-names): Add modstatic5.
14933 (tststatic5-ENV): New variable.
14934 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14935
f91f1c0f
MR
14936 [BZ #15022]
14937 * elf/dl-support.c (_dl_main_map): New variable.
14938 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14939 (_dl_nns, _dl_load_adds): Set to 1.
14940 (_dl_initial_searchlist): Refer to _dl_main_map.
14941 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14942 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14943 call to _dl_get_origin.
14944 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14945 around call_map.
14946 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14947 * dlfcn/modstatic3.c: New file.
14948 * dlfcn/tststatic3.c: New file.
14949 * dlfcn/tststatic4.c: New file.
14950 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14951 (tests-static): Likewise.
14952 (modules-names): Add modstatic3.
14953 (tststatic3-ENV, tststatic4-ENV): New variables.
14954 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14955 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14956
cbe7d24b
JM
149572013-06-26 Joseph Myers <joseph@codesourcery.com>
14958
14959 * configure.in (CC): Require GCC version 4.4 or later.
14960 * configure: Regenerated.
14961 * manual/install.texi (Tools for Compilation): Update GCC version
14962 requirement.
14963 * INSTALL: Regenerated.
14964
11b8a0e1
LD
149652013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14966
14967 [BZ #15674]
bb5bb87c
L
14968 * string/test-memcmp.c (check2): New.
14969 (main): Call check2.
14970
11b8a0e1
LD
14971 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14972
b0037103
MR
149732013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14974
14975 [BZ #15022]
14976 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14977 over to...
14978 (dl_open_worker) [!SHARED]: ... here.
14979
c18c701d
RA
149802013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14981
14982 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14983
1d17fa5f
RH
149842013-06-25 Richard Henderson <rth@redhat.com>
14985
14986 * locale/programs/locarchive.c: Include <libc-internal.h>
14987
8fcb833a
JM
149882013-06-25 Joseph Myers <joseph@codesourcery.com>
14989
14990 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14991 trailing whitespace removed.
14992
17db6e8d
MF
149932013-06-24 Mike Frysinger <vapier@gentoo.org>
14994
14995 [BZ #10283]
17db6e8d
MF
14996 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14997 * locale/programs/locarchive.c: Include libc-mmap.h.
14998 (prepare_address_space): Take two new outputs (the mmap base and len).
14999 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15000 values.
15001 (create_archive): Declare new mmap base and len values for
15002 prepare_address_space, and store the result in ah.
15003 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15004 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15005 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15006 Declare new mmap base and len values for
15007 prepare_address_space, and store the result in new_ah.
15008 (open_archive): Declare new mmap base and len values for
15009 prepare_address_space, and store the result in ah.
15010 (close_archive): If ah->mmap_base is not NULL, use that and
15011 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15012 * sysdeps/generic/libc-mmap.h: New file.
15013
d605071e
MF
150142013-06-24 Mike Frysinger <vapier@gentoo.org>
15015
15016 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15017 (ALIGN_UP): Likewise.
15018 (PTR_ALIGN_DOWN): Likewise.
15019 (PTR_ALIGN_UP): Likewise.
15020
2f063a6e
RA
150212013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15022
15023 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15024 entry mapped to PPC_PLATFORM_POWER8.
15025 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15026 POWER8.
15027 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15028 (_dl_string_platform): Add case for exporting platform position for
15029 POWER8.
15030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15031 search path to sysdeps/powerpc/powerpc32/power8 directory.
15032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15033 search path to sysdeps/powerpc/powerpc64/power8 directory.
15034 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15035 power7 directories.
15036 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15037 power7 directories.
15038
a31ee4b3
SP
150392013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15040
a74ca98f
SP
15041 * INSTALL: Regenerate.
15042
a31ee4b3
SP
15043 * nscd/connections.c (nscd_init): Fix comment.
15044
695c378f
JM
150452013-06-22 Joseph Myers <joseph@codesourcery.com>
15046
d8412221
JM
15047 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15048
695c378f
JM
15049 [BZ #15667]
15050 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15051 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15052
d1d54715
MR
150532013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15054
15055 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15056 DL_DST_REQ_STATIC.
15057 (DL_DST_REQ_STATIC): Remove macro.
15058
8fdda7af
JM
150592013-06-21 Joseph Myers <joseph@codesourcery.com>
15060
15061 [BZ #7006]
15062 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15063 with a shift of 0 bits.
15064
f3bc5e5a
MR
150652013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15066
15067 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15068 $(tststatic-ENV).
15069
be09e8c9
KK
150702013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15071
15072 [BZ #15655]
15073 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15074
85c2e611
AZ
150752013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15076
15077 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15078 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15079 accepts -fno-tree-loop-distribute-patterns.
15080 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15081 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15082 recursive call.
15083 * string/memset.c (memset): Likewise.
15084 * string/test-memmove.c (simple_memmove): Disable loop transformation
15085 to library calls.
15086 * string/test-memset.c (simple_memset): Likewise.
15087 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15088 * benchtests/bench-memset.c (simple_memset): Likewise.
15089 * configure: Regenerated.
15090
c91e0825
JM
150912013-06-20 Joseph Myers <joseph@codesourcery.com>
15092
b8c792af
JM
15093 * math/test-misc.c (main): Ignore fesetround failure when failures
15094 of subsequent rounding tests would be ignored.
15095
c91e0825
JM
15096 [BZ #15654]
15097 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15098 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15099 * math/fegetenv.c (__fegetenv): Return 0.
15100 * math/fegetexcept.c (fegetexcept): Return 0.
15101 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15102 FE_TONEAREST.
15103 * math/feholdexcpt.c (feholdexcept): Return 0.
15104 * math/fesetenv.c (__fesetenv): Return 0.
15105 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15106 argument FE_TONEAREST.
15107 * math/feupdateenv.c (__feupdateenv): Return 0.
15108 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15109
bfcacbde
RM
151102013-06-18 Roland McGrath <roland@hack.frob.com>
15111
15112 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15113 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15114 ($(objpfx)rtld-%.os rules): Use them.
15115
e55a9b25
AZ
151162013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15117
15118 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15119 fields.
15120
346d65b3
RM
151212013-06-17 Roland McGrath <roland@hack.frob.com>
15122
12086fb4
RM
15123 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15124 length of target pattern, then descending length of dependency pattern.
15125 * configure.in (AWK): Require gawk 3.1.2 or newer.
15126 * manual/install.texi (Tools for Compilation): Say that we do.
15127 * configure: Regenerated.
15128
346d65b3
RM
15129 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15130 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15131 * scripts/sysd-rules.awk: ... this new script.
15132 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15133 than a glob-style pattern.
15134
1a846317
JM
151352013-06-17 Joseph Myers <joseph@codesourcery.com>
15136
15137 * math/test-misc.c (main): Do not treat incorrectly rounded
15138 conversions as failure unless ROUNDING_TESTS passes.
15139
8fc75e6f
JM
151402013-06-15 Joseph Myers <joseph@codesourcery.com>
15141
3711a167
JM
15142 [BZ #15631]
15143 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15144 restore exception state around main square root computation, then
15145 check for inexactness explicitly.
15146
8fc75e6f
JM
15147 * math/libm-test.inc (fma_test_data): Add another test.
15148
61dd6208
SP
151492013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15150
adf23d2c
SP
15151 * manual/threads.texi (Non-POSIX Extensions): New document
15152 node. Document pthread_getattr_default_np and
15153 pthread_setattr_default_np.
15154
61dd6208
SP
15155 * Versions.def (libpthread): Add GLIBC_2.18.
15156 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15158 Likewise.
15159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15160 Likewise.
15161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15162 Likewise.
15163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15164 Likewise.
15165 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15166 Likewise.
15167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15168 Likewise.
15169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15170 Likewise.
15171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15172 Likewise.
15173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15174 Likewise.
15175
d086fc7b
LD
151762013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15177
15178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15179 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15180
747ef469
SP
151812013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15182 H.J. Lu <hjl.tools@gmail.com>
15183
15184 [BZ #15627]
15185 * sysdeps/x86_64/rtld-memset.c: Remove file.
15186 * sysdeps/x86_64/rtld-memset.S: New file.
15187
1b2feed2
JM
151882013-06-14 Joseph Myers <joseph@codesourcery.com>
15189
15190 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15191 (test_in_one_mode): Take arguments for whether the rounding mode
15192 is supported for each floating-point type.
15193 (do_test): Pass new arguments to test_in_one_mode using
15194 ROUNDING_TESTS.
15195
a58ad3f8
RM
151962013-06-13 Roland McGrath <roland@hack.frob.com>
15197
15198 * posix/tst-waitid.c (do_test): Distinguish different instances of
15199 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15200 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15201 before entering the kernel for waitpid.
15202
c204ab28
SP
152032013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15204
15205 * NEWS: Fix note on clock function precision. Text by Roland
15206 McGrath.
15207
f4a29fba
RM
152082013-06-13 Roland McGrath <roland@hack.frob.com>
15209
15210 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15211 it into place only when and if the sanity check passes.
15212
1f24b9ad
JM
152132013-06-13 Joseph Myers <joseph@codesourcery.com>
15214
15215 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15216 output for whether conversion result is exact. Take argument
15217 indicating whether type is IBM long double.
15218 (round_for_all): Change need_exact field to ibm_ld.
15219 * stdlib/tst-strtod-round.c (struct exactness): New type.
15220 (struct test): Change bool ld_ok field to struct exactness exact.
15221 (TEST): Update all definitions for change to field.
15222 (tests): Regenerate array contents.
15223 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15224 field value. Check for IBM long double here.
15225 (do_test): Update calls to test_in_one_mode.
15226
58206c68
SP
152272013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15228
15229 [BZ #12515]
15230 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15231 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15232
2d6f4c5b 152332013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
15234
15235 [BZ #15605]
15236 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15237 generated by the compiler on loop optimizations.
15238 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15239 general definitions.
15240
94f2c076
JM
152412013-06-12 Joseph Myers <joseph@codesourcery.com>
15242
15243 * math/bug-nextafter.c: Include <math-tests.h>.
15244 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15245 the relevant type.
15246 * math/bug-nexttoward.c: Include <math-tests.h>.
15247 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15248 the relevant type.
15249 * math/test-misc.c: Include <math-tests.h>.
15250 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15251 the relevant type.
15252
e0e50a0a
AJ
152532013-06-12 Andreas Jaeger <aj@suse.de>
15254
15255 * po/ia.po: Update Interlingua translation from translation
15256 project.
15257
25061094
SP
152582013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15259
15260 * include/fenv.h: Include stdbool.h.
15261 (struct rm_ctx): New structure.
15262 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15263 Define macro.
15264 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15265 (SET_RESTORE_ROUNDF): Likewise.
15266 (SET_RESTORE_ROUNDL): Likewise.
15267 (SET_RESTORE_ROUND_NOEX): Likewise.
15268 (SET_RESTORE_ROUND_NOEXF): Likewise.
15269 (SET_RESTORE_ROUND_NOEXL): Likewise.
15270 (SET_RESTORE_ROUND_53BIT): Likewise.
15271 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15272 (libc_feresetround_noexf_ctx): Likewise.
15273 (libc_feresetround_noexl_ctx): Likewise.
15274 (libc_feholdsetround_53bit_ctx): Likewise.
15275 (libc_feresetround_53bit_ctx): Likewise.
15276 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15277 (libc_feholdexcept_setround_sse_ctx): New function.
15278 (libc_fesetenv_sse_ctx): Likewise.
15279 (libc_feupdateenv_sse_ctx): Likewise.
15280 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15281 (libc_feholdexcept_setround_387_ctx): Likewise.
15282 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15283 (libc_feholdsetround_387_prec_ctx): Likewise.
15284 (libc_feholdsetround_387_ctx): Likewise.
15285 (libc_feholdsetround_387_53bit_ctx): Likewise.
15286 (libc_feholdsetround_sse_ctx): Likewise.
15287 (libc_feresetround_sse_ctx): Likewise.
15288 (libc_feresetround_387_ctx): Likewise.
15289 (libc_feupdateenv_387_ctx): Likewise.
15290 (libc_feholdexcept_setroundf_ctx): Define macro.
15291 (libc_fesetenvf_ctx): Likewise.
15292 (libc_feupdateenvf_ctx): Likewise.
15293 (libc_feholdsetroundf_ctx): Likewise.
15294 (libc_feresetroundf_ctx): Likewise.
15295 (libc_feholdexcept_setround_ctx): Likewise.
15296 (libc_fesetenv_ctx): Likewise.
15297 (libc_feupdateenv_ctx): Likewise.
15298 (libc_feholdsetround_ctx): Likewise.
15299 (libc_feresetround_ctx): Likewise.
15300 (libc_feholdexcept_setroundl_ctx): Likewise.
15301 (libc_feupdateenvl_ctx): Likewise.
15302 (libc_feholdsetroundl_ctx): Likewise.
15303 (libc_feresetroundl_ctx): Likewise.
15304 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15305 (libc_feresetround_53bit_ctx): Likewise.
15306
59b30555
SP
153072013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15308
15309 * locale/iso-639.def: Convert to UTF-8.
15310
f1d73d30
JM
153112013-06-11 Joseph Myers <joseph@codesourcery.com>
15312
15313 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15314 (EXCEPTION_TESTS_double): Likewise.
15315 (EXCEPTION_TESTS_long_double): Likewise.
15316 (EXCEPTION_TESTS): Likewise.
15317 * math/libm-test.inc (test_exceptions): Only test exceptions if
15318 EXCEPTION_TESTS (FLOAT).
15319
94aca5e7
SP
153202013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15321
15322 * benchtests/Makefile (string-bench): Add strcpy_chk and
15323 stpcpy_chk.
15324 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15325 * benchtests/bench-stpcpy_chk.c: New file.
15326 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15327 * benchtests/bench-strcpy_chk.c: New file.
15328 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15329 code.
15330 (do_test): Likewise.
15331
fac0c5f2
RA
153322013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15333
15334 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15335 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15336 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15337 with tabs where appropriate.
15338 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15339 dl-procinfo.h.
15340 [PPC_PLATFORM_PPC440]: Likewise.
15341 [PPC_PLATFORM_PPC464]: Likewise.
15342 [PPC_PLATFORM_PPC476]: Likewise.
15343 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15344 ppc464, and ppc476 platform strings merging from ports/
15345 dl-procinfo.h.
15346
f22bc486
AS
153472013-06-11 Andreas Schwab <schwab@suse.de>
15348
15349 [BZ #14991]
15350 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15351 (from_ucs4_idx): Regenerate.
15352 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15353 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15354 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15355 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15356 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15357 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15358 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15359 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15360 from FROM_LOOP and TO_LOOP specific macros.
15361 (BODY): Handle combining characters.
15362 * iconvdata/BIG5HKSCS.irreversible: Update.
15363 * iconvdata/BIG5HKSCS.precomposed: New file.
15364 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15365 characters.
15366 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15367
c1f75dc3
SP
153682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15369
4eacded2
SP
15370 * include/sys/time.h: Fix indentation and add copyright header.
15371
fec799f8
SP
15372 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15373 (do_test): Likewise.
15374 * string/test-memchr.c (do_one_test): Likewise.
15375 (do_test): Likewise.
15376 * string/test-memcmp.c (do_one_test): Likewise.
15377 (do_test): Likewise.
15378 * string/test-memcpy.c (do_one_test): Likewise.
15379 (do_test): Likewise.
15380 * string/test-memmem.c (do_one_test): Likewise.
15381 (do_test): Likewise.
15382 (do_random_tests): Likewise.
15383 * string/test-memmove.c (do_one_test): Likewise.
15384 (do_test): Likewise.
15385 * string/test-memset.c (do_one_test): Likewise.
15386 (do_test): Likewise.
15387 * string/test-rawmemchr.c (do_one_test): Likewise.
15388 (do_test): Likewise.
15389 * string/test-strcasecmp.c (do_one_test): Likewise.
15390 (do_test): Likewise.
15391 * string/test-strcasestr.c (do_one_test): Likewise.
15392 (do_test): Likewise.
15393 * string/test-strcat.c (do_one_test): Likewise.
15394 (do_test): Likewise.
15395 * string/test-strchr.c (do_one_test): Likewise.
15396 (do_test): Likewise.
15397 * string/test-strcmp.c (do_one_test): Likewise.
15398 (do_test): Likewise.
15399 * string/test-strcpy.c (do_one_test): Likewise.
15400 (do_test): Likewise.
15401 * string/test-string.h: Likewise.
15402 (test_init): Likewise.
15403 * string/test-strlen.c (do_one_test): Likewise.
15404 (do_test): Likewise.
15405 * string/test-strncasecmp.c (do_one_test): Likewise.
15406 (do_test): Likewise.
15407 * string/test-strncat.c (do_one_test): Likewise.
15408 (do_test): Likewise.
15409 * string/test-strncmp.c (do_one_test): Likewise.
15410 (do_test_limit): Likewise.
15411 (do_test): Likewise.
15412 * string/test-strncpy.c (do_one_test): Likewise.
15413 (do_test): Likewise.
15414 * string/test-strnlen.c (do_one_test): Likewise.
15415 (do_test): Likewise.
15416 * string/test-strpbrk.c (do_one_test): Likewise.
15417 (do_test): Likewise.
15418 * string/test-strrchr.c (do_one_test): Likewise.
15419 (do_test): Likewise.
15420 * string/test-strspn.c (do_one_test): Likewise.
15421 (do_test): Likewise.
15422 * string/test-strstr.c (do_one_test): Likewise.
15423 (do_test): Likewise.
15424
97020474
SP
15425 * benchtests/Makefile (string-bench): Add string benchmarks.
15426 * benchtests/bench-bcopy-ifunc.c: New file.
15427 * benchtests/bench-bcopy.c: New file.
15428 * benchtests/bench-bzero-ifunc.c: New file.
15429 * benchtests/bench-bzero.c: New file.
15430 * benchtests/bench-memccpy-ifunc.c: New file.
15431 * benchtests/bench-memccpy.c: New file.
15432 * benchtests/bench-memchr-ifunc.c: New file.
15433 * benchtests/bench-memchr.c: New file.
15434 * benchtests/bench-memcmp-ifunc.c: New file.
15435 * benchtests/bench-memcmp.c: New file.
15436 * benchtests/bench-memmem-ifunc.c: New file.
15437 * benchtests/bench-memmem.c: New file.
15438 * benchtests/bench-memmove-ifunc.c: New file.
15439 * benchtests/bench-memmove.c: New file.
15440 * benchtests/bench-mempcpy-ifunc.c: New file.
15441 * benchtests/bench-mempcpy.c: New file.
15442 * benchtests/bench-memset-ifunc.c: New file.
15443 * benchtests/bench-memset.c: New file.
15444 * benchtests/bench-rawmemchr-ifunc.c: New file.
15445 * benchtests/bench-rawmemchr.c: New file.
15446 * benchtests/bench-stpcpy-ifunc.c: New file.
15447 * benchtests/bench-stpcpy.c: New file.
15448 * benchtests/bench-stpncpy-ifunc.c: New file.
15449 * benchtests/bench-stpncpy.c: New file.
15450 * benchtests/bench-strcasecmp-ifunc.c: New file.
15451 * benchtests/bench-strcasecmp.c: New file.
15452 * benchtests/bench-strcasestr-ifunc.c: New file.
15453 * benchtests/bench-strcasestr.c: New file.
15454 * benchtests/bench-strcat-ifunc.c: New file.
15455 * benchtests/bench-strcat.c: New file.
15456 * benchtests/bench-strchr-ifunc.c: New file.
15457 * benchtests/bench-strchr.c: New file.
15458 * benchtests/bench-strchrnul-ifunc.c: New file.
15459 * benchtests/bench-strchrnul.c: New file.
15460 * benchtests/bench-strcmp-ifunc.c: New file.
15461 * benchtests/bench-strcmp.c: New file.
15462 * benchtests/bench-strcpy-ifunc.c: New file.
15463 * benchtests/bench-strcpy.c: New file.
15464 * benchtests/bench-strcspn-ifunc.c: New file.
15465 * benchtests/bench-strcspn.c: New file.
15466 * benchtests/bench-strlen-ifunc.c: New file.
15467 * benchtests/bench-strlen.c: New file.
15468 * benchtests/bench-strncasecmp-ifunc.c: New file.
15469 * benchtests/bench-strncasecmp.c: New file.
15470 * benchtests/bench-strncat-ifunc.c: New file.
15471 * benchtests/bench-strncat.c: New file.
15472 * benchtests/bench-strncmp-ifunc.c: New file.
15473 * benchtests/bench-strncmp.c: New file.
15474 * benchtests/bench-strncpy-ifunc.c: New file.
15475 * benchtests/bench-strncpy.c: New file.
15476 * benchtests/bench-strnlen-ifunc.c: New file.
15477 * benchtests/bench-strnlen.c: New file.
15478 * benchtests/bench-strpbrk-ifunc.c: New file.
15479 * benchtests/bench-strpbrk.c: New file.
15480 * benchtests/bench-strrchr-ifunc.c: New file.
15481 * benchtests/bench-strrchr.c: New file.
15482 * benchtests/bench-strspn-ifunc.c: New file.
15483 * benchtests/bench-strspn.c: New file.
15484 * benchtests/bench-strstr-ifunc.c: New file.
15485 * benchtests/bench-strstr.c: New file.
15486
c1f75dc3
SP
15487 * benchtests/Makefile: Disable parallel execution of targets.
15488 (string-bench): Add memcpy.
15489 (benchset): New variable to store a list of benchmark sets.
15490 (bench-func): Renamed from bench.
15491 (bench-set): New target.
15492 (bench): Depend on bench-func and bench-set.
15493 * benchtests/README: Add section on benchmark sets.
15494 * benchtests/bench-memcpy-ifunc.c: New file.
15495 * benchtests/bench-memcpy.c: New file.
15496 * benchtests/bench-string.h: New file.
15497
50fd745b
AS
154982013-06-11 Andreas Schwab <schwab@suse.de>
15499
15500 [BZ #15577]
15501 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15502 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15503 values in the triple.
15504 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15505 terminator in the group key.
15506
3ee7e9fe
AJ
155072013-06-11 Andreas Jaeger <aj@suse.de>
15508
15509 * po/zh_TW.po: Update Chinese (traditional) translation from
15510 translation project.
15511
89fb6835
SP
155122013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15513
15514 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15515 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15516 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15517 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15518 (clock_getcpuclockid): Likewise.
15519 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15520 Add weak_alias and libc_hidden_def.
15521 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15522 * rt/clock_gettime.c (clock_gettime): Rename to
15523 __clock_gettime. Add weak_alias and libc_hidden_def.
15524 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15525 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15526 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15527 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15528 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15529 Likewise.
15530 * rt/clock_settime.c (clock_settime): Rename to
15531 __clock_settime. Add weak_alias and libc_hidden_def.
15532 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15533
0efa6f8b
JM
155342013-06-10 Joseph Myers <joseph@codesourcery.com>
15535
b8c61b4b
JM
15536 * mach/err_boot.sub: Remove trailing whitespace.
15537 * mach/err_ipc.sub: Likewise.
15538 * mach/err_mach.sub: Likewise.
15539
0efa6f8b
JM
15540 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15541 (ROUNDING_TESTS_double): Likewise.
15542 (ROUNDING_TESTS_long_double): Likewise.
15543 (ROUNDING_TESTS): Likewise.
15544 * math/libm-test.inc: Include <math-tests.h>.
15545 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15546 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15547 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15548 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15549
50b818bf
SP
155502013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15551
15552 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15553 of assigning.
15554
60d2f8f3
JM
155552013-06-08 Joseph Myers <joseph@codesourcery.com>
15556
4902d2c3
JM
15557 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15558 otherwise empty TRANS lines.
15559 * sysdeps/gnu/errlist.c: Regenerated.
15560
60d2f8f3
JM
15561 * catgets/gencat.c (error_print): Use (void) in function
15562 definition.
15563 * crypt/crypt_util.c (__init_des): Likewise.
15564 * crypt/speeds.c (Stop): Likewise.
15565 (main): Likewise.
15566 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15567 * inet/ruserpass.c (token): Likewise.
15568 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15569 * intl/localealias.c (extend_alias_table): Likewise.
15570 * intl/plural-exp.c (init_germanic_plural): Likewise.
15571 * libio/fcloseall.c (__fcloseall): Likewise.
15572 * libio/genops.c (_IO_flush_all): Likewise.
15573 (_IO_flush_all_linebuffered): Likewise.
15574 (_IO_cleanup): Likewise.
15575 (_IO_iter_begin): Likewise.
15576 (_IO_iter_end): Likewise.
15577 (_IO_list_lock): Likewise.
15578 (_IO_list_unlock): Likewise.
15579 (_IO_list_resetlock): Likewise.
15580 * libio/getchar.c (getchar): Likewise.
15581 * libio/getchar_u.c (getchar_unlocked): Likewise.
15582 * libio/getwchar.c (getwchar): Likewise.
15583 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15584 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15585 * login/getpt.c (__getpt): Likewise.
15586 * login/tst-utmp.c (main): Likewise.
15587 * malloc/hooks.c (__malloc_check_init): Likewise.
15588 * malloc/malloc.c (__malloc_stats): Likewise.
15589 * malloc/mtrace.c (tr_break): Likewise.
15590 (mtrace): Likewise.
15591 (muntrace): Likewise.
15592 * misc/fstab.c (endfsent): Likewise.
15593 * misc/getclktck.c (__getclktck): Likewise.
15594 * misc/getdtsz.c (__getdtablesize): Likewise.
15595 * misc/gethostid.c (gethostid): Likewise.
15596 * misc/getpagesize.c (__getpagesize): Likewise.
15597 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15598 (__get_nprocs): Likewise.
15599 (__get_phys_pages): Likewise.
15600 (__get_avphys_pages): Likewise.
15601 * misc/getttyent.c (getttyent): Likewise.
15602 (setttyent): Likewise.
15603 (endttyent): Likewise.
15604 * misc/getusershell.c (getusershell): Likewise.
15605 (endusershell): Likewise.
15606 (setusershell): Likewise.
15607 (initshells): Likewise.
15608 * misc/hsearch.c (__hdestroy): Likewise.
15609 * misc/sync.c (sync): Likewise.
15610 * misc/syslog.c (closelog_internal): Likewise.
15611 (closelog): Likewise.
15612 * misc/ttyslot.c (ttyslot): Likewise.
15613 * misc/vhangup.c (vhangup): Likewise.
15614 * posix/fork.c (__fork): Likewise.
15615 * posix/getegid.c (__getegid): Likewise.
15616 * posix/geteuid.c (__geteuid): Likewise.
15617 * posix/getgid.c (__getgid): Likewise.
15618 * posix/getpid.c (__getpid): Likewise.
15619 * posix/getppid.c (__getppid): Likewise.
15620 * posix/getuid.c (__getuid): Likewise.
15621 * posix/pause.c (pause): Likewise.
15622 * posix/setpgrp.c (setpgrp): Likewise.
15623 * posix/setsid.c (__setsid): Likewise.
15624 * posix/test-vfork.c (noop): Likewise.
15625 * resolv/gethnamaddr.c (_endhtent): Likewise.
15626 (_gethtent): Likewise.
15627 (ht_endhostent): Likewise.
15628 (gethostent): Likewise.
15629 (dns_service): Likewise.
15630 * stdlib/drand48.c (drand48): Likewise.
15631 * stdlib/lrand48.c (lrand48): Likewise.
15632 * stdlib/mrand48.c (mrand48): Likewise.
15633 * stdlib/rand.c (rand): Likewise.
15634 * stdlib/random.c (__random): Likewise.
15635 * stdlib/setenv.c (clearenv): Likewise.
15636 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15637 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15638 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15639 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15640 (__get_nprocs): Likewise.
15641 (__get_phys_pages): Likewise.
15642 (__get_avphys_pages): Likewise.
15643 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15644 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15645 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15646 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15647 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15648 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15649 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15650 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15651 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15652 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15653 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15654 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15655 * sysdeps/posix/clock.c (clock): Likewise.
15656 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15657 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15658 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15659 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15660 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15661 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15662 (__get_nprocs_conf): Likewise.
15663 (__get_phys_pages): Likewise.
15664 (__get_avphys_pages): Likewise.
15665 * time/clock.c (clock): Likewise.
15666 * time/tzset.c (__tzname_max): Likewise.
15667
2e09a79a
JM
156682013-06-07 Joseph Myers <joseph@codesourcery.com>
15669
15670 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15671 (__bswap_32): Do not use "register".
15672 * crypt/crypt.c (_ufc_doit_r): Likewise.
15673 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15674 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15675 * gmon/gmon.c (__monstartup): Likewise.
15676 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15677 * hurd/hurdmalloc.c (more_memory): Likewise.
15678 (malloc): Likewise.
15679 (free): Likewise.
15680 (realloc): Likewise.
15681 (malloc_fork_prepare): Likewise.
15682 (malloc_fork_parent): Likewise.
15683 (malloc_fork_child): Likewise.
15684 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15685 (_svcauth_des): Likewise.
15686 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15687 * inet/inet_net.c (inet_network): Likewise.
15688 * inet/inet_netof.c (inet_netof): Likewise.
15689 * inet/rcmd.c (__validuser2_sa): Likewise.
15690 * io/fts.c (fts_open): Likewise.
15691 (fts_load): Likewise.
15692 (fts_close): Likewise.
15693 (fts_read): Likewise.
15694 (fts_children): Likewise.
15695 (fts_build): Likewise.
15696 (fts_stat): Likewise.
15697 (fts_sort): Likewise.
15698 (fts_alloc): Likewise.
15699 (fts_lfree): Likewise.
15700 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15701 (_IO_file_xsgetn): Likewise.
15702 (_IO_file_xsgetn_mmap): Likewise.
15703 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15704 (_IO_cookie_write): Likewise.
15705 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15706 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15707 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15708 * malloc/obstack.c (_obstack_begin): Likewise.
15709 (_obstack_begin_1): Likewise.
15710 (_obstack_newchunk): Likewise.
15711 (_obstack_allocated_p): Likewise.
15712 (obstack_free): Likewise.
15713 (_obstack_memory_used): Likewise.
15714 * misc/getttyent.c (getttynam): Likewise.
15715 (getttyent): Likewise.
15716 (skip): Likewise.
15717 (value): Likewise.
15718 * misc/getusershell.c (initshells): Likewise.
15719 * misc/syslog.c (__vsyslog_chk): Likewise.
15720 * misc/ttyslot.c (ttyslot): Likewise.
15721 * nis/nis_hash.c (__nis_hash): Likewise.
15722 * posix/fnmatch_loop.c (FCT): Likewise.
15723 * posix/getconf.c (print_all): Likewise.
15724 (main): Likewise.
15725 * posix/getopt.c (exchange): Likewise.
15726 * posix/glob.c (globfree): Likewise.
15727 (prefix_array): Likewise.
15728 (__glob_pattern_type): Likewise.
15729 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15730 (NS_GET32): Likewise.
15731 (NS_PUT16): Likewise.
15732 (NS_PUT32): Likewise.
15733 * resolv/gethnamaddr.c (getanswer): Likewise.
15734 (gethostbyname2): Likewise.
15735 (gethostbyaddr): Likewise.
15736 (_gethtent): Likewise.
15737 (_gethtbyname2): Likewise.
15738 (_gethtbyaddr): Likewise.
15739 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15740 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15741 * resolv/res_init.c (__res_vinit): Likewise.
15742 (net_mask): Likewise.
15743 * resolv/res_mkquery.c (outchar): Likewise.
15744 (PRINT): Likewise.
15745 * stdio-common/printf_fp.c (outchar): Likewise.
15746 (PRINT): Likewise.
15747 * stdio-common/printf_fphex.c (outchar): Likewise.
15748 (PRINT): Likewise.
15749 * stdio-common/printf_size.c (outchar): Likewise.
15750 (PRINT): Likewise.
15751 * stdio-common/test_rdwr.c (main): Likewise.
15752 * stdio-common/tfformat.c (matches): Likewise.
15753 * stdio-common/vfprintf.c (outchar): Likewise.
15754 (printf_unknown): Likewise.
15755 (buffered_vfprintf): Likewise.
15756 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15757 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15758 (ReadFile): Likewise.
15759 * stdlib/qsort.c (SWAP): Likewise.
15760 (_quicksort): Likewise.
15761 * stdlib/setenv.c (__add_to_environ): Likewise.
15762 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15763 * stdlib/strtol_l.c (__strtol_l): Likewise.
15764 * stdlib/tst-strtod.c (main): Likewise.
15765 * stdlib/tst-strtol.c (main): Likewise.
15766 * stdlib/tst-strtoll.c (main): Likewise.
15767 * string/bits/string2.h (__strcmp_cc): Likewise.
15768 (__strcmp_cg): Likewise.
15769 (__strcspn_c1): Likewise.
15770 (__strcspn_c2): Likewise.
15771 (__strcspn_c3): Likewise.
15772 (__strspn_c1): Likewise.
15773 (__strspn_c2): Likewise.
15774 (__strspn_c3): Likewise.
15775 (__strsep_1c): Likewise.
15776 (__strsep_2c): Likewise.
15777 (__strsep_3c): Likewise.
15778 * string/memccpy.c (__memccpy): Likewise.
15779 * string/stpcpy.c (__stpcpy): Likewise.
15780 * string/strcmp.c (strcmp): Likewise.
15781 * string/strrchr.c (strrchr): Likewise.
15782 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15783 Likewise.
15784 * sysdeps/mach/hurd/getcwd.c
15785 (_hurd_canonicalize_directory_name_internal): Likewise.
15786 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15787 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15788 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15789 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15790 Likewise, in both definitions.
15791 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15792 definitions.
15793 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15794 64] (__bswap_64): Likewise.
15795 * time/test_time.c (main): Likewise.
15796 * time/tzfile.c (__tzfile_read): Likewise.
15797 (__tzfile_compute): Likewise.
15798 * time/tzset.c (__tzset_parse_tz): Likewise.
15799 (tzset_internal): Likewise.
15800 (compute_change): Likewise.
15801 * wcsmbs/wcscat.c (__wcscat): Likewise.
15802 * wcsmbs/wcschr.c (wcschr): Likewise.
15803 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15804 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15805 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15806 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15807 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15808 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15809 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15810 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15811 * wcsmbs/wmemset.c (wmemset): Likewise.
15812
9e54314b
JM
158132013-06-06 Joseph Myers <joseph@codesourcery.com>
15814
15815 * scripts/config.guess: Update to version 2013-05-16.
15816 * scripts/config.sub: Update to version 2013-04-24.
15817 * scripts/install-sh: Update to version 2011-11-20.07.
15818 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15819 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15820
350635a5
OB
158212013-06-06 Ondřej Bílka <neleai@seznam.cz>
15822
15823 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15824 * elf/sln.c: Likewise.
15825 * hurd/hurd/ioctl.h: Likewise.
15826 * hurd/hurdmalloc.c: Likewise.
15827 * hurd/xattr.c: Likewise.
15828 * include/shlib-compat.h: Likewise.
15829 * inet/ruserpass.c: Likewise.
15830 * libio/iofgets_u.c: Likewise.
15831 * libio/iofgetws_u.c: Likewise.
15832 * locale/programs/ld-identification.c: Likewise.
15833 * locale/programs/ld-time.c: Likewise.
15834 * mach/msg-destroy.c: Likewise.
15835 * nss/nss_files/files-netgrp.c: Likewise.
15836 * resolv/res_data.c: Likewise.
15837 * soft-fp/op-1.h: Likewise.
15838 * soft-fp/op-2.h: Likewise.
15839 * soft-fp/op-4.h: Likewise.
15840 * soft-fp/op-common.h: Likewise.
15841 * stdio-common/printf_fphex.c: Likewise.
15842 * stdlib/strtod_l.c: Likewise.
15843 * sunrpc/rpc/clnt.h: Likewise.
15844 * sysdeps/generic/framestate.c: Likewise.
15845 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15846 * sysdeps/i386/bsd-setjmp.S: Likewise.
15847 * sysdeps/i386/__longjmp.S: Likewise.
15848 * sysdeps/i386/setjmp.S: Likewise.
15849 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15850 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15851 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15852 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15853 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15854 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15855 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15856 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15857 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15858 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15859 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15860 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15861 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15862 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15863 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15864 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15865 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15866 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15867 * sysdeps/ieee754/support.c: Likewise.
15868 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15869 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15870 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15871 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15872 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15873 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15874 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15875 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15876 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15877 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15878 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15879 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15880 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15881 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15882 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15883 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15884 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15886
44a988af
OB
158872013-06-05 Ondřej Bílka <neleai@seznam.cz>
15888
25506f09 15889 * posix/transbug.c: Remove executable mode.
44a988af 15890
9c84384c
JM
158912013-06-05 Joseph Myers <joseph@codesourcery.com>
15892
15893 * crypt/speeds.c: Remove trailing whitespace.
15894 * dlfcn/default.c: Likewise.
15895 * elf/ifuncdep2.c: Likewise.
15896 * elf/ifuncmain1.c: Likewise.
15897 * elf/ifuncmain1vis.c: Likewise.
15898 * elf/testobj.h: Likewise.
15899 * elf/tst-stackguard1.c: Likewise.
15900 * gmon/sys/gmon.h: Likewise.
15901 * hurd/hurdmsg.c: Likewise.
15902 * hurd/new-fd.c: Likewise.
15903 * hurd/ports-get.c: Likewise.
15904 * iconvdata/ibm1008_420.c: Likewise.
15905 * inet/tst-getni1.c: Likewise.
15906 * inet/tst-getni2.c: Likewise.
15907 * libio/ioungetc.c: Likewise.
15908 * libio/wfiledoalloc.c: Likewise.
15909 * manual/libm-err-tab.pl: Likewise.
15910 * math/w_dremf.c: Likewise.
15911 * misc/ftruncate.c: Likewise.
15912 * posix/bug-glob2.c: Likewise.
15913 * posix/tst-pcre.c: Likewise.
15914 * posix/wait4.c: Likewise.
15915 * resolv/README: Likewise.
15916 * resolv/res_debug.h: Likewise.
15917 * resolv/tst-inet_ntop.c: Likewise.
15918 * setjmp/bug269-setjmp.c: Likewise.
15919 * soft-fp/extended.h: Likewise.
15920 * soft-fp/op-1.h: Likewise.
15921 * soft-fp/op-2.h: Likewise.
15922 * soft-fp/op-4.h: Likewise.
15923 * soft-fp/op-8.h: Likewise.
15924 * soft-fp/testit.c: Likewise.
15925 * stdio-common/bug16.c: Likewise.
15926 * stdlib/random.c: Likewise.
15927 * sunrpc/rpcsvc/rquota.x: Likewise.
15928 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15929 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15930 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15931 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15932 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15933 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15934 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15935 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15936 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15937 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15938 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15939 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15940 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15941 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15942 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15943 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15944 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15945 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15946 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15947 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15948 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15949 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15950 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15951 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15952 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15953 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15954 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15955 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15956 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15957 * sysdeps/ieee754/s_lib_version.c: Likewise.
15958 * sysdeps/mach/hurd/check_fds.c: Likewise.
15959 * sysdeps/mach/hurd/getsockname.c: Likewise.
15960 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15961 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15962 * sysdeps/powerpc/bits/link.h: Likewise.
15963 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15964 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15965 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15966 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15967 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15968 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15969 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15970 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15971 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15972 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15973 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15974 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15975 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15976 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15977 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15978 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15979 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15980 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15981 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15982 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15983 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15984 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15985 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15986 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15987 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15988 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15989 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15990 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15991 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15992 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15993 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15994 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15995 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15996 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15997 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15998 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15999 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16000 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16001 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16002 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16003 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16004 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16005 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16006 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16007 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16008 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16009 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16010 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16011 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16012 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16013 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16014 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16015 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16016 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16017 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16018 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16019 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16020 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16021 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16022 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16023 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16024 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16025 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16026 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16027 * sysdeps/powerpc/sysdep.h: Likewise.
16028 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16029 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16030 * sysdeps/sh/dl-trampoline.S: Likewise.
16031 * sysdeps/sh/memset.S: Likewise.
16032 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16033 * sysdeps/sh/strlen.S: Likewise.
16034 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16035 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16036 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16037 * sysdeps/sparc/sparc32/rem.S: Likewise.
16038 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16039 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16040 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16041 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16042 * sysdeps/sparc/sparc32/urem.S: Likewise.
16043 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16044 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16045 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16046 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16047 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16048 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16049 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16050 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16051 * sysdeps/unix/bsd/times.c: Likewise.
16052 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16053 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16057 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16058 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16059 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16060 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16061 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16062 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16063 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16064 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16065 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16066 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16067 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16068 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16069 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16070 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16071 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16072 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16073 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16074 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16075 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16076 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16077 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16078 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16079 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16080 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16081 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16082 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16083 * sysdeps/x86_64/strcspn.S: Likewise.
16084
869378a5
RA
160852013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16086
16087 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16088 generated file. Regenerate properly from gen-translit.pl.
16089 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16090 locale/C-translit.h.
16091
840e2943
AS
160922013-06-05 Andreas Schwab <schwab@suse.de>
16093
16094 [BZ #15100]
16095 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16096 week as 6 instead of -1.
16097 * time/tst-strptime.c (day_tests): Add test case.
16098
4c60cb0c
SP
160992013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16100
16101 * sysdeps/generic/math_private.h
16102 (libc_feholdexcept_setround_53bit): Replace with
16103 libc_feholdsetround_53bit.
16104 (libc_feupdateenv_53bit): Replace with
16105 libc_feresetround_53bit.
16106 (SET_RESTORE_ROUND_53BIT): Adjust.
16107
d180203e
SP
161082013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16109
96df079a
SP
16110 * string/test-strchrnul.c: Add copyright header.
16111
d180203e
SP
16112 * posix/tst-getaddrinfo4.c: Increase test timeout.
16113
8b0ccb2d
CD
161142013-06-03 Carlos O'Donell <carlos@redhat.com>
16115
16116 [BZ #15536]
16117 * math/libm-test.inc (MAX_EXP): Remove
16118 (MIN_EXP): Define.
16119 (ulp): Use MIN_EXP - MANT_DIG.
16120 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16121
3b3c4d40
CD
161222013-05-31 Carlos O'Donell <carlos@redhat.com>
16123
16124 * po/be.po: Revert last change.
16125 * po/zh_CN.po: Likewise.
16126 * po/header.pot: Likewise.
16127
fab7ce3f
JM
161282013-05-31 Joseph Myers <joseph@codesourcery.com>
16129
16130 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16131 link-libc-deps to empty as target-specific variable.
16132 * Makerules (link-libc-args): New variable.
16133 (libc-for-link): Likewise.
16134 (link-libc-deps): Likewise.
16135 (lib%.so): Depend on $(link-libc-deps). Link with
16136 $(link-libc-args).
16137 (build-module): Link with $(link-libc-args).
16138 (build-module-asneeded): Likewise.
16139 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16140 list of objects.
16141 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16142 target-specific variable.
16143 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16144 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16145 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16146 libc.
16147 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16148 libc and ld.so.
16149 ($(objpfx)libpcprofile.so): Likewise.
16150 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16151 libc_nonshared.a.
16152 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16153 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16154 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16155 $(link-libc-deps).
16156 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16157 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16158 * login/Makefile ($(objpfx)libutil.so): Likewise.
16159 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16160 * math/Makefile ($(objpfx)libm.so): Likewise.
16161 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16162 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16163 variable instead of depending directly on libc.
16164 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16165 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16166 $(link-libc-deps).
16167 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16168 libc.
16169 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16170 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16171 ($(objpfx)libanl.so): Likewise.
16172 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16173 ld.so.
16174 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16175 $(link-libc-deps).
16176 * sysdeps/i386/fpu/Makefile: Remove file.
16177 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16178 ($(objpfx)libm.so): Remove dependency on ld.so.
16179
eca5920c
PF
161802013-05-30 Patsy Franklin <pfrankli@redhat.com>
16181
16182 [BZ # 15553]
16183 * nis/yp_xdr.c (XDRMAXNAME): Define.
16184 (XDRMAXRECORD): Define.
16185 (xdr_domainname): Use XDRMAXNAME.
16186 (xdr_mapname): Likewise.
16187 (xdr_peername): Likewise.
16188 (xdr_keydat): Use XDRMAXRECORD.
16189 (xdr_valdat): Likewise.
16190
161912013-05-30 Jeff Law <law@redhat.com>
96945714
JL
16192
16193 [BZ #14256]
16194 * manual/errno.texi (ESTALE): Update to account for more than
16195 just NFS file systems.
16196 * sysdeps/gnu/errlist.c: Regenerated.
16197
b9375348
SP
161982013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16199
16200 [BZ #15465]
16201 * elf/Makefile (tests): Add tst-null-argv.
16202 (modules-names): Add tst-null-argv-lib.
16203 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16204 (tst-null-argv-ENV): Set environment for tst-null-argv.
16205 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16206 (RTLD_PROGNAME): New macro.
16207 * elf/tst-null-argv.c: New test case.
16208 * elf/tst-null-argv-lib.c: Library for test case.
16209 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16210 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16211 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16212 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16213 * elf/dl-init.c (call_init): Likewise.
16214 (_dl_init): Likewise.
16215 * elf/dl-load.c (print_search_path): Likewise.
16216 (_dl_map_object): Likewise.
16217 * elf/dl-lookup.c (do_lookup_x): Likewise.
16218 (add_dependency): Likewise.
16219 (_dl_lookup_symbol_x): Likewise.
16220 (_dl_debug_bindings): Likewise.
16221 * elf/dl-open.c (_dl_show_scope): Likewise.
16222 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16223 * elf/dl-version.c (match_symbol): Likewise.
16224 (_dl_check_map_versions): Likewise.
16225 * elf/rtld.c (dl_main): Likewise.
16226 (print_unresolved): Use RTLD_PROGNAME.
16227 (print_missing_version): Likewise.
16228 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16229 (elf_machine_rela): Likewise.
16230 * sysdeps/powerpc/powerpc32/dl-machine.c
16231 (__process_machine_rela): Likewise.
16232 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16233 Likewise.
16234 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16235 Likewise.
16236 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16237 Likewise.
16238 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16239 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16240 Likewise.
16241 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16242 Likewise.
16243 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16244
8a9f20c8
CD
162452013-05-28 Carlos O'Donell <carlos@redhat.com>
16246
16247 * po/be.po: Add descriptive title.
16248 * po/zh_CN.po: Likewise.
16249 * po/header.pot: Likewise.
16250
0e60d68e
MF
162512013-05-28 Mike Frysinger <vapier@gentoo.org>
16252
16253 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16254 error message.
16255 (enlarge_archive): Likewise.
16256
56b672e9
BN
162572013-05-28 Ben North <ben@redfrontdoor.org>
16258
16259 * manual/arith.texi (frexp): It is the magnitude of the return
16260 value which lies in [0.5, 1), not the return value itself.
16261
5e056687
AZ
162622013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16263
16264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16265
2b66ef5d
TS
162662013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16267
528c2405
TS
16268 * stdio-common/bug26.c (main): Correct fscanf template.
16269
07b4c13d
TS
16270 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16271 declare _dl_skip_args.
16272
ec9dd97c
TS
16273 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16274 Don't declare.
16275
2b66ef5d
TS
16276 * manual/platform.texi: Add missing @end deftypefun.
16277
4f8dfe27
JM
162782013-05-24 Joseph Myers <joseph@codesourcery.com>
16279
0323d086
JM
16280 [BZ #15529]
16281 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16282 bit of mantissa of 2^16382.
16283 * math/libm-test.inc (hypot_test_data): Add more tests.
16284
dd4259b9
JM
16285 * math/libm-test.inc: Add drem and pow10 to list of tested
16286 functions.
16287 (pow10_test): New function.
16288 (drem_test): Likewise.
16289 (drem_test_tonearest): Likewise.
16290 (drem_test_towardzero): Likewise.
16291 (drem_test_downward): Likewise.
16292 (drem_test_upward): Likewise.
16293 (main): Call the new functions.
16294
4f8dfe27
JM
16295 * math/libm-test.inc (finite_test_data): Remove.
16296 (finite_test): Run tests from isfinite_test_data.
16297 (gamma_test_data): Remove.
16298 (gamma_test): Run tests from lgamma_test_data.
16299 * sysdeps/i386/fpu/libm-test-ulps: Update.
16300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16301
d116b7c4
AZ
163022013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16303
16304 * manual/platform.texi: Add PowerPC PPR function set documentation.
16305 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16306 implementation.
16307
e96e3767
CD
163082013-05-24 Carlos O'Donell <carlos@redhat.com>
16309
16310 * math/libm-test.inc (MAX_EXP): Define.
16311 (ULPDIFF): Define.
16312 (ulp): New function.
16313 (check_float_internal): Use ULPDIFF.
16314 (cpow_test): Disable failing test.
16315 (check_ulp): Test ulp() implemetnation.
16316 (main): Call check_ulp before starting tests.
16317
b679a606
JM
163182013-05-24 Joseph Myers <joseph@codesourcery.com>
16319
e8bdba36
JM
16320 * math/gen-libm-test.pl (generate_testfile): Do not handle
16321 START_DATA and END_DATA.
16322 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16323 END_DATA.
16324 (acos_tonearest_test_data): Likewise.
16325 (acos_towardzero_test_data): Likewise.
16326 (acos_downward_test_data): Likewise.
16327 (acos_upward_test_data): Likewise.
16328 (acosh_test_data): Likewise.
16329 (asin_test_data): Likewise.
16330 (asin_tonearest_test_data): Likewise.
16331 (asin_towardzero_test_data): Likewise.
16332 (asin_downward_test_data): Likewise.
16333 (asin_upward_test_data): Likewise.
16334 (asinh_test_data): Likewise.
16335 (atan_test_data): Likewise.
16336 (atanh_test_data): Likewise.
16337 (atan2_test_data): Likewise.
16338 (cabs_test_data): Likewise.
16339 (cacos_test_data): Likewise.
16340 (cacosh_test_data): Likewise.
16341 (carg_test_data): Likewise.
16342 (casin_test_data): Likewise.
16343 (casinh_test_data): Likewise.
16344 (catan_test_data): Likewise.
16345 (catanh_test_data): Likewise.
16346 (cbrt_test_data): Likewise.
16347 (ccos_test_data): Likewise.
16348 (ccosh_test_data): Likewise.
16349 (ceil_test_data): Likewise.
16350 (cexp_test_data): Likewise.
16351 (cimag_test_data): Likewise.
16352 (clog_test_data): Likewise.
16353 (clog10_test_data): Likewise.
16354 (conj_test_data): Likewise.
16355 (copysign_test_data): Likewise.
16356 (cos_test_data): Likewise.
16357 (cos_tonearest_test_data): Likewise.
16358 (cos_towardzero_test_data): Likewise.
16359 (cos_downward_test_data): Likewise.
16360 (cos_upward_test_data): Likewise.
16361 (cosh_test_data): Likewise.
16362 (cosh_tonearest_test_data): Likewise.
16363 (cosh_towardzero_test_data): Likewise.
16364 (cosh_downward_test_data): Likewise.
16365 (cosh_upward_test_data): Likewise.
16366 (cpow_test_data): Likewise.
16367 (cproj_test_data): Likewise.
16368 (creal_test_data): Likewise.
16369 (csin_test_data): Likewise.
16370 (csinh_test_data): Likewise.
16371 (csqrt_test_data): Likewise.
16372 (ctan_test_data): Likewise.
16373 (ctan_tonearest_test_data): Likewise.
16374 (ctan_towardzero_test_data): Likewise.
16375 (ctan_downward_test_data): Likewise.
16376 (ctan_upward_test_data): Likewise.
16377 (ctanh_test_data): Likewise.
16378 (ctanh_tonearest_test_data): Likewise.
16379 (ctanh_towardzero_test_data): Likewise.
16380 (ctanh_downward_test_data): Likewise.
16381 (ctanh_upward_test_data): Likewise.
16382 (erf_test_data): Likewise.
16383 (erfc_test_data): Likewise.
16384 (exp_test_data): Likewise.
16385 (exp_tonearest_test_data): Likewise.
16386 (exp_towardzero_test_data): Likewise.
16387 (exp_downward_test_data): Likewise.
16388 (exp_upward_test_data): Likewise.
16389 (exp10_test_data): Likewise.
16390 (exp2_test_data): Likewise.
16391 (expm1_test_data): Likewise.
16392 (fabs_test_data): Likewise.
16393 (fdim_test_data): Likewise.
16394 (finite_test_data): Likewise.
16395 (floor_test_data): Likewise.
16396 (fma_test_data): Likewise.
16397 (fma_towardzero_test_data): Likewise.
16398 (fma_downward_test_data): Likewise.
16399 (fma_upward_test_data): Likewise.
16400 (fmax_test_data): Likewise.
16401 (fmin_test_data): Likewise.
16402 (fmod_test_data): Likewise.
16403 (fpclassify_test_data): Likewise.
16404 (frexp_test_data): Likewise.
16405 (gamma_test_data): Likewise.
16406 (hypot_test_data): Likewise.
16407 (ilogb_test_data): Likewise.
16408 (isfinite_test_data): Likewise.
16409 (isgreater_test_data): Likewise.
16410 (isgreaterequal_test_data): Likewise.
16411 (isinf_test_data): Likewise.
16412 (isless_test_data): Likewise.
16413 (islessequal_test_data): Likewise.
16414 (islessgreater_test_data): Likewise.
16415 (isnan_test_data): Likewise.
16416 (isnormal_test_data): Likewise.
16417 (issignaling_test_data): Likewise.
16418 (isunordered_test_data): Likewise.
16419 (j0_test_data): Likewise.
16420 (j1_test_data): Likewise.
16421 (jn_test_data): Likewise.
16422 (ldexp_test_data): Likewise.
16423 (lgamma_test_data): Likewise.
16424 (lrint_test_data): Likewise.
16425 (lrint_tonearest_test_data): Likewise.
16426 (lrint_towardzero_test_data): Likewise.
16427 (lrint_downward_test_data): Likewise.
16428 (lrint_upward_test_data): Likewise.
16429 (llrint_test_data): Likewise.
16430 (llrint_tonearest_test_data): Likewise.
16431 (llrint_towardzero_test_data): Likewise.
16432 (llrint_downward_test_data): Likewise.
16433 (llrint_upward_test_data): Likewise.
16434 (log_test_data): Likewise.
16435 (log10_test_data): Likewise.
16436 (log1p_test_data): Likewise.
16437 (log2_test_data): Likewise.
16438 (logb_test_data): Likewise.
16439 (logb_downward_test_data): Likewise.
16440 (lround_test_data): Likewise.
16441 (llround_test_data): Likewise.
16442 (modf_test_data): Likewise.
16443 (nearbyint_test_data): Likewise.
16444 (nextafter_test_data): Likewise.
16445 (nexttoward_test_data): Likewise.
16446 (pow_test_data): Likewise.
16447 (pow_tonearest_test_data): Likewise.
16448 (pow_towardzero_test_data): Likewise.
16449 (pow_downward_test_data): Likewise.
16450 (pow_upward_test_data): Likewise.
16451 (remainder_test_data): Likewise.
16452 (remainder_tonearest_test_data): Likewise.
16453 (remainder_towardzero_test_data): Likewise.
16454 (remainder_downward_test_data): Likewise.
16455 (remainder_upward_test_data): Likewise.
16456 (remquo_test_data): Likewise.
16457 (rint_test_data): Likewise.
16458 (rint_tonearest_test_data): Likewise.
16459 (rint_towardzero_test_data): Likewise.
16460 (rint_downward_test_data): Likewise.
16461 (rint_upward_test_data): Likewise.
16462 (round_test_data): Likewise.
16463 (scalb_test_data): Likewise.
16464 (scalbn_test_data): Likewise.
16465 (scalbln_test_data): Likewise.
16466 (signbit_test_data): Likewise.
16467 (sin_test_data): Likewise.
16468 (sin_tonearest_test_data): Likewise.
16469 (sin_towardzero_test_data): Likewise.
16470 (sin_downward_test_data): Likewise.
16471 (sin_upward_test_data): Likewise.
16472 (sincos_test_data): Likewise.
16473 (sinh_test_data): Likewise.
16474 (sinh_tonearest_test_data): Likewise.
16475 (sinh_towardzero_test_data): Likewise.
16476 (sinh_downward_test_data): Likewise.
16477 (sinh_upward_test_data): Likewise.
16478 (sqrt_test_data): Likewise.
16479 (tan_test_data): Likewise.
16480 (tan_tonearest_test_data): Likewise.
16481 (tan_towardzero_test_data): Likewise.
16482 (tan_downward_test_data): Likewise.
16483 (tan_upward_test_data): Likewise.
16484 (tanh_test_data): Likewise.
16485 (tgamma_test_data): Likewise.
16486 (trunc_test_data): Likewise.
16487 (y0_test_data): Likewise.
16488 (y1_test_data): Likewise.
16489 (yn_test_data): Likewise.
16490 (significand_test_data): Likewise.
16491
b679a606
JM
16492 * math/gen-libm-test.pl (@functions): Remove variable.
16493 (generate_testfile): Don't handle START and END lines.
16494 * math/libm-test.inc (START): New macro.
16495 (END): Likewise.
16496 (END_COMPLEX): Likewise.
16497 (acos_test): Use END macro without arguments.
16498 (acos_test_tonearest): Likewise.
16499 (acos_test_towardzero): Likewise.
16500 (acos_test_downward): Likewise.
16501 (acos_test_upward): Likewise.
16502 (acosh_test): Likewise.
16503 (asin_test): Likewise.
16504 (asin_test_tonearest): Likewise.
16505 (asin_test_towardzero): Likewise.
16506 (asin_test_downward): Likewise.
16507 (asin_test_upward): Likewise.
16508 (asinh_test): Likewise.
16509 (atan_test): Likewise.
16510 (atanh_test): Likewise.
16511 (atan2_test): Likewise.
16512 (cabs_test): Likewise.
16513 (cacos_test): Use END_COMPLEX macro without arguments.
16514 (cacosh_test): Likewise.
16515 (carg_test): Use END macro without arguments.
16516 (casin_test): Use END_COMPLEX macro without arguments.
16517 (casinh_test): Likewise.
16518 (catan_test): Likewise.
16519 (catanh_test): Likewise.
16520 (cbrt_test): Use END macro without arguments.
16521 (ccos_test): Use END_COMPLEX macro without arguments.
16522 (ccosh_test): Likewise.
16523 (ceil_test): Use END macro without arguments.
16524 (cexp_test): Use END_COMPLEX macro without arguments.
16525 (cimag_test): Use END macro without arguments.
16526 (clog_test): Use END_COMPLEX macro without arguments.
16527 (clog10_test): Likewise.
16528 (conj_test): Likewise.
16529 (copysign_test): Use END macro without arguments.
16530 (cos_test): Likewise.
16531 (cos_test_tonearest): Likewise.
16532 (cos_test_towardzero): Likewise.
16533 (cos_test_downward): Likewise.
16534 (cos_test_upward): Likewise.
16535 (cosh_test): Likewise.
16536 (cosh_test_tonearest): Likewise.
16537 (cosh_test_towardzero): Likewise.
16538 (cosh_test_downward): Likewise.
16539 (cosh_test_upward): Likewise.
16540 (cpow_test): Use END_COMPLEX macro without arguments.
16541 (cproj_test): Likewise.
16542 (creal_test): Use END macro without arguments.
16543 (csin_test): Use END_COMPLEX macro without arguments.
16544 (csinh_test): Likewise.
16545 (csqrt_test): Likewise.
16546 (ctan_test): Likewise.
16547 (ctan_test_tonearest): Likewise.
16548 (ctan_test_towardzero): Likewise.
16549 (ctan_test_downward): Likewise.
16550 (ctan_test_upward): Likewise.
16551 (ctanh_test): Likewise.
16552 (ctanh_test_tonearest): Likewise.
16553 (ctanh_test_towardzero): Likewise.
16554 (ctanh_test_downward): Likewise.
16555 (ctanh_test_upward): Likewise.
16556 (erf_test): Use END macro without arguments.
16557 (erfc_test): Likewise.
16558 (exp_test): Likewise.
16559 (exp_test_tonearest): Likewise.
16560 (exp_test_towardzero): Likewise.
16561 (exp_test_downward): Likewise.
16562 (exp_test_upward): Likewise.
16563 (exp10_test): Likewise.
16564 (exp2_test): Likewise.
16565 (expm1_test): Likewise.
16566 (fabs_test): Likewise.
16567 (fdim_test): Likewise.
16568 (finite_test): Likewise.
16569 (floor_test): Likewise.
16570 (fma_test): Likewise.
16571 (fma_test_towardzero): Likewise.
16572 (fma_test_downward): Likewise.
16573 (fma_test_upward): Likewise.
16574 (fmax_test): Likewise.
16575 (fmin_test): Likewise.
16576 (fmod_test): Likewise.
16577 (fpclassify_test): Likewise.
16578 (frexp_test): Likewise.
16579 (gamma_test): Likewise.
16580 (hypot_test): Likewise.
16581 (ilogb_test): Likewise.
16582 (isfinite_test): Likewise.
16583 (isgreater_test): Likewise.
16584 (isgreaterequal_test): Likewise.
16585 (isinf_test): Likewise.
16586 (isless_test): Likewise.
16587 (islessequal_test): Likewise.
16588 (islessgreater_test): Likewise.
16589 (isnan_test): Likewise.
16590 (isnormal_test): Likewise.
16591 (issignaling_test): Likewise.
16592 (isunordered_test): Likewise.
16593 (j0_test): Likewise.
16594 (j1_test): Likewise.
16595 (jn_test): Likewise.
16596 (ldexp_test): Likewise.
16597 (lgamma_test): Likewise.
16598 (lrint_test): Likewise.
16599 (lrint_test_tonearest): Likewise.
16600 (lrint_test_towardzero): Likewise.
16601 (lrint_test_downward): Likewise.
16602 (lrint_test_upward): Likewise.
16603 (llrint_test): Likewise.
16604 (llrint_test_tonearest): Likewise.
16605 (llrint_test_towardzero): Likewise.
16606 (llrint_test_downward): Likewise.
16607 (llrint_test_upward): Likewise.
16608 (log_test): Likewise.
16609 (log10_test): Likewise.
16610 (log1p_test): Likewise.
16611 (log2_test): Likewise.
16612 (logb_test): Likewise.
16613 (logb_test_downward): Likewise.
16614 (lround_test): Likewise.
16615 (llround_test): Likewise.
16616 (modf_test): Likewise.
16617 (nearbyint_test): Likewise.
16618 (nextafter_test): Likewise.
16619 (nexttoward_test): Likewise.
16620 (pow_test): Likewise.
16621 (pow_test_tonearest): Likewise.
16622 (pow_test_towardzero): Likewise.
16623 (pow_test_downward): Likewise.
16624 (pow_test_upward): Likewise.
16625 (remainder_test): Likewise.
16626 (remainder_test_tonearest): Likewise.
16627 (remainder_test_towardzero): Likewise.
16628 (remainder_test_downward): Likewise.
16629 (remainder_test_upward): Likewise.
16630 (remquo_test): Likewise.
16631 (rint_test): Likewise.
16632 (rint_test_tonearest): Likewise.
16633 (rint_test_towardzero): Likewise.
16634 (rint_test_downward): Likewise.
16635 (rint_test_upward): Likewise.
16636 (round_test): Likewise.
16637 (scalb_test): Likewise.
16638 (scalbn_test): Likewise.
16639 (scalbln_test): Likewise.
16640 (signbit_test): Likewise.
16641 (sin_test): Likewise.
16642 (sin_test_tonearest): Likewise.
16643 (sin_test_towardzero): Likewise.
16644 (sin_test_downward): Likewise.
16645 (sin_test_upward): Likewise.
16646 (sincos_test): Likewise.
16647 (sinh_test): Likewise.
16648 (sinh_test_tonearest): Likewise.
16649 (sinh_test_towardzero): Likewise.
16650 (sinh_test_downward): Likewise.
16651 (sinh_test_upward): Likewise.
16652 (sqrt_test): Likewise.
16653 (tan_test): Likewise.
16654 (tan_test_tonearest): Likewise.
16655 (tan_test_towardzero): Likewise.
16656 (tan_test_downward): Likewise.
16657 (tan_test_upward): Likewise.
16658 (tanh_test): Likewise.
16659 (tgamma_test): Likewise.
16660 (trunc_test): Likewise.
16661 (y0_test): Likewise.
16662 (y1_test): Likewise.
16663 (yn_test): Likewise.
16664 (significand_test): Likewise.
16665
bae143d2
OB
166662013-05-24 Ondřej Bílka <neleai@seznam.cz>
16667
16668 [BZ #15381]
16669 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16670
9323d39b
EM
166712013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16672
d4ea44a0 16673 [BZ #14894]
9323d39b
EM
16674 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16675 __ppc_mdoio and __ppc_mdoom.
16676 * manual/platform.texi: Document new functions __ppc_yield,
16677 __ppc_mdoio and __ppc_mdoom.
16678
13e23af7
CD
166792013-05-22 Carlos O'Donell <carlos@redhat.com>
16680
16681 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16682 (main): Mention "tls" pseudo-hwcap is legacy.
16683 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16684
351fe550
JM
166852013-05-22 Joseph Myers <joseph@codesourcery.com>
16686
16687 * math/gen-libm-test.pl (parse_args): Output only string of
16688 arguments as text for test name, not full call or descriptions of
16689 tests for extra outputs.
16690 (generate_testfile): Do not pass function name to parse_args.
16691 Generate this_func variable from START.
16692 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16693 field to arg_str.
16694 (struct test_ff_f_data): Likewise.
16695 (test_ff_f_data_nexttoward): Likewise.
16696 (struct test_fi_f_data): Likewise.
16697 (struct test_fl_f_data): Likewise.
16698 (struct test_if_f_data): Likewise.
16699 (struct test_fff_f_data): Likewise.
16700 (struct test_c_f_data): Likewise.
16701 (struct test_f_f1_data): Likewise. Remove field extra_name.
16702 (struct test_fF_f1_data): Likewise.
16703 (struct test_ffI_f1_data): Likewise.
16704 (struct test_c_c_data): Rename test_name field to arg_str.
16705 (struct test_cc_c_data): Likewise.
16706 (struct test_f_i_data): Likewise.
16707 (struct test_ff_i_data): Likewise.
16708 (struct test_f_l_data): Likewise.
16709 (struct test_f_L_data): Likewise.
16710 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16711 and extra2_name.
16712 (COMMON_TEST_SETUP): New macro.
16713 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16714 (COMMON_TEST_CLEANUP): Likewise.
16715 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16716 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16717 macros.
16718 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16719 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16720 macros.
16721 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16722 (RUN_TEST_fff_f): Take argument string. Call new setup and
16723 cleanup macros.
16724 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16725 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16726 macros.
16727 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16728 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16729 macros.
16730 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16731 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16732 cleanup macros.
16733 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16734 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16735 cleanup macros.
16736 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16737 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16738 cleanup macros.
16739 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16740 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16741 macros.
16742 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16743 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16744 macros.
16745 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16746 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16747 macros.
16748 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16749 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16750 cleanup macros.
16751 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16752 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16753 cleanup macros.
16754 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16755 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16756 macros.
16757 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16758 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16759 cleanup macros.
16760 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16761 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16762 macros.
16763 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16764 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16765 macros.
16766 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16767 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16768 cleanup macros.
16769 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16770
85118d4d
EBM
167712013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16772
16773 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16774 to _sifields.sigfault.
16775 (si_addr_lsb): Define new macro.
16776 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16777 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16778 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16779
7a44c18f
CD
167802013-05-03 Carlos O'Donell <carlos at redhat.com>
16781
16782 [BZ #15441]
16783 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16784 returns -1.
16785 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16786 null return -1.
16787 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16788 loading the domain.
16789
b50a7181
JM
167902013-05-22 Joseph Myers <joseph@codesourcery.com>
16791
16792 * math/gen-libm-test.pl (parse_args): Do not include expected
16793 result in test name.
16794 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16795 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16796 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16797 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16798 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16800
051063c8
SP
168012013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16802
3ce9e010
SP
16803 * benchtests/Makefile: Sort function entries.
16804
051063c8
SP
16805 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16806 tanh, asinh, acosh, atanh.
16807 * benchtests/acos-inputs: New file.
16808 * benchtests/acosh-inputs: New file.
16809 * benchtests/asin-inputs: New file.
16810 * benchtests/asinh-inputs: New file.
16811 * benchtests/atanh-inputs: New file.
16812 * benchtests/cosh-inputs: New file.
16813 * benchtests/log-inputs: New file.
16814 * benchtests/sinh-inputs: New file.
16815 * benchtests/tanh-inputs: New file.
16816
47c22455
DL
168172013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16818
16819 [BZ #15339]
16820 * posix/tst-getaddrinfo4.c: New test.
16821 * posix/Makefile (tests): Add it.
16822
3d04f5db
SP
168232013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16824
16825 [BZ #15339]
16826 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16827 when no services were used.
16828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16829 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16830
d5dd6189
AS
168312013-05-21 Andreas Schwab <schwab@suse.de>
16832
16833 [BZ #15014]
16834 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16835 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16836 successful.
16837 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16838 redundant variable declarations and reallocation of buffer when
16839 parsing as IPv6 address. Always set NSS status when called from
16840 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16841 buffer too small. Correct computation of needed size.
16842 * nss/Makefile (tests): Add test-digits-dots.
16843 * nss/test-digits-dots.c: New test.
16844
fef94eab
SP
168452013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16846
16847 * benchtests/Makefile: Remove instructions for adding
16848 benchmark tests.
16849 * benchtests/README: New file to explain how to execute and
16850 enhance the benchmark tests.
16851
e39adf43
AS
168522013-05-21 Andreas Schwab <schwab@suse.de>
16853
16854 [BZ #15493]
16855 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16856 * setjmp/tst-sigsetjmp.c: New test.
16857
b2b671b6
OB
168582013-05-20 Ondřej Bílka <neleai@seznam.cz>
16859
16860 * sysdeps/x86_64/memset.S (memset): New implementation.
16861 (__bzero): Likewise.
16862 (__memset_tail): New function.
16863
2d48b41c
OB
168642013-05-20 Ondřej Bílka <neleai@seznam.cz>
16865
16866 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16867 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16868 __memcpy_sse2_unaligned ifunc selection.
16869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16870 Add memcpy-sse2-unaligned.S.
16871 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16872 Add: __memcpy_sse2_unaligned.
16873
f16cc3eb
JM
168742013-05-19 Joseph Myers <joseph@codesourcery.com>
16875
3e694268
JM
16876 [BZ #15490]
16877 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16878 math_force_eval before restoring floating-point envrionment.
16879 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16880 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16881 Likewise.
16882 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16883 <math_private.h>.
16884 (__nearbyintl): Use math_force_eval before restoring
16885 floating-point environment.
16886 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16887
db62a907
JM
16888 * math/gen-libm-test.pl (special_functions): Remove.
16889 (parse_args): Don't handle TEST_extra. Handle functions with no
16890 return value.
16891 * math/libm-test.inc (struct test_sincos_data): Replace with
16892 struct test_fFF_11_data.
16893 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16894 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16895 (sincos_test_data): Change element type to struct
16896 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16897 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16898 RUN_TEST_LOOP_sincos.
16899 * math/README.libm-test: Don't mention special handling of
16900 individual functions.
16901 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16902 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16903 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16904 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16905 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16907
f16cc3eb
JM
16908 * math/gen-libm-test.pl (get_variable): Remove function.
16909 (parse_args): Don't show pointer parameters to call in test
16910 names. Use "extra output N" in test names for extra outputs
16911 rather than naming variables.
16912
3779b5b6
JM
169132013-05-18 Joseph Myers <joseph@codesourcery.com>
16914
2ee094ff
JM
16915 [BZ #15488]
16916 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16917 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16918 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16919 double tests.
16920 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16921 disable.
16922 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16923 check_long_double.
16924
3779b5b6
JM
16925 * math/gen-libm-test.pl (@tests): Remove variable.
16926 ($count): Likewise.
16927 (new_test): Remove function.
16928 (show_exceptions): New function.
16929 (special_functions): Use show_exceptions instead of new_test.
16930 (parse_args): Likewise.
16931 (generate_testfile): Pass only function name in generated call to
16932 print_max_error or print_complex_max_error.
16933 (get_ulps): Do not handle complex tests specially.
16934 (output_test): Rename to ...
16935 (get_all_ulps_for_test): ... this. Return a string rather than
16936 printing to a file. Require ulps to be present.
16937 (output_ulps): Generate arrays rather than #defines.
16938 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16939 (struct ulp_data): New type.
16940 (BUILD_COMPLEX_ULP): Remove macro.
16941 (compare_ulp_data): New function.
16942 (find_ulps): Likewise.
16943 (find_test_ulps): Likewise.
16944 (find_function_ulps): Likewise.
16945 (find_complex_function_ulps): Likewise.
16946 (print_max_error): Determine allowed ulps using
16947 find_function_ulps.
16948 (print_complex_max_error): Determine allowed ulps using
16949 find_complex_function_ulps.
16950 (check_float_internal): Determine max ulps using find_test_ulps.
16951 (check_float): Do not take max_ulp parameter. Update call to
16952 check_float_internal.
16953 (check_complex): Likewise.
16954 (check_int): Do not take max_ulp parameter.
16955 (check_long): Likewise.
16956 (check_bool): Likewise.
16957 (check_longlong): Likewise.
16958 (struct test_f_f_data): Remove max_ulp field.
16959 (struct test_ff_f_data): Likewise.
16960 (struct test_ff_f_data_nexttoward): Likewise.
16961 (struct test_fi_f_data): Likewise.
16962 (struct test_fl_f_data): Likewise.
16963 (struct test_if_f_data): Likewise.
16964 (struct test_fff_f_data): Likewise.
16965 (struct test_c_f_data): Likewise.
16966 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16967 (struct test_fF_f1_data): Likewise.
16968 (struct test_ffI_f1_data): Likewise.
16969 (struct test_c_c_data): Remove max_ulp field.
16970 (struct test_cc_c_data): Likewise.
16971 (struct test_f_i_data): Likewise.
16972 (struct test_ff_i_data): Likewise.
16973 (struct test_f_l_data): Likewise.
16974 (struct test_f_L_data): Likewise.
16975 (struct test_sincos_data): Likewise.
16976 (RUN_TEST_f_f): Do not handle ulps.
16977 (RUN_TEST_LOOP_f_f): Likewise.
16978 (RUN_TEST_2_f): Likewise.
16979 (RUN_TEST_LOOP_2_f): Likewise.
16980 (RUN_TEST_fff_f): Likewise.
16981 (RUN_TEST_LOOP_fff_f): Likewise.
16982 (RUN_TEST_c_f): Likewise.
16983 (RUN_TEST_LOOP_c_f): Likewise.
16984 (RUN_TEST_f_f1): Likewise.
16985 (RUN_TEST_LOOP_f_f1): Likewise.
16986 (RUN_TEST_fF_f1): Likewise.
16987 (RUN_TEST_LOOP_fF_f1): Likewise.
16988 (RUN_TEST_fI_f1): Likewise.
16989 (RUN_TEST_LOOP_fI_f1): Likewise.
16990 (RUN_TEST_ffI_f1): Likewise.
16991 (RUN_TEST_LOOP_ffI_f1): Likewise.
16992 (RUN_TEST_c_c): Likewise.
16993 (RUN_TEST_LOOP_c_c): Likewise.
16994 (RUN_TEST_cc_c): Likewise.
16995 (RUN_TEST_LOOP_cc_c): Likewise.
16996 (RUN_TEST_f_i): Likewise.
16997 (RUN_TEST_LOOP_f_i): Likewise.
16998 (RUN_TEST_f_i_tg): Likewise.
16999 (RUN_TEST_LOOP_f_i_tg): Likewise.
17000 (RUN_TEST_ff_i_tg): Likewise.
17001 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17002 (RUN_TEST_f_b): Likewise.
17003 (RUN_TEST_LOOP_f_b): Likewise.
17004 (RUN_TEST_f_b_tg): Likewise.
17005 (RUN_TEST_LOOP_f_b_tg): Likewise.
17006 (RUN_TEST_f_l): Likewise.
17007 (RUN_TEST_LOOP_f_l): Likewise.
17008 (RUN_TEST_f_L): Likewise.
17009 (RUN_TEST_LOOP_f_L): Likewise.
17010 (RUN_TEST_sincos): Likewise.
17011 (RUN_TEST_LOOP_sincos): Likewise.
17012
8269107f
JM
170132013-05-17 Joseph Myers <joseph@codesourcery.com>
17014
bb38759d
JM
17015 [BZ #15480]
17016 [BZ #15485]
17017 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17018 main case of finite arguments, set rounding mode to FE_TONEAREST
17019 and discard exceptions.
17020 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17021 exceptions.
17022 (remainder_tonearest_test_data): New variable.
17023 (remainder_test_tonearest): New function.
17024 (remainder_towardzero_test_data): New variable.
17025 (remainder_test_towardzero): New function.
17026 (remainder_downward_test_data): New variable.
17027 (remainder_test_downward): New function.
17028 (remainder_upward_test_data): New variable.
17029 (remainder_test_upward): New function.
17030 (main): Call the new test functions.
17031
a00bdcf0
JM
17032 * math/libm-test.inc (struct test_f_f1_data): Remove field
17033 extra_init.
17034 (struct test_fF_f1_data): Likewise.
17035 (struct test_ffI_f1_data): Likewise.
17036 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17037 based on value of EXTRA_EXPECTED.
17038 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17039 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17040 EXTRA_VAR based on value of EXTRA_EXPECTED.
17041 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17042 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17043 EXTRA_VAR based on value of EXTRA_EXPECTED.
17044 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17045 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17046 EXTRA_VAR based on value of EXTRA_EXPECTED.
17047 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17048 * math/gen-libm-test.pl (parse_args): Don't output initializers
17049 for extra output values.
17050
de407f79
JM
17051 * math/libm-test.inc (check_int): Expect result to be exactly
17052 equal to expected value and do not handle ulps.
17053 (check_long): Likewise.
17054 (check_longlong): Likewise.
17055
8269107f
JM
17056 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17057 exceptions.
17058 (cimag_test_data): Likewise.
17059 (conj_test_data): Likewise.
17060 (copysign_test_data): Likewise.
17061 (cproj_test_data): Likewise.
17062 (creal_test_data): Likewise.
17063 (fabs_test_data): Likewise.
17064 (fdim_test_data): Likewise.
17065 (finite_test_data): Likewise.
17066 (floor_test_data): Likewise.
17067 (fmax_test_data): Likewise.
17068 (fmin_test_data): Likewise.
17069 (fmod_test_data): Likewise.
17070 (fpclassify_test_data): Likewise.
17071 (frexp_test_data): Likewise.
17072 (ilogb_test_data): Likewise.
17073 (isfinite_test_data): Likewise.
17074 (isgreater_test_data): Likewise.
17075 (isgreaterequal_test_data): Likewise.
17076 (isinf_test_data): Likewise.
17077 (isless_test_data): Likewise.
17078 (islessequal_test_data): Likewise.
17079 (islessgreater_test_data): Likewise.
17080 (isnan_test_data): Likewise.
17081 (isnormal_test_data): Likewise.
17082 (issignaling_test_data): Likewise.
17083 (isunordered_test_data): Likewise.
17084 (ldexp_test_data): Likewise.
17085 (lrint_test_data): Likewise.
17086 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17087 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17088 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17089 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17090 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17091 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17092 test input.
17093 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17094 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17095 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17096 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17097 that test input.
17098 (lrint_downward_test_data): Test for "inexact" exceptions.
17099 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17100 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17101 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17102 test input.
17103 (lrint_upward_test_data): Test for "inexact" exceptions.
17104 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17105 test input.
17106 (llrint_test_data): Test for "inexact" exceptions.
17107 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17108 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17109 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17110 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17111 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17112 (llrint_downward_test_data): Test for "inexact" exceptions.
17113 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17114 (llrint_upward_test_data): Test for "inexact" exceptions.
17115 (logb_test_data): Likewise.
17116 (logb_downward_test_data): Likewise.
17117 (nextafter_test_data): Likewise.
17118 (nexttoward_test_data): Likewise.
17119 (remainder_test_data): Likewise.
17120 (remquo_test_data): Likewise.
17121 (scalbn_test_data): Likewise.
17122 (scalbln_test_data): Likewise.
17123 (signbit_test_data): Likewise.
17124 (sqrt_test_data): Likewise.
17125 (significand_test_data): Likewise.
17126
48a18de1
SP
171272013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17128
17129 [BZ #15424]
17130 * benchtests/bench-modf.c (struct args): Mark arg0 as
17131 volatile.
17132 * scripts/bench.pl: Mark members of struct args as volatile.
17133
13d3b41a
AZ
171342013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17135
68191c1d 17136 [BZ # 15497]
13d3b41a
AZ
17137 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17138 negative infinity on POWER6 or lower.
17139 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17140
2848b105
MR
171412013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17142
17143 [BZ #15442]
17144 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17145 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17146 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17147 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17148 (_FP_SETQNAN): New macro.
17149 (_FP_SETQNAN_SEMIRAW): Likewise.
17150 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17151 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17152 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17153 (FP_EXTEND): Use _FP_FRAC_SNANP.
17154 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17155 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17156 into account.
17157 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17158 New macro.
17159 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17160 Likewise.
17161
323e5cb7
JM
171622013-05-16 Joseph Myers <joseph@codesourcery.com>
17163
c58b274f
JM
17164 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17165 with DIVIDE_BY_ZERO_EXCEPTION.
17166 (gamma_test_data): Likewise.
17167 (lgamma_test_data): Likewise.
17168 (log_test_data): Likewise.
17169 (log10_test_data): Likewise.
17170 (log2_test_data): Likewise.
17171 (tgamma_test_data): Likewise.
17172
0ab34904
JM
17173 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17174 (acos_test_tonearest): Likewise.
17175 (acos_test_towardzero): Likewise.
17176 (acos_test_downward): Likewise.
17177 (acos_test_upward): Likewise.
17178 (acosh_test): Likewise.
17179 (asin_test): Likewise.
17180 (asin_test_tonearest): Likewise.
17181 (asin_test_towardzero): Likewise.
17182 (asin_test_downward): Likewise.
17183 (asin_test_upward): Likewise.
17184 (asinh_test): Likewise.
17185 (atan_test): Likewise.
17186 (atanh_test): Likewise.
17187 (atan2_test): Likewise.
17188 (cabs_test): Likewise.
17189 (cacos_test): Likewise.
17190 (cacosh_test): Likewise.
17191 (casin_test): Likewise.
17192 (casinh_test): Likewise.
17193 (catan_test): Likewise.
17194 (catanh_test): Likewise.
17195 (cbrt_test): Likewise.
17196 (ccos_test): Likewise.
17197 (ccosh_test): Likewise.
17198 (cexp_test): Likewise.
17199 (clog_test): Likewise.
17200 (clog10_test): Likewise.
17201 (cos_test): Likewise.
17202 (cos_test_tonearest): Likewise.
17203 (cos_test_towardzero): Likewise.
17204 (cos_test_downward): Likewise.
17205 (cos_test_upward): Likewise.
17206 (cosh_test): Likewise.
17207 (cosh_test_tonearest): Likewise.
17208 (cosh_test_towardzero): Likewise.
17209 (cosh_test_downward): Likewise.
17210 (cosh_test_upward): Likewise.
17211 (cpow_test): Likewise.
17212 (csin_test): Likewise.
17213 (csinh_test): Likewise.
17214 (csqrt_test): Likewise.
17215 (ctan_test): Likewise.
17216 (ctan_test_tonearest): Likewise.
17217 (ctan_test_towardzero): Likewise.
17218 (ctan_test_downward): Likewise.
17219 (ctan_test_upward): Likewise.
17220 (ctanh_test): Likewise.
17221 (ctanh_test_tonearest): Likewise.
17222 (ctanh_test_towardzero): Likewise.
17223 (ctanh_test_downward): Likewise.
17224 (ctanh_test_upward): Likewise.
17225 (erf_test): Likewise.
17226 (erfc_test): Likewise.
17227 (exp_test): Likewise.
17228 (exp_test_tonearest): Likewise.
17229 (exp_test_towardzero): Likewise.
17230 (exp_test_downward): Likewise.
17231 (exp_test_upward): Likewise.
17232 (exp10_test): Likewise.
17233 (exp2_test): Likewise.
17234 (expm1_test): Likewise.
17235 (fmod_test): Likewise.
17236 (gamma_test): Likewise.
17237 (hypot_test): Likewise.
17238 (j0_test): Likewise.
17239 (j1_test): Likewise.
17240 (jn_test): Likewise.
17241 (lgamma_test): Likewise.
17242 (log_test): Likewise.
17243 (log10_test): Likewise.
17244 (log1p_test): Likewise.
17245 (log2_test): Likewise.
17246 (logb_test_downward): Likewise.
17247 (pow_test): Likewise.
17248 (pow_test_tonearest): Likewise.
17249 (pow_test_towardzero): Likewise.
17250 (pow_test_downward): Likewise.
17251 (pow_test_upward): Likewise.
17252 (remainder_test): Likewise.
17253 (remquo_test): Likewise.
17254 (sin_test): Likewise.
17255 (sin_test_tonearest): Likewise.
17256 (sin_test_towardzero): Likewise.
17257 (sin_test_downward): Likewise.
17258 (sin_test_upward): Likewise.
17259 (sincos_test): Likewise.
17260 (sinh_test): Likewise.
17261 (sinh_test_tonearest): Likewise.
17262 (sinh_test_towardzero): Likewise.
17263 (sinh_test_downward): Likewise.
17264 (sinh_test_upward): Likewise.
17265 (sqrt_test): Likewise.
17266 (tan_test): Likewise.
17267 (tan_test_tonearest): Likewise.
17268 (tan_test_towardzero): Likewise.
17269 (tan_test_downward): Likewise.
17270 (tan_test_upward): Likewise.
17271 (tanh_test): Likewise.
17272 (tgamma_test): Likewise.
17273 (y0_test): Likewise.
17274 (y1_test): Likewise.
17275 (yn_test): Likewise.
17276
323e5cb7
JM
17277 * math/gen-libm-test.pl (adjust_arg): Remove function.
17278 (special_function): Remove argument $in_func. Only handle
17279 generating output for tables of tests, not inside functions.
17280 (parse_args): Likewise.
17281 (generate_testfile): Remove variable $in_func. Update call to
17282 parse_args.
17283 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17284 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17285 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17286 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17287 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17288 (MAX_VALUE_INIT): Rename macro to max_value.
17289 (MIN_VALUE_INIT): Rename macro to min_value.
17290 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17291 (plus_zero): Remove variable.
17292 (minus_zero): Likewise.
17293 (plus_infty): Likewise.
17294 (minus_infty): Likewise.
17295 (qnan_value): Likewise.
17296 (max_value): Likewise.
17297 (min_value): Likewise.
17298 (min_subnorm_value): Likewise.
17299
e054f494
RA
173002013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17301
17302 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17303 uint64_t or uint32_t usage.
17304 * crypt/sha256-block.c: Likewise.
17305 * crypt/sha256-crypt.c: Likewise.
17306 * crypt/sha256.c: Likewise.
17307 * crypt/sha512-block.c: Likewise.
17308 * crypt/sha512-crypt.c: Likewise.
17309 * crypt/sha512.c: Likewise.
17310 * debug/backtrace-tst.c: Likewise.
17311 * debug/pcprofiledump.c: Likewise.
17312 * elf/cache.c: Likewise.
17313 * elf/dl-cache.c: Likewise.
17314 * elf/dl-misc.c: Likewise.
17315 * elf/dl-profile.c: Likewise.
17316 * elf/dl-support.c: Likewise.
17317 * elf/ldconfig.c: Likewise.
17318 * elf/sprof.c: Likewise.
17319 * iconv/dummy-repertoire.c: Likewise.
17320 * iconv/iconv_charmap.c: Likewise.
17321 * iconv/skeleton.c: Likewise.
17322 * iconvdata/8bit-generic.c: Likewise.
17323 * iconvdata/cp737.h: Likewise.
17324 * iconvdata/cp775.h: Likewise.
17325 * iconvdata/ibm1008.h: Likewise.
17326 * iconvdata/ibm1025.h: Likewise.
17327 * iconvdata/ibm1046.h: Likewise.
17328 * iconvdata/ibm1097.h: Likewise.
17329 * iconvdata/ibm1112.h: Likewise.
17330 * iconvdata/ibm1122.h: Likewise.
17331 * iconvdata/ibm1123.h: Likewise.
17332 * iconvdata/ibm1124.h: Likewise.
17333 * iconvdata/ibm1129.h: Likewise.
17334 * iconvdata/ibm1130.h: Likewise.
17335 * iconvdata/ibm1132.h: Likewise.
17336 * iconvdata/ibm1133.h: Likewise.
17337 * iconvdata/ibm1137.h: Likewise.
17338 * iconvdata/ibm1140.h: Likewise.
17339 * iconvdata/ibm1141.h: Likewise.
17340 * iconvdata/ibm1142.h: Likewise.
17341 * iconvdata/ibm1143.h: Likewise.
17342 * iconvdata/ibm1144.h: Likewise.
17343 * iconvdata/ibm1145.h: Likewise.
17344 * iconvdata/ibm1146.h: Likewise.
17345 * iconvdata/ibm1147.h: Likewise.
17346 * iconvdata/ibm1148.h: Likewise.
17347 * iconvdata/ibm1149.h: Likewise.
17348 * iconvdata/ibm1153.h: Likewise.
17349 * iconvdata/ibm1154.h: Likewise.
17350 * iconvdata/ibm1155.h: Likewise.
17351 * iconvdata/ibm1156.h: Likewise.
17352 * iconvdata/ibm1157.h: Likewise.
17353 * iconvdata/ibm1158.h: Likewise.
17354 * iconvdata/ibm1160.h: Likewise.
17355 * iconvdata/ibm1161.h: Likewise.
17356 * iconvdata/ibm1162.h: Likewise.
17357 * iconvdata/ibm1163.h: Likewise.
17358 * iconvdata/ibm1164.h: Likewise.
17359 * iconvdata/ibm1166.h: Likewise.
17360 * iconvdata/ibm1167.h: Likewise.
17361 * iconvdata/ibm12712.h: Likewise.
17362 * iconvdata/ibm1390.h: Likewise.
17363 * iconvdata/ibm1399.h: Likewise.
17364 * iconvdata/ibm16804.h: Likewise.
17365 * iconvdata/ibm4517.h: Likewise.
17366 * iconvdata/ibm4899.h: Likewise.
17367 * iconvdata/ibm4909.h: Likewise.
17368 * iconvdata/ibm4971.h: Likewise.
17369 * iconvdata/ibm5347.h: Likewise.
17370 * iconvdata/ibm803.h: Likewise.
17371 * iconvdata/ibm856.h: Likewise.
17372 * iconvdata/ibm901.h: Likewise.
17373 * iconvdata/ibm902.h: Likewise.
17374 * iconvdata/ibm9030.h: Likewise.
17375 * iconvdata/ibm9066.h: Likewise.
17376 * iconvdata/ibm921.h: Likewise.
17377 * iconvdata/ibm922.h: Likewise.
17378 * iconvdata/ibm9448.h: Likewise.
17379 * iconvdata/isiri-3342.h: Likewise.
17380 * iconvdata/jis0201.h: Likewise.
17381 * include/link.h: Likewise.
17382 * include/netdb.h: Likewise.
17383 * inet/check_native.c: Likewise.
17384 * inet/check_pf.c: Likewise.
17385 * inet/getipv4sourcefilter.c: Likewise.
17386 * inet/getnameinfo.c: Likewise.
17387 * inet/getsourcefilter.c: Likewise.
17388 * inet/htonl.c: Likewise.
17389 * inet/setipv4sourcefilter.c: Likewise.
17390 * inet/setsourcefilter.c: Likewise.
17391 * inet/test-inet6_opt.c: Likewise.
17392 * inet/tst-network.c: Likewise.
17393 * locale/C-collate.c: Likewise.
17394 * locale/C-ctype.c: Likewise.
17395 * locale/C-time.c: Likewise.
17396 * locale/C-translit.h: Likewise.
17397 * locale/loadarchive.c: Likewise.
17398 * locale/programs/3level.h: Likewise.
17399 * locale/programs/charmap.c: Likewise.
17400 * locale/programs/charmap.h: Likewise.
17401 * locale/programs/ld-address.c: Likewise.
17402 * locale/programs/ld-collate.c: Likewise.
17403 * locale/programs/ld-ctype.c: Likewise.
17404 * locale/programs/ld-identification.c: Likewise.
17405 * locale/programs/ld-measurement.c: Likewise.
17406 * locale/programs/ld-messages.c: Likewise.
17407 * locale/programs/ld-monetary.c: Likewise.
17408 * locale/programs/ld-name.c: Likewise.
17409 * locale/programs/ld-numeric.c: Likewise.
17410 * locale/programs/ld-paper.c: Likewise.
17411 * locale/programs/ld-telephone.c: Likewise.
17412 * locale/programs/ld-time.c: Likewise.
17413 * locale/programs/linereader.c: Likewise.
17414 * locale/programs/locale.c: Likewise.
17415 * locale/programs/locarchive.c: Likewise.
17416 * locale/programs/locfile.h: Likewise.
17417 * locale/programs/repertoire.c: Likewise.
17418 * locale/programs/simple-hash.c: Likewise.
17419 * locale/programs/simple-hash.h: Likewise.
17420 * malloc/memusage.c: Likewise.
17421 * malloc/memusagestat.c: Likewise.
17422 * nis/nis_defaults.c: Likewise.
17423 * nis/nis_hash.c: Likewise.
17424 * nis/nis_print.c: Likewise.
17425 * nis/nis_xdr.c: Likewise.
17426 * nscd/connections.c: Likewise.
17427 * nscd/hstcache.c: Likewise.
17428 * nscd/nscd_gethst_r.c: Likewise.
17429 * nscd/nscd_getserv_r.c: Likewise.
17430 * nscd/nscd_helper.c: Likewise.
17431 * nscd/servicescache.c: Likewise.
17432 * nss/makedb.c: Likewise.
17433 * nss/nss_db/db-XXX.c: Likewise.
17434 * nss/nss_db/db-initgroups.c: Likewise.
17435 * nss/nss_db/db-netgrp.c: Likewise.
17436 * nss/nss_files/files-network.c: Likewise.
17437 * nss/nss_files/files-parse.c: Likewise.
17438 * posix/bug-regex5.c: Likewise.
17439 * posix/fnmatch_loop.c: Likewise.
17440 * posix/regcomp.c: Likewise.
17441 * posix/regexec.c: Likewise.
17442 * posix/tst-rfc3484-2.c: Likewise.
17443 * posix/tst-rfc3484-3.c: Likewise.
17444 * posix/tst-rfc3484.c: Likewise.
17445 * resolv/nss_dns/dns-canon.c: Likewise.
17446 * resolv/nss_dns/dns-network.c: Likewise.
17447 * resolv/res_init.c: Likewise.
17448 * resolv/res_mkquery.c: Likewise.
17449 * resolv/tst-aton.c: Likewise.
17450 * stdlib/cxa_atexit.c: Likewise.
17451 * stdlib/cxa_finalize.c: Likewise.
17452 * stdlib/gen-fpioconst.c: Likewise.
17453 * stdlib/strtol_l.c: Likewise.
17454 * string/tst-endian.c: Likewise.
17455 * sunrpc/auth_des.c: Likewise.
17456 * sunrpc/clnt_udp.c: Likewise.
17457 * sunrpc/rtime.c: Likewise.
17458 * sunrpc/svcauth_des.c: Likewise.
17459 * sunrpc/xdr.c: Likewise.
17460 * sunrpc/xdr_intXX_t.c: Likewise.
17461 * sunrpc/xdr_rec.c: Likewise.
17462 * sysdeps/generic/ldconfig.h: Likewise.
17463 * sysdeps/generic/ldsodefs.h: Likewise.
17464 * sysdeps/generic/memusage.h: Likewise.
17465 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17466 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17467 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17468 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17469 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17470 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17471 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17472 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17473 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17474 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17475 * sysdeps/posix/getaddrinfo.c: Likewise.
17476 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17477 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17478 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17479 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17480 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17481 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17482 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17483 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17484 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17485 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17486 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17487 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17488 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17489 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17490 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17491 * sysdeps/x86_64/dl-tls.h: Likewise.
17492 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17493 * time/alt_digit.c: Likewise.
17494 * time/era.c: Likewise.
17495 * wcsmbs/tst-c16c32-1.c: Likewise.
17496
8c75f674
JM
174972013-05-16 Joseph Myers <joseph@codesourcery.com>
17498
17499 * math/libm-test.inc (struct test_sincos_data): New type.
17500 (RUN_TEST_LOOP_sincos): New macro.
17501 (sincos_test_data): New variable.
17502 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17503
e6e49e59
RH
175042013-05-16 Richard Henderson <rth@redhat.com>
17505
17506 * math/atest-exp2.c (LIMB64): New macro.
17507 (CONSTSZ): New macro.
17508 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17509 (hexdig): Move ...
17510 (print_mpn_fp): ... to function scope.
17511 (read_mpn_hex): Remove.
17512 (get_log2): Remove.
17513 (exp2_mpn): Use mp_log2.
17514 (main): Use mp_exp1.
17515
15c7c18d
JM
175162013-05-16 Joseph Myers <joseph@codesourcery.com>
17517
105a07df
JM
17518 * math/libm-test.inc: Remove comment about not testing "inexact"
17519 exceptions.
17520 (INEXACT_EXCEPTION): New macro.
17521 (NO_INEXACT_EXCEPTION): Likewise.
17522 (INVALID_EXCEPTION_OK): Update value.
17523 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17524 (OVERFLOW_EXCEPTION_OK): Likewise.
17525 (UNDERFLOW_EXCEPTION_OK): Likewise.
17526 (IGNORE_ZERO_INF_SIGN): Likewise.
17527 (ERRNO_UNCHANGED): Likewise.
17528 (ERRNO_EDOM): Likewise.
17529 (ERRNO_ERANGE): Likewise.
17530 (test_exceptions): Handle testing "inexact" exceptions.
17531 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17532 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17533 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17534 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17535 INEXACT_EXCEPTION.
17536 (rint_towardzero_test_data): Likewise.
17537 (rint_downward_test_data): Likewise.
17538 (rint_upward_test_data): Likewise.
17539
e9eee333
JM
17540 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17541 with OVERFLOW_EXCEPTION.
17542 (exp10_test_data): Likewise.
17543 (exp2_test_data): Likewise.
17544 (expm1_test_data): Likewise.
17545 (lgamma_test_data): Likewise.
17546 (pow_test_data): Likewise.
17547 (tgamma_test_data): Likewise.
17548 (yn_test_data): Remove duplicate test of overflow.
17549
1c38ff73
JM
17550 * math/libm-test.inc (struct test_cc_c_data): New type.
17551 (RUN_TEST_LOOP_cc_c): New macro.
17552 (cpow_test_data): New variable.
17553 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17554
15c7c18d
JM
17555 * math/libm-test.inc (struct test_f_L_data): New type.
17556 (RUN_TEST_LOOP_f_L): New macro.
17557 (llrint_test_data): New variable.
17558 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17559 (llrint_tonearest_test_data): New variable.
17560 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17561 (llrint_towardzero_test_data): New variable.
17562 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17563 (llrint_downward_test_data): New variable.
17564 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17565 (llrint_upward_test_data): New variable.
17566 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17567 (llround_test_data): New variable.
17568 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17569
f137ff13
PC
175702013-05-13 Peter Collingbourne <pcc@google.com>
17571
17572 * math/atest-exp2.c (get_log2): Remove const attribute.
17573
3608cb24
JM
175742013-05-15 Joseph Myers <joseph@codesourcery.com>
17575
17576 * math/libm-test.inc (struct test_f_l_data): New type.
17577 (RUN_TEST_LOOP_f_l): New macro.
17578 (lrint_test_data): New variable.
17579 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17580 (lrint_tonearest_test_data): New variable.
17581 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17582 (lrint_towardzero_test_data): New variable.
17583 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17584 (lrint_downward_test_data): New variable.
17585 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17586 (lrint_upward_test_data): New variable.
17587 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17588 (lround_test_data): New variable.
17589 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17590
39b1f617
PC
175912013-05-15 Peter Collingbourne <pcc@google.com>
17592
1deff3dc
PC
17593 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17594 (EXTRACT_WORDS64) Use where appropriate.
17595 (INSERT_WORDS64) Likewise.
17596
791f3ba0
PC
17597 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17598 constraints with x constraints.
17599 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17600
39b1f617
PC
17601 * malloc/obstack.c (_obstack_compat): Add initializer.
17602
12fba011
EM
176032013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17604
17605 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17606 si_trapno and add si_addr_lsb to _sifields.sigfault.
17607 (si_trapno): Remove macro.
17608 (si_addr_lsb): Define new macro.
17609 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17610
d369f531
JM
176112013-05-15 Joseph Myers <joseph@codesourcery.com>
17612
b861c6c4
JM
17613 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17614 instead of TEST_f_l.
17615 (llrint_test_tonearest): Likewise.
17616 (llrint_test_towardzero): Likewise.
17617 (llrint_test_downward): Likewise.
17618 (llrint_test_upward): Likewise.
17619 (llround_test): Likewise.
17620
7abeee12
JM
17621 * math/libm-test.inc (struct test_f_i_data): Add comment.
17622 (RUN_TEST_LOOP_f_b): New macro.
17623 (RUN_TEST_LOOP_f_b_tg): Likewise.
17624 (finite_test_data): New variable.
17625 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17626 (isfinite_test_data): New variable.
17627 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17628 (isinf_test_data): New variable.
17629 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17630 (isnan_test_data): New variable.
17631 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17632 (isnormal_test_data): New variable.
17633 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17634 (issignaling_test_data): New variable.
17635 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17636 (signbit_test_data): New variable.
17637 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17638
cbe8c4d3
JM
17639 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17640 with INVALID_EXCEPTION.
17641 (acosh_test_data): Likewise.
17642 (asin_test_data): Likewise.
17643 (atanh_test_data): Likewise.
17644 (fmod_test_data): Likewise.
17645 (log_test_data): Likewise.
17646 (log10_test_data): Likewise.
17647 (log2_test_data): Likewise.
17648 (pow_test_data): Likewise.
17649 (sqrt_test_data): Likewise.
17650 (y0_test_data): Likewise.
17651 (y1_test_data): Likewise.
17652 (yn_test_data): Likewise.
17653
5575c0e5
JM
17654 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17655 function contents.
17656
d369f531
JM
17657 * math/libm-test.inc (struct test_ff_i_data): New type.
17658 (RUN_TEST_LOOP_ff_i_tg): New macro.
17659 (isgreater_test_data): New variable.
17660 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17661 (isgreaterequal_test_data): New variable.
17662 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17663 (isless_test_data): New variable.
17664 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17665 (islessequal_test_data): New variable.
17666 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17667 (islessgreater_test_data): New variable.
17668 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17669 (isunordered_test_data): New variable.
17670 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17671
781fd748
DM
176722013-05-14 David S. Miller <davem@davemloft.net>
17673
17674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17675
87aa21df
JM
176762013-05-14 Joseph Myers <joseph@codesourcery.com>
17677
5e908270
JM
17678 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17679
f71172e5
JM
17680 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17681 extra_test to int.
17682 (struct test_f_i_data): Change type of max_ulp to int.
17683
8cfa635a
JM
17684 * math/libm-test.inc (test_ffI_f1_data): New type.
17685 (RUN_TEST_LOOP_ffI_f1): New macro.
17686 (remquo_test_data): New variable.
17687 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17688
2bcb36b2
JM
17689 * setjmp/tst-setjmp-fp.c: New file.
17690 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17691 (link-libm): New variable.
17692 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17693
acbd839a
JM
17694 * math/libm-test.inc (struct test_f_i_data): New type.
17695 (RUN_TEST_LOOP_f_i): New macro.
17696 (RUN_TEST_LOOP_f_i_tg): Likewise.
17697 (fpclassify_test_data): New variable.
17698 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17699 (ilogb_test_data): New variable.
17700 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17701
e414d745
JM
17702 * math/libm-test.inc (scalbln_test): Correct function name in END
17703 call.
17704
d9c2a0fd
JM
17705 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17706 (RUN_TEST_LOOP_fI_f1): New macro.
17707 (frexp_test_data): New variable.
17708 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17709
9dc9095d
JM
17710 * math/libm-test.inc (struct test_fF_f1_data): New type.
17711 (RUN_TEST_LOOP_fF_f1): New macro.
17712 (modf_test_data): New variable.
17713 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17714
87aa21df
JM
17715 * math/libm-test.inc (struct test_f_f1_data): New type.
17716 (RUN_TEST_LOOP_f_f1): New macro.
17717 (gamma_test_data): New variable.
17718 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17719 (lgamma_test_data): New variable.
17720 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17721
141af660
CD
177222013-05-13 Carlos O'Donell <carlos@redhat.com>
17723
17724 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17725 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17726 (main): Comment "tls" pseudo-hwcap.
17727
6d33265c
JM
177282013-05-13 Joseph Myers <joseph@codesourcery.com>
17729
68fc074c
JM
17730 * math/libm-test.inc (struct test_fl_f_data): New type.
17731 (RUN_TEST_LOOP_fl_f): New variable.
17732 (scalbln_test_data): New variable.
17733 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17734
243216e1
JM
17735 * math/libm-test.inc (struct test_fi_f_data): New type.
17736 (RUN_TEST_LOOP_fi_f): New macro.
17737 (ldexp_test_data): New variable.
17738 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17739 (scalbn_test_data): New variable.
17740 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17741
6a1992e2
JM
17742 * math/libm-test.inc (struct test_c_f_data): New type.
17743 (RUN_TEST_LOOP_c_f): New macro.
17744 (cabs_test_data): New variable.
17745 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17746 (carg_test_data): New variable.
17747 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17748 (cimag_test_data): New variable.
17749 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17750 (creal_test_data): New variable.
17751 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17752
0e400df5
JM
17753 * math/libm-test.inc (struct test_if_f_data): New type.
17754 (RUN_TEST_LOOP_if_f): New macro.
17755 (jn_test_data): New variable.
17756 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17757 (yn_test_data): New variable.
17758 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17759
6d33265c
JM
17760 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17761
f98ece5f
AZ
177622013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17763
17764 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17765 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17766
0f7d347b
SP
177672013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17768
43fe811b
SP
17769 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17770 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17771 (bench-deps): Add bench-timing.h.
17772 * benchtests-bench-skeleton.c: Include bench-timing.h.
17773 (main): Use TIMING_* macros instead of clock_gettime.
17774 * benchtests/bench-timing.h: New file.
17775
0f7d347b
SP
17776 [BZ #14582]
17777 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17778 Renamed from _LIB_VERSION.
17779 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17780
601a3a5f
JM
177812013-05-12 Joseph Myers <joseph@codesourcery.com>
17782
4f184d30
JM
17783 * math/libm-test.inc (struct test_fff_f_data): New type.
17784 (RUN_TEST_LOOP_fff_f): New macro.
17785 (fma_test_data): New variable.
17786 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17787 (fma_towardzero_test_data): New variable.
17788 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17789 (fma_downward_test_data): New variable.
17790 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17791 (fma_upward_test_data): New variable.
17792 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17793
08198877
JM
17794 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17795 (struct test_c_c_data): New type.
17796 (RUN_TEST_LOOP_c_c): New macro.
17797 (cacos_test_data): New variable.
17798 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17799 (cacosh_test_data): New variable.
17800 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17801 (casin_test_data): New variable.
17802 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17803 (casinh_test_data): New variable.
17804 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17805 (catan_test_data): New variable.
17806 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17807 (catanh_test_data): New variable.
17808 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17809 (ccos_test_data): New variable.
17810 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17811 (ccosh_test_data): New variable.
17812 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17813 (cexp_test_data): New variable.
17814 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17815 (clog_test_data): New variable.
17816 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17817 (clog10_test_data): New variable.
17818 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17819 (conj_test_data): New variable.
17820 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17821 (cproj_test_data): New variable.
17822 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17823 (csin_test_data): New variable.
17824 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17825 (csinh_test_data): New variable.
17826 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17827 (csqrt_test_data): New variable.
17828 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17829 (ctan_test_data): New variable.
17830 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17831 (ctan_tonearest_test_data): New variable.
17832 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17833 (ctan_towardzero_test_data): New variable.
17834 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17835 (ctan_downward_test_data): New variable.
17836 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17837 (ctan_upward_test_data): New variable.
17838 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17839 (ctanh_test_data): New variable.
17840 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17841 (ctanh_tonearest_test_data): New variable.
17842 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17843 (ctanh_towardzero_test_data): New variable.
17844 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17845 (ctanh_downward_test_data): New variable.
17846 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17847 (ctanh_upward_test_data): New variable.
17848 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17849 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17850 of BUILD_COMPLEX.
17851
601a3a5f
JM
17852 * math/libm-test.inc (struct test_ff_f_data): New type.
17853 (struct test_ff_f_data_nexttoward): Likewise.
17854 (RUN_TEST_LOOP_2_f): New macro.
17855 (RUN_TEST_LOOP_ff_f): Likewise.
17856 (atan2_test_data): New variable.
17857 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17858 (copysign_test_data): New variable.
17859 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17860 (fdim_test_data): New variable.
17861 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17862 (fmax_test_data): New variable.
17863 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17864 (fmin_test_data): New variable.
17865 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17866 (fmod_test_data): New variable.
17867 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17868 (hypot_test_data): New variable.
17869 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17870 (nextafter_test_data): New variable.
17871 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17872 (nexttoward_test_data): New variable.
17873 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17874 (pow_test_data): New variable.
17875 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17876 (pow_tonearest_test_data): New variable.
17877 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17878 (pow_towardzero_test_data): New variable.
17879 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17880 (pow_downward_test_data): New variable.
17881 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17882 (pow_upward_test_data): New variable.
17883 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17884 (remainder_test_data): New variable.
17885 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17886 (scalb_test_data): New variable.
17887 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17888 * sysdeps/i386/fpu/libm-test-ulps: Update.
17889
74c57478
JM
178902013-05-11 Joseph Myers <joseph@codesourcery.com>
17891
8329e4da
JM
17892 * math/libm-test.inc (fma_test): Use max_value instead of local
17893 variable fltmax.
17894 (nextafter_test): Likewise.
17895
74c57478
JM
17896 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17897 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17898 (acos_downward_test_data): New variable.
17899 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17900 (acos_upward_test_data): New variable.
17901 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17902 (acosh_test_data): New variable.
17903 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17904 (asin_test_data): New variable.
17905 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17906 (asin_tonearest_test_data): New variable.
17907 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17908 (asin_towardzero_test_data): New variable.
17909 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17910 (asin_downward_test_data): New variable.
17911 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17912 (asin_upward_test_data): New variable.
17913 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17914 (asinh_test_data): New variable.
17915 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17916 (atan_test_data): New variable.
17917 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17918 (atanh_test_data): New variable.
17919 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17920 (cbrt_test_data): New variable.
17921 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17922 (ceil_test_data): New variable.
17923 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17924 (cos_test_data): New variable.
17925 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17926 (cos_tonearest_test_data): New variable.
17927 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17928 (cos_towardzero_test_data): New variable.
17929 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17930 (cos_downward_test_data): New variable.
17931 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17932 (cos_upward_test_data): New variable.
17933 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17934 (cosh_test_data): New variable.
17935 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17936 (cosh_tonearest_test_data): New variable.
17937 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17938 (cosh_towardzero_test_data): New variable.
17939 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17940 (cosh_downward_test_data): New variable.
17941 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17942 (cosh_upward_test_data): New variable.
17943 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17944 (erf_test_data): New variable.
17945 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17946 (erfc_test_data): New variable.
17947 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17948 (exp_test_data): New variable.
17949 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17950 (exp_tonearest_test_data): New variable.
17951 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17952 (exp_towardzero_test_data): New variable.
17953 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17954 (exp_downward_test_data): New variable.
17955 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17956 (exp_upward_test_data): New variable.
17957 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17958 (exp10_test_data): New variable.
17959 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17960 (exp2_test_data): New variable.
17961 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17962 (expm1_test_data): New variable.
17963 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17964 (fabs_test_data): New variable.
17965 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17966 (floor_test_data): New variable.
17967 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17968 (j0_test_data): New variable.
17969 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17970 (j1_test_data): New variable.
17971 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17972 (log_test_data): New variable.
17973 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17974 (log10_test_data): New variable.
17975 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17976 (log1p_test_data): New variable.
17977 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17978 (log2_test_data): New variable.
17979 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17980 (logb_test_data): New variable.
17981 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17982 (logb_downward_test_data): New variable.
17983 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17984 (nearbyint_test_data): New variable.
17985 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17986 (rint_test_data): New variable.
17987 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17988 (rint_tonearest_test_data): New variable.
17989 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17990 (rint_towardzero_test_data): New variable.
17991 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17992 (rint_downward_test_data): New variable.
17993 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17994 (rint_upward_test_data): New variable.
17995 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17996 (round_test_data): New variable.
17997 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17998 (sin_test_data): New variable.
17999 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18000 (sin_tonearest_test_data): New variable.
18001 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18002 (sin_towardzero_test_data): New variable.
18003 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18004 (sin_downward_test_data): New variable.
18005 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18006 (sin_upward_test_data): New variable.
18007 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18008 (sinh_test_data): New variable.
18009 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18010 (sinh_tonearest_test_data): New variable.
18011 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18012 (sinh_towardzero_test_data): New variable.
18013 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18014 (sinh_downward_test_data): New variable.
18015 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18016 (sinh_upward_test_data): New variable.
18017 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18018 (sqrt_test_data): New variable.
18019 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18020 (tan_test_data): New variable.
18021 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18022 (tan_tonearest_test_data): New variable.
18023 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18024 (tan_towardzero_test_data): New variable.
18025 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18026 (tan_downward_test_data): New variable.
18027 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18028 (tan_upward_test_data): New variable.
18029 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18030 (tanh_test_data): New variable.
18031 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18032 (tgamma_test_data): New variable.
18033 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18034 (trunc_test_data): New variable.
18035 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18036 (y0_test_data): New variable.
18037 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18038 (y1_test_data): New variable.
18039 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18040 (significand_test_data): New variable.
18041 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18042
7187d844
CG
180432013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18044
18045 [BZ #12387]
18046 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18047
f63fae73
PT
180482013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18049
18050 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18051
8a67a4b3
AJ
180522013-05-10 Andreas Jaeger <aj@suse.de>
18053
18054 [BZ #15448]
18055 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18056 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18057
51df539d
JM
180582013-05-10 Joseph Myers <joseph@codesourcery.com>
18059
18060 * math/gen-libm-test.pl (adjust_arg): New function.
18061 (special_functions): Handle generating output in both functions
18062 and arrays.
18063 (parse_args): Likewise.
18064 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18065 $in_func argument to parse_args.
18066 * math/libm-test.inc (struct test_f_f_data): New type.
18067 (IF_ROUND_INIT_): New macro.
18068 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18069 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18070 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18071 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18072 (ROUND_RESTORE_): Likewise.
18073 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18074 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18075 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18076 (ROUND_RESTORE_FE_UPWARD): Likewise.
18077 (RUN_TEST_LOOP_f_f): New macro.
18078 (acos_test_data): New variable.
18079 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18080 (acos_tonearest_test_data): New variable.
18081 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18082
5c637fe5
SP
180832013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18084
18085 * benchtests/bench-skeleton.c (startup): Fix coding style.
18086
ab2b9461
JM
180872013-05-10 Joseph Myers <joseph@codesourcery.com>
18088
18089 [BZ #6809]
18090 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18091 negative infinity argument.
18092 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18093 negative infinity argument.
18094 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18095 negative infinity argument.
18096 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18097 domain errors.
18098
4c0fe6fe
FW
180992013-05-10 Florian Weimer <fweimer@redhat.com>
18100
18101 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18102 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18103 * iconv/iconv_prog.c (main): Likewise.
18104 * locale/programs/charmap-dir.c (charmap_readdir)
18105 (fopen_uncompressed): Likewise.
18106 * locale/programs/locfile.c (siblings_uncached)
18107 (write_locale_data): Use lstat64 instead of lstat.
18108 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18109 stat.
18110
a3375d29
AJ
181112013-05-10 Andreas Jaeger <aj@suse.de>
18112
18113 [BZ #15395]
18114 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18115 localization.
18116 Include <locale.h>.
18117
36129722
CD
181182013-05-09 Carlos O'Donell <carlos@redhat.com>
18119
18120 * elf/dl-close.c (_dl_close_worker): Add comments.
18121
faa7f811
JM
181222013-05-09 Joseph Myers <joseph@codesourcery.com>
18123
ed41ffef
JM
18124 [BZ #15359]
18125 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18126 high part of pi/2.
18127 (__ieee754_rem_pio2l): Update comments.
18128
d0213cd0
JM
18129 [BZ #15429]
18130 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18131 high part of pi/2.
18132 (__ieee754_rem_pio2l): Update comments.
18133
0d3e777a
JM
18134 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18135 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18136
24f56066
JM
18137 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18138 M_PI_4l.
18139
faa7f811
JM
18140 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18141 (M_PI_34_LOG10El): Likewise.
18142 (M_PI2_LOG10El): Likewise.
18143 (M_PI4_LOG10El): Likewise.
18144 (M_PI_LOG10El): Likewise.
18145
e9a5e0fd
AZ
181462013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18147
18148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18149
d8cd06db
JM
181502013-05-08 Joseph Myers <joseph@codesourcery.com>
18151
a0d9f9d7
JM
18152 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18153 (MINUS_ZERO_INIT): Likewise.
18154 (PLUS_INFTY_INIT): Likewise.
18155 (MINUS_INFTY_INIT): Likewise.
18156 (QNAN_VALUE_INIT): Likewise.
18157 (MAX_VALUE_INIT): Likewise.
18158 (MIN_VALUE_INIT): Likewise.
18159 (MIN_SUBNORM_VALUE_INIT): Likewise.
18160 (plus_zero): Initialize with PLUS_ZERO_INIT.
18161 (minus_zero): Initialize with MINUS_ZERO_INIT.
18162 (plus_infty): Initialize with PLUS_INFTY_INIT.
18163 (minus_infty): Initialize with MINUS_INFTY_INIT.
18164 (qnan_value): Initialize with QNAN_VALUE_INIT.
18165 (max_value): Initialize with MAX_VALUE_INIT.
18166 (min_value): Initialize with MIN_VALUE_INIT.
18167 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18168
ae08db3b
JM
18169 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18170 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18171 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18172 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18173
f44bf14a
JM
18174 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18175 (RUN_TEST_2_f): Likewise.
18176 (RUN_TEST_ff_f): Likewise.
18177 (RUN_TEST_fi_f): Likewise.
18178 (RUN_TEST_fl_f): Likewise.
18179 (RUN_TEST_fff_f): Likewise.
18180 (RUN_TEST_c_f): Likewise.
18181 (RUN_TEST_f_f1): Likewise.
18182 (RUN_TEST_fF_f1): Likewise.
18183 (RUN_TEST_fI_f1): Likewise.
18184 (RUN_TEST_ffI_f1): Likewise.
18185 (RUN_TEST_c_c): Likewise.
18186 (RUN_TEST_cc_c): Likewise.
18187 (RUN_TEST_f_i): Likewise.
18188 (RUN_TEST_f_i_tg): Likewise.
18189 (RUN_TEST_ff_i_tg): Likewise.
18190 (RUN_TEST_f_b): Likewise.
18191 (RUN_TEST_f_b_tg): Likewise.
18192 (RUN_TEST_f_l): Likewise.
18193 (RUN_TEST_f_L): Likewise.
18194 (RUN_TEST_sincos): Likewise.
18195 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18196 whether to show exceptions. Do not include ");\n" in return
18197 value.
18198 (special_functions): Output call to RUN_TEST_sincos instead of
18199 check_float calls. Update calls to new_test.
18200 (parse_args): Output call to single RUN_TEST_* macro instead of
18201 check_* calls and other assignments. Update calls to new_test.
18202
d8cd06db
JM
18203 [BZ #2546]
18204 [BZ #2560]
18205 [BZ #5159]
18206 [BZ #15426]
18207 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18208 input to result for tgamma overflow.
18209 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18210 (gamma_coeff): New variable.
18211 (NCOEFF): New macro.
18212 (gamma_positive): New function.
18213 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18214 underflow here. Use gamma_positive instead of exp (lgamma) for
18215 other arguments.
18216 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18217 (gamma_coeff): New variable.
18218 (NCOEFF): New macro.
18219 (gammaf_positive): New function.
18220 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18221 underflow here. Use gamma_positive instead of exp (lgamma) for
18222 other arguments.
18223 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18224 (gamma_coeff): New variable.
18225 (NCOEFF): New macro.
18226 (gammal_positive): New function.
18227 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18228 underflow here. Use gamma_positive instead of exp (lgamma) for
18229 other arguments.
18230 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18231 (gamma_coeff): New variable.
18232 (NCOEFF): New macro.
18233 (gammal_positive): New function.
18234 (__ieee754_gammal_r): Handle positive infinity, overflow and
18235 underflow here. Handle NaN the same as positive infinity. Remove
18236 check x < 0xffffffff for negative integers. Use gamma_positive
18237 instead of exp (lgamma) for other arguments.
18238 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18239 (gamma_coeff): New variable.
18240 (NCOEFF): New macro.
18241 (gammal_positive): New function.
18242 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18243 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18244 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18247 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18248 * sysdeps/generic/math_private.h (__gamma_productf): New
18249 prototype.
18250 (__gamma_product): Likewise.
18251 (__gamma_productl): Likewise.
18252 * math/Makefile (libm-calls): Add gamma_product.
18253 * math/libm-test.inc (tgamma_test): Add more tests.
18254 * sysdeps/i386/fpu/libm-test-ulps: Update.
18255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18256
bb7cf681
OB
182572013-05-08 Ondřej Bílka <neleai@seznam.cz>
18258
18259 * benchtests/bench-skeleton.c (main): Preheat CPU.
18260
ba853947
AJ
182612013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18262
18263 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18264
8347c74c
RM
182652013-05-07 Roland McGrath <roland@hack.frob.com>
18266
18267 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18268 and _dl_skip_args_internal.
18269
e8dd4791
CD
182702013-05-07 Carlos O'Donell <carlos@redhat.com>
18271
18272 * manual/message.texi (Message Translation): Talk about users.
18273 Message to key mapping impacts design.
18274
c7405830
RM
182752013-05-06 Roland McGrath <roland@hack.frob.com>
18276
a9173057
RM
18277 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18278
976e2f03
RM
18279 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18280
9723ffc5
RM
18281 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18282 * sysdeps/wordsize-64/glob64.c: ... here.
18283
962e6658
RM
18284 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18285 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18286 New macros.
18287
ee586a6d
RM
18288 * debug/getlogin_r_chk.c: Moved to ...
18289 * login/getlogin_r_chk.c: ... here.
18290 * debug/Makefile (routines): Move getlogin_r_chk to ...
18291 * login/Makefile (routines): ... here.
18292 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18293 * login/Versions (libc: GLIBC_2.4): ... here.
18294
355f9165
RM
18295 * io/poll.c (__poll): Renamed from poll.
18296 Add libc_hidden_def.
18297 (poll): Define as weak alias.
18298
bd9ffde6
RM
18299 * debug/ptsname_r_chk.c: Moved to ...
18300 * login/ptsname_r_chk.c: ... here.
18301 * debug/Makefile (routines): Move ptsname_r_chk to ...
18302 * login/Makefile (routines): ... here.
18303 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18304 * login/Versions (libc: GLIBC_2.4): ... here.
18305
8fb16a04
RM
18306 * posix/getlogin.c: Moved to ...
18307 * login/getlogin.c: ... here.
18308 * posix/getlogin_r.c: Moved to ...
18309 * login/getlogin_r.c: ... here.
18310 * posix/getlogin_r.c: Moved to ...
18311 * login/getlogin_r.c: ... here.
18312 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18313 * login/Makefile (routines): ... here.
18314 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18315 * login/Versions (libc: GLIBC_2.0): ... here.
18316
b99b892f
RM
18317 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18318 (setrlimit): Define as weak alias.
18319
c7405830
RM
18320 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18321 Call __ names for open, ftruncate, and close.
18322 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18323 (truncate): Define as weak alias.
18324
5bf96de5
JM
183252013-05-06 Joseph Myers <joseph@codesourcery.com>
18326
9ea3513c
JM
18327 * math/gen-libm-test.pl (parse_args): Initialize x before each
18328 test of frexp, modf and remquo.
18329
5bf96de5
JM
18330 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18331 test signgam value.
18332
16e616a7
AZ
183332013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18334
18335 [BZ #15418]
18336 [BZ #15419]
18337 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18338 internal tests.
18339 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18340
d5e82754
RM
183412013-05-06 Roland McGrath <roland@hack.frob.com>
18342
18343 * elf/dl-writev.h: New file.
18344 * elf/dl-misc.c: Include it.
18345 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18346 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18347
a7548d41
JM
183482013-05-04 Joseph Myers <joseph@codesourcery.com>
18349
b7dab1e4
JM
18350 * math/libm-test.inc (noXFails): Remove variable.
18351 (noXPasses): Likewise.
18352 (BUILD_COMPLEX_INT): Remove macro.
18353 (print_screen): Remove xfail argument.
18354 (print_screen_max_error): Likewise.
18355 (update_stats): Likewise.
18356 (print_max_error): Likewise. Update calls to other affected
18357 functions.
18358 (print_complex_max_error): Likewise.
18359 (test_single_exception): Update calls to print_screen.
18360 (test_single_errno): Likewise.
18361 (check_float_internal): Remove xfail argument. Update calls to
18362 other affected functions.
18363 (check_float): Likewise.
18364 (check_complex): Likewise.
18365 (check_int): Likewise.
18366 (check_long): Likewise.
18367 (check_bool): Likewise.
18368 (check_longlong): Likewise.
18369 (main): Don't print noXFails and noXPasses.
18370 * math/gen-libm-test.pl (top level): Don't mention expected
18371 failure handling in comment.
18372 (new_test): Don't handle expected failures.
18373 (parse_args): Don't mention expected failure handling in comment.
18374 (generate_testfile): Don't handle expected failures.
18375 (parse_ulps): Likewise.
18376 (print_ulps_file): Likewise.
18377 (get_failure): Remove function.
18378 (output_test): Don't handle expected failures.
18379 * make/README.libm-test: Don't mention expected failure handling.
18380
a7548d41
JM
18381 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18382 (minus_zero): Likewise.
18383 (plus_infty): Likewise.
18384 (minus_infty): Likewise.
18385 (qnan_value): Likewise.
18386 (max_value): Likewise.
18387 (min_value): Likewise.
18388 (min_subnorm_value): Likewise.
18389 (initialize): Do not initialize those variables dynamically.
18390
60bfd54c
RM
183912013-05-03 Roland McGrath <roland@hack.frob.com>
18392
cc0e6ed8
RM
18393 * io/open.c (__open_2): Moved to ...
18394 * io/open_2.c: ... this new file.
18395 * io/open64.c (__open64_2): Moved to ...
18396 * io/open64_2.c: ... this new file.
18397 * io/openat.c (__openat_2): Moved to ...
18398 * io/openat_2.c: ... this new file.
18399 * io/openat64.c (__openat64_2): Moved to ...
18400 * io/openat64_2.c: ... this new file.
18401 * io/Makefile (routines): Add them.
18402 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18403 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18404 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18405 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18406 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18407 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18408 (__openat64): Add hidden_ver.
18409 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18410 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18411
60bfd54c
RM
18412 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18413 Separately conditionalize setting of GLRO(dl_sysinfo) so
18414 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18415 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18416
83e7640f
AZ
184172013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18418
18419 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18420 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18421 definition.
18422 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18423 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18424 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18425 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18426 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18427
d5dc2af3
JM
184282013-05-03 Joseph Myers <joseph@codesourcery.com>
18429
c31a5b1e
JM
18430 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18431 test signgam value.
18432
d5dc2af3
JM
18433 * math/libm-test.inc (hypot_test): Do not use
18434 IGNORE_ZERO_INF_SIGN.
18435
164fd39d
AJ
184362013-05-03 Andreas Jaeger <aj@suse.de>
18437
18438 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18439 Linux 3.9.
18440 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18441 (PF_MAX): Adjust for VSOCK change.
18442
8237f48c
AZ
184432013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18444
18445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18446
9df02941
CD
184472013-05-02 Carlos O'Donell <carlos@redhat.com>
18448
18449 [BZ #15264]
18450 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18451 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18452 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18453
d422395e
DM
184542013-05-02 David S. Miller <davem@davemloft.net>
18455
18456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18457
a07c5731
OB
184582013-05-01 Ondřej Bílka <neleai@seznam.cz>
18459
18460 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18461
1324e37f
RM
184622013-05-01 Roland McGrath <roland@hack.frob.com>
18463
18464 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18465
0695940b
RS
184662013-05-01 Richard Smith <richard@metafoo.co.uk>
18467
bb5f27ad 18468 [BZ #14952]
0695940b
RS
18469 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18470 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18471 Use __attribute__ ((__gnu_inline__)).
18472 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18473 Don't use __attribute__ ((__gnu_inline__)).
18474
10de07f5
JM
184752013-05-01 Joseph Myers <joseph@codesourcery.com>
18476
18477 [BZ #15423]
18478 * math/s_catan.c (__catan): Handle small real or imaginary part of
18479 input specially to avoid spurious underflow.
18480 * math/s_catanf.c (__catanf): Likewise.
18481 * math/s_catanh.c (__catanh): Likewise.
18482 * math/s_catanhf.c (__catanhf): Likewise.
18483 * math/s_catanhl.c (__catanhl): Likewise.
18484 * math/s_catanl.c (__catanl): Likewise.
18485 * math/libm-test.inc (catan_test): Add more tests.
18486 (catanh_test): Likewise.
18487 * sysdeps/i386/fpu/libm-test-ulps: Update.
18488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18489
cb4d5414
AZ
184902013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18491
18492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18493
caf84319
JM
184942013-04-30 Joseph Myers <joseph@codesourcery.com>
18495
18496 [BZ #15416]
18497 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18498 accurately for denominator in atan2.
18499 * math/s_catanf.c (__catanf): Likewise.
18500 * math/s_catanh.c (__catanh): Likewise.
18501 * math/s_catanhf.c (__catanhf): Likewise.
18502 * math/s_catanhl.c (__catanhl): Likewise.
18503 * math/s_catanl.c (__catanl): Likewise.
18504 * math/libm-test.inc (catan_test): Add more tests.
18505 (catanh_test): Likewise.
18506 * sysdeps/i386/fpu/libm-test-ulps: Update.
18507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18508
d569c6ee
SP
185092013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18510
6dbe713d
SP
18511 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18512
f0ee064b
SP
18513 * benchtests/Makefile (bench): Remove slow benchmarks.
18514 * benchtests/atan-inputs: Add slow benchmark inputs.
18515 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18516 (BENCH_FUNC): Accept variant offset.
18517 (VARIANT): Define.
18518 * benchtests/bench-skeleton.c (main): Run benchmark for each
18519 variant.
18520 * benchtests/cos-inputs: Add slow benchmark inputs.
18521 * benchtests/exp-inputs: Likewise.
18522 * benchtests/pow-inputs: Likewise.
18523 * benchtests/sin-inputs: Likewise.
18524 * benchtests/slowatan-inputs: Remove.
18525 * benchtests/slowatan.c: Remove.
18526 * benchtests/slowcos-inputs: Remove.
18527 * benchtests/slowcos.c: Remove.
18528 * benchtests/slowexp-inputs: Remove.
18529 * benchtests/slowexp.c: Remove.
18530 * benchtests/slowpow-inputs: Remove.
18531 * benchtests/slowpow.c: Remove.
18532 * benchtests/slowsin-inputs: Remove.
18533 * benchtests/slowsin.c: Remove.
18534 * benchtests/slowtan-inputs: Remove.
18535 * benchtests/slowtan.c: Remove.
18536 * benchtests/tan-inputs: Add slow benchmark inputs.
18537 * scripts/bench.pl: Parse comments and directives.
18538
d569c6ee
SP
18539 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18540 in CPPFLAGS.
18541 ($(objpfx)bench-%.c): Remove *-ITER.
18542 * benchtests/bench-modf.c: Remove definition of ITER.
18543 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18544 (main): Loop for DURATION seconds instead of fixed number of
18545 iterations.
18546 * scripts/bench.pl: Don't expect iterations in parameters.
18547
a6a242fe
RM
185482013-04-29 Roland McGrath <roland@hack.frob.com>
18549
18550 * io/fchdir.c (__fchdir): Renamed from fchdir.
18551 (fchdir): Define as weak alias.
18552
f2da7793
JM
185532013-04-29 Joseph Myers <joseph@codesourcery.com>
18554
18555 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18556 (ERRNO_EDOM): Likewise.
18557 (ERRNO_ERANGE): Likewise.
18558 (noErrnoTests): New variable.
18559 (init_max_error): Set errno to 0.
18560 (test_single_errno): New function.
18561 (test_errno): Likewise.
18562 (check_float_internal): Call test_errno. Set errno to 0.
18563 (check_complex): Refer to errno tests in comment.
18564 (check_int): Call test_errno. Set errno to 0.
18565 (check_long): Likewise.
18566 (check_bool): Likewise.
18567 (check_longlong): Likewise.
18568 (cos_test): Use ERRNO_* flags for errno tests instead of
18569 check_int.
18570 (expm1_test): Likewise.
18571 (fmod_test): Likewise.
18572 (ilogb_test): Likewise.
18573 (lgamma_test): Likewise.
18574 (pow_test): Likewise.
18575 (remainder_test): Likewise.
18576 (sin_test): Likewise.
18577 (tan_test): Likewise.
18578 (yn_test): Likewise.
18579 (initialize): Set errno to 0.
18580 (main): Print number of errno tests.
18581 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18582
b1a36ceb
AJ
185832013-04-29 Andreas Jaeger <aj@suse.de>
18584
c3ed8088
AJ
18585 [BZ #15084]
18586 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18587 and RES_USEVC.
18588
f1a24198
AJ
18589 [BZ #15085]
18590 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18591 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18592 unimplemented.
18593
9ce3b2cb
AJ
18594 [BZ #15380]
18595 * stdlib/random.c (__initstate): Return NULL if
18596 __initstate fails.
18597
f1a24198 18598 [BZ #15086]
b1a36ceb
AJ
18599 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18600 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18601 RES_SNGLKUPREOP.
18602
7e7b6f36
AZ
186032013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18604
18605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18606
4d14f449
JM
186072013-04-29 Joseph Myers <joseph@codesourcery.com>
18608
18609 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18610 of individual tests.
18611 (casin_test): Likewise.
18612 (casinh_test): Likewise.
18613
5b4217d7
JM
186142013-04-27 Joseph Myers <joseph@codesourcery.com>
18615
18616 [BZ #15409]
18617 * math/s_catan.c (__catan): Handle arguments with large real or
18618 imaginary part separately without squaring.
18619 * math/s_catanf.c (__catanf): Likewise.
18620 * math/s_catanh.c (__catanh): Likewise.
18621 * math/s_catanhf.c (__catanhf): Likewise.
18622 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18623 and redefine.
18624 (__catanhl): Handle arguments with large real or imaginary part
18625 separately without squaring.
18626 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18627 and redefine.
18628 (__catanl): Handle arguments with large real or imaginary part
18629 separately without squaring.
18630 * math/libm-test.inc (catan_test): Add more tests.
18631 (catanh_test): Likewise.
18632 * sysdeps/i386/fpu/libm-test-ulps: Update.
18633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18634
4220c3ef
AJ
186352013-04-27 Andreas Jaeger <aj@suse.de>
18636
18637 [BZ #15007]
18638 * stdlib/stdlib.h: Update guards for qecvt.
18639 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18640 <stdlib.h>.
18641
4721b2d1
AM
186422013-04-27 Allan McRae <allan@archlinux.org>
18643
18644 * sysdeps/i386/fpu/libm-test-ulps: Update.
18645
f0302940
JM
186462013-04-26 Joseph Myers <joseph@codesourcery.com>
18647
9457fd95
JM
18648 [BZ #15406]
18649 * math/s_catan.c: Include <float.h>.
18650 (__catan): Ensure underflow exception occurs for underflowed
18651 result.
18652 * math/s_catanf.c: Include <float.h>.
18653 (__catanf): Ensure underflow exception occurs for underflowed
18654 result.
18655 * math/s_catanh.c: Include <float.h>.
18656 (__catanh): Ensure underflow exception occurs for underflowed
18657 result.
18658 * math/s_catanhf.c: Include <float.h>.
18659 (__catanhf): Ensure underflow exception occurs for underflowed
18660 result.
18661 * math/s_catanhl.c: Include <float.h>.
18662 (__catanhl): Ensure underflow exception occurs for underflowed
18663 result.
18664 * math/s_catanl.c: Include <float.h>.
18665 (__catanl): Ensure underflow exception occurs for underflowed
18666 result.
18667 * math/libm-test.inc (catan_test): Add more tests.
18668 (catanh_test): Likewise.
18669
f0302940
JM
18670 [BZ #15405]
18671 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18672 underflowed result.
18673 * math/s_ccoshf.c (__ccoshf): Likewise.
18674 * math/s_ccoshl.c (__ccoshl): Likewise.
18675 * math/s_csin.c (__csin): Likewise.
18676 * math/s_csinf.c (__csinf): Likewise.
18677 * math/s_csinh.c (__csinh): Likewise.
18678 * math/s_csinhf.c (__csinhf): Likewise.
18679 * math/s_csinhl.c (__csinhl): Likewise.
18680 * math/s_csinl.c (__csinl): Likewise.
18681 * math/libm-test.inc (ccos_test): Add more tests.
18682 (ccosh_test): Likewise.
18683 (csin_test): Likewise.
18684 (csinh_test): Likewise.
18685
aa630f59
AZ
186862013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18687
18688 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18689 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18690 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18691 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18692 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18693 powerpc/power5+/fpu folders.
18694 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18695
18696
1b835983
MT
186972013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18698
18699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18700
73709b26
JM
187012013-04-25 Joseph Myers <joseph@codesourcery.com>
18702
18703 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18704 additions to variable.
18705 [$(config-machine) = x86_64] (modules-names): Likewise.
18706 ($(objpfx)tst-audit3): Remove dependency.
18707 ($(objpfx)tst-audit3.out): Likewise.
18708 ($(objpfx)tst-audit4): Likewise.
18709 ($(objpfx)tst-audit4.out): Likewise.
18710 ($(objpfx)tst-audit5): Likewise.
18711 ($(objpfx)tst-audit5.out): Likewise.
18712 ($(objpfx)tst-audit6): Likewise.
18713 ($(objpfx)tst-audit6.out): Likewise.
18714 ($(objpfx)tst-audit7): Likewise.
18715 ($(objpfx)tst-audit7.out): Likewise.
18716 (tst-audit3-ENV): Remove variable.
18717 (tst-audit4-ENV): Likewise.
18718 (tst-audit5-ENV): Likewise.
18719 (tst-audit6-ENV): Likewise.
18720 (tst-audit7-ENV): Likewise.
18721 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18722 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18723 addition to variable.
18724 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18725 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18726 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18727 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18728 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18729 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18730 tst-audit3, tst-audit4 and tst-audit5.
18731 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18732 tst-audit6 and tst-audit7.
18733 [$(subdir) = elf] (modules-names): Add audit modules for those
18734 tests.
18735 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18736 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18737 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18738 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18739 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18740 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18741 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18742 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18743 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18744 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18745 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18746 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18747 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18748 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18749 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18750 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18751 Likewise.
18752 [$(subdir) = elf && $(config-cflags-avx) = yes]
18753 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18754 [$(subdir) = elf && $(config-cflags-avx) = yes]
18755 (CFLAGS-tst-auditmod4a.c): Likewise.
18756 [$(subdir) = elf && $(config-cflags-avx) = yes]
18757 (CFLAGS-tst-auditmod4b.c): Likewise.
18758 [$(subdir) = elf && $(config-cflags-avx) = yes]
18759 (CFLAGS-tst-auditmod6b.c): Likewise.
18760 [$(subdir) = elf && $(config-cflags-avx) = yes]
18761 (CFLAGS-tst-auditmod6c.c): Likewise.
18762 [$(subdir) = elf && $(config-cflags-avx) = yes]
18763 (CFLAGS-tst-auditmod7b.c): Likewise.
18764 * elf/tst-audit3.c: Move to ...
18765 * sysdeps/x86_64/tst-audit3.c: ... here.
18766 * elf/tst-audit4.c: Move to ...
18767 * sysdeps/x86_64/tst-audit4.c: ... here.
18768 * elf/tst-audit5.c: Move to ...
18769 * sysdeps/x86_64/tst-audit5.c: ... here.
18770 * elf/tst-audit6.c: Move to ...
18771 * sysdeps/x86_64/tst-audit6.c: ... here.
18772 * elf/tst-audit7.c: Move to ...
18773 * sysdeps/x86_64/tst-audit7.c: ... here.
18774 * elf/tst-auditmod3a.c: Move to ...
18775 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18776 * elf/tst-auditmod3b.c: Move to ...
18777 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18778 * elf/tst-auditmod4a.c: Move to ...
18779 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18780 * elf/tst-auditmod4b.c: Move to ...
18781 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18782 * elf/tst-auditmod5a.c: Move to ...
18783 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18784 * elf/tst-auditmod5b.c: Move to ...
18785 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18786 * elf/tst-auditmod6a.c: Move to ...
18787 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18788 * elf/tst-auditmod6b.c: Move to ...
18789 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18790 * elf/tst-auditmod6c.c: Move to ...
18791 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18792 * elf/tst-auditmod7a.c: Move to ...
18793 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18794 * elf/tst-auditmod7b.c: Move to ...
18795 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18796
1ef74943
PP
187972013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18798
18799 [BZ #15366]
18800 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18801 define unconditionally.
18802 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18803 define unconditionally.
18804 (INT8_C, INT16_C, etc.): Likewise.
18805
93fd48c5
MR
188062013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18807
ae9552cf
MR
18808 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18809 __ehdr_start with hidden visibility.
18810
93fd48c5
MR
18811 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18812
418601aa
CD
188132013-04-24 Carlos O'Donell <carlos@redhat.com>
18814
18815 * math/libm-test.inc (cos_test): Use accurate hex constants.
18816 (sincost_test): Likewise.
18817
2f38fbfe
JM
188182013-04-24 Joseph Myers <joseph@codesourcery.com>
18819
5e221800
JM
18820 * math/libm-test.inc (catan_test): Add more tests.
18821 (catanh_test): Likewise.
18822
77f143fd
JM
18823 * math/s_catanf.c (__catanf): Use suffixed floating-point
18824 constants.
18825 * math/s_catanhf.c (__catanhf): Likewise.
18826 * math/s_catanhl.c (__catanhl): Likewise.
18827 * math/s_catanl.c (__catanl): Likewise.
18828
2f38fbfe
JM
18829 [BZ #15394]
18830 * math/s_catan.c (__catan): Calculate imaginary part of result
18831 with log1p not log unless computing log of number close to 0.
18832 * math/s_catanf.c (__catanf): Likewise.
18833 * math/s_catanl.c (__catanl): Likewise.
18834 * math/s_catanh.c (__catanh): Calculate real part of result with
18835 log1p not log unless computing log of number close to 0.
18836 * math/s_catanhf.c (__catanhf): Likewise.
18837 * math/s_catanhl.c (__catanhl): Likewise.
18838 * math/libm-test.inc (catan_test): Add more tests.
18839 (catanh_test): Likewise.
18840 * sysdeps/i386/fpu/libm-test-ulps: Update.
18841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18842
45d69176
SP
188432013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18844
18845 * benchtests/Makefile: Mention files in which fast and slow
18846 paths of math functions are implemented.
18847
87f51853
RM
188482013-04-23 Roland McGrath <roland@hack.frob.com>
18849
18850 * sysdeps/posix/timespec_get.c: New file.
18851
3c026539
AZ
188522013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18853
18854 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18855 POWER.
18856 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18857 for POWER.
18858 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18859 powerpc/power5/fpu folders.
18860 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18861 * benchtests/Makefile: Add modf testcase.
18862 * benchtests/bench-modf.c: New file: Benchmark test for mo
18863
ff491d14
SP
188642013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18865
18866 [BZ #14888]
18867 * time/Makefile (tests): Add tst-strptime-whitespace.
18868 * time/strptime_l.c (get_number): Use ISSPACE.
18869 (__strptime_internal): Likewise.
18870 * time/tst-strptime-whitespace.c: New test case.
18871
7ed3f4e8
AS
188722013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18873
18874 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18875 member.
18876 (_nss_files_init): Set it here.
18877
5c95f7b6
HC
188782013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18879
18880 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18881 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18882 unsigned.
18883
d34c9158
JBG
188842013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18885
18886 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18887
2169712d
SP
188882013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18889
18890 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18891 size just once.
18892
29c5de99
DM
188932013-04-21 David S. Miller <davem@davemloft.net>
18894
18895 * po/ru.po: Update Russion translation from translation project.
18896
ccdad15d
AC
188972013-04-17 Adam Conrad <adconrad@0c3.net>
18898
18899 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18900 and setfsgid.
18901
0f122b8d
CD
189022013-04-17 Carlos O'Donell <carlos@redhat.com>
18903
5c5b07da 18904 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 18905 * configure: Regenerate.
5c5b07da 18906 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
18907 Add example to error message.
18908 * sysdeps/i386/configure: Regenerate.
18909
037714dd
SP
189102013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18911
18912 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18913 slowtan.
18914 * benchtests/cos-inputs: New file.
18915 * benchtests/slowcos-inputs: New file.
18916 * benchtests/slowcos.c: New file.
18917 * benchtests/slowtan-inputs: New file.
18918 * benchtests/slowtan.c: New file.
18919 * benchtests/tan-inputs: New file.
18920
e913141d
RM
189212013-04-16 Roland McGrath <roland@hack.frob.com>
18922
18923 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18924 considered kosher.
18925
a2964074
SP
189262013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18927
4856bcd2
SP
18928 * benchtests/Makefile: Include cppflags-iterator.mk to add
18929 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18930
a2964074
SP
18931 * Makefile.in (bench-clean): New target.
18932 * benchtests/Makefile (bench-clean): Likewise.
18933
9fbf9aca
DH
189342013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18935
18936 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18937
207d1e2a
TS
189382013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18939
18940 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18941
306dfba9
AS
189422013-04-15 Andreas Schwab <schwab@suse.de>
18943
18944 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18945 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18946 * nscd/pwdcache.c (cache_addpw): Likewise.
18947 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18948 more than recsize.
18949
206a6699
SP
189502013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18951
18952 * benchtests/Makefile (bench): Write all output to
18953 bench-out.tmp together.
18954
0582f6b3
AS
189552013-04-15 Andreas Schwab <schwab@suse.de>
18956
18957 * nscd/nscd.c (main): Don't fork again after closing files.
18958
acb4325f
SP
189592013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18960
5cb26d0a
SP
18961 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18962
acb4325f
SP
18963 * benchtests/Rules (bench-deps): Collect dependencies into a
18964 single variable. Add Makefile to dependencies.
18965 ($(objpfx)bench-%.c): Depend on bench-deps.
18966
47792506
RM
189672013-04-12 Roland McGrath <roland@hack.frob.com>
18968 Xavier Roche <roche+kml2@exalead.com>
18969
18970 [BZ #15361]
18971 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18972 just that it's a file descriptor.
18973 * manual/llio.texi (Synchronizing AIO Operations): Update description
18974 for EBADF error from aio_fsync.
18975
8fc1bee5
SP
189762013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18977
18978 * Rules (bench): Move target definition...
18979 * benchtests/Makefile: ... here.
18980
aba5e333
CD
189812013-04-11 Carlos O'Donell <carlos@redhat.com>
18982
18983 * math/libm-test.inc (cos_test): Fix PI/2 test.
18984 (sincos_test): Likewise.
18985 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18986 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18987
273cdee8
AS
189882013-04-11 Andreas Schwab <schwab@suse.de>
18989
6ecec3b6
AS
18990 [BZ #13988]
18991 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18992 accept exponent character only when digits were seen.
18993 * stdio-common/Makefile (tests): Add bug26.
18994 * stdio-common/bug26.c: New file.
18995
273cdee8
AS
18996 [BZ #14293]
18997 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18998 non-freeable.
18999
8da491f5
SP
190002013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19001
01dc6df9
SP
19002 * Makeconfig (rtld-prefix): Define built linker prefix.
19003 * Rules (run-bench): Use it.
19004 * math/Makefile (run-regen-ulps): Likewise.
19005
8da491f5
SP
19006 * Rules (bench): Remove eval.
19007
abe7f530
SP
190082013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19009 Roland McGrath <roland@hack.frob.com>
19010 Ondrej Bilka <neleai@seznam.cz>
19011
19012 [BZ #15346]
19013 * time/getdate.c: Include ctype.h and alloca.h.
19014 (__getdate_r): Trim leading and trailing spaces of input.
19015 * time/tst-getdate.c (tests): Add tests with leading and
19016 trailing spaces.
19017
61c23e62
RM
190182013-04-08 Roland McGrath <roland@hack.frob.com>
19019
19020 [BZ #14280]
19021 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19022 when computing value.
19023
7208a313
CD
190242013-04-06 Carlos O'Donell <carlos@redhat.com>
19025
085b2d41
CD
19026 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19027 Use testrun.sh to run libm tests.
19028
7208a313
CD
19029 [BZ #15309]
19030 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19031
872c0acd
MM
190322013-04-06 Marko Myllynen <myllynen@redhat.com>
19033
19034 [BZ #15264]
19035 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19036
26510bdd
CD
190372013-04-06 Carlos O'Donell <carlos@redhat.com>
19038
19039 * Makefile.in (regen-ulps): New target.
19040 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19041 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19042 [ifneq (no,$(PERL)] (regen-ulps): New target.
19043 [ifeq (no,$(PERL)] (regen-ulps): New target.
19044 * math/libm-test.inc (ulps_file_name): Define.
19045 (output_dir): New variable.
19046 (options): Add "output-dir" option.
19047 (parse_opt): Handle 'o' case.
19048 (main): If output_dir is non-NULL use it as a prefix
19049 otherwise use "".
19050 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19051
a01f19c8
CD
190522013-04-06 Carlos O'Donell <carlos@redhat.com>
19053
19054 [BZ #10060, #10062]
19055 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19056 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19057 fail configure if __sync_val_compare_and_swap is not inlined.
19058 * sysdeps/i386/configure: Regenerate.
19059 * configure.in: Build for i686 when configured for i386.
19060 * configure: Regenerate.
19061 * README: Remove i386 reference.
19062
b7a329a5
CD
190632013-04-06 Carlos O'Donell <carlos@redhat.com>
19064
19065 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19066 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19067
bf0f50df
TS
190682013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19069
ee091edf
TS
19070 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19071 (lmsnanval): New variables.
19072 (F): Add conversion tests.
19073 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19074 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19075
a8b792d6
TS
19076 * stdio-common/tstdiomisc.c (F): Properly collect individual
19077 tests' results.
19078
a1cbf437
TS
19079 [BZ #14686, #15336]
19080 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19081 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19082 Instead, use input NaN values or generate a qNaN by arithmetic
19083 operation. Also fix bugs to comply with the standard.
19084 * math/libm-test.inc (remainder_test): Add more tests.
19085
8b43a0c9
TS
19086 [BZ #15335, #15342]
19087 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19088 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19089 input NaN values or generate a qNaN by arithmetic operation.
19090
d91da4ce
TS
19091 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19092 unreachable code.
19093
bf0f50df
TS
19094 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19095 definitions.
19096
05e166c8
JM
190972013-04-03 Joseph Myers <joseph@codesourcery.com>
19098
19099 [BZ #14478]
19100 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19101 underflowed result.
19102 * math/s_cexpf.c (__cexpf): Likewise.
19103 * math/s_cexpl.c (__cexpl): Likewise.
19104 * math/libm-test.inc (cexp_test): Add more tests.
19105
1cef1b19
AS
191062013-04-03 Andreas Schwab <schwab@suse.de>
19107
19108 [BZ #15330]
19109 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19110 order arrays from heap if bigger than alloca cutoff.
19111
74d87055
TS
191122013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19113
19114 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19115 (SNAN_TESTS_double): Refer to GCC PR56831.
19116 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19117 GCC PR56828.
19118
d755bba4
SP
191192013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19120
90d5d5bb
SP
19121 * Rules (bench): Move bench.out after the run is complete.
19122
73e0cd5d
SP
19123 * Rules (bench): Echo currently running benchmark.
19124
64aabd4b
SP
19125 * benchtests/Makefile (bench): Add atan and slowatan.
19126 * benchtests/atan-inputs: New file.
19127 * benchtests/slowatan-inputs: New file.
19128 * benchtests/slowatan.c: New file.
19129
c871eccd
SP
19130 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19131 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19132 its value.
19133
d755bba4
SP
19134 [BZ #15305]
19135 * sysdeps/unix/sysv/linux/kernel-features.h
19136 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19137 __ASSUME_XFS_RESTRICTED_CHOWN.
19138 * sysdeps/unix/sysv/linux/pathconf.c
19139 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19140 Save and restore errno.
19141
52ce4860
JM
191422013-04-02 Joseph Myers <joseph@codesourcery.com>
19143
19144 [BZ #15327]
19145 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19146 arguments using __kernel_casinh.
19147 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19148 arguments using __kernel_casinhf.
19149 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19150 arguments using __kernel_casinhl.
19151 * math/libm-test.inc (cacosh_test): Add more tests.
19152 * sysdeps/i386/fpu/libm-test-ulps: Update.
19153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19154
81f311c2
SP
191552013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19156
e7906a47
SP
19157 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19158 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19159
92e3664b
SP
19160 * bench/Makefile (bench): Add sin and slowsin.
19161 * benchtests/sin-inputs: New file.
19162 * benchtests/slowsin-inputs: New file.
19163 * benchtests/slowsin.c: New file.
19164
81f311c2
SP
19165 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19166 (bench): Add slowexp and slowpow.
19167 (exp-ITER): Increase iterations.
19168 (pow-ITER): Likewise.
19169 * benchtests/exp-inputs: Change input.
19170 * benchtests/pow-inputs: Likewise.
19171 * benchtests/slowexp-inputs: New file.
19172 * benchtests/slowexp.c: New file.
19173 * benchtests/slowpow-inputs: New file.
19174 * benchtests/slowpow.c: New file.
19175
ab0f1aa9
AZ
191762013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19177
19178 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19179 instructions.
19180 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19181 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19182 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19183 * benchtests/Makefile: Add rint benchtest.
19184 * benchtests/rint-inputs: Input for rint benchtest.
19185
57267616
TS
191862013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19187
19188 * Versions.def (libm): Add GLIBC_2.18.
19189 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19190 hidden libm prototypes.
19191 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19192 * math/Makefile (libm-calls): Add s_issignaling.
19193 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19194 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19195 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19196 declaration.
19197 * math/math.h [__USE_GNU] (issignaling): New macro.
19198 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19199 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19200 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19201 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19202 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19203 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19204 * manual/arith.texi (issignaling): New section.
19205 * manual/libm-err-tab.pl (@all_functions): Update comment.
19206 * math/gen-libm-test.pl (parse_args): Apply special handling for
19207 issignaling.
19208 * math/libm-test.inc (print_float, issignaling_test): New
19209 functions.
19210 (check_float_internal): Add issignaling checks.
19211 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19212 default definition.
19213 * sysdeps/powerpc/math-tests.h: New file.
19214 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19215 tests.
19216 * math/test-snan.c (TEST_FUNC): Likewise.
19217
6142896d
DM
192182013-03-30 David S. Miller <davem@davemloft.net>
19219
19220 * po/de.po: Update from translation team.
19221
ccc8cadf
JM
192222013-03-30 Joseph Myers <joseph@codesourcery.com>
19223
19224 [BZ #10357]
19225 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19226 imaginary part less than 1.0 and real part less than 0.5
19227 specially.
19228 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19229 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19230 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19231 (cacos_test): Add more tests.
19232 (casin_test): Likewise.
19233 (casinh_test): Likewise.
19234 * sysdeps/i386/fpu/libm-test-ulps: Update.
19235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19236
0f6a8d4b
SP
192372013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19238
0d1029de
SP
19239 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19240 ONE with its value.
19241
c2d94018
SP
19242 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19243 (__pow_mp): Replace ONE and MONE with their values.
19244 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19245 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19246 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19247 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19248 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19249 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19250
27ec37f1
SP
19251 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19252
a64d7e0e
SP
19253 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19254 (__pow_mp): Replace ZERO and MZERO with their values.
19255 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19256 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19257 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19258 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19259 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19260 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19261 (__sqr): Likewise.
19262
d26dd3eb
SP
19263 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19264
0f6a8d4b
SP
19265 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19266
e57b0c61
RM
192672013-03-28 Roland McGrath <roland@hack.frob.com>
19268
19269 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19270 Declare with __attribute__ ((weak)).
19271 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19272 Call __call_tls_dtors only if it's not NULL.
19273
356b3480
RM
192742013-03-28 Roland McGrath <roland@hack.frob.com>
19275
288f7d79
RM
19276 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19277 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19278 magic __ehdr_start linker symbol if it's defined.
19279 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19280 them up here if it was already done.
19281
dc0a0263
RM
19282 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19283 (_dl_aux_init): Use const in cast when setting it.
19284 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19285 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19286 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19287
3d3436ae
RM
19288 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19289 Declare them here.
19290 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19291 * csu/libc-tls.c: Nor here.
19292 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19293
356b3480
RM
19294 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19295 (__libc_message): Never call vsyslog.
19296
b0f1246a
AM
192972013-03-28 Alan Modra <amodra@gmail.com>
19298
19299 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19300 Define as empty.
19301 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19302 Likewise.
19303
fbbe2b9a
AZ
193042013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19305
19306 [BZ #15214]
19307 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19308 underflow.
19309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19310
1728ab37
SP
193112013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19312
7a86be6e
SP
19313 [BZ #15304]
19314 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19315 Don't add gid passed as argument.
19316
1728ab37
SP
19317 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19318
3a7182a1
JM
193192013-03-27 Joseph Myers <joseph@codesourcery.com>
19320
19321 [BZ #15307]
19322 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19323 imaginary part between 1.0 and 1.5 and real part less than 0.5
19324 specially.
19325 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19326 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19327 * math/libm-test.inc (cacos_test): Add more tests.
19328 (casin_test): Likewise.
19329 (casinh_test): Likewise.
19330 * sysdeps/i386/fpu/libm-test-ulps: Update.
19331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19332
6f2e90e7
SP
193332013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19334
5739f705
SP
19335 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19336 constants.
19337 (norm): Likewise.
19338 (denorm): Likewise.
19339 (__dbl_mp): Likewise.
19340 (add_magnitudes): Likewise.
19341 (sub_magnitudes): Likewise.
19342 (__add): Likewise.
19343 (__sub): Likewise.
19344 (__mul): Likewise.
19345 (__sqr): Likewise.
19346 (__inv): Likewise.
19347 (__dvd): Likewise.
19348
e375e83d
SP
19349 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19350 commented code.
19351 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19352 (__dubcos): Likewise.
19353 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19354 (__ieee754_acos): Likewise.
19355 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19356 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19357 (__exp1): Likewise.
19358 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19359 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19360 (log1): Likewise.
19361 (my_log2): Likewise.
19362 (checkint): Likewise.
19363 * sysdeps/ieee754/dbl-64/e_remainder.c
19364 (__ieee754_remainder): Likewise.
19365 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19366 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19367 (bsloww): Likewise.
19368 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19369
6f2e90e7
SP
19370 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19371 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19372 MANTISSA_STORE_T to store computations on mantissa. Use
19373 macros for rounding and division.
19374 (denorm): Likewise.
19375 (__dbl_mp): Likewise.
19376 (add_magnitudes): Likewise.
19377 (sub_magnitudes): Likewise.
19378 (__mul): Likewise.
19379 (__sqr): Likewise.
19380 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19381 powers of two in terms of TWOPOW macro.
19382 (mp_no): Make type of mantissa as MANTISSA_T.
19383 [!RADIXI]: Define RADIXI.
19384 [!TWO52]: Define TWO52.
19385 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19386
fce14d4e
AZ
193872013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19388
19389 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19390 llroundl symbol when building for PPC32.
19391
9ad027fb
MW
193922013-03-24 Mark H Weaver <mhw@netris.org>
19393
19394 * manual/arith.texi (Normalization Functions): Fix prototypes for
19395 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19396
e42a38dd
AZ
193972013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19398
19399 [BZ #13889]
19400 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19401 high value to check if expl overflow.
19402 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19403 to check for underflow and overflow.
19404 * math/libm-test.inc: Add exp test.
19405
2e0fb521
DL
194062013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19407
19408 [BZ #11120]
19409 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19410 with NOT_IN_libc.
19411
b5784d95
AZ
194122013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19413
19414 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19415 symbol.
19416
5aa4a1a1
TS
194172013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19418
bdef0be7
TS
19419 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19420 wrap blocks consisting of several statements.
19421
5aa4a1a1
TS
19422 * sysdeps/generic/math-tests.h: New file.
19423 * sysdeps/i386/fpu/math-tests.h: Likewise.
19424 * math/test-snan.c: Include it.
19425 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19426
98c48fe5
JM
194272013-03-21 Joseph Myers <joseph@codesourcery.com>
19428
19429 [BZ #15285]
19430 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19431 (__ieee754_j0l): Do not improve calculations using cos of twice
19432 input for inputs above LDBL_MAX / 2.0L.
19433 (__ieee754_y0l): Likewise.
19434 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19435 (__ieee754_j1l): Do not improve calculations using cos of twice
19436 input for inputs above LDBL_MAX / 2.0L.
19437 (__ieee754_y1l): Likewise.
19438 * math/libm-test.inc (j0_test): Add another test.
19439 (j1_test): Likewise.
19440 (y0_test): Likewise.
19441 (y1_test): Likewise.
19442 * sysdeps/i386/fpu/libm-test-ulps: Update.
19443
3775a8bc
SP
194442013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19445
19446 * Rules ($(objpfx)bench-%.c): Include code from a C source
19447 file.
19448
0a1b2ae6
JM
194492013-03-21 Joseph Myers <joseph@codesourcery.com>
19450
19451 [BZ #15287]
19452 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19453 imaginary part 1.0 and real part less than 0.5 specially.
19454 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19455 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19456 * math/libm-test.inc (cacos_test): Add more tests.
19457 (casin_test): Likewise.
19458 (casinh_test): Likewise.
19459 * sysdeps/i386/fpu/libm-test-ulps: Update.
19460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19461
b33d4ce4
SP
194622013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19463
19464 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19465 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19466
bef0b507
JM
194672013-03-20 Joseph Myers <joseph@codesourcery.com>
19468
19469 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19470 * config.make.in (config-cflags-sse4): Remove variable.
19471 (config-cflags-avx): Likewise.
19472 (config-cflags-sse2avx): Likewise.
19473 (config-cflags-novzeroupper): Likewise.
19474 (config-asflags-i686): Likewise.
19475 (have-mfma4): Likewise.
19476 (have-as-vis3): Likewise.
19477 (MIG): Likewise.
19478 * configure.in (MIG): Do not AC_SUBST.
19479 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19480 (libc_cv_cc_sse4): Do not AC_SUBST.
19481 (libc_cv_cc_avx): Likewise.
19482 (libc_cv_cc_sse2avx): Likewise.
19483 (libc_cv_cc_novzeroupper): Likewise.
19484 (libc_cv_cc_fma4): Likewise.
19485 (libc_cv_as_i686): Likewise.
19486 (libc_cv_sparc_as_vis3): Likewise.
19487 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19488 LIBC_CONFIG_VAR.
19489 (config-asflags-i686): Likewise.
19490 (config-cflags-avx): Likewise.
19491 (config-cflags-sse2avx): Likewise.
19492 (have-mfma4): Likewise.
19493 (config-cflags-novzeroupper): Likewise.
19494 * sysdeps/mach/configure.in (MIG): Likewise.
19495 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19496 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19497 LIBC_CONFIG_VAR.
19498 (config-cflags-avx): Likewise.
19499 (config-cflags-sse2avx): Likewise.
19500 (have-mfma4): Likewise.
19501 (config-cflags-novzeroupper): Likewise.
19502 * configure: Regenerated.
19503 * sysdeps/i386/configure: Likewise.
19504 * sysdeps/mach/configure: Likewise.
19505 * sysdeps/sparc/configure: Likewise.
19506 * sysdeps/x86_64/configure: Likewise.
19507
912cc4b3
RM
195082013-03-20 Roland McGrath <roland@hack.frob.com>
19509
19510 [BZ #14812]
19511 * locale/programs/localedef.c (options): Put N_ translation marker
19512 on argument names, not just descriptions.
19513
04eed2b0
MS
195142013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19515
19516 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19517
a065ceff
OB
195182013-03-20 Ondřej Bílka <neleai@seznam.cz>
19519
9bb2a810 19520 [BZ #14176]
a065ceff
OB
19521 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19522
a600e5ce
RM
195232013-03-19 Roland McGrath <roland@hack.frob.com>
19524
19525 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19526 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19527 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19528 [!BEFORE_ABORT] (before_abort): New function.
19529 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19530 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19531 (writev_for_fatal): New function.
19532 (WRITEV_FOR_FATAL): New macro; call that.
19533 (backtrace_and_maps): New function.
19534 (BEFORE_ABORT): New macro; call that.
19535 (struct str_list): Type removed.
19536 (__libc_message, __libc_fatal): Functions removed.
19537 Include <sysdeps/posix/libc_fatal.c> instead.
19538
6b18bea6
JM
195392013-03-19 Joseph Myers <joseph@codesourcery.com>
19540
19541 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19542 constants.
19543 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19544 double constants.
19545
aaa8cb4b
AS
195462013-03-19 Andreas Schwab <schwab@suse.de>
19547
44673770
AS
19548 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19549 * sysdeps/gnu/configure: Regenerate.
19550
aaa8cb4b
AS
19551 * configure.in: Substitute libc_cv_rtlddir.
19552 * configure: Regenerate.
19553 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19554 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19555 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19556 * elf/Makefile (install-others, CFLAGS-interp.c)
19557 (ldso_install, common-ldd-rewrite): Likewise.
19558 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19559 $(inst_slibdir)/$(rtld-installed-name).
19560 * scripts/rellns-sh: Add -p option.
19561 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19562 for source.
19563
d3cfc668
SP
195642013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19565
19566 * manual/nptl.texi: Renamed to ...
19567 * manual/threads.texi: ... this.
19568 * manual/Makefile (chapters): Update.
19569
0e2b9cdd
RM
195702013-03-18 Roland McGrath <roland@hack.frob.com>
19571
19572 [BZ #14812]
19573 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19574 on argument names, not just descriptions.
0e2b9cdd
RM
19575 * malloc/memusagestat.c (options): Likewise.
19576 * nss/getent.c (options): Likewise.
63270c24
RM
19577
195782013-03-18 Benno Schulenberg <bensberg@justemail.net>
19579
19580 [BZ #14812]
19581 * iconv/iconv_prog.c (options): Put N_ translation marker
19582 on argument names, not just descriptions.
19583 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 19584
b2e1393c
OB
195852013-03-18 Ondrej Bilka <neleai@seznam.cz>
19586
19587 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19588 implementation which is faster on all x86_64 architectures.
19589 Tested on AMD, Intel Nehalem, SNB, IVB.
19590 * sysdeps/x86_64/strnlen.S: Likewise.
19591
19592 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19593 Remove all multiarch strlen and strnlen versions.
19594 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19595 Remove strlen and strnlen related parts.
19596
19597 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19598 Inline strlen part.
19599 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19600
19601 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19602 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19603 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19604 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19605 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19606 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19607
ec4ff04d
CD
196082013-03-17 Carlos O'Donell <carlos@redhat.com>
19609
19610 * manual/memory.texi (Malloc Tunable Parameters):
19611 Sort parameters alphabetically. Add comments for missing entries.
19612
cd18e90a
DM
196132013-03-17 David S. Miller <davem@davemloft.net>
19614
19615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19616
2a185d32
JM
196172013-03-16 Joseph Myers <joseph@codesourcery.com>
19618
d2f9799e
JM
19619 [BZ #15283]
19620 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19621 for arguments at most half maximum finite value.
19622 * math/libm-test.inc (j0_test): Add more tests.
19623 (j1_test): Likewise.
19624 (y0_test): Likewise.
19625 (y1_test): Likewise.
19626 * sysdeps/i386/fpu/libm-test-ulps: Update.
19627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19628
2a185d32
JM
19629 [BZ #14155]
19630 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19631 1 / x and functions P and Q for arguments above 0x1p256L.
19632 (__ieee754_y0l): Likewise.
19633 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19634 (__ieee754_y1l): Likewise.
19635 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19636 (j1_test): Likewise.
19637 (y0_test): Likewise.
19638 (y1_test): Likewise.
19639
6cbec759
TS
196402013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19641
19642 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19643 variable.
19644
bc16e260
RM
196452013-03-15 Roland McGrath <roland@hack.frob.com>
19646
aefc9b8c
RM
19647 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19648 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19649 zero since it's initialized to EXEC_PAGESIZE.
19650
bc16e260
RM
19651 * sysdeps/unix/sysv/linux/ldsodefs.h
19652 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19653 * sysdeps/generic/ldsodefs.h: ... here.
19654
a57da955
TS
196552013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19656
af00a34d
TS
19657 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19658
495ded2c
TS
19659 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19660 math/test-snan.c.
19661 * math/test-snan.c: Renamed from
19662 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19663 * math/Makefile (tests): Add test-snan.
19664 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19665 test-powerpc-snan.
19666
777b0332
TS
19667 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19668 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19669 functions.
19670 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19671 __builtin_nan family of functions.
19672 * math/libm-test.inc (initialize): Initialize qnan_value with
19673 __builtin_nan family of functions.
19674 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19675 Remove variables.
19676 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19677 Remove functions.
19678 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19679 storage class. Initialize qNaN_var and sNaN_var with
19680 __builtin_nan and __builtin_nans families of functions,
19681 respectively.
19682
64d063b8
TS
19683 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19684 (sqrt_test): Remove duplicate test with qNaN input.
19685 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19686 (round_test, signbit_test, significand_test): Note missing +/-Inf
19687 as well as qNaN tests.
19688
67e971f1
TS
19689 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19690 qNaN_var. Fix a few strings, too.
19691 * math/libm-test.inc (nan_value): Rename to qnan_value.
19692 * math/gen-libm-test.pl (%beautify): Adjust to that.
19693 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19694 * math/test-misc.c (main): Likewise.
19695 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19696 to __qnan_bytes, and __qnan_union, respectively.
19697 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19698 Likewise.
19699 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19700 and lqnanval, respectively.
19701 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19702 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19703 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19704 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19705
64487e12
TS
19706 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19707 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19708 doubles.
19709
e015e27b
TS
19710 * math/test-misc.c (main): Fix copy'n'pastos.
19711 * misc/tst-efgcvt.c (special): Likewise.
19712
a57da955
TS
19713 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19714 Remove declarations.
19715
1e380345
SP
197162013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19717
19718 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19719 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19720 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19721 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19722
ef26eece
AZ
197232013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19724
19725 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19726 macro to return vdso values correctly in IFUNC implementations.
19727 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19728 Optimization by using IFUNC.
19729
8cfdb7e0
SP
197302013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19731 Richard Henderson <rth@redhat.com>
19732 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19733
19734 * Makefile.in (bench): New target.
19735 * NEWS: Mention the benchmark framework.
19736 * Rules (bench): Likewise.
19737 (binaries-bench): Generate binaries for functions to
19738 benchmark.
19739 * benchtests/Makefile: New makefile for benchmark tests.
19740 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19741 programs.
19742 * benchtests/exp-inputs: New input file for EXP function.
19743 * benchtests/pow-inputs: New input file for POW function.
19744 * scripts/bench.pl: New script to generate source files for
19745 benchmark programs.
19746
bcda9880
SP
197472013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19748
d22ca8cd
SP
19749 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19750 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19751 computations on mantissa. Use macros for rounding and
19752 division.
19753 (denorm): Likewise.
19754 (__dbl_mp): Likewise.
19755 (add_magnitudes): Likewise.
19756 (sub_magnitudes): Likewise.
19757 (__mul): Likewise.
19758 (__sqr): Likewise.
19759 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19760 powers of two in terms of TWOPOW macro.
19761 (mp_no): Make type of mantissa as MANTISSA_T.
19762 [!RADIXI]: Define RADIXI.
19763 [!TWO52]: Define TWO52.
19764 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19765
bcda9880
SP
19766 * manual/nptl.texi (cindex): Modify threads to pthreads.
19767
06d5adfb
JM
197682013-03-15 Joseph Myers <joseph@codesourcery.com>
19769
19770 * sysdeps/x86_64/preconfigure: Regenerated.
19771
41c7328e
JM
197722013-03-14 Joseph Myers <joseph@codesourcery.com>
19773
19774 [BZ #14155]
19775 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19776 0x1p28 and above.
19777 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19778 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19779 0x1p28 and above.
19780 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19781 * math/libm-test.inc (j0_test): Do not allow one spurious
19782 underflow exception.
19783 (y1_test): Likewise.
19784
e25cfa60
SP
197852013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19786
0409959c
SP
19787 * manual/Makefile (chapters): Add nptl.
19788 * manual/debug.texi (Debugging Support): Add link to Threads
19789 chapter.
19790 * manual/nptl.texi: New file.
19791
e25cfa60
SP
19792 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19793
58a1335e
PB
197942013-03-14 Petr Baudis <pasky@ucw.cz>
19795
19796 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19797 for non-NULL pointer before the memory validity test. Pointed
19798 out by Holger Brunck <holger.brunck@keymile.com>.
19799
9dc7c64f
AS
198002013-03-13 Andreas Schwab <schwab@suse.de>
19801
19802 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19803 instead of .os.
19804
54206aa6
JM
198052013-03-13 Joseph Myers <joseph@codesourcery.com>
19806
19807 * timezone/zic.c: Update from tzcode 2013b.
19808
e98cdb38
CD
198092013-03-12 Carlos O'Donell <carlos@redhat.com>
19810
19811 * manual/install.texi (Configuring and compiling):
19812 Mention i686 and i586.
19813 * INSTALL: Regenerate.
19814
9967e003
RM
198152013-03-12 Roland McGrath <roland@hack.frob.com>
19816
19817 * sysdeps/init_array/elf-init.c: New file.
19818 * csu/elf-init.c
19819 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19820 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19821
19822 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19823 __gmon_start__ as global, but as static with a .preinit_array pointer.
19824 * sysdeps/init_array/gmon-start.c: New file. Use that.
19825 * sysdeps/init_array/crti.S: New file, empty except for comments.
19826 * sysdeps/init_array/crtn.S: Likewise.
19827
e6b5a293 198282013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
19829
19830 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19831 definining bcopy.
80f844c9
OB
19832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19833 Remove Prefer_SSE_for_memop.
19834 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19835 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19836 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
19837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19838 memset-x86-64.
80f844c9 19839 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 19840 Remove bzero, memset ifunc support.
80f844c9
OB
19841 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19842 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19843 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19844 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19845
fb6b0fcb
AS
198462013-03-11 Andreas Schwab <schwab@suse.de>
19847
19848 [BZ #15234]
19849 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19850 by SHLIB_COMPAT.
19851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19852 (GLIBC_2.16): Remove pthread_atfork.
19853
3e6bd4b1
PP
198542013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19855
19856 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19857 (ptestcases.h): Likewise.
19858
222d7f00
RM
198592013-03-08 Roland McGrath <roland@hack.frob.com>
19860
19861 * Makeconfig ($(common-objpfx)config.status): Depend on
19862 sysdeps/*/preconfigure{,.in} too.
19863
1ba4f030
JM
198642013-03-08 Joseph Myers <joseph@codesourcery.com>
19865
a222d91a
JM
19866 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19867 (__free_hook): Use void * instead of __malloc_ptr_t.
19868 (__malloc_hook): Likewise.
19869 (__realloc_hook): Likewise.
19870 (__memalign_hook): Likewise.
19871 (__after_morecore_hook): Likewise.
19872 * malloc/arena.c (save_malloc_hook): Likewise.
19873 (save_free_hook): Likewise.
19874 * malloc/hooks.c (malloc_hook_ini): Likewise.
19875 (realloc_hook_ini): Likewise.
19876 (memalign_hook_ini): Likewise.
19877 * malloc/malloc.c (malloc_hook_ini): Likewise.
19878 (realloc_hook_ini): Likewise.
19879 (memalign_hook_ini): Likewise.
19880 (__free_hook): Likewise.
19881 (__malloc_hook): Likewise.
19882 (__realloc_hook): Likewise.
19883 (__memalign_hook): Likewise.
19884 (__libc_malloc): Likewise.
19885 (__libc_free): Likewise.
19886 (__libc_realloc): Likewise.
19887 (__libc_memalign): Likewise.
19888 (__libc_valloc): Likewise.
19889 (__libc_pvalloc): Likewise.
19890 (__libc_calloc): Likewise.
19891 (__posix_memalign): Likewise.
19892 * malloc/morecore.c (__sbrk): Likewise.
19893 (__default_morecore): Likewise.
19894
5cc45e10
JM
19895 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19896
dd54b864
JM
19897 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19898 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19899 __malloc_ptrdiff_t.
19900
1ba4f030
JM
19901 * malloc/malloc.h (__malloc_size_t): Remove macro.
19902 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19903 __malloc_size_t.
19904 (old_memalign_hook): Likewise.
19905 (old_realloc_hook): Likewise.
19906 (struct hdr): Likewise.
19907 (flood): Likewise.
19908 (mallochook): Likewise.
19909 (memalignhook): Likewise.
19910 (reallochook): Likewise.
19911 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19912 (tr_old_realloc_hook): Likewise.
19913 (tr_old_memalign_hook): Likewise.
19914 (tr_mallochook): Likewise.
19915 (tr_reallochook): Likewise.
19916 (tr_memalignhook): Likewise.
19917
edf66e57
AZ
199182013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19919
19920 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19921 default_ldbl_pack and using as default implementation.
19922 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19923 implementation.
19924 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19925 redundant definition.
19926 (ldbl_insert_mantissa): Likewise.
19927 (ldbl_canonicalize): Likewise.
19928 (ldbl_nearbyint): Likewise.
19929 (ldbl_pack): Rename to ldbl_pack_ppc.
19930 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19931 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19932 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19933
6d9145d8
SP
199342013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19935
19936 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19937 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19938 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19939 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19941 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19942 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19943 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19944
4dd4e157
AJ
199452013-03-07 Andreas Jaeger <aj@suse.de>
19946
19947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19948 bits/mman-linux.h.
19949
adbb8027
SP
199502013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19951
ce544b5b
SP
19952 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19953 Include mpa.h and declare __MPEXP.
19954 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19955 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19956 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19957 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19958 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19959 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19960 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19961
4cc149fd
SP
19962 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19963 (__slowpow): Use long double EXPL and LOGL functions to
19964 compute POW.
19965 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19966 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19967 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19968 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19969 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19970 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19971
e6ebd4a7
SP
19972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19973 intermediate variable to calculate exponent.
19974 (__sqr): Likewise.
19975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19976 Likewise.
19977 (__sqr): Likewise.
19978
82a9811d
SP
19979 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19980 [!NO__SQR]: Define __sqr.
19981 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19982 and NO__SQR. Remove all code except __mul and __sqr. Include
19983 sysdeps/ieee754/dbl-64/mpa.c.
19984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19985
adbb8027
SP
19986 [BZ #12723]
19987 * posix/Makefile (tests): Add tst-pathconf.
19988 * posix/tst-pathconf.c: New test case.
19989 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19990 _PC_PIPE_BUF.
19991 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19992
39120df9
PF
199932013-03-06 Patsy Franklin <pfrankli@redhat.com>
19994
19995 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19996
67525cb8
AJ
199972013-03-06 Andreas Jaeger <aj@suse.de>
19998
664a9ce4
AJ
19999 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20000 definition via __MAP_ANONYMOUS.
20001
8e39047d
AJ
20002 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20003 it's not part of Linux headers.
20004
67525cb8
AJ
20005 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20006 (MAP_HUGE_MASK): Define.
20007
20008 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20009 Define.
20010 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20011 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20012 Define.
20013 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20014 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20015 Define.
20016 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20017 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20018 Define.
20019 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20020
20021 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20022 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20023 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20024 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20025 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20026 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20027
20028 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20029 Handle f2fs.
20030
20031 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20032 Handle f2fs and efivarfs.
20033
20034 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20035 f2fs.
20036
20037 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20038 (EFIVARFS_MAGIC): Add.
20039 (F2FS_LINK_MAX): Add.
20040
e1b42695
PP
200412013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20042
20043 * stdio-common/vfprintf.c: Replace __builtin_expect with
20044 __glibc_unlikely.
20045
2d67d91a
JM
200462013-03-06 Joseph Myers <joseph@codesourcery.com>
20047
20048 [BZ #13550]
20049 * sysdeps/generic/bp-sym.h: Remove file.
20050 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20051 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20052 <bp-sym.h> and <bp-asm.h>.
20053 (__longjmp): Don't use BP_SYM.
20054 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20055 and <bp-asm.h>.
20056 (memcpy): Don't use BP_SYM.
20057 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20058 <bp-sym.h> and <bp-asm.h>.
20059 (memcpy): Don't use BP_SYM.
20060 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20061 <bp-asm.h>.
20062 (memcpy): Don't use BP_SYM.
20063 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20064 <bp-asm.h>.
20065 (memset): Don't use BP_SYM.
20066 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20067 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20068 (__bzero): Don't use BP_SYM.
20069 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20070 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20071 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20072 <bp-sym.h> and <bp-asm.h>.
20073 (memcmp): Don't use BP_SYM. Remove comment about bounded
20074 pointers.
20075 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20076 <bp-sym.h> and <bp-asm.h>.
20077 (memcpy): Don't use BP_SYM.
20078 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20079 <bp-sym.h> and <bp-asm.h>.
20080 (memset): Don't use BP_SYM.
20081 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20082 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20083 (__bzero): Don't use BP_SYM.
20084 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20085 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20086 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20087 <bp-sym.h> and <bp-asm.h>.
20088 (strncmp): Don't use BP_SYM. Remove comment about bounded
20089 pointers.
20090 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20091 <bp-sym.h> and <bp-asm.h>.
20092 (memcpy): Don't use BP_SYM.
20093 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20094 <bp-sym.h> and <bp-asm.h>.
20095 (memset): Don't use BP_SYM.
20096 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20097 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20098 (__bzero): Don't use BP_SYM.
20099 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20100 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20101 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20102 <bp-sym.h> and <bp-asm.h>.
20103 (__memchr): Don't use BP_SYM.
20104 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20105 <bp-sym.h> and <bp-asm.h>.
20106 (memcmp): Don't use BP_SYM. Remove comment about bounded
20107 pointers.
20108 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20109 <bp-sym.h> and <bp-asm.h>.
20110 (memcpy): Don't use BP_SYM.
20111 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20112 <bp-sym.h> and <bp-asm.h>.
20113 (__mempcpy): Don't use BP_SYM.
20114 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20115 <bp-sym.h> and <bp-asm.h>.
20116 (__memrchr): Don't use BP_SYM.
20117 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20118 <bp-sym.h> and <bp-asm.h>.
20119 (memset): Don't use BP_SYM.
20120 (__bzero): Likewise.
20121 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20122 <bp-sym.h> and <bp-asm.h>.
20123 (__rawmemchr): Don't use BP_SYM.
20124 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20125 <bp-sym.h> and <bp-asm.h>.
20126 (__STRCMP): Don't use BP_SYM.
20127 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20128 <bp-sym.h> and <bp-asm.h>.
20129 (strchr): Don't use BP_SYM.
20130 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20131 <bp-sym.h> and <bp-asm.h>.
20132 (__strchrnul): Don't use BP_SYM.
20133 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20134 <bp-sym.h> and <bp-asm.h>.
20135 (strlen): Don't use BP_SYM.
20136 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20137 <bp-sym.h> and <bp-asm.h>.
20138 (strncmp): Don't use BP_SYM. Remove comment about bounded
20139 pointers.
20140 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20141 <bp-sym.h> and <bp-asm.h>.
20142 (__strnlen): Don't use BP_SYM.
20143 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20144 <bp-sym.h> and <bp-asm.h>.
20145 (__GI__setjmp): Don't use BP_SYM.
20146 (_setjmp): Likewise.
20147 (__sigsetjmp): Likewise.
20148 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20149 (L(start_addresses)): Don't use BP_SYM.
20150 (_start): Likewise.
20151 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20152 <bp-asm.h>.
20153 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20154 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20155 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20156 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20157 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20158 <bp-asm.h>.
20159 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20160 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20161 about bounded pointers.
20162 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20163 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20164 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20165 <bp-asm.h>.
20166 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20167 about bounded pointers. Remove GKM FIXME comments.
20168 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20169 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20170 <bp-asm.h>.
20171 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20172 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20173 Remove GKM FIXME comments.
20174 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20175 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20176 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20177 <bp-asm.h>.
20178 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20179 about bounded pointers. Remove GKM FIXME comment.
20180 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20181 and <bp-asm.h>.
20182 (strncmp): Don't use BP_SYM. Remove comment about bounded
20183 pointers.
20184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20185 <bp-sym.h> and <bp-asm.h>.
20186 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20188 <bp-sym.h> and <bp-asm.h>.
20189 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20190 comment.
20191
cdcf361f
PP
201922013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20193
20194 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20195 call free(NULL).
20196
3c4a2b15
DM
201972013-03-05 David S. Miller <davem@davemloft.net>
20198
20199 * po/es.po: Update from translation team.
20200
cdcf361f 202012013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
20202
20203 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20204 <bits/mman-linux.h>.
20205 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20206 is fine.
20207 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20208 <bits/mman-linux.h> to end of file.
20209 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20210 is fine.
20211 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20212 <bits/mman-linux.h> to end of file.
20213 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20214 is fine.
20215 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20216 <bits/mman-linux.h> to end of file.
20217
20218 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20219 (MCL_CURRENT, MCL_FUTURE): Define here.
20220
5f67c04f
AK
202212013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20222
8a4473cc 20223 [BZ #15232]
5f67c04f
AK
20224 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20225 attribute_hidden.
20226 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20227
c3e94a95
AK
202282013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20229
20230 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20231 fourth parameter needed for rt_sigprocmask syscall.
20232 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20233 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20234 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20235 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20236 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20237 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20238
cfb6382a
JM
202392013-03-04 Joseph Myers <joseph@codesourcery.com>
20240
20241 [BZ #13550]
20242 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20243 comment about bounded pointers.
20244 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20245 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20246
539d8e01
AJ
202472013-03-04 Andreas Jaeger <aj@suse.de>
20248
20249 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20250 common definitions.
20251
20252 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20253 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20254 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20255 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20256 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
20257 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20258
2e167a70 202592013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
20260
20261 [BZ #15055]
20262 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20263 __ieee754_sqrl instead of __sqrl.
20264
68508633
JM
202652013-03-01 Joseph Myers <joseph@codesourcery.com>
20266
20267 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20268 * sysdeps/powerpc/fpu_control.h: ... here.
20269 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20270 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20271 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20272 * sysdeps/powerpc/bits/mathinline.h: ... here.
20273
7775448e
RM
202742013-03-01 Roland McGrath <roland@hack.frob.com>
20275
20276 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20277 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20278 to just [NEED_DL_SYSINFO_DSO].
20279 * elf/dl-support.c: Likewise.
20280 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20281 * elf/rtld.c (dl_main): Likewise.
20282 * elf/setup-vdso.h (setup_vdso): Likewise.
20283 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20284 * sysdeps/unix/sysv/linux/dl-sysdep.c
20285 (_dl_discover_osversion): Likewise.
20286
4e9b5995
CD
202872013-03-01 Carlos O'Donell <carlos@redhat.com>
20288
20289 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20290 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20291
e23872c8
SP
202922013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20293
e5c74c63
SP
20294 * NEWS: Mention libm performance improvements and non-x86 PI
20295 futex support.
20296
e23872c8
SP
20297 * csu/libc-start.c (__pthread_initialize_minimal): Change
20298 function arguments.
20299 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20300
b5510883
JM
203012013-02-28 Joseph Myers <joseph@codesourcery.com>
20302
20303 [BZ #13550]
20304 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20305 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20306 <bp-sym.h> and <bp-asm.h>.
20307 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20308 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20309 and <bp-asm.h>.
20310 (memcpy): Don't use BP_SYM.
20311 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20312 <bp-asm.h>.
20313 (__mpn_add_n): Don't use BP_SYM.
20314 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20315 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20316 and <bp-asm.h>.
20317 (__mpn_addmul_1): Don't use BP_SYM.
20318 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20319 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20320 <bp-sym.h>.
20321 (_setjmp): Don't use BP_SYM.
20322 (__novmx_setjmp): Likewise.
20323 (__GI__setjmp): Likewise.
20324 (__vmx_setjmp): Likewise.
20325 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20326 <bp-sym.h>.
20327 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20328 (__bzero): Don't use BP_SYM.
20329 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20330 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20331 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20332 <bp-sym.h> and <bp-asm.h>.
20333 (memcpy): Don't use BP_SYM.
20334 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20335 <bp-sym.h> and <bp-asm.h>.
20336 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20337 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20338 <bp-sym.h> and <bp-asm.h>.
20339 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20340 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20341 <bp-asm.h>.
20342 (__mpn_lshift): Don't use BP_SYM.
20343 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20344 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20345 <bp-asm.h>.
20346 (memset): Don't use BP_SYM.
20347 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20348 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20349 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20350 <bp-asm.h>.
20351 (__mpn_mul_1): Don't use BP_SYM.
20352 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20353 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20354 <bp-sym.h> and <bp-asm.h>.
20355 (memcmp): Don't use BP_SYM.
20356 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20357 <bp-sym.h> and <bp-asm.h>.
20358 (memcpy): Don't use BP_SYM.
20359 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20360 <bp-sym.h> and <bp-asm.h>.
20361 (memset): Don't use BP_SYM.
20362 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20363 <bp-sym.h> and <bp-asm.h>.
20364 (strncmp): Don't use BP_SYM.
20365 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20366 <bp-sym.h> and <bp-asm.h>.
20367 (memcpy): Don't use BP_SYM.
20368 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20369 <bp-sym.h> and <bp-asm.h>.
20370 (memset): Don't use BP_SYM.
20371 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20372 <bp-sym.h> and <bp-asm.h>.
20373 (__memchr): Don't use BP_SYM.
20374 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20375 <bp-sym.h> and <bp-asm.h>.
20376 (memcmp): Don't use BP_SYM.
20377 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20378 <bp-sym.h> and <bp-asm.h>.
20379 (memcpy): Don't use BP_SYM.
20380 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20381 <bp-sym.h> and <bp-asm.h>.
20382 (__mempcpy): Don't use BP_SYM.
20383 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20384 <bp-sym.h> and <bp-asm.h>.
20385 (__memrchr): Don't use BP_SYM.
20386 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20387 <bp-sym.h> and <bp-asm.h>.
20388 (memset): Don't use BP_SYM.
20389 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20390 <bp-sym.h> and <bp-asm.h>.
20391 (__rawmemchr): Don't use BP_SYM.
20392 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20393 <bp-sym.h> and <bp-asm.h>.
20394 (__STRCMP): Don't use BP_SYM.
20395 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20396 <bp-sym.h> and <bp-asm.h>.
20397 (strchr): Don't use BP_SYM.
20398 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20399 <bp-sym.h> and <bp-asm.h>.
20400 (__strchrnul): Don't use BP_SYM.
20401 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20402 <bp-sym.h> and <bp-asm.h>.
20403 (strlen): Don't use BP_SYM.
20404 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20405 <bp-sym.h> and <bp-asm.h>.
20406 (strncmp): Don't use BP_SYM.
20407 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20408 <bp-sym.h> and <bp-asm.h>.
20409 (__strnlen): Don't use BP_SYM.
20410 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20411 <bp-asm.h>.
20412 (__mpn_rshift): Don't use BP_SYM.
20413 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20414 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20415 <bp-sym.h> and <bp-asm.h>.
20416 (__sigsetjmp): Don't use BP_SYM.
20417 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20418 (L(start_addresses)): Don't use BP_SYM.
20419 (_start): Likewise.
20420 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20421 <bp-asm.h>.
20422 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20423 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20424 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20425 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20426 <bp-asm.h>.
20427 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20428 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20429 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20430 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20431 <bp-asm.h>.
20432 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20433 comments.
20434 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20435 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20436 <bp-asm.h>.
20437 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20438 FIXME comments.
20439 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20440 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20441 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20442 <bp-asm.h>.
20443 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20444 comment.
20445 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20446 and <bp-asm.h>.
20447 (strncmp): Don't use BP_SYM,
20448 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20449 <bp-asm.h>.
20450 (__mpn_sub_n): Don't use BP_SYM.
20451 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20452 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20453 and <bp-asm.h>.
20454 (__mpn_submul_1): Don't use BP_SYM.
20455 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20457 <bp-sym.h> and <bp-asm.h>.
20458 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20460 <bp-sym.h> and <bp-asm.h>.
20461 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20462 comment.
20463
8d19fe64
SP
204642013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20465
20466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20467 Use ZK to minimize writes to Z.
20468 (sub_magnitudes): Simplify code a bit.
20469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20470 Use ZK to minimize writes to Z.
20471 (sub_magnitudes): Simplify code a bit.
20472
85bd816a
RM
204732013-02-27 Roland McGrath <roland@hack.frob.com>
20474
20475 * csu/gmon-start.c: Add special exception to license text.
20476
b5977bf2
RH
204772013-02-27 Richard Henderson <rth@redhat.com>
20478
20479 * scripts/config.guess: Update from config.git.
20480 * scripts/config.sub: Likewise.
20481
11d6e2f2
SP
204822013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20483
09c14ed2
SP
20484 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20485
a688864e
SP
20486 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20487
6295157a
SP
20488 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20489
b8de2202
SP
20490 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20491
11d6e2f2
SP
20492 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20493
7e80ddb8
RM
204942013-02-26 Roland McGrath <roland@hack.frob.com>
20495
20496 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20497 [$(build-shared = yes].
7e80ddb8 20498
7da6d9ed
SP
204992013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20500
45f05884
SP
20501 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20502 (__mul): Reduce iterations for calculating mantissa.
20503
2236d359
SP
20504 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20505 MPTWO.
20506 (__mpranred): Likewise.
20507
7da6d9ed
SP
20508 [BZ #15160]
20509 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20510 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20511
b7688c42
PE
205122013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20513
20514 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20515 Define __attribute__.
20516
53a5c423
SP
205172013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20518
20519 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20520 unused.
20521 * posix/regex_internal.h (__attribute): Remove.
20522 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20523 (re_string_context_at): Likewise.
20524 (bitset_not): Use __attribute__ and mark function as possibly
20525 unused.
20526 (bitset_merge): Likewise.
20527 (bitset_mask): Likewise.
20528 (re_string_char_size_at): Likewise.
20529 (re_string_wchar_at): Likewise.
20530 (re_string_elem_size_at): Likewise.
20531
60f5a8b5
SP
205322013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20533
2a983a2e
SP
20534 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20535 code.
20536 (cc32): Likewise.
20537
e69804d1
SP
20538 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20539 (__acr): Likewise.
20540 (__cpy): Likewise.
20541 (norm): Likewise.
20542 (denorm): Likewise.
20543 (__dbl_mp): Likewise.
20544 (add_magnitudes): Likewise.
20545 (sub_magnitudes): Likewise.
20546 (__mul): Likewise.
20547 (__inv): Likewise.
20548
2f22a1e8
SP
20549 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20550 style.
20551
8930ddc7
SP
20552 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20553 style.
20554
dc60cb11
SP
20555 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20556 code.
20557
60f5a8b5
SP
20558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20559 up changes with default code.
20560 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20561 Likewise.
20562
b4d1fd33
AM
205632013-02-24 Allan McRae <allan@archlinux.org>
20564
faf6f8bc
AM
20565 * manual/socket.texi (The Internet Namespace): Order menu items
20566 to match that in the file.
20567
b4d1fd33
AM
20568 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20569 node listing of the info page menu.
20570
2366713d
JM
205712013-02-21 Joseph Myers <joseph@codesourcery.com>
20572
20573 [BZ #13550]
20574 * sysdeps/i386/bp-asm.h: Remove file.
20575 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20576 (PARMS): Do not use macros from bp-asm.h.
20577 (S1): Likewise.
20578 (S2): Likewise.
20579 (SIZE): Likewise.
20580 (__mpn_add_n): Do not use BP_SYM
20581 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20582 "bp-asm.h".
20583 (PARMS): Do not use macros from bp-asm.h.
20584 (S1): Likewise.
20585 (SIZE): Likewise.
20586 (__mpn_addmul_1): Do not use BP_SYM
20587 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20588 "bp-asm.h".
20589 (PARMS): Do not use macros from bp-asm.h.
20590 (SIGMSK): Likewise.
20591 (_setjmp): Likewise. Do not use BP_SYM.
20592 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20593 "bp-asm.h".
20594 (PARMS): Do not use macros from bp-asm.h.
20595 (SIGMSK): Likewise.
20596 (setjmp): Likewise. Do not use BP_SYM.
20597 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20598 "bp-asm.h".
20599 (PARMS): Do not use macros from bp-asm.h.
20600 (__frexp): Do not use BP_SYM.
20601 (frexp): Likewise.
20602 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20603 "bp-asm.h".
20604 (PARMS): Do not use macros from bp-asm.h.
20605 (__frexpf): Do not use BP_SYM.
20606 (frexpf): Likewise.
20607 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20608 "bp-asm.h".
20609 (PARMS): Do not use macros from bp-asm.h.
20610 (__frexpl): Do not use BP_SYM.
20611 (frexpl): Likewise.
20612 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20613 "bp-asm.h".
20614 (PARMS): Do not use macros from bp-asm.h.
20615 (__remquo): Do not use BP_SYM.
20616 (remquo): Likewise.
20617 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20618 "bp-asm.h".
20619 (PARMS): Do not use macros from bp-asm.h.
20620 (__remquof): Do not use BP_SYM.
20621 (remquof): Likewise.
20622 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20623 "bp-asm.h".
20624 (PARMS): Do not use macros from bp-asm.h.
20625 (__remquol): Do not use BP_SYM.
20626 (remquol): Likewise.
20627 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20628 "bp-asm.h".
20629 (PARMS): Do not use macros from bp-asm.h.
20630 (DEST): Likewise.
20631 (SRC): Likewise.
20632 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20633 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20634 "bp-asm.h".
20635 (PARMS): Do not use macros from bp-asm.h.
20636 (strlen): Do not use BP_SYM.
20637 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20638 "bp-asm.h".
20639 (PARMS): Do not use macros from bp-asm.h.
20640 (S1): Likewise.
20641 (S2): Likewise.
20642 (SIZE): Likewise.
20643 (__mpn_add_n): Do not use BP_SYM.
20644 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20645 "bp-asm.h".
20646 (PARMS): Do not use macros from bp-asm.h.
20647 (S1): Likewise.
20648 (SIZE): Likewise.
20649 (__mpn_addmul_1): Do not use BP_SYM.
20650 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20651 weak_alias.
20652 (bzero): Likewise.
20653 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20654 "bp-asm.h".
20655 (PARMS): Do not use macros from bp-asm.h.
20656 (S): Likewise.
20657 (SIZE): Likewise.
20658 (__mpn_lshift): Do not use BP_SYM.
20659 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20660 "bp-asm.h".
20661 (PARMS): Do not use macros from bp-asm.h.
20662 (DEST): Likewise.
20663 (SRC): Likewise.
20664 (LEN): Likewise.
20665 (memcpy): Likewise. Do not use BP_SYM.
20666 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20667 libc_hidden_def and weak_alias.
20668 (mempcpy): Do not use BP_SYM in weak_alias.
20669 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20670 "bp-asm.h".
20671 (PARMS): Do not use macros from bp-asm.h.
20672 (DEST): Likewise.
20673 (LEN): Likewise.
20674 [!BZERO_P] (CHR): Likewise.
20675 (memset): Likewise. Do not use BP_SYM.
20676 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20677 "bp-asm.h".
20678 (PARMS): Do not use macros from bp-asm.h.
20679 (S1): Likewise.
20680 (SIZE): Likewise.
20681 (__mpn_mul_1): Do not use BP_SYM.
20682 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20683 "bp-asm.h".
20684 (PARMS): Do not use macros from bp-asm.h.
20685 (S): Likewise.
20686 (SIZE): Likewise.
20687 (__mpn_rshift): Do not use BP_SYM.
20688 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20689 "bp-asm.h".
20690 (PARMS): Do not use macros from bp-asm.h.
20691 (STR): Likewise.
20692 (CHR): Likewise.
20693 (strchr): Likewise. Do not use BP_SYM.
20694 (index): Do not use BP_SYM in weak_alias.
20695 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20696 "bp-asm.h".
20697 (PARMS): Do not use macros from bp-asm.h.
20698 (DEST): Likewise.
20699 (SRC): Likewise.
20700 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20701 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20702 "bp-asm.h".
20703 (PARMS): Do not use macros from bp-asm.h.
20704 (strlen): Do not use BP_SYM.
20705 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20706 "bp-asm.h".
20707 (PARMS): Do not use macros from bp-asm.h.
20708 (S1): Likewise.
20709 (S2): Likewise.
20710 (SIZE): Likewise.
20711 (__mpn_sub_n): Do not use BP_SYM.
20712 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20713 "bp-asm.h".
20714 (PARMS): Do not use macros from bp-asm.h.
20715 (S1): Likewise.
20716 (SIZE): Likewise.
20717 (__mpn_submul_1): Do not use BP_SYM.
20718 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20719 "bp-asm.h".
20720 (PARMS): Do not use macros from bp-asm.h.
20721 (S1): Likewise.
20722 (S2): Likewise.
20723 (SIZE): Likewise.
20724 (__mpn_add_n): Do not use BP_SYM.
20725 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20726 weak_alias.
20727 (bzero): Likewise.
20728 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20729 "bp-asm.h".
20730 (PARMS): Do not use macros from bp-asm.h.
20731 (BLK2): Likewise.
20732 (LEN): Likewise.
20733 (memcmp): Do not use BP_SYM.
20734 (bcmp): Do not use BP_SYM in weak_alias.
20735 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20736 "bp-asm.h".
20737 (PARMS): Do not use macros from bp-asm.h.
20738 (DEST): Likewise.
20739 (SRC): Likewise.
20740 (LEN): Likewise.
20741 (memcpy): Likewise. Do not use BP_SYM.
20742 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20743 "bp-asm.h".
20744 (PARMS): Do not use macros from bp-asm.h.
20745 (DEST): Likewise.
20746 (SRC): Likewise.
20747 (LEN): Likewise.
20748 (memmove): Likewise. Do not use BP_SYM.
20749 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20750 "bp-asm.h".
20751 (PARMS): Do not use macros from bp-asm.h.
20752 (DEST): Likewise.
20753 (SRC): Likewise.
20754 (LEN): Likewise.
20755 (__mempcpy): Likewise. Do not use BP_SYM.
20756 (mempcpy): Do not use BP_SYM in weak_alias.
20757 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20758 "bp-asm.h".
20759 (PARMS): Do not use macros from bp-asm.h.
20760 (DEST): Likewise.
20761 (LEN): Likewise.
20762 [!BZERO_P] (CHR): Likewise.
20763 (memset): Likewise. Do not use BP_SYM.
20764 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20765 "bp-asm.h".
20766 (PARMS): Do not use macros from bp-asm.h.
20767 (STR2): Likewise.
20768 (strcmp): Do not use BP_SYM.
20769 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20770 "bp-asm.h".
20771 (PARMS): Do not use macros from bp-asm.h.
20772 (STR): Likewise.
20773 (DELIM): Likewise.
20774 [USE_AS_STRTOK_R] (SAVE): Likewise.
20775 (FUNCTION): Likewise. Do not use BP_SYM.
20776 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20777 aliases.
20778 (strtok_r): Likewise.
20779 (__GI___strtok_r): Likewise.
20780 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20781 (PARMS): Do not use macros from bp-asm.h.
20782 (S): Likewise.
20783 (SIZE): Likewise.
20784 (__mpn_lshift): Do not use BP_SYM.
20785 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20786 (PARMS): Do not use macros from bp-asm.h.
20787 (STR): Likewise.
20788 (CHR): Likewise.
20789 (__memchr): Do not use BP_SYM.
20790 (memchr): Do not use BP_SYM in weak_alias.
20791 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20792 (PARMS): Do not use macros from bp-asm.h.
20793 (BLK2): Likewise.
20794 (LEN): Likewise.
20795 (memcmp): Do not use BP_SYM.
20796 (bcmp): Do not use BP_SYM in weak_alias.
20797 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20798 (PARMS): Do not use macros from bp-asm.h.
20799 (S1): Likewise.
20800 (SIZE): Likewise.
20801 (__mpn_mul_1): Do not use BP_SYM.
20802 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20803 "bp-asm.h".
20804 (PARMS): Do not use macros from bp-asm.h.
20805 (STR): Likewise.
20806 (CHR): Likewise.
20807 (__rawmemchr): Do not use BP_SYM.
20808 (rawmemchr): Do not use BP_SYM in weak_alias.
20809 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20810 (PARMS): Do not use macros from bp-asm.h.
20811 (S): Likewise.
20812 (SIZE): Likewise.
20813 (__mpn_rshift): Do not use BP_SYM.
20814 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20815 (PARMS): Do not use macros from bp-asm.h.
20816 (SIGMSK): Likewise.
20817 (__sigsetjmp): Likewise. Do not use BP_SYM.
20818 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20819 (_start): Do not use BP_SYM.
20820 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20821 (PARMS): Do not use macros from bp-asm.h.
20822 (DEST): Likewise.
20823 (SRC): Likewise.
20824 (__stpcpy): Likewise. Do not use BP_SYM.
20825 (stpcpy): Do not use BP_SYM in weak_alias.
20826 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20827 "bp-asm.h".
20828 (PARMS): Do not use macros from bp-asm.h.
20829 (DEST): Likewise.
20830 (SRC): Likewise.
20831 (LEN): Likewise.
20832 (__stpncpy): Likewise. Do not use BP_SYM.
20833 (stpncpy): Do not use BP_SYM in weak_alias.
20834 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20835 (PARMS): Do not use macros from bp-asm.h.
20836 (STR): Likewise.
20837 (CHR): Likewise.
20838 (strchr): Likewise. Do not use BP_SYM.
20839 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20840 "bp-asm.h".
20841 (PARMS): Do not use macros from bp-asm.h.
20842 (STR): Likewise.
20843 (CHR): Likewise.
20844 (__strchrnul): Likewise. Do not use BP_SYM.
20845 (strchrnul): Do not use BP_SYM in weak_alias.
20846 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20847 "bp-asm.h".
20848 (PARMS): Do not use macros from bp-asm.h.
20849 (STOP): Likewise.
20850 (strcspn): Do not use BP_SYM.
20851 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20852 "bp-asm.h".
20853 (PARMS): Do not use macros from bp-asm.h.
20854 (STR): Likewise.
20855 (STOP): Likewise.
20856 (strpbrk): Likewise. Do not use BP_SYM.
20857 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20858 "bp-asm.h".
20859 (PARMS): Do not use macros from bp-asm.h.
20860 (STR): Likewise.
20861 (CHR): Likewise.
20862 (strrchr): Likewise. Do not use BP_SYM.
20863 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20864 (PARMS): Do not use macros from bp-asm.h.
20865 (SKIP): Likewise.
20866 (strspn): Do not use BP_SYM.
20867 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20868 (PARMS): Do not use macros from bp-asm.h.
20869 (STR): Likewise.
20870 (DELIM): Likewise.
20871 (SAVE): Likewise.
20872 (FUNCTION): Likewise. Do not use BP_SYM.
20873 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20874 aliases.
20875 (strtok_r): Likewise.
20876 (__GI___strtok_r): Likewise.
20877 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20878 (PARMS): Do not use macros from bp-asm.h.
20879 (S1): Likewise.
20880 (S2): Likewise.
20881 (SIZE): Likewise.
20882 (__mpn_sub_n): Do not use BP_SYM.
20883 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20884 "bp-asm.h".
20885 (PARMS): Do not use macros from bp-asm.h.
20886 (S1): Likewise.
20887 (SIZE): Likewise.
20888 (__mpn_submul_1): Do not use BP_SYM.
20889 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20890 <bp-sym.h>.
20891 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20892 and <bp-asm.h>.
20893 (PARMS): Do not use macros from bp-asm.h.
20894 (FLAGS): Likewise.
20895 (PTID): Likewise.
20896 (TLS): Likewise.
20897 (CTID): Likewise.
20898 (__clone): Do not use BP_SYM.
20899 (clone): Do not use BP_SYM in weak_alias.
20900 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20901 and <bp-asm.h>.
20902 (PARMS): Do not use macros from bp-asm.h.
20903 (LEN): Likewise.
20904 (__mmap64): Do not use BP_SYM.
20905 (mmap64): Do not use BP_SYM in weak_alias.
20906 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20907 <bp-sym.h> and <bp-asm.h>.
20908 (PARMS): Do not use macros from bp-asm.h.
20909 (__posix_fadvise64_l64): Do not use BP_SYM.
20910 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20911 (PARMS): Do not use macros from bp-asm.h.
20912 (NSOPS): Likewise.
20913 (semtimedop): Do not use BP_SYM.
20914 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20915 and <bp-asm.h>.
20916
582a3cff
AM
209172013-02-21 Allan McRae <allan@archlinux.org>
20918
20919 * manual/message.texi (Charset conversion in gettext):
20920 Move @end statement to beginning of line.
20921
bab8a695
SP
209222013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20923
80945231
SP
20924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20925 static.
20926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20927 Likewise.
20928
bab8a695
SP
20929 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20930 (denorm): Likewise.
20931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20933
e21d7aa7
AK
209342013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20935
20936 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20937 tail-call to the resolved function if pltexit isn't needed.
20938
4c7a4263
SP
209392013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20940
20941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20942 or Y being zero as being unlikely.
20943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20944 Likewise.
20945
41f49342
CD
209462013-02-20 Carlos O'Donell <carlos@redhat.com>
20947
20948 * manual/nss.texi (System Databases and Name Service Switch):
20949 Remove frobnicate @pxref.
20950
50022a93
TS
209512013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20952
20953 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20954 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20955
08cbd996
PM
209562013-02-20 Petr Machata <pmachata@redhat.com>
20957
20958 * elf/elf.h (R_ARM_TARGET1): New macro.
20959 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20960 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20961 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20962 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20963 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20964 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20965 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20966 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20967 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20968 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20969 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20970 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20971 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20972 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20973 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20974 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20975 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20976 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20977 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20978 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20979 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20980 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20981 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20982 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20983 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20984 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20985 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20986 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20987 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20988 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20989 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20990 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20991 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20992 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20993 (R_ARM_THM_GOT_BREL12): Likewise.
20994 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20995 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20996 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20997 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20998 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20999 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21000 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21001 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21002 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21003
c7b275d6
TS
210042013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21005
21006 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21007 __attribute_used__ to __attribute__ ((unused)).
21008
20cd7fb3
SP
210092013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21010
21011 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21012 powerpc mpa.c.
21013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21014 comment formatting.
21015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21016
92945b52
JM
210172013-02-19 Joseph Myers <joseph@codesourcery.com>
21018
21019 [BZ #13550]
21020 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21021 Remove macro.
21022 (ENTER): Remove both macro definitions.
21023 (LEAVE): Likewise.
21024 (CHECK_BOUNDS_LOW): Likewise.
21025 (CHECK_BOUNDS_HIGH): Likewise.
21026 (CHECK_BOUNDS_BOTH): Likewise.
21027 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21028 (RETURN_BOUNDED_POINTER): Likewise.
21029 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21030 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21031 (POP_ERRNO_LOCATION_RETURN): Likewise.
21032 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21033 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21034 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21035 macros.
21036 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21037 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21038 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21039 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21040 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21041 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21042 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21043 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21044 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21045 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21046 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21047 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21048 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21049 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21050 removed macros.
21051 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21052 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21053 macros.
21054 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21055 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21056 * sysdeps/i386/i586/memset.S (memset): Likewise.
21057 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21058 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21059 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21060 macros.
21061 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21062 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21063 Change uses of L(2) to L(out).
21064 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21065 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21066 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21067 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21068 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21069 removed macros.
21070 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21071 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21072 macros.
21073 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21074 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21075 (RETURN): Do not use macro LEAVE.
21076 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21077 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21078 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21079 * sysdeps/i386/i686/memset.S (memset): Likewise.
21080 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21081 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21082 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21083 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21084 Likewise.
21085 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21086 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21087 L(1_2) and L(1_3) into L(1).
21088 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21089 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21090 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21091 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21092 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21093 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21094 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21095 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21096 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21097 macros.
21098 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21099 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21100 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21101 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21102 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21103 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21104 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21105 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21106 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21107 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21108 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21109 * sysdeps/i386/strspn.S (strspn): Likewise.
21110 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21111 conditional code.
21112 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21113 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21114 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21115 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21116 L(1_3) into L(1_1).
21117 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21118 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21119 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21120 macros.
21121 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21122
2389741a
JJ
211232013-02-19 Jakub Jelinek <jakub@redhat.com>
21124
21125 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21126 macro.
21127
2016b3cd
SP
211282013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21129
e4f22324
SP
21130 * math/atest-exp.c (exp_mpn): Remove ROUND.
21131 * math/atest-exp2.c (exp_mpn): Likewise.
21132 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21133
2016b3cd
SP
21134 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21135 * stdlib/tst-tls-atexit-lib.c: Likewise.
21136 * stdlib/tst-tls-atexit.c: Likewise.
21137
4be9b544
MF
211382013-02-18 Mike Frysinger <vapier@gentoo.org>
21139
21140 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21141 and __attribute_alloc_size__.
21142
2f62b9ee
MF
211432013-02-18 Mike Frysinger <vapier@gentoo.org>
21144
21145 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21146 __attribute_alloc_size__.
21147 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21148 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21149
6ff444c4
MF
211502013-02-18 Mike Frysinger <vapier@gentoo.org>
21151
21152 * include/programs/xmalloc.h: New file.
21153 * catgets/gencat.c: Include it.
21154 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21155 * elf/pldd.c: Likewise.
21156 * iconv/iconv_charmap.c: Likewise.
21157 * iconv/iconvconfig.c: Likewise.
21158 * iconv/strtab.c: Likewise.
21159 * locale/programs/locale.c: Likewise.
21160 * locale/programs/localedef.h: Likewise.
21161 * locale/programs/simple-hash.c: Likewise.
21162 * nscd/nscd.h: Likewise.
21163 * nss/makedb.c: Likewise.
21164 * sysdeps/generic/ldconfig.h: Likewise.
21165
be179c8a
SP
211662013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21167
ba384f6e
SP
21168 * Versions.def: Add GLIBC_2.18.
21169 * include/link.h (struct link_map): New member l_tls_dtor_count.
21170 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21171 (__call_tls_dtors): Likewise.
21172 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21173 __cxa_thread_atexit_impl.
21174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21175 Likewise.
21176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21177 Likewise.
21178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21179 Likewise.
21180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21181 Likewise.
21182 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21184 Likewise.
21185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21186 Likewise.
21187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21189 Likewise.
21190 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21191 (tests): Add test case tst-tls-atexit.
21192 (modules-names): Add shared library for tst-tls-atexit.
85891aca 21193 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
21194 (GLIBC_PRIVATE): Add __call_tls_dtors.
21195 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21196 for libstdc++.
21197 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21198 * stdlib/tst-tls-atexit.c: New test case.
21199 * stdlib/tst-tls-atexit-lib.c: New test case.
21200
ffaa74cf 21201 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 21202
be179c8a
SP
21203 * elf/Versions (ld): Add _dl_find_dso_for_object.
21204 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21205 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21206 (dl_open_worker): Use _dl_find_dso_for_object.
21207 * elf/dl-sym.c (do_sym): Likewise.
21208 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21209
f78b5caa
AK
212102013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21211
21212 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21213 Syntactic changes only.
21214 (_dl_runtime_profile): Do a tail-call to the resolved function.
21215
29691210
JM
212162013-02-17 Joseph Myers <joseph@codesourcery.com>
21217
21218 [BZ #13550]
21219 * sysdeps/x86_64/bp-asm.h: Remove file.
21220 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21221 <bp-sym.h> and <bp-asm.h>.
21222 (__clone): Do not use BP_SYM.
21223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21224 <bp-sym.h> and <bp-asm.h>.
21225 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21226 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21227 "bp-asm.h".
21228 (_setjmp): Do not use BP_SYM.
21229 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21230 "bp-asm.h".
21231 (setjmp): Do not use BP_SYM.
21232 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21233 libc_hidden_def.
21234 (mempcpy): Do not use BP_SYM in weak_alias.
21235 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21236 "bp-asm.h".
21237 (strchr): Do not use BP_SYM.
21238 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21239 "bp-asm.h".
21240 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21241 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21242 (_start): Do not use BP_SYM.
21243 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21244 "bp-asm.h".
21245 (strcat): Do not use BP_SYM.
21246 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21247 "bp-asm.h".
21248 (STRCMP): Do not use BP_SYM.
21249 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21250 "bp-asm.h".
21251 (STRCPY): Do not use BP_SYM.
21252 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21253 "bp-asm.h".
21254 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21255 "bp-asm.h".
21256 (FUNCTION): Do not use BP_SYM.
21257 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21258 weak_alias.
21259 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21260
f238fd19
AJ
212612013-02-17 Andreas Jaeger <aj@suse.de>
21262
21263 * time/Versions: Sort entries.
21264 * string/Versions: Likewise.
21265 * resolv/Versions: Likewise.
21266 * posix/Versions: Likewise.
21267 * iconv/Versions: Likewise.
21268 * elf/Versions: Likewise.
21269 * wcsmbs/Versions: Likewise.
21270
bd07f23c 212712013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 21272
22af19f9
SP
21273 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21274 loop termination condition.
21275
4709fe76
SP
21276 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21277 variable to calculate EZ.
21278 (__sqr): Likewise.
2d0e0f29
SP
21279
21280 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21281 the lower precision input.
21282
daaa7713
JM
212832013-02-15 Joseph Myers <joseph@codesourcery.com>
21284
21285 [BZ #13550]
21286 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21287 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21288 (run-via-rtld-prefix): Do not handle %-bp tests.
21289 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21290 (all-object-suffixes): Remove .ob.
21291 (bppfx): Remove variable.
21292 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21293 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21294 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21295 [$(build-bounded) = yes] (libtype.ob): Likewise.
21296 * Makerules (elide-routines.ob): Remove variable.
21297 (do-tests-clean): Do not handle *-bp.out.
21298 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21299 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21300 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21301 (tests): Do not include $(tests-bp.out).
21302 (xtests): Do not include $(xtests-bp.out).
21303 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21304 [$(build-bounded) = yes] ($(addprefix
21305 $(objpfx),$(binaries-bounded))): Remove rule.
21306 ($(objpfx)%-bp.out): Remove rule.
21307 * config.make.in (build-bounded): Remove variable.
21308 * crypt/Makefile [$(build-bounded) = yes]
21309 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21310 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21311 append to variable.
21312 [$(build-bounded) = yes] (install-lib): Likewise.
21313 [$(build-bounded) = yes] (generated): Likewise.
21314 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21315 Remove rule.
21316 * intl/Makefile [$(build-bounded) = yes]
21317 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21318 * math/Makefile [$(build-bounded) = yes]
21319 ($(tests:%=$(objpfx)%-bp): Likewise.
21320 * misc/Makefile [$(build-bounded) = yes]
21321 ($(objpfx)tst-tsearch-bp): Likewise.
21322 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21323 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21324 Remove dependency.
21325 * string/Makefile (o-objects.ob): Remove variable.
21326 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21327 (CFLAGS-.ob): Remove variable.
21328 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21329 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21330 both definitions of variable.
21331 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21332 (ASFLAGS-.ob): Remove variable.
21333
e97ed6dd
JM
213342013-02-14 Joseph Myers <joseph@codesourcery.com>
21335
2bdd4ca6
JM
21336 [BZ #13550]
21337 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21338 Remove __BOUNDED_POINTERS__ from condition.
21339 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21340 * string/bits/string2.h [!__NO_STRING_INLINES &&
21341 !__BOUNDED_POINTERS__]: Likewise.
21342 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21343 Likewise.
21344 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21345 Remove conditional code.
21346 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21347 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21348 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21349 condition.
21350
e97ed6dd
JM
21351 [BZ #13550]
21352 * csu/libc-start.c: Do not include <bp-sym.h>.
21353 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21354 * elf/dl-open.c: Do not include <bp-sym.h>.
21355 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21356 * math/fegetenv.c: Do not include <bp-sym.h>.
21357 (fegetenv): Do not use BP_SYM in versioned symbols.
21358 * nptl/sysdeps/pthread/bits/libc-lockP.h
21359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21360 <bp-sym.h>.
21361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21362 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21364 (__pthread_mutex_destroy): Likewise.
21365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21366 (__pthread_mutex_lock): Likewise.
21367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21368 (__pthread_mutex_trylock): Likewise.
21369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21370 (__pthread_mutex_unlock): Likewise.
21371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21372 (__pthread_mutexattr_init): Likewise.
21373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21374 (__pthread_mutexattr_destroy): Likewise.
21375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21376 (__pthread_mutexattr_settype): Likewise.
21377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21378 (__pthread_rwlock_init): Likewise.
21379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21380 (__pthread_rwlock_destroy): Likewise.
21381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21382 (__pthread_rwlock_rdlock): Likewise.
21383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21384 (__pthread_rwlock_tryrdlock): Likewise.
21385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21386 (__pthread_rwlock_wrlock): Likewise.
21387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21388 (__pthread_rwlock_trywrlock): Likewise.
21389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21390 (__pthread_rwlock_unlock): Likewise.
21391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21392 (__pthread_key_create): Likewise.
21393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21394 (__pthread_setspecific): Likewise.
21395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21396 (__pthread_getspecific): Likewise.
21397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21398 Likewise.
21399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21400 (_pthread_cleanup_push_defer): Likewise.
21401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21402 (_pthread_cleanup_pop_restore): Likewise.
21403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21404 (pthread_setcancelstate): Likewise.
21405 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21406 <bp-sym.h>.
21407 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21408 (memchr): Do not use BP_SYM in weak_alias.
21409 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21410 (fegetenv): Do not use BP_SYM in versioned symbols.
21411 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21412 (fesetenv): Do not use BP_SYM in versioned symbols.
21413 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21414 (feupdateenv): Do not use BP_SYM in versioned symbols.
21415 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21416 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21417 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21418 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21419 (open64): Do not use BP_SYM in weak_alias.
21420 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21421 (fegetenv): Do not use BP_SYM in versioned symbols.
21422 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21423 (fesetenv): Do not use BP_SYM in versioned symbols.
21424 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21425 (feupdateenv): Do not use BP_SYM in versioned symbols.
21426 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21427 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21428 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21429 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21430 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21431 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21432 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21433 <bp-sym.h>.
21434 (__libc_start_main): Do not use BP_SYM.
21435
d6752ccd
SP
214362013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21437
cb57ce60
SP
21438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21439 redundant return line.
21440 (norm): Likewise.
21441 (denorm): Likewise.
21442 (dbl_mp): Likewise.
21443 (sub_magnitudes): Likewise.
21444 (__add): Likewise.
21445 (__sub): Likewise.
21446 (__mul): Likewise.
21447 (__inv): Likewise.
21448 (__dvd): Likewise.
21449 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21450 (norm): Likewise.
21451 (denorm): Likewise.
21452 (dbl_mp): Likewise.
21453 (sub_magnitudes): Likewise.
21454 (__add): Likewise.
21455 (__sub): Likewise.
21456 (__mul): Likewise.
21457 (__inv): Likewise.
21458 (__dvd): Likewise.
21459
f414520d
SP
21460 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21461 instead of __mul.
21462 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21463 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21464 (cc32): Likewise.
21465
d6752ccd
SP
21466 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21467 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21468 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21469 of __mul for squares.
21470 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21471 function
21472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21473 Likewise.
21474 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21475 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21476
70d9946a
JM
214772013-02-13 Joseph Myers <joseph@codesourcery.com>
21478
21479 [BZ #13550]
21480 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21481 code.
21482 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21483 prototype or function definition. Rename ubp_* variables and
21484 parameters. Remove argv definitions conditional on
21485 [__BOUNDED_POINTERS__].
21486 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21487 * elf/dl-runtime.c (_dl_fixup): Likewise.
21488 * include/set-hooks.h (RUN_HOOK): Likewise.
21489 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21490 definition.
21491 * string/strcpy.c (strcpy): Do not use __unbounded.
21492 * sysdeps/generic/frame.h (struct layout): Likewise.
21493 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21494 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21495 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21496 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21497 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21498 (__backtrace): Likewise.
21499 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21500 use __ptrvalue.
21501 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21502 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21503 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21504 Likewise.
21505 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21506 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21507 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21508 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21509 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21510 Do not use __unbounded.
21511 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21512 Rename __unboundedrlimits parameter to rlimits in prototype.
21513 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21514 Do not use __unbounded.
21515 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21516 not use __ptrvalue.
21517 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21518 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21519 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21520 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21521 __ptrvalue or __unbounded.
21522 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21523 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21524 use __unbounded.
21525 (__new_msgctl): Do not use __ptrvalue.
21526 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21527 __unbounded.
21528 (__libc_msgrcv): Do not use __ptrvalue.
21529 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21530 startup_info): Do not use __unbounded.
21531 (__libc_start_main): Likewise. Rename ubp_* variables and
21532 parameters. Remove argv definitions conditional on
21533 [__BOUNDED_POINTERS__].
21534 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21535 __ptrvalue.
21536 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21537 use __unbounded.
21538 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21539 or __ptrvalue.
21540 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21541 use __unbounded.
21542 (__new_shmctl): Do not use __ptrvalue.
21543 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21544 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21545 Likewise.
21546 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21547 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21548 (__libc_sigaction): Likewise.
21549 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21550 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21551 Likewise.
21552 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21553
cc7834d6
OB
215542013-02-13 Ondřej Bílka <neleai@seznam.cz>
21555
ffb1ec7b 21556 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
21557
21558 * string/mempcpy.c: Implement by calling memcpy.
21559
bdf02814
SP
215602013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21561
c2af38aa
SP
21562 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21563
4e92d59e
SP
21564 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21565 evaluation.
21566
909279a5
SP
21567 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21568 values in the mantissa.
21569
bdf02814
SP
21570 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21571 minimize writes to Z.
21572 (sub_magnitudes): Simplify code a bit.
21573
cd525923
RM
215742013-02-12 Roland McGrath <roland@hack.frob.com>
21575
21576 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21577 from the message. The linker prefixes all warnings with that already.
21578
7e2f0d2d
AS
215792013-02-12 Andreas Schwab <schwab@suse.de>
21580
a445af0b
AS
21581 [BZ #15078]
21582 * posix/regexec.c (extend_buffers): Add parameter min_len.
21583 (check_matching): Pass minimum needed length.
21584 (clean_state_log_if_needed): Likewise.
21585 (get_subexp): Likewise.
21586 * posix/Makefile (tests): Add bug-regex34.
21587 (bug-regex34-ENV): Define.
21588 * posix/bug-regex34.c: New file.
21589
7e2f0d2d
AS
21590 [BZ #11561]
21591 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21592 elements compare against the byte sequence of it, not its name.
21593 * posix/Makefile (tests): Add bug-regex35.
21594 (bug-regex35-ENV): Define.
21595 * posix/bug-regex35.c: New file.
21596
a175b684
TV
215972013-02-11 Tom de Vries <tom@codesourcery.com>
21598
21599 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21600 comment.
21601 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21602 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21603 (CHECK_EOL): Add undef.
21604
310998fe 216052013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
21606
21607 * bits/stdlib-bsearch.h: New file.
21608 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 21609 * stdlib/stdlib.h: Likewise.
41eda41d 21610
8ded91fb
RM
216112013-02-11 Roland McGrath <roland@hack.frob.com>
21612
21613 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21614 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21615 declaration.
21616 * manual/search.texi (Array Search Function): Add missing const in
21617 lfind prototype.
21618 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21619 declaration to use rlim_t.
21620 (Basic Scheduling Functions): Remove erroneous const from
21621 sched_getparam prototype. Remove erroneous * from
21622 sched_get_priority_max and sched_get_priority_min prototypes.
21623 (Resource Usage): Fix summary @comment on vtimes to refer to
21624 sys/vtimes.h rather than vtimes.h.
21625 Add missing *s in vtimes prototype.
21626 (Limits on Resources): Fix ulimit prototype to return long int.
21627 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21628 prototypes to use long int rather than double.
21629 (BSD Random): Fix initstate and setstate to use char *, not void *.
21630 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21631 prototype to make second argument 'struct aiocb64 *const[]'.
21632 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21633 (Status of AIO Operations): Remove erroneous const in aio_return and
21634 aio_return64 prototypes.
21635 (Synchronizing I/O): Fix sync prototype to return void.
21636 * manual/startup.texi (Suboptions): Remove an erroneous const in
21637 getsubopt prototype.
21638 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21639 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21640 use size_t rather than int.
21641 (Scanning All Users): Likewise for getpwent_r.
21642 (Setting Groups): Add missing const to setgroups prototype.
21643 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21644 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21645 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21646 'const void *' rather than 'const char *'.
21647 (Host Address Functions): Likewise for inet_ntop.
21648 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21649 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21650 ssize_t for return value.
21651 (Sending Data): Likewise for send, sendto, sendmsg.
21652 (Socket Option Functions): Add a missing const in setsockopt prototype.
21653 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21654 use wchar_t for the argument.
21655 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21656 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21657 take no arguments.
21658 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21659 double/float/long double for second argument.
21660 Fix return types of significand, significandf, significandl.
21661 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21662 argument in fchmod prototype.
21663 (File Owner): Use uid_t and gid_t in fchown prototype.
21664 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21665 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21666 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21667 use 'const struct dirent **' as argument types to CMP function pointer
21668 argument.
21669 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21670 (File Times): Fix summary magic @comment for struct utimbuf and utime
21671 to refer to utime.h, not time.h.
21672 * manual/string.texi (Argz Functions): Add missing const in
21673 argz_extract and argz_next prototypes.
21674 (Finding Tokens in a String): Likewise for basename.
21675 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21676 (Copying and Concatenation): Fix typo in wmemmove prototype.
21677 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21678 (Signal Stack): Remove erroneous const in sigstack prototype.
21679 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21680 prototype.
21681 (Simple Calendar Time): Likewise for stime.
21682 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21683 prototype.
21684 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21685 say sys/sysctl.h instead.
21686 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21687 and vsyslog prototypes.
21688
fe77fe6d
TV
216892013-02-11 Tom de Vries <tom@codesourcery.com>
21690
21691 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21692 Remove.
21693
3a09b620
RM
216942013-02-11 Roland McGrath <roland@hack.frob.com>
21695
21696 * misc/sys/mman.h: Fix typo in mremap comment.
21697
550a0b89
RM
216982013-02-08 Roland McGrath <roland@hack.frob.com>
21699
21700 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21701 the '\0' terminator.
21702
a2da1673
JM
217032013-02-08 Joseph Myers <joseph@codesourcery.com>
21704
21705 [BZ #13550]
21706 * debug/segfault.c: Don't include <bp-checks.h>.
21707 * sysdeps/generic/bp-checks.h: Remove file.
21708 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21709 (__GETDENTS): Don't use CHECK_N.
21710 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21711 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21712 (__getgroups): Don't use CHECK_N.
21713 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21714 (setgroups): Don't use CHECK_N.
21715 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21716 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21717 (__libc_msgrcv): Don't use CHECK_N.
21718 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21719 (__libc_msgsnd): Don't use CHECK_N.
21720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21721 <bp-checks.h>.
21722 (__libc_pread): Don't use CHECK_N.
21723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21724 include <bp-checks.h>.
21725 (__libc_pread64): Don't use CHECK_N.
21726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21727 include <bp-checks.h>.
21728 (__libc_pwrite): Don't use CHECK_N.
21729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21730 include <bp-checks.h>.
21731 (__libc_pwrite64): Don't use CHECK_N.
21732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21733 <bp-checks.h>.
21734 (__libc_pread): Don't use CHECK_N.
21735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21736 include <bp-checks.h>.
21737 (__libc_pread64): Don't use CHECK_N.
21738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21739 include <bp-checks.h>.
21740 (__libc_pwrite): Don't use CHECK_N.
21741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21742 include <bp-checks.h>.
21743 (__libc_pwrite64): Don't use CHECK_N.
21744 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21745 (do_pread): Don't use CHECK_N.
21746 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21747 (do_pread64): Don't use CHECK_N.
21748 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21749 (do_pwrite): Don't use CHECK_N.
21750 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21751 (do_pwrite64): Don't use CHECK_N.
21752 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21753 (__libc_readv): Don't use CHECK_N.
21754 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21755 (semop): Don't use CHECK_N.
21756 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21757 <bp-checks.h>.
21758 (semtimedop): Don't use CHECK_N.
21759 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21760 (__libc_pread): Don't use CHECK_N.
21761 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21762 <bp-checks.h>.
21763 (__libc_pread64): Don't use CHECK_N.
21764 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21765 <bp-checks.h>.
21766 (__libc_pwrite): Don't use CHECK_N.
21767 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21768 <bp-checks.h>.
21769 (__libc_pwrite64): Don't use CHECK_N.
21770 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21771 <bp-checks.h>.
21772 (__libc_msgrcv): Don't use CHECK_N.
21773 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21774 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21775 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21776 (__libc_writev): Don't use CHECK_N.
21777
b84660a8
RM
217782013-02-08 Roland McGrath <roland@hack.frob.com>
21779
7f3e75f8
RM
21780 * string/strcpy.c: Removed unused variable.
21781
b84660a8
RM
21782 * Makeconfig (+sysdep-includes): Define with := rather than =.
21783 Use an existing include/ subdir of each sysdeps dir before it.
21784
471514d3
CD
217852013-02-08 Carlos O'Donell <carlos@redhat.com>
21786
21787 * nscd/connection.c (register_traced_file): Comment function.
21788 [HAVE_INOTIFY] (union __inev): Define.
21789 [HAVE_INOTIFY] (inotify_check_files): New function.
21790 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21791 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21792 clear_db_cache.
21793 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21794
b2d3c3be
CD
217952013-02-08 Carlos O'Donell <carlos@redhat.com>
21796
21797 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21798 loaded if not already and that a failure is permanent.
21799
b39949d2
CD
218002013-02-08 Carlos O'Donell <carlos@redhat.com>
21801
ddacd1db 21802 [BZ #15006]
b39949d2
CD
21803 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21804 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21805
b2c9eff4
JM
218062013-02-08 Joseph Myers <joseph@codesourcery.com>
21807
f3aae3f3
JM
21808 [BZ #13550]
21809 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21810 (CHECK_1_NULL_OK): Likewise.
21811 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21812 (__fxstat): Do not use CHECK_1.
21813 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21814 <bp-checks.h>.
21815 (___fxstat64): Do not use CHECK_1.
21816 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21817 <bp-checks.h>.
21818 (__fxstatat): Do not use CHECK_1.
21819 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21820 <bp-checks.h>.
21821 (__fxstatat64): Do not use CHECK_1.
21822 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21823 <bp-checks.h>.
21824 (__fxstat): Do not use CHECK_1.
21825 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21826 <bp-checks.h>.
21827 (__fxstatat): Do not use CHECK_1.
21828 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21829 <bp-checks.h>.
21830 (__getresgid): Do not use CHECK_1.
21831 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21832 <bp-checks.h>.
21833 (__getresuid): Do not use CHECK_1.
21834 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21835 <bp-checks.h>.
21836 (__lxstat): Do not use CHECK_1.
21837 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21838 <bp-checks.h>.
21839 (__old_msgctl): Do not use CHECK_1.
21840 (__new_msgctl): Likewise.
21841 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21842 <bp-checks.h>.
21843 (__new_setrlimit): Do not use CHECK_1.
21844 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21845 <bp-checks.h>.
21846 (__old_shmctl): Do not use CHECK_1.
21847 (__new_shmctl): Likewise.
21848 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21849 <bp-checks.h>.
21850 (__xstat): Do not use CHECK_1.
21851 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21852 (__lxstat): Do not use CHECK_1.
21853 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21854 <bp-checks.h>.
21855 (___lxstat64): Do not use CHECK_1.
21856 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21857 (__old_msgctl): Do not use CHECK_1.
21858 (__new_msgctl): Likewise.
21859 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21860 <bp-checks.h>.
21861 (__gettimeofday): Do not use CHECK_1.
21862 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21863 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21864 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21865 <bp-checks.h>.
21866 (__gettimeofday): Do not use CHECK_1.
21867 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21868 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21869 (__new_shmctl): Do not use CHECK_1.
21870 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21871 <bp-checks.h>.
21872 (do_sigtimedwait): Do not use CHECK_1.
21873 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21874 <bp-checks.h>.
21875 (do_sigwaitinfo): Do not use CHECK_1.
21876 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21877 <bp-checks.h>.
21878 (msgctl): Do not use CHECK_1.
21879 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21880 <bp-checks.h>.
21881 (shmctl): Do not use CHECK_1.
21882 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21883 (ustat): Do not use CHECK_1.
21884 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21885 <bp-checks.h>.
21886 (__fxstat): Do not use CHECK_1.
21887 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21888 <bp-checks.h>.
21889 (__fxstatat): Do not use CHECK_1.
21890 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21891 <bp-checks.h>.
21892 (__lxstat): Do not use CHECK_1.
21893 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21894 <bp-checks.h>.
21895 (__xstat): Do not use CHECK_1.
21896 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21897 (__xstat): Do not use CHECK_1.
21898 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21899 (___xstat64): Do not use CHECK_1.
21900
b2c9eff4
JM
21901 [BZ #13550]
21902 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21903 definitions.
21904 (CHECK_BOUNDS_HIGH): Likewise.
21905 * string/strcpy.c: Do not include <bp-checks.h>.
21906 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21907
f1d70dad
RM
219082013-02-07 Roland McGrath <roland@hack.frob.com>
21909
21910 * nscd/nscd-client.h (__nscd_drop_map_ref):
21911 Add __attribute__ ((unused)).
21912 * nis/nss-nisplus.h (niserr2nss): Likewise.
21913
21914 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21915 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21916
21917 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21918 Remove inline keyword.
21919 * include/rounding-mode.h (round_away): Likewise.
21920 * libio/wfileops.c (adjust_wide_data): Likewise.
21921 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21922 (__m128i_strloadu_tolower): Likewise.
21923 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21924 (__m128i_strloadu_tolower): Likewise.
21925 * time/mktime.c (ydhms_diff): Likewise.
21926 * locale/elem-hash.h (elem_hash): Likewise.
21927 * locale/setlocale.c (setdata): Likewise.
21928 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21929 (re_string_wchar_at): Likewise.
21930 (bitset_not, bitset_merge, bitset_mask): Likewise.
21931 [!(__GNUC__ > 3)] (inline): Remove macro.
21932 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21933 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21934 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21935 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21936 * string/memcmp.c (memcmp_bytes): Likewise.
21937 * locale/programs/locarchive.c (compute_hashval): Likewise.
21938 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21939 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21940 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21941 * nss/getent.c (print_rpc, print_protocols): Likewise.
21942 (print_passwd, print_group, print_aliases): Likewise.
21943 * nis/nss-nisplus.h (niserr2nss): Likewise.
21944 * nscd/connections.c (restart_p): Likewise.
21945 Change return type to bool.
21946
eab55bfb
RM
219472013-02-05 Roland McGrath <roland@hack.frob.com>
21948
7bd642f5
RM
21949 * Makeconfig (all-Depend-files): Add existing
21950 $(sorted-subdirs:=/Depend) files.
21951 (all-subdirs): Remove nss.
21952 * sysdeps/unix/inet/Subdirs: Add it here instead.
21953 * hesiod/Depend: New file.
21954
573c29b2
RM
21955 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21956 instead of calling alloca.
21957
b2e25af0
RM
21958 * io/lseek.c (__lseek): Rename to __libc_lseek.
21959 Define __lseek as an alias.
21960
eab55bfb
RM
21961 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21962
9a0d1941
CD
219632013-02-04 Carlos O'Donell <carlos@redhat.com>
21964
21965 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21966 else clause and remove check for non-standard endianness.
21967
b83bbec4
DM
219682013-02-04 David S. Miller <davem@davemloft.net>
21969
21970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21971
6277fdab
JM
219722013-02-04 Joseph Myers <joseph@codesourcery.com>
21973
21974 [BZ #13550]
21975 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21976 (__ubp_memchr): Remove prototype.
21977 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21978 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21979 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21980 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21981 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21982 Remove alias.
21983 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21984 (__ubp_memchr): Likewise.
21985 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21986 (__ubp_memchr): Likewise.
21987 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21988 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21989 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21990 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21991 CHECK_STRING.
21992 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21993 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21994 (__getcwd): Do not use CHECK_STRING.
21995 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21996 <bp-checks.h>.
21997 (__real_chown): Do not use CHECK_STRING.
21998 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21999 <bp-checks.h>.
22000 (fchownat): Do not use CHECK_STRING.
22001 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22002 CHECK_STRING.
22003 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22004 <bp-checks.h>.
22005 (__lchown): Do not use CHECK_STRING.
22006 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22007 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22008 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22009 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22011 include <bp-checks.h>.
22012 (truncate64): Do not use CHECK_STRING.
22013 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22014 <bp-checks.h>.
22015 (__real_chown): Do not use CHECK_STRING.
22016 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22017 <bp-checks.h>.
22018 (__lchown): Do not use CHECK_STRING.
22019 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22020 <bp-checks.h>.
22021 (__chown): Do not use CHECK_STRING.
22022 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22023 <bp-checks.h>.
22024 (truncate64): Do not use CHECK_STRING.
22025 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22026 Likewise.
22027 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22028 (__xmknod): Do not use CHECK_STRING.
22029 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22030 <bp-checks.h>.
22031 (__xmknodat): Do not use CHECK_STRING.
22032 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22033 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22034
903ae060
AS
220352013-02-04 Andreas Schwab <schwab@suse.de>
22036
22037 [BZ #14142]
22038 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22039 * include/netdb.h: Likewise for h_errno.
22040 * elf/tst-stackguard1.c: Include <tls.h>.
22041
542f9466
JK
220422013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22043
22044 * elf/link.h (struct link_map): Extend the l_addr comment.
22045 * include/link.h (struct link_map): Likewise.
22046
e782a927
JM
220472013-02-01 Joseph Myers <joseph@codesourcery.com>
22048
22049 [BZ #13550]
22050 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22051 (BOUNDED_1): Remove macro.
22052 * debug/backtrace.c: Don't include <bp-checks.h>.
22053 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22054 (__backtrace): Likewise.
22055 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22056 <bp-checks.h>.
22057 (__backtrace): Don't use BOUNDED_1.
22058 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22059 <bp-checks.h>.
22060 (__backtrace): Don't use BOUNDED_1.
22061 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22062 (__backtrace): Don't use BOUNDED_1.
22063 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22064 (shmat): Don't use BOUNDED_N.
22065
8cf28c5e
JM
220662013-01-31 Joseph Myers <joseph@codesourcery.com>
22067
3a7ac8a0
JM
22068 [BZ #13550]
22069 * sysdeps/generic/bp-start.h: Remove file.
22070 * csu/libc-start.c: Don't include <bp-start.h>.
22071 (LIBC_START_MAIN): Set up __environ directly instead of using
22072 INIT_ARGV_and_ENVIRON.
22073 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22074 <bp-start.h>.
22075
f3499f95
JM
22076 [BZ #13550]
22077 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22078 definitions.
22079 (CHECK_FCNTL): Likewise.
22080 (CHECK_N_PAGES): Likewise.
22081
32a45bea
JM
22082 [BZ #13550]
22083 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22084 definitions.
22085 (CHECK_SIGSET_NULL_OK): Likewise.
22086 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22087 <bp-checks.h>.
22088 (sigpending): Don't use CHECK_SIGSET.
22089 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22090 <bp-checks.h>.
22091 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22092 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22093 <bp-checks.h>.
22094 (do_sigsuspend): Don't use CHECK_SIGSET.
22095 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22096 use CHECK_SIGSET.
22097 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22098 (do_sigwait): Don't use CHECK_SIGSET.
22099 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22100 use CHECK_SIGSET.
22101 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22102 include <bp-checks.h>.
22103 (sigpending): Don't use CHECK_SIGSET.
22104 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22105 include <bp-checks.h>.
22106 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22107 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22108 <bp-checks.h>.
22109 (sigpending): Don't use CHECK_SIGSET.
22110 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22111 <bp-checks.h>.
22112 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22113
2e8a5c8c
JM
22114 [BZ #13550]
22115 * sysdeps/generic/bp-semctl.h: Remove file.
22116 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22117 <bp-checks.h> and <bp-semctl.h>.
22118 (__old_semctl): Don't use CHECK_SEMCTL.
22119 (__new_semctl): Likewise.
22120 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22121 and <bp-semctl.h>.
22122 (__old_semctl): Don't use CHECK_SEMCTL.
22123 (__new_semctl): Likewise.
22124 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22125 <bp-checks.h> and <bp-semctl.h>.
22126 (__old_semctl): Don't use CHECK_SEMCTL.
22127 (__new_semctl): Likewise.
22128 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22129 <bp-checks.h> and <bp-semctl.h>.
22130 (semctl): Don't use CHECK_SEMCTL.
22131
c2d54929
JM
22132 [BZ #13550]
22133 * Makerules (elide-bp-thunks): Remove variable.
22134 (elide-routines.oS): Don't use $(elide-bp-thunks).
22135 (elide-routines.os): Likewise.
22136 (elide-routines.o): Likewise.
22137 (elide-routines.op): Likewise.
22138 (elide-routines.og): Likewise.
22139 (objects): Don't use $(bp-thunks).
22140 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22141 include.
22142 (common-generated): Do not add s-proto-bp.d.
22143 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22144 (int): Likewise.
22145 (typ): Likewise.
22146 Do not generate makefile rules for bounded-pointer thunks.
22147 * sysdeps/generic/bp-thunks.h: Remove file.
22148 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22149 * sysdeps/unix/s-proto-bp.S: Likewise.
22150
8cf28c5e
JM
22151 [BZ #15062]
22152 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22153 parts of result separately when argument is not close to line from
22154 -i to i and one part of argument is small.
22155 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22156 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22157 * math/libm-test.inc (cacos_test): Add more tests.
22158 (casin_test): Likewise.
22159 (casinh_test): Likewise.
22160 * sysdeps/i386/fpu/libm-test-ulps: Update.
22161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22162
c4e33b8d
DM
221632013-01-31 David S. Miller <davem@davemloft.net>
22164
22165 * po/de.po: Update from translation team.
22166
3b60b421
MK
221672013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22168
22169 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22170
bb931195
TS
221712013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22172
b5a5da23
TS
22173 * configure.in (_AC_PROG_CC_C89): New definition.
22174 * configure: Regenerate.
22175
bb931195
TS
22176 * configure.in (AC_PROG_CPP): New definition.
22177 * configure: Regenerate.
22178
8c53a12c
JM
221792013-01-23 Joseph Myers <joseph@codesourcery.com>
22180
22181 * debug/tst-backtrace.h: New file.
22182 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22183 (ret): Remove variable.
22184 (x): Likewise.
22185 (FAIL): Remove macro.
22186 (NO_INLINE): Likewise.
22187 (fn1): Use match function instead of strstr.
22188 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22189 (ret): Remove variable.
22190 (x): Likewise.
22191 (FAIL): Remove macro.
22192 (NO_INLINE): Likewise.
22193 (fn): Use match function instead of strstr.
22194 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22195 (ret): Remove variable.
22196 (x): Likewise.
22197 (FAIL): Remove macro.
22198 (NO_INLINE): Likewise.
22199 (handle_signal): Use match function instead of strstr.
22200 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22201 (ret): Remove variable.
22202 (x): Likewise.
22203 (FAIL): Remove macro.
22204 (NO_INLINE): Likewise.
22205 (handle_signal): Use match function instead of strstr.
22206
4858fa2a
RM
222072013-01-23 Roland McGrath <roland@hack.frob.com>
22208
22209 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22210
bae8e7f5
DM
222112013-01-23 David S. Miller <davem@davemloft.net>
22212
22213 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22214 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22215 argument of CAS if possible.
22216 * sysdeps/sparc/sparc64/bits/atomic.h
22217 (__arch_compare_and_exchange_val_32_acq): Likewise.
22218 (__arch_compare_and_exchange_val_64_acq): Likewise.
22219
9cbbc4ae
PT
222202013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22221
22222 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22223 * sysdeps/posix/ulimit.c: ... this.
92a601b8 22224 Include <limits.h>.
67b3f58c 22225 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 22226
5655a0b5
AC
222272013-01-23 Adam Conrad <adconrad@0c3.net>
22228
22229 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22230 (LDFLAGS-tst-array5): Likewise.
22231
052aff95
JM
222322013-01-23 Joseph Myers <joseph@codesourcery.com>
22233
22234 [BZ #15036]
22235 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22236 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22237 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22238 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22239
7c1e01aa
DM
222402013-01-21 David S. Miller <davem@davemloft.net>
22241
22242 * sysdeps/sparc/backtrace.c: New file.
22243 * sysdeps/sparc/sparc32/backtrace.h: New file.
22244 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22245 * sysdeps/sparc/sparc64/backtrace.h: New file.
22246 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22247 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22248 -funwind-tables.
22249
ab087e0a
AS
222502013-01-21 Andreas Schwab <schwab@suse.de>
22251
22252 [BZ #15020]
22253 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22254 closed its stdout.
22255
ed689c2f
AS
222562013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22257
22258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22259 "mpa2.h".
22260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22261
31d470ac
JM
222622013-01-18 Joseph Myers <joseph@codesourcery.com>
22263 Mark Mitchell <mark@codesourcery.com>
22264 Tom de Vries <tom@codesourcery.com>
22265 Paul Pluzhnikov <ppluzhnikov@google.com>
22266
22267 * debug/tst-backtrace2.c: New file.
22268 * debug/tst-backtrace3.c: Likewise.
22269 * debug/tst-backtrace4.c: Likewise.
22270 * debug/tst-backtrace5.c: Likewise.
22271 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22272 (CFLAGS-tst-backtrace3.c): Likewise.
22273 (CFLAGS-tst-backtrace4.c): Likewise.
22274 (CFLAGS-tst-backtrace5.c): Likewise.
22275 (LDFLAGS-tst-backtrace2): Likewise.
22276 (LDFLAGS-tst-backtrace3): Likewise.
22277 (LDFLAGS-tst-backtrace4): Likewise.
22278 (LDFLAGS-tst-backtrace5): Likewise.
22279 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22280 tst-backtrace4 and tst-backtrace5.
22281
90567f30 222822013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
22283 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22284
22285 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22286 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22287 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22288 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22290 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22291 "+r" and remove output regs list as redundant. Add explicit inline
22292 asm to specify register of return val to work around compiler codegen
22293 bug. Remove (int) cast on return value. Add return type parameter to
22294 use in macro so that this macro does not truncate return value for
22295 64-bit values.
22296 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22297 pass to INTERNAL_VSYSCALL_NCS.
22298 (INLINE_VSYSCALL): Add 'long int' as return type to
22299 INTERNAL_VSYSCALL_NCS macro invocation.
22300 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22301 INTERNAL_VSYSCALL_NCS macro invocation.
22302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22303
d3b9ea61
SP
223042013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22305
0b57daeb
SP
22306 [BZ #14496]
22307 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22308 Fix application of SIMD FP exception mask.
22309
caa99d06
SP
22310 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22311 mp_no from a power of two.
22312 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22313 __mpexp_twomm1. Use __pow_mp.
22314
d3b9ea61
SP
22315 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22316 multiplication.
22317
1dbaee3c
DM
223182013-01-17 David S. Miller <davem@davemloft.net>
22319
22320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22321
728d7b43
JM
223222013-01-17 Joseph Myers <joseph@codesourcery.com>
22323
22324 [BZ #15023]
22325 * include/complex.h: Condition contents on [!_COMPLEX_H].
22326 (__kernel_casinhf): New prototype.
22327 (__kernel_casinh): Likewise.
22328 (__kernel_casinhl): Likewise.
22329 * math/Makefile (libm_calls): Add k_casinh.
22330 * math/k_casinh.c: New file.
22331 * math/k_casinhf.c: Likewise.
22332 * math/k_casinhl.c: Likewise.
22333 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22334 finite nonzero arguments.
22335 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22336 finite nonzero arguments.
22337 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22338 finite nonzero arguments.
22339 * math/s_casinh.c: Do not include <float.h>.
22340 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22341 * math/s_casinhf.c: Do not include <float.h>.
22342 (__casinhf): Move code for finite nonzero arguments to
22343 k_casinhf.c.
22344 * math/s_casinhl.c: Do not include <float.h>.
22345 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22346 redefine.
22347 (__casinhl): Move code for finite nonzero arguments to
22348 k_casinhl.c.
22349 * math/libm-test.inc (cacos_test): Add more tests.
22350 * sysdeps/i386/fpu/libm-test-ulps: Update.
22351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22352
2a26ef3a
PT
223532013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22354
22355 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22356 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22357 [!HAVE_MREMAP]: Remove [defined linux] case.
22358 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22359
a897655d
SP
223602013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22361
22362 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22363
881ebe89 223642013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
22365
22366 * elf/elf.h (R_386_SIZE32): New relocation.
22367 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22368 R_386_SIZE32.
22369 (elf_machine_rela): Likewise.
22370 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22371 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22372
59981e9b
JM
223732013-01-17 Joseph Myers <joseph@codesourcery.com>
22374
22375 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22376 (FP_FAST_FMA): Do not define.
22377 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22378 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22379 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22380 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22381 !_SOFT_FLOAT]: Likewise.
22382 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22383 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22384 value.
22385 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22386 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22387 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22388 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22389 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22390 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22391 file.
22392
cfa8054f
AS
223932013-01-16 Andreas Schwab <schwab@suse.de>
22394
22395 [BZ #14327]
22396 * include/stdlib.h (__mktemp): Add declaration.
22397 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22398 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22399
dd930cc5
SP
224002013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22401
881ebe89
SP
22402 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22403 definitions.
22404 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22405 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22406 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22407 definitions here.
22408 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22409 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22410 definitions.
22411 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22412 and ONE.
22413 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22414 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22415 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22416 definitions.
22417 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22418 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22419 definitions.
22420 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 22421
dd930cc5
SP
22422 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22423
c19a9f89
DM
224242013-01-15 David S. Miller <davem@davemloft.net>
22425
1aa61767
DM
22426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22427 trunc{,f} to libm-sysdep_routes.
22428 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22430 file.
22431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22433 file.
22434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22435 file.
22436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22438 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22439 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22440 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22441 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22442 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22443 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22444
c42d5e98
DM
22445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22446 nearbyint{,f} to libm-sysdep_routes.
22447 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22449 New file.
22450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22451 file.
22452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22453 New file.
22454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22455 file.
22456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22458 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22459 file.
22460 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22461 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22462 file.
22463 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22464 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22465 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22466
c19a9f89
DM
22467 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22468 libc_feholdexcept and libc_fesetenv.
22469
357679d2
MF
224702013-01-15 Mike Frysinger <vapier@gentoo.org>
22471
22472 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22473
65a82e3d
DM
224742013-01-14 David S. Miller <davem@davemloft.net>
22475
8b954ab9
DM
22476 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22477 (SPARC_ASM_VIS2_IFUNC): Likewise.
22478 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22480 use of 'siam' instruction.
22481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22482 Likewise.
22483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22484 Likewise.
22485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22486 Likewise.
22487 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22488 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22489 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22490 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22492 file.
22493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22494 file.
22495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22496 file.
22497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22498 file.
22499 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22500 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22501 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22502 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22504 new VIS2 routines.
22505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22508 Likewise.
22509 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22510 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22511 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22512 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22514 routines to libm-sysdep_routines.
22515 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22516
65a82e3d
DM
22517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22518 fdim/fdimf to libm-sysdep_routines.
22519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22520 file.
22521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22523 file.
22524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22527 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22528 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22529 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22530 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22531
e34ab705
SP
225322013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22533
2a91b573
SP
22534 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22535 to optimize copies.
22536
1066a534
SP
22537 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22539 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22540
e34ab705
SP
22541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22542 local variable MPTWO.
22543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22544 Likewise.
22545
aba5e596
MF
225462013-01-13 Mike Frysinger <vapier@gentoo.org>
22547
22548 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22549 GLOB_NOESCAPE.
22550
e557e9e5
MF
225512013-01-13 Mike Frysinger <vapier@gentoo.org>
22552
22553 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22554
0428cec9
MF
225552013-01-13 Mike Frysinger <vapier@gentoo.org>
22556
22557 * manual/pattern.texi (glob_t): Document gl_flags.
22558 (glob64_t): Likewise.
22559
8794a964
DM
225602013-01-11 David S. Miller <davem@davemloft.net>
22561
66438c3f
RM
22562 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22563 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22564 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
22565 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22566 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22567 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22568 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22569 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22570 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22571 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22572 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22573 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22574 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22575
4ae4244d
DM
22576 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22577 sparc V9 rather than using V8 code.
22578 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22579 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22580
8794a964
DM
22581 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22582 Move to...
22583 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22584 Here.
22585
6270516e
RM
225862013-01-11 Roland McGrath <roland@hack.frob.com>
22587
22588 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22589 not in the main loop.
22590 * configure: Regenerated.
22591
6a57d931
JM
225922013-01-11 Joseph Myers <joseph@codesourcery.com>
22593
22594 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22595 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22596 to just #else.
22597 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22598 [!__GLIBC_HAVE_LONG_LONG] case.
22599 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22600 condition to just #else.
22601 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22602 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22603 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22604 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22605 unconditional.
22606 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22607 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22608 #elif condition to just #else.
22609 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22610 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22611 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22612 #elif condition to just #else.
22613
0e8529e9
SE
226142013-01-11 Steve Ellcey <sellcey@mips.com>
22615
22616 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22617 (EF_MIPS_ARCH_64): Fix value.
22618 (EF_MIPS_ARCH_32R2): New.
22619 (EF_MIPS_ARCH_64R2): New.
22620
740b3dbe
L
226212013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22622
22623 * Makeconfig (+link-pie-before-libc): New.
22624 (+link-pie-after-libc): Likewise.
22625 (+link-pie-tests): Likewise.
22626 (+link-pie): Rewritten.
22627 (link-before-libc): Remove $(config-LDFLAGS).
22628 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22629 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22630 (config-LDFLAGS): Renamed to ...
22631 (rtld-LDFLAGS): This.
22632 (rtld-tests-LDFLAGS): New macro.
22633 (link-libc-rpath-link): Likewise.
22634 (link-libc-tests-rpath-link): Likewise.
22635 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22636 (link-libc): Prepand $(link-libc-rpath-link).
22637 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22638 (test-program-prefix): New macro.
22639 (test-via-rtld-prefix): Likewise.
22640 (test-program-cmd): Likewise.
22641 (host-test-program-cmd): Likewise.
22642 * Makefile ($(common-objpfx)testrun.sh): Replace
22643 $(run-program-prefix) with $(test-program-prefix).
22644 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22645 $(rtld-LDFLAGS).
22646 ($(common-objpfx)shlib.lds): Likewise.
22647 (build-module-helper): Likewise.
22648 ($(common-objpfx)format.lds): Likewise.
22649 * Rules (binaries-pie-tests): New.
22650 (binaries-pie-notests): Likewise.
22651 (binaries-pie): Rewritten.
22652 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22653 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22654 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22655 (make-test-out): Replace $(host-built-program-cmd) with
22656 $(host-test-program-cmd).
22657 * config.make.in (build-hardcoded-path-in-tests): New variable.
22658 * configure.in (--enable-hardcoded-path-in-tests): New configure
22659 option.
22660 (hardcoded_path_in_tests): New AC_SUBST.
22661 * configure: Regenerated.
22662 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22663 $(built-program-cmd) with $(test-program-cmd).
22664 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22665 (test_program_cmd): This.
22666 * elf/Makefile ($(objpfx)order.out): Run test with
22667 $(test-program-prefix).
22668 ($(objpfx)order2.out): Likewise.
22669 ($(objpfx)tst-initorder.out): Likewise.
22670 ($(objpfx)tst-initorder2.out): Likewise.
22671 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22672 $(test-program-cmd).
22673 ($(objpfx)tst-array1-static.out): Likewise.
22674 ($(objpfx)tst-array2.out): Likewise.
22675 ($(objpfx)tst-array3.out): Likewise.
22676 ($(objpfx)tst-array4.out): Likewise.
22677 ($(objpfx)tst-array5.out): Likewise.
22678 ($(objpfx)tst-array5-static.out): Likewise.
22679 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22680 $(test-program-cmd).
22681 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22682 $(run-program-prefix) with $(test-program-prefix).
22683 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22684 (test_program_prefix): This.
22685 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22686 $(run-program-prefix) with $(test-program-prefix).
22687 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22688 (test_program_prefix): This.
22689 * iconvdata/tst-tables.sh: Likewise.
22690 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22691 $(run-program-prefix) with $(test-program-prefix).
22692 ($(objpfx)tst-translit.out): Likewise.
22693 ($(objpfx)tst-gettext2.out): Likewise.
22694 ($(objpfx)tst-gettext4.out): Likewise.
22695 ($(objpfx)tst-gettext6.out): Likewise.
22696 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22697 (test_program_prefix): This.
22698 * intl/tst-gettext2.sh: Likewise.
22699 * intl/tst-gettext4.sh Likewise.
22700 * intl/tst-gettext6.sh: Likewise.
22701 * intl/tst-translit.sh: Likewise.
22702 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22703 with $(test-program-cmd).
22704 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22705 $(run-program-prefix) with $(test-program-prefix).
22706 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22707 (test_program_prefix): This.
22708 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22709 $(run-program-prefix) with $(test-program-prefix).
22710 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22711 (test_program_prefix): This.
22712 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22713 * posix/Makefile ($(objpfx)globtest.out): Replace
22714 $(run-via-rtld-prefix) and $(test-wrapper) with
22715 $(test-program-prefix) and $(test-via-rtld-prefix).
22716 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22717 $(test-program-prefix).
22718 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22719 $(host-test-program-cmd).
22720 (tst-spawn-ARGS): Likewise.
22721 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22722 $(test-program-prefix).
22723 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22724 (test_via_rtld_prefix): This.
22725 (test_wrapper): Renamed to ...
22726 (test_program_prefix): This.
22727 (run_program_prefix): Replaced by test_program_prefix.
22728 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22729 (test_program_prefix): This.
22730 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22731 with $(host-test-program-cmd).
22732 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22733 $(run-program-prefix) with $(test-program-prefix).
22734 ($(objpfx)tst-printf.out): Likewise.
22735 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22736 $(test-program-cmd).
22737 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22738 (test_program_prefix): This.
22739 * stdio-common/tst-unbputc.sh: Likewise.
22740 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22741 $(run-program-prefix) with $(test-program-prefix).
22742 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22743 (test_program_prefix): This.
22744 * string/Makefile ($(objpfx)tst-svc.out): Replace
22745 $(built-program-cmd) with $(test-program-cmd).
22746
c6fe55cf
AJ
227472013-01-11 Andreas Jaeger <aj@suse.de>
22748
22749 [BZ #15003]
22750 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22751 value. Sync with Linux 3.7.
22752
9e6919c8
DM
227532013-01-10 David S. Miller <davem@davemloft.net>
22754
22755 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22756 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22757 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22758
1c9f1a02
RM
227592013-01-10 Roland McGrath <roland@hack.frob.com>
22760
22761 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22762 never set.
22763 * configure: Regenerated.
22764
b9de2dde
DM
227652013-01-10 David S. Miller <davem@davemloft.net>
22766
22767 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22768 sparc V9 rather than using V8 code.
22769 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22770 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22771
e7f68ef4
RM
227722013-01-10 Roland McGrath <roland@hack.frob.com>
22773
22774 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22775 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22776 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22777 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22778 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22779 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22780 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22781 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22782 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22783 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22784 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22785 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22786 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22787 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22788 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22789 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22790 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22791 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22792 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22793 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22794 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22795 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22796 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22797 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22798 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22799 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22800 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22801
5a47cc9c
DM
228022013-01-10 David S. Miller <davem@davemloft.net>
22803
22804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22805
4cf8f209
L
228062013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22807
22808 * posix/Makefile (tests-static): New variable.
22809 (tests): Add $(tests-static).
22810 (tst-exec-static-ARGS): New variable.
22811 (tst-spawn-static-ARGS): Likewise.
22812 * posix/tst-exec-static.c: New file.
22813 * posix/tst-spawn-static.c: Likewise.
22814 * posix/tst-exec.c: Support run directly.
22815 * posix/tst-spawn.c: Likewise.
22816
fed0faa1
JM
228172013-01-10 Joseph Myers <joseph@codesourcery.com>
22818
828beb13
JM
22819 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22820 long.
22821 * math/bits/mathcalls.h (llrint): Likewise.
22822 (llround): Likewise.
22823 * stdlib/stdlib.h (struct drand48_data): Likewise.
22824 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22825 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22826 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22827 Likewise.
22828 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22829 Likewise.
22830 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22831 (elf_greg_t): Likewise.
22832 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22833 (__jmp_buf): Likewise.
22834 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22835 definitions.
22836 (llrint): Likewise, for all definitions.
22837 (llrintl): Likewise.
22838
fed0faa1
JM
22839 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22840 Remove [__GNUC__] condition.
22841 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22842 condition to just [__USE_ISOC99].
22843 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22844
1a20cb20
L
228452013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22846
22847 [BZ #14200]
22848 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22849 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22850 defined.
22851 (_POSIX_V6_ILP32_OFF32): Likewise.
22852 (_XBS5_ILP32_OFF32): Likewise.
22853 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22854 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22855
751b85f7
SP
228562013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22857
7490eb81
SP
22858 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22859
751b85f7
SP
22860 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22861 doubles __mpexp_twomm1. Adjust usage.
22862 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22863 Remove.
22864
988197f0
AS
228652013-01-10 Andreas Schwab <schwab@suse.de>
22866
22867 [BZ #14964]
22868 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22869 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22870
e83d7298
DM
228712013-01-09 David S. Miller <davem@davemloft.net>
22872
034ed64b 22873 [BZ #15003]
57f41c40
AS
22874 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22875 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22876 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22877 (TCP_FASTOPEN): Define.
e83d7298
DM
22878 (tcp_repair_opt): New structure.
22879 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22880 enum values.
57f41c40
AS
22881 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22882 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22883 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
22884 (tcp_cookie_transactions): New structure.
22885
d5e0b9bd
AB
228862013-01-09 Anton Blanchard <anton@samba.org>
22887
22888 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22889 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22890 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22891 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22892
0c07e3ea
JM
228932013-01-09 Joseph Myers <joseph@codesourcery.com>
22894
22895 * include/features.h (__USE_ANSI): Remove.
22896
232f7002
RM
228972013-01-09 Roland McGrath <roland@hack.frob.com>
22898
ad98e30c
RM
22899 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22900
232f7002
RM
22901 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22902
950c99ca
SP
229032013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22904
b5792741
SP
22905 * sysdeps/s390/fpu/libm-test-ulps: Update.
22906
47cf2278
SP
22907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22908
950c99ca
SP
22909 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22910 (__acr): Likewise.
22911 (__cpy): Likewise.
22912 (norm): Likewise.
22913 (denorm): Likewise.
22914 (__mp_dbl): Likewise.
22915 (__dbl_mp): Likewise.
22916 (add_magnitudes): Likewise.
22917 (sub_magnitudes): Likewise.
22918 (__add): Likewise.
22919 (__sub): Likewise.
22920 (__mul): Likewise.
22921 (__inv): Likewise.
22922 (__dvd): Likewise.
22923 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22924 (__acr): Likewise.
22925 (__cpy): Likewise.
22926 (norm): Likewise.
22927 (denorm): Likewise.
22928 (__mp_dbl): Likewise.
22929 (__dbl_mp): Likewise.
22930 (add_magnitudes): Likewise.
22931 (sub_magnitudes): Likewise.
22932 (__add): Likewise.
22933 (__sub): Likewise.
22934 (__mul): Likewise.
22935 (__inv): Likewise.
22936 (__dvd): Likewise.
22937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22938 (__acr): Likewise.
22939 (__cpy): Likewise.
22940 (norm): Likewise.
22941 (denorm): Likewise.
22942 (__mp_dbl): Likewise.
22943 (__dbl_mp): Likewise.
22944 (add_magnitudes): Likewise.
22945 (sub_magnitudes): Likewise.
22946 (__add): Likewise.
22947 (__sub): Likewise.
22948 (__mul): Likewise.
22949 (__inv): Likewise.
22950 (__dvd): Likewise.
22951
eede9df9
JM
229522013-01-08 Joseph Myers <joseph@codesourcery.com>
22953
22954 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22955 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22956 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22957 2 && __USE_EXTERN_INLINES]: Likewise.
22958
c40ea3d9
AJ
229592013-01-08 Andreas Jaeger <aj@suse.de>
22960
22961 [BZ# 14985]
22962 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22963 Remove.
22964 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22965 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22966
2ccdea26
AB
229672013-01-07 Anton Blanchard <anton@samba.org>
22968
22969 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22970 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22971 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22972 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22973 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22974 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22975 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22976 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22978 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22979 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22980 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22981 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22982 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22983 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22984 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22985 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22986 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22987 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22988 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22989 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22990 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22991 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22992 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22993 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22994 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22995 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22996 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22997 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22998 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22999 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23001 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23002 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23003 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23004 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23005 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23006 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23007 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23008 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23009 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23010 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23011 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23012
a9708fed
JM
230132013-01-07 Joseph Myers <joseph@codesourcery.com>
23014
375607b9
JM
23015 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23016 (__MALLOC_PMT): Likewise.
23017 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23018 [__GNUC__], only on [_LIBC].
23019 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23020 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23021 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23022 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23023 forward declaration.
23024 (realloc_hook_ini): Likewise.
23025 (memalign_hook_ini): Likewise.
23026 (__libc_memalign): Do not use __MALLOC_PMT in variable
23027 declaration.
23028 (__libc_valloc): Likewise.
23029 (__libc_pvalloc): Likewise.
23030 (__libc_calloc): Likewise.
23031 (__posix_memalign): Likewise.
23032
a9708fed
JM
23033 [BZ #14996]
23034 * math/s_casinh.c: Include <float.h>.
23035 (__casinh): Do not do computation with squaring and square root
23036 for large arguments.
23037 * math/s_casinhf.c: Include <float.h>.
23038 (__casinhf): Do not do computation with squaring and square root
23039 for large arguments.
23040 * math/s_casinhl.c: Include <float.h>.
23041 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23042 (__casinhl): Do not do computation with squaring and square root
23043 for large arguments.
23044 * math/libm-test.inc (casin_test): Add more tests.
23045 (casinh_test): Likewise.
23046 * sysdeps/i386/fpu/libm-test-ulps: Update.
23047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23048
afec409a
L
230492013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23050
23051 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23052 (__x86_64_raw_data_cache_size): Likewise.
23053 (__x86_64_data_cache_size_half): Likewise.
23054 (__x86_64_raw_data_cache_size_half): Likewise.
23055 (__x86_64_shared_cache_size): Likewise.
23056 (__x86_64_raw_shared_cache_size): Likewise.
23057 (__x86_64_shared_cache_size_half): Likewise.
23058 (__x86_64_raw_shared_cache_size_half): Likewise.
23059 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23060 to ...
23061 (__x86_data_cache_size): This.
23062 (__x86_64_raw_data_cache_size): Renamed to ...
23063 (__x86_raw_data_cache_size): This.
23064 (__x86_64_data_cache_size_half): Renamed to ...
23065 (__x86_data_cache_size_half): This.
23066 (__x86_64_raw_data_cache_size_half): Renamed to ...
23067 (__x86_raw_data_cache_size_half): This.
23068 (__x86_64_shared_cache_size): Renamed to ...
23069 (__x86_shared_cache_size): This.
23070 (__x86_64_raw_shared_cache_size): Renamed to ...
23071 (__x86_raw_shared_cache_size): This.
23072 (__x86_64_shared_cache_size_half): Renamed to ...
23073 (__x86_shared_cache_size_half): This.
23074 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23075 (__x86_raw_shared_cache_size_half): This.
23076 * sysdeps/x86_64/memcpy.S: Updated.
23077 * sysdeps/x86_64/memset.S: Likewise.
23078 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23079 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23080 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23081
0b3986d0
DM
230822013-01-04 David S. Miller <davem@davemloft.net>
23083
23084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23085
e47686e9
AS
230862013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23087
d643bac1
AS
23088 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23089 1 to avoid redefinition warning.
23090 (__USE_GNU): Don't define.
23091 (init_signaling_nan): Protoize.
23092
e47686e9
AS
23093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23094
b18decba
SP
230952013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23096
fffb407f
SP
23097 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23098 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23099 (__cpymn): Likewise.
23100 (norm): Remove commented code.
23101 (denorm): Likewise.
23102 (__mp_dbl): Likewise.
23103 (__inv): Likewise.
23104 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23105 (__cpymn): Likewise.
23106 (norm): Remove commented code.
23107 (denorm): Likewise.
23108 (__mp_dbl): Likewise.
23109 (__inv): Likewise.
23110
b18decba
SP
23111 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23112 mp_no value for 1.0 and 2.0.
23113 (norm): Use RADIXI instead of radixi.d.
23114 (denorm): Likewise.
23115 (__mul): Use 0.0 instead of zero.d.
23116 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23117 mp_no value for 1.0 and 2.0.
23118 (norm): Use RADIXI instead of radixi.d.
23119 (denorm): Likewise.
23120 (__mul): Use 0.0 instead of zero.d.
23121
cdc1c96f
JM
231222013-01-04 Joseph Myers <joseph@codesourcery.com>
23123
23124 [BZ #14994]
23125 * math/s_casinh.c (__casinh): Reduce finite argument to first
23126 quadrant then set signs of results at the end.
23127 * math/s_casinhf.c (__casinhf): Likewise.
23128 * math/s_casinhl.c (__casinhl): Likewise.
23129 * math/libm-test.inc (casin_test): Add more tests.
23130 (casinh_test): Likewise.
23131 * sysdeps/i386/fpu/libm-test-ulps: Update.
23132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23133
302913e1
SP
231342013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23135
6420d207
SP
23136 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23137
a9e48ab4
SP
23138 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23139
b7837264
SP
23140 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23141 declarations.
23142 (denorm): Likewise.
23143 (__mp_dbl): Likewise.
23144 (__inv): Likewise.
23145
f8af25d2
SP
23146 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23147 and adjust the header comment.
23148
302913e1
SP
23149 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23150 variable name from declaration.
23151
5d7dd1ca
L
231522013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23153
23154 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23155 Initialize COMMON_CPUID_INDEX_7 element.
23156 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23157 (CPUID_RTM): Likewise.
23158 (HAS_RTM): Likewise.
23159 (COMMON_CPUID_INDEX_7): New enum.
23160
2f5f40f4
AS
231612013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23162
23163 [BZ #14981]
23164 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23165 size is zero, record memory as freed.
23166
4056f4a0
AJ
231672013-01-03 Andreas Jaeger <aj@suse.de>
23168
23169 * po/ia.po: Add new Interlingua translation.
23170
ab15736f 231712012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
23172
23173 * locale/programs/localedef.c: Fix description of '--posix' flag.
23174
568035b7
JM
231752013-01-02 Joseph Myers <joseph@codesourcery.com>
23176
e6898b8d
JM
23177 * NEWS: Update dates in second copyright notice.
23178 * README: Update copyright dates in example.
23179 * manual/libc.texinfo: Update copyright dates.
23180 * scripts/test-installation.pl: Update copyright date in --version
23181 output.
23182
0e2f9562
JM
23183 * hurd/ctty-input.c: Fix copyright notice formatting.
23184 * hurd/ctty-output.c: Likewise.
23185 * hurd/dtable.c: Likewise.
23186 * hurd/hurd-raise.c: Likewise.
23187 * hurd/hurdprio.c: Likewise.
23188 * hurd/msgportdemux.c: Likewise.
23189 * misc/sys/file.h: Likewise.
23190 * misc/sys/ioctl.h: Likewise.
23191 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23192 * sysdeps/mach/hurd/chdir.c: Likewise.
23193 * sysdeps/mach/hurd/fchdir.c: Likewise.
23194 * sysdeps/mach/hurd/rename.c: Likewise.
23195 * sysdeps/mach/hurd/rmdir.c: Likewise.
23196 * sysdeps/mach/hurd/seekdir.c: Likewise.
23197 * sysdeps/mach/hurd/setsid.c: Likewise.
23198 * sysdeps/posix/wait3.c: Likewise.
23199
568035b7
JM
23200 * All files with FSF copyright notices: Update copyright dates
23201 using scripts/update-copyrights.
23202 * intl/plural.c: Regenerated.
23203 * locale/programs/charmap-kw.h: Likewise.
23204 * locale/programs/locfile-kw.h: Likewise.
23205
da08f647
SP
232062013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23207
0f5477af
SP
23208 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23209 four values.
23210
44e0d4c2
SP
23211 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23212 calculation loop and add branch prediction.
23213
4d55b4e5
SP
23214 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23215 check access beyond bounds of m1np.
23216
da08f647
SP
23217 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23218 MPTWO.
23219 (__inv): Remove local variable MPTWO to use the global
23220 constant.
23221 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23222 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23223 variable MPTWO.
23224 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23225 MP3HALFS static const.
23226
8e051029
DM
232272013-01-01 David S. Miller <davem@davemloft.net>
23228
23229 * po/ca.po: Update from translation team.
23230
f4cf5f2d
JM
232312013-01-01 Joseph Myers <joseph@codesourcery.com>
23232
23233 * scripts/update-copyrights: New file.
23234 * Makeconfig: Reformat copyright notice.
23235 * ctype/ctype.h: Likewise.
23236 * debug/swprintf_chk.c: Likewise.
23237 * elf/dl-cache.c: Likewise.
23238 * elf/dl-debug.c: Likewise.
23239 * elf/dl-object.c: Likewise.
23240 * grp/initgroups.c: Likewise.
23241 * hurd/Makefile: Likewise.
23242 * hurd/hurd/signal.h: Likewise.
23243 * hurd/hurdfault.c: Likewise.
23244 * hurd/hurdioctl.c: Likewise.
23245 * hurd/hurdlookup.c: Likewise.
23246 * hurd/intr-msg.c: Likewise.
23247 * iconv/gconv_open.c: Likewise.
23248 * libio/swprintf.c: Likewise.
23249 * locale/lc-ctype.c: Likewise.
23250 * locale/nl_langinfo.c: Likewise.
23251 * mach/Machrules: Likewise.
23252 * mach/Makefile: Likewise.
23253 * malloc/obstack.h: Likewise.
23254 * manual/Makefile: Likewise.
23255 * manual/tsort.awk: Likewise.
23256 * misc/bits/stab.def: Likewise.
23257 * nis/nis_print_group_entry.c: Likewise.
23258 * nis/nis_table.c: Likewise.
23259 * nis/nss_compat/compat-pwd.c: Likewise.
23260 * nis/nss_compat/compat-spwd.c: Likewise.
23261 * po/Makefile: Likewise.
23262 * posix/fnmatch.c: Likewise.
23263 * posix/regex.h: Likewise.
23264 * resolv/Makefile: Likewise.
23265 * resolv/nss_dns/dns-network.c: Likewise.
23266 * resolv/res_hconf.c: Likewise.
23267 * scripts/gen-sorted.awk: Likewise.
23268 * soft-fp/soft-fp.h: Likewise.
23269 * stdio-common/printf.h: Likewise.
23270 * stdlib/monetary.h: Likewise.
23271 * stdlib/random.c: Likewise.
23272 * stdlib/random_r.c: Likewise.
23273 * sysdeps/generic/Makefile: Likewise.
23274 * sysdeps/gnu/Makefile: Likewise.
23275 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23276 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23277 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23278 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23279 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23280 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23282 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23283 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23284 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23285 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23286 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23287 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23288 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23289 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23290 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23291 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23292 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23293 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23294 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23295 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23296 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23297 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23298 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23299 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23300 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23301 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23302 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23303 * sysdeps/mach/hurd/errnos.awk: Likewise.
23304 * sysdeps/mach/hurd/fork.c: Likewise.
23305 * sysdeps/mach/hurd/getcwd.c: Likewise.
23306 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23307 * sysdeps/mach/hurd/mmap.c: Likewise.
23308 * sysdeps/mach/hurd/utimes.c: Likewise.
23309 * sysdeps/mach/hurd/xmknod.c: Likewise.
23310 * sysdeps/posix/profil.c: Likewise.
23311 * sysdeps/posix/readdir_r.c: Likewise.
23312 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23313 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23314 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23315 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23316 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23317 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23318 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23319 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23320 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23321 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23322 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23323 * sysdeps/pthread/lio_listio.c: Likewise.
23324 * sysdeps/sparc/dl-procinfo.h: Likewise.
23325 * sysdeps/unix/i386/sysdep.S: Likewise.
23326 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23327 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23328 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23329 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23331 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23332 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23333 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23334 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23335 * sysdeps/wordsize-32/divdi3.c: Likewise.
23336 * time/sys/time.h: Likewise.
23337 * wcsmbs/Makefile: Likewise.
23338
0549fbba
DM
233392013-01-01 David S. Miller <davem@davemloft.net>
23340
a141f1a7
DM
23341 * po/fr.po: Update from translation team.
23342
0549fbba
DM
23343 * catgets/gencat.c: Update copyright year.
23344 * csu/version.c: Likewise.
23345 * debug/catchsegv.sh: Likewise.
23346 * debug/pcprofiledump.c: Likewise.
23347 * debug/xtrace.sh: Likewise.
23348 * elf/ldconfig.c: Likewise.
23349 * elf/ldd.bash.in: Likewise.
23350 * elf/pldd.c: Likewise.
23351 * elf/sotruss.ksh: Likewise.
23352 * elf/sprof.c: Likewise.
23353 * iconv/iconv_prog.c: Likewise.
23354 * iconv/iconvconfig.c: Likewise.
23355 * locale/programs/locale.c: Likewise.
23356 * locale/programs/localedef.c: Likewise.
23357 * login/programs/pt_chown.c: Likewise.
23358 * malloc/memusage.sh: Likewise.
23359 * malloc/memusagestat.c: Likewise.
23360 * malloc/mtrace.pl: Likewise.
23361 * nscd/nscd.c: Likewise.
23362 * nss/getent.c: Likewise.
23363 * nss/makedb.c: Likewise.
23364 * posix/getconf.c: Likewise.
23365
18ea052c
SP
233662012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23367
23368 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23369 numbers.
23370
9c89fca6
MF
233712012-12-30 Mike Frysinger <vapier@gentoo.org>
23372
23373 * math/bits/mathcalls.h (modf): Use __nonnull.
23374
085ec079
SP
233752012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23376
23377 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23378 (split): Use macro CN instead of the bare value.
23379 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23380 could be used.
23381 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23382 instead of the bare value.
23383 (power1): Likewise.
23384
6d9f97e1
SP
233852012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23386
d63f73be
SP
23387 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23388 __ATAN_TWOM.
23389 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23390
6d9f97e1
SP
23391 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23392 their values.
23393 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23394 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23395 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23396 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23397
4c4febf5
AJ
233982012-12-28 Andreas Jaeger <aj@suse.de>
23399
af5843ef
AJ
23400 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23401 values are from Linux 3.7.
23402
4c4febf5
AJ
23403 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23404 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23405
99136f82
SP
234062012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23407
2f216c3c 23408 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
23409 TRUE case.
23410
99136f82
SP
23411 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23412 (norm): Likewise.
23413 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23414 variables with preprocessor constants.
23415 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23416 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23417 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23418
7fffbdff
BH
234192012-12-27 Bruno Haible <bruno@clisp.org>
23420
23421 [BZ #14317]
23422 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23423 only if needed.
23424
b76eb5f0
SP
234252012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23426
31a7fe5c
SP
23427 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23428 and use variable directly.
23429 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23430
b76eb5f0
SP
23431 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23432 MPONE.
23433 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23434 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23435 variable MPONE.
23436 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23437 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23438 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23439 include directive. Remove local variable MPONE.
23440 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23441 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23442 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23443
2c8bfe7d
DM
234442012-12-25 David S. Miller <davem@davemloft.net>
23445
23446 * version.h (RELEASE): Set to "development".
23447 (VERSION): Set to "2.17.90".
23448 * NEWS: Add 2.18 section.
23449
147d03b0
DM
234502012-12-21 David S. Miller <davem@davemloft.net>
23451
23452 * po/hr.po: Update from translation team.
23453
a8ebb2b9
AK
234542012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23455
23456 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23457
95b4f1b6
SE
234582012-12-19 Steve Ellcey <sellcey@mips.com>
23459
b2d94007 23460 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 23461
cedb2a90
MS
234622012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23463
23464 * manual/contrib.texi (Contributors): Spelling correction.
23465
bbf527d6
DM
234662012-12-15 David S. Miller <davem@davemloft.net>
23467
23468 * po/ru.po: Update from translation team.
23469
bc38c906
DM
234702012-12-13 David S. Miller <davem@davemloft.net>
23471
85429b1a
DM
23472 * NEWS: Mention IFUNC testsuite enhancements.
23473
d283e353
DM
23474 * po/pl.po: Update from translation team.
23475 * po/bg.po: Likewise.
23476
bc38c906
DM
23477 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23478 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23479
a181b0d7
DM
234802012-12-11 David S. Miller <davem@davemloft.net>
23481
4641d57e
DM
23482 * po/sv.po: Update from translation team.
23483
f7bc6495
DM
23484 * po/vi.po: Update from translation team.
23485
6fc9048f
DM
23486 * po/cs.po: Update from translation team.
23487
a181b0d7
DM
23488 * po/de.po: Update from translation team.
23489 * po/eo.po: Likewise.
23490 * po/nl.po: Likewise.
23491
f70bfe80
SP
234922012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23493
3c8b4190
SP
23494 [BZ #14246]
23495 * manual/argp.texi (Argp Helper Functions): Move node to follow
23496 Argp Parsing State.
23497
f70bfe80
SP
23498 [BZ #14872]
23499 * manual/conf.texi (Limits on File System Capacity): Mention if
23500 terminating null is included in the max size.
23501
188f0adf
AJ
235022012-12-10 Andreas Jaeger <aj@suse.de>
23503
23504 * po/cs.po: Update from translation team.
23505
56e7d3ad
SP
235062012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23507
23508 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23509 void pointer and cast to uintptr_t.
23510 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23511 path.
23512 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23513 * sysdeps/s390/s390-64/memset.S: Likewise.
23514
76f2d2ea 235152012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
23516
23517 [BZ #14833]
23518 * menual/message.texi (Message Translation): Fix typos.
23519 (Helper programs for gettext): Likewise.
23520
67cbf9a2
AS
235212012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23522
23523 [BZ #14898]
23524 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23525 Change to -1.
23526
682d0e9a
DM
235272012-12-07 David S. Miller <davem@davemloft.net>
23528
23529 * po/libc.pot: Update.
23530
573cd484
RH
235312012-12-07 Richard Henderson <rth@redhat.com>
23532
7e9da188 23533 [BZ #10114]
573cd484
RH
23534 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23535 normal/normal case to before the switch.
23536 (_FP_DIV): Likewise.
23537
e933a943
MF
235382012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23539 Mike Frysinger <vapier@gentoo.org>
23540
23541 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23542 check for __NR_fadvise64_64.
23543
82123268
CM
235442012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23545
23546 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23547 0, not just to plain "0" as a statement.
23548 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23549 with cw.
23550
d9814526
JM
235512012-12-06 Joseph Myers <joseph@codesourcery.com>
23552
23553 * NEWS: Use sourceware.org in Bugzilla URL.
23554
7728c574
SP
235552012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23556
f16946dd
SP
23557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23558 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23559
5704bbcb
SP
23560 * stdio-common/tst-put-error.c (do_test): Add newline to the
23561 padded test to ensure flush.
23562
17aa0516
JL
235632012-12-05 Jeff Law <law@redhat.com>
23564
23565 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23566
363313b5
JM
235672012-12-05 Joseph Myers <joseph@codesourcery.com>
23568
effbd42a
JM
23569 * README: Don't refer to ports add-on as distributed separately.
23570 Mention AArch64 in list of systems supported in the ports add-on.
23571
87600365
JM
23572 * LICENSES: Add more non-FSF copyright and license notices.
23573
a0d7066a
JM
23574 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23575 ((unused)).
23576
66ca5a5b
JM
23577 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23578
363313b5
JM
23579 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23580 10000 as width of padded output.
23581
b37984ad
JM
235822012-12-04 Joseph Myers <joseph@codesourcery.com>
23583
9003570a
JM
23584 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23585
b37984ad
JM
23586 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23587 variable LX with __attribute__ ((unused)).
23588 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23589 Likewise.
23590 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23591 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23592 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23593 with __attribute__ ((unused)).
23594
c8df52ec
DM
235952012-12-04 David S. Miller <davem@abraco.davemloft.net>
23596
23597 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23598
b3b099af
JM
235992012-12-04 Joseph Myers <joseph@codesourcery.com>
23600
c33aa6e3
JM
23601 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23602 (CFLAGS-nldbl-acos.c): New variable.
23603 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23604 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23605 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23606 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23607 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23608 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23609 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23610 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23611 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23612 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23613 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23614 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23615 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23616 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23617 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23618 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23619 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23620 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23621 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23622 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23623 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23624 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23625 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23626 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23627 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23628 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23629 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23630 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23631 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23632 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23633 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23634 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23635 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23636 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23637 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23638 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23639 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23640 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23641 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23642 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23643 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23644 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23645 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23646 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23647 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23648 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23649 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23650 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23651 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23652 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23653 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23654 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23655 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23656 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23657 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23658 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23659 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23660 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23661 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23662 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23663 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23664 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23665 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23666 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23667 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23668 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23669 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23670 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23671 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23672 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23673 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23674 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23675 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23676 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23677 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23678 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23679 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23680 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23681 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23682 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23683 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23684 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23685 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23686 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23687 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23688 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23689 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23690 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23691 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23692 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23693 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23694 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23695 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23696 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23697 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23698 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23699 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23700
20f0018d
JM
23701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23702 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23703
b3b099af
JM
23704 [BZ #14914]
23705 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23706 whole low double instead of just low 47 bits when splitting values
23707 into two parts.
23708
029264d1
AM
237092012-12-03 Allan McRae <allan@archlinux.org>
23710
23711 * manual/stdio.texi (Predefined Printf Handlers): Remove
23712 @hsep and @vsep usage.
23713
c9d6789e
MF
237142012-12-03 Mike Frysinger <vapier@gentoo.org>
23715
23716 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23717 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23718
4b7634a5
JL
237192012-12-03 Jeff Law <law@redhat.com>
23720
23721 * time/sys/time.h (settimeofday): Do not mark TV argument
23722 as __nonnull.
23723
eb6cbd24
MF
237242012-12-01 Mike Frysinger <vapier@gentoo.org>
23725
23726 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23727 when currently writing and seek to current position when not.
23728 * libio/Makefile (tests): Remove bug-fclose1.
23729 * libio/bug-fclose1.c: Delete.
23730
f638872a
JM
237312012-12-01 Joseph Myers <joseph@codesourcery.com>
23732
23733 * manual/arith.texi (feenableexcept): Fix typo.
23734 (fedisableexcept): Likewise.
23735
48085d14
RM
237362012-11-30 Roland McGrath <roland@hack.frob.com>
23737
23738 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23739 second, differently-typed declaration, rather than a cast.
23740
1a538b9f
SP
237412012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23742
23743 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23744 * include/rpc/svc.h: ... here.
23745
d07f2ff1 237462012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
23747
23748 [BZ #13013]
23749 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23750 depending n and resplen2 to catch cases where answer
23751 equals answerp2.
23752
c93ec1f0
CD
237532012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23754
23755 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23756 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23757
37db69de
MF
237582012-11-29 Mike Frysinger <vapier@gentoo.org>
23759
23760 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23761
e10c4e4f
RM
237622012-11-29 Roland McGrath <roland@hack.frob.com>
23763
23764 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23765
2af1b328
JL
237662012-11-28 Jeff Law <law@redhat.com>
23767
23768 [BZ #13761]
23769 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23770 dataset_temporary. Track alloca usage into alloca_used.
23771 If dataset is large allocate and release it via malloc/free.
23772
111db5b1
FW
237732012-06-04 Florian Weimer <fweimer@redhat.com>
23774
f06cc227 23775 [BZ #14197]
111db5b1
FW
23776 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23777
dd694abd
DM
237782012-11-28 David S. Miller <davem@davemloft.net>
23779
23780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23781
9984dd01
JM
237822012-11-28 Joseph Myers <joseph@codesourcery.com>
23783
23784 [BZ #14803]
23785 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23786 of pi/2 rounded to nearest to 64 bits.
23787 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23788 nearest to 64 bits.
23789 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23790 bits.
23791
14bc93a9
JL
237922012-11-28 Jeff Law <law@redhat.com>
23793 Martin Osvald <mosvald@redhat.com>
23794
23795 [BZ #14889]
23796 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23797 * sunrpc/svc.c: Include time.h.
23798 (__svc_accept_failed): New function.
23799 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23800 any reason other than EINTR, call __svc_accept_failed.
23801 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23802 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23803
e3c6aa3a
AS
238042012-11-28 Andreas Schwab <schwab@suse.de>
23805
23806 * scripts/abilist.awk: Also handle indirect functions in .opd
23807 section.
23808
1bead169
JM
238092012-11-28 Joseph Myers <joseph@codesourcery.com>
23810
23811 [BZ #13881]
23812 * sysdeps/x86/fpu/powl_helper.c: New file.
23813 * sysdeps/x86/fpu/Makefile: Likewise.
23814 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23815 (p3): New object.
23816 (__ieee754_powl): Use __powl_helper for finite arguments except
23817 integer exponents below 8.
23818 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23819 (p3): New object.
23820 (__ieee754_powl): Use __powl_helper for finite arguments except
23821 integer exponents below 8.
23822 * math/libm-test.inc (pow_test): Add more tests and enable some
23823 previously disabled tests.
23824 * sysdeps/i386/fpu/libm-test-ulps: Update.
23825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23826
0817d63d
SP
238272012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23828 Carlos O'Donell <carlos_odonell@mentor.com>
23829
23830 * nss/makedb.c (is_prime): Assert that input is odd and greater
23831 than 4. Note that fact in a comment too.
23832 (next_prime): Add 4 to input.
23833
de2fd463
SP
238342012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23835
23836 [BZ #11741]
23837 * libio/Makefile (tests): Add test case tst-fwrite-error.
23838 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23839 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23840 * libio/tst-fwrite-error.c: New test case.
23841
c515fb51
L
238422012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23843
23844 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23845 before casting to void *.
23846 * include/libc-internal.h (__pointer_type): New macro.
23847 (__integer_if_pointer_type_sub): Likewise.
23848 (__integer_if_pointer_type): Likewise.
23849 (cast_to_integer): Likewise.
23850 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23851 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23852 before casting to atomic64_t.
23853 (atomic_exchange_acq): Likewise.
23854 (__arch_exchange_and_add_body): Likewise.
23855 (__arch_add_body): Likewise.
23856 (atomic_add_negative): Likewise.
23857 (atomic_add_zero): Likewise.
23858
4cf77aa9
JM
238592012-11-26 Joseph Myers <joseph@codesourcery.com>
23860
23861 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23862 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23863 (add_fdes): Likewise.
23864 (linear_search_fdes): Likewise.
23865 (binary_search_unencoded_fdes): Likewise.
23866
d260b3b4
AS
238672012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23868
23869 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23870
67060746
AC
238712012-11-24 Adam Conrad <adconrad@0c3.net>
23872
23873 * configure.in: Autodetect C++ header directories.
23874 * configure: Regenerated.
23875
800938a1
MF
238762012-11-23 Mike Frysinger <vapier@gentoo.org>
23877
23878 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23879
4e6e34e6
AS
238802012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23881
23882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23883
7c7feb47
JM
238842012-11-22 Joseph Myers <joseph@codesourcery.com>
23885
7184dcdf
JM
23886 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23887 LDBL_MANT_DIG == 106]: Disable some tests.
23888 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23889 Likewise.
23890 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23891 Likewise.
23892
0a42601f
JM
23893 [BZ #14871]
23894 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23895 input for small inputs. Return +/- pi/2 for large inputs.
23896 * math/libm-test.inc (atan_test): Add more tests.
23897
79c9b9fe
JM
23898 * sysdeps/generic/unwind-dw2-fde-glibc.c
23899 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23900 __attribute__ ((unused)).
23901
c60d3bf2
JM
23902 [BZ #14645]
23903 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23904 x * y if x and y are nonzero and z is zero.
23905
ef1e0867
JM
23906 [BZ #14811]
23907 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23908 nonzero exponents with absolute value below 0x1p-117 to +/-
23909 0x1p-117.
23910
1468ded3
JM
23911 [BZ #14869]
23912 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23913 up arguments below 2**-450, not just those below 2**-500.
23914 * math/libm-test.inc (hypot_test): Add another test.
23915
8e27e3cc
JM
23916 [BZ #14868]
23917 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23918 Return a+b for ratio over 2**120, not 2**60.
23919 * math/libm-test.inc (hypot_test): Add another test.
23920
c9c0279b
JM
23921 * math/libm-test.inc (clog_test): Use
23922 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23923 (clog10_test): Likewise.
23924
7c7feb47
JM
23925 [BZ #6778]
23926 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23927
fff1530e
AS
239282012-11-22 Andreas Schwab <schwab@suse.de>
23929
23930 * sysdeps/i386/fpu/libm-test-ulps: Update.
23931
94558d30
PT
239322012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23933
23934 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23935 printf output with newline.
23936
7e1be741
L
239372012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23938
6bfea974
L
23939 [BZ #14865]
23940 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23941 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23942 -z nodlopen, -z initfirst and -z execstack support.
23943 * configure: Regenerated.
23944
7e1be741
L
23945 * elf/elf.h (DF_1_NODIRECT): New macro.
23946 (DF_1_IGNMULDEF): Likewise.
23947 (DF_1_NOKSYMS): Likewise.
23948 (DF_1_NOHDR): Likewise.
23949 (DF_1_EDITED): Likewise.
23950 (DF_1_NORELOC): Likewise.
23951 (DF_1_SYMINTPOSE): Likewise.
23952 (DF_1_GLOBAUDIT): Likewise.
23953 (DF_1_SINGLETON): Likewise.
23954 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23955 DT_1_SUPPORTED_MASK bits.
23956 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23957
105ce2ce
CD
239582012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23959
23960 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23961
123be9de
TS
239622012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23963
d072f3f7
TS
23964 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23965 macro.
23966
123be9de
TS
23967 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23968 (sendmmsg): Move declarations...
23969 * socket/sys/socket.h: ... here.
23970 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23971 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23972 include it from...
23973 * socket/recvmmsg.c: ... this new file.
23974 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23975 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23976 definition of __sendmmsg hidden.
23977 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23978 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23979 Move ENOSYS stub into and include it from...
23980 * socket/sendmmsg.c: ... this new file.
23981 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23982 (sysdep_routines): Move recvmmsg and sendmmsg...
23983 * socket/Makefile (routines): ... here.
23984 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23985 (GLIBC_PRIVATE): Add __sendmmsg.
23986 * include/sys/socket.h (__sendmmsg): Add declarations.
23987 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23988 sendmmsg.
23989
cf9a5d18
JM
239902012-11-20 Joseph Myers <joseph@codesourcery.com>
23991
23992 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23993 variable I1 with __attribute__ ((unused)).
23994 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23995
ecd4caf9
JM
239962012-11-19 Joseph Myers <joseph@codesourcery.com>
23997
be14d48f
JM
23998 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23999 DUMMY variables with __attribute__ ((unused)).
24000
ecd4caf9
JM
24001 * bits/byteswap.h: Include <bits/types.h>.
24002 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24003
986cab95
PT
240042012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24005
24006 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24007 string_t. Do not manually set errno.
24008 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24009 length with __strnlen. Make sure to both set errno and return it on
24010 failure.
24011
6d33cc9d
DM
240122012-11-19 David S. Miller <davem@davemloft.net>
24013
24014 With help from Joseph Myers.
24015 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24016 very large arguments properly.
24017 * math/libm-test.inc (atan_test): New tests.
24018 (atan2_test): New tests.
24019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24021
ee663277
JM
240222012-11-19 Joseph Myers <joseph@codesourcery.com>
24023
877f2d8e
JM
24024 [BZ #14856]
24025 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24026 Define to 3.
24027
116fc08a
JM
24028 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24029 [POSIX] (EADDRNOTAVAIL): Likewise.
24030 [POSIX] (EAFNOSUPPORT): Likewise.
24031 [POSIX] (EALREADY): Likewise.
24032 [POSIX] (ECONNABORTED): Likewise.
24033 [POSIX] (ECONNREFUSED): Likewise.
24034 [POSIX] (ECONNRESET): Likewise.
24035 [POSIX] (EDESTADDRREQ): Likewise.
24036 [POSIX] (EDQUOT): Likewise.
24037 [POSIX] (EHOSTUNREACH): Likewise.
24038 [POSIX] (EIDRM): Likewise.
24039 [POSIX] (EISCONN): Likewise.
24040 [POSIX] (ELOOP): Likewise.
24041 [POSIX] (EMULTIHOP): Likewise.
24042 [POSIX] (ENETDOWN): Likewise.
24043 [POSIX] (ENETUNREACH): Likewise.
24044 [POSIX] (ENOBUFS): Likewise.
24045 [POSIX] (ENODATA): Likewise.
24046 [POSIX] (ENOLINK): Likewise.
24047 [POSIX] (ENOMSG): Likewise.
24048 [POSIX] (ENOPROTOOPT): Likewise.
24049 [POSIX] (ENOSR): Likewise.
24050 [POSIX] (ENOSTR): Likewise.
24051 [POSIX] (ENOTCONN): Likewise.
24052 [POSIX] (ENOTSOCK): Likewise.
24053 [POSIX] (EOPNOTSUPP): Likewise.
24054 [POSIX] (EOVERFLOW): Likewise.
24055 [POSIX] (EPROTO): Likewise.
24056 [POSIX] (EPROTONOSUPPORT): Likewise.
24057 [POSIX] (EPROTOTYPE): Likewise.
24058 [POSIX] (ESTALE): Likewise.
24059 [POSIX] (ETIME): Likewise.
24060 [POSIX] (ETXTBSY): Likewise.
24061 [POSIX] (EWOULDBLOCK): Likewise.
24062 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24063 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24064 [POSIX] (SEEK_CUR): Likewise.
24065 [POSIX] (SEEK_END): Likewise.
24066 [POSIX || UNIX98] (mode_t): Do not require.
24067 [POSIX] (off_t): Likewise.
24068 [POSIX] (pid_t): Likewise.
24069 [POSIX] (sys/stat.h): Do not allow header.
24070 [POSIX] (unistd.h): Likewise.
24071 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24072 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24073 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24074 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24075 require.
24076 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24077 sigevent): Specify elements.
24078 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24079 entry.
24080 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24081 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24082
a483863f
JM
24083 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24084 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24085 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24086 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24087 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24088 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24089 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24090 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24091 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24092 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24093 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24094 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24095 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24096 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24097 Likewise.
24098 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24099 Likewise.
24100 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24101 Likewise.
24102 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24103 Likewise.
24104 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24105 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24106 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24107 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24108 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24109 Specify lower bound on value.
24110 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24111 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24112 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24113 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24114 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24115 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24116 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24117 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24118 value.
24119 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24120 as optional.
24121 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24122 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24123 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24124 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24125 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24126 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24127 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24128 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24129 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24130 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24131 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24132 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24133 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24134 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24135 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24136 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24137 entry.
24138 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24139 optional.
24140 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24141 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24142 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24143 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24144 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24145 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24146 Likewise.
24147 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24148 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24149 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24150 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24151 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24152 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24153 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24154 as optional.
24155 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24156 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24157 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24158 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24159 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24160 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24161 specify as optional.
24162 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24163 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24164 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24165 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24166 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24167 [XPG3] (NL_LANGMAX): Likewise.
24168 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24169 [POSIX || XPG3] (NL_NMAX): Likewise.
24170 [POSIX || XPG3] (NL_SETMAX): Likewise.
24171 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24172 [XPG3] (NZERO): Likewise.
24173 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24174 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24175 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24176 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24177 (REG_ERANGE): Expect.
24178 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24179 optional-constant.
24180 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24181 Use (void) in prototype.
24182 [POSIX] (*_t): Allow.
24183 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24184 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24185 (WRDE_BADVAL): Expect.
24186
5ba924e3
JM
24187 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24188 expect.
24189 [XPG3 || XPG4] (O_RSYNC): Likewise.
24190 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24191 Likewise.
24192 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24193 [XPG3 || XPG4] (sigqueue): Likewise.
24194 [XPG3 || XPG4] (sigtimedwait): Likewise.
24195 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24196 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24197 [XPG3 || XPG4] (vsnprintf): Likewise.
24198 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24199 Likewise.
24200 [XPG3 || XPG4] (blksize_t): Likewise.
24201 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24202 Likewise.
24203 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24204 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24205 [XPG3 || XPG4] (struct itimerspec): Likewise.
24206 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24207 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24208 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24209 [XPG3 || XPG4] (clockid_t): Likewise.
24210 [XPG3 || XPG4] (timer_t): Likewise.
24211 [XPG3 || XPG4] (clock_getres): Likewise.
24212 [XPG3 || XPG4] (clock_gettime): Likewise.
24213 [XPG3 || XPG4] (clock_settime): Likewise.
24214 [XPG3 || XPG4] (nanosleep): Likewise.
24215 [XPG3 || XPG4] (timer_create): Likewise.
24216 [XPG3 || XPG4] (timer_delete): Likewise.
24217 [XPG3 || XPG4] (timer_gettime): Likewise.
24218 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24219 [XPG3 || XPG4] (timer_settime): Likewise.
24220 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24221 [XPG3 || XPG4] (getlogin_r): Likewise.
24222 [XPG3 || XPG4] (pread): Likewise.
24223 [XPG3 || XPG4] (pthread_atfork): Likewise.
24224 [XPG3 || XPG4] (pwrite): Likewise.
24225
ee663277
JM
24226 [BZ #14835]
24227 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24228 <bits/siginfo.h>.
24229
942caa16
PT
242302012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24231
e19af380
PT
24232 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24233 finalizing MALLSTREAM.
24234
942caa16
PT
24235 * sysdeps/mach/hurd/syncfs.c: New file.
24236
cfde9b46
SP
242372012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24238
24239 [BZ #14719]
24240 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24241 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24242 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24243 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24244 (_nss_dns_gethostbyname4_r): Likewise.
24245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24246 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24247
f6da27e5
PH
242482012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24249
24250 [BZ #13763]
24251 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24252
6665d4a2
SM
242532012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24254
1f51ee92
SM
24255 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24256 * elf/cache.c (print_entry): Print ",AArch64" for
24257 FLAG_AARCH64_LIB64
24258
6665d4a2
SM
24259 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24260 * elf/cache.c (print_entry): Print ",hard-float" for
24261 FLAG_ARM_LIBHF.
24262
05b227bd
DM
242632012-11-18 David S. Miller <davem@davemloft.net>
24264
24265 With help from Joseph Myers.
24266 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24267 cutoff to 2**-13.
24268 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24269 cutoff to 2**-25.
24270 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24271 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24272 small.
24273 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24274 * math/libm-test.inc (y0_test): New tests.
24275 (y1_test): New tests.
24276 * sysdeps/i386/fpu/libm-test-ulps: Update.
24277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24279
786b0b67
AS
242802012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24281
24282 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24283 64-bit targets.
24284 * configure: Regenerated.
24285
8e18b86d
DM
242862012-11-17 David S. Miller <davem@davemloft.net>
24287
24288 [BZ #14811]
24289 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24290 nonzero exponents with absolute value below 0x1p-128 to +/-
24291 0x1p-128.
24292
531f1ae0
JM
242932012-11-17 Joseph Myers <joseph@codesourcery.com>
24294
12df29e2
JM
24295 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24296
150dc1a0
JM
24297 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24298
531f1ae0
JM
24299 * posix/getconf-speclist.c: New file.
24300 * posix/posix-envs.def: Likewise.
24301 * posix/confstr.c (START_ENV_GROUP): New macro.
24302 (END_ENV_GROUP): Likewise.
24303 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24304 (KNOWN_PRESENT_ENV_STRING): Likewise.
24305 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24306 (UNKNOWN_ENVIRONMENT): Likewise.
24307 (confstr): Include posix-envs.def instead of handling
24308 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24309 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24310 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24311 (END_ENV_GROUP): Likewise.
24312 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24313 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24314 (UNKNOWN_ENVIRONMENT): Likewise.
24315 (__sysconf): Include posix-envs.def instead of handling associated
24316 cases directly here.
24317 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24318 preprocessing getconf-speclist.c rather than running getconf or
24319 generating empty file.
24320
a93f9cbc
PT
243212012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24322
24323 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24324
d64d9f87
AL
243252012-11-16 Andrej Lajovic <natrij@gmail.com>
24326
24327 [BZ #14672]
24328 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24329
447885eb
DM
243302012-11-16 David S. Miller <davem@davemloft.net>
24331
24332 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24333 smaller than LDBL_EPSILON/2.0L, just return xm1.
24334
bcbf9830
L
243352012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24336
24337 * elf/tst-array1.c (init): Set constructor priority to 1000.
24338 (fini): Set destructor priority to 1000.
24339 * elf/tst-array2dep.c: Likewise.
24340
2b766585
SP
243412012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24342
24343 [BZ #11741]
24344 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24345 (_IO_new_file_xsputn): Also return EOF if none of the input
24346 data was written when overflow failed.
24347 * libio/iopadn.c (_IO_padn): Likewise.
24348 * libio/iowpadn.c (_IO_wpadn): Likewise.
24349 * stdio-common/tst-put-error.c: Add copyright notice.
24350 (do_test): Add case for printing padded string.
24351 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24352 _IO_padn returned error.
24353 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24354 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24355 return EOF.
24356
b1848fde
SP
243572012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24358
24359 * libio/libioP.h: Add comment note that the references to C++
24360 bits are now obsolete.
24361
2fd89785
MS
243622012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24363
24364 * math/libm-test.inc (check_complex): Use asprintf.
24365
e3ea5409
JM
243662012-11-14 Joseph Myers <joseph@codesourcery.com>
24367
24368 * debug/pcprofiledump.c (print_version): Update copyright year.
24369 * malloc/memusagestat.c (print_version): Likewise.
24370
2e64d265
L
243712012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24372
24373 [BZ #14831]
24374 * elf/Makefile (tests): Add tst-audit8.
24375 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24376 ($(objpfx)tst-audit8.out): New target.
24377 (tst-audit8-ENV): New variable.
24378 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24379 audit if l_reloc_result is NULL.
24380 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24381 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24382 * elf/tst-audit8.c: New file.
24383
c485e4d2
MS
243842012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24385
24386 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24387 * misc/Makefile (CFLAGS-select.c): Define.
24388 * posix/Makefile (CFLAGS-pause.c): Define.
24389
3a0d900a
DM
243902012-11-13 David S. Miller <davem@davemloft.net>
24391
24392 * crypt/Makefile: Move test targets after toplevel Rules
24393 inclusion. Grab any necessary sysdep routines when linking.
24394 * crypt/md5.c (md5_process_block): Remove define, we will always
24395 name it __md5_process_block.
24396 (md5_finish_ctx): Update md5_process_block call.
24397 (md5_stream): Likewise.
24398 (md5_process_bytes): Likewise.
24399 (md5_process_block): Rename to __md5_process_block and move to ...
24400 * crypt/md5-block.c: ... here.
24401 * crypt/sha256.c (sha256_process_block): Move to ...
24402 * crypt/sha256-block.c: ... here.
24403 * crypt/sha512.c (sha512_process_block): Move to ...
24404 * crypt/sha512-block.c: ... here.
24405 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24406 path.
24407 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24408 * sysdeps/sparc/sparc64/multiarch/Makefile
24409 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24410 crypt subdir.
24411 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24412 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24413 multiarch changes.
24414 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24415 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24416 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24417 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24418 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24419 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24420 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24421 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24422 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24423 file.
24424 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24425 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24426 file.
24427 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24428
8ca89318
JM
244292012-11-13 Joseph Myers <joseph@codesourcery.com>
24430
e27d476a
JM
24431 * timezone/tzselect.ksh: Update from tzcode git revision
24432 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24433 * timezone/zdump.c: Likewise.
24434 * timezone/zic.c: Likewise.
24435 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24436 in TZVERSION setting, not $(PKGVERSION).
24437 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24438 REPORT_BUGS_TO settings.
24439
8ca89318
JM
24440 [BZ #14838]
24441 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24442 macro.
24443
47594329
MS
244442012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24445
24446 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24447 detection to immediately after _FP_ROUND().
24448 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24449 bits are 0.
24450
640ac3f1
DM
244512012-11-11 David S. Miller <davem@davemloft.net>
24452
24453 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24454 inttypes.h
24455 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24456 __close rather than their public counterparts.
24457
3d2577bb
JM
244582012-11-10 Joseph Myers <joseph@codesourcery.com>
24459
24460 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24461 file.
24462 [UNIX98] (sem_timedwait): Do not expect.
24463 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24464 [XPG4 || UNIX98] (sockatmark): Do not expect.
24465 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24466 (clock_getcpuclockid): Do not expect.
24467 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24468 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24469 Do not expect.
24470 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24471 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24472 [UNIX98] (vwscanf): Likewise.
24473 [UNIX98] (vswscanf): Likewise.
24474
fb1ae1ee
JM
244752012-11-09 Joseph Myers <joseph@codesourcery.com>
24476
9ec6f8bd
JM
24477 * timezone/version.h: Remove file.
24478 * timezone/README: Do not refer to version.h.
24479 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24480 $(objpfx)version.h.
24481 ($(objpfx)zdump.o): Likewise.
c3f81911 24482 ($(objpfx)version.h): New target.
9ec6f8bd 24483
0aa8f8a1
JM
24484 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24485 2012i.
24486 * timezone/README: Don't mention modification to tzselect.ksh.
24487 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24488 work on unmodified tzselect.ksh. Substitute version numbers in
24489 tzselect.ksh.
24490
4e87147f
JM
24491 * Makefile (format-me): Remove.
24492 (INSTALL): Adjust indentation. Use commands directly instead of
24493 using $(format-me).
24494
8b748aed
JM
24495 * aclocal.m4 (ACX_PKGVERSION): New macro.
24496 (ACX_BUGURL): Likewise.
24497 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24498 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24499 (REPORT_BUGS_TO): Likewise.
24500 * configure: Regenerated.
24501 * config.h.in (PKGVERSION): New macro.
24502 (REPORT_BUGS_TO): Likewise.
24503 * config.make.in (PKGVERSION): New variable.
24504 (PKGVERSION_TEXI): Likewise.
24505 (REPORT_BUGS_TO): Likewise.
24506 (REPORT_BUGS_TEXI): Likewise.
24507 * Makefile (format-me): Use -I$(common-objpfx)manual.
24508 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24509 ($(common-objpfx)manual/%): New target.
24510 (manual/%): Remove target.
24511 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24512 (print_version): Use PKGVERSION.
24513 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24514 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24515 and REPORT_BUGS_TO.
24516 ($(objpfx)xtrace): Likewise.
24517 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24518 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24519 (print_version): Use PKGVERSION.
24520 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24521 (do_version): Use PKGVERSION.
24522 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24523 REPORT_BUGS_TO.
24524 (common-ldd-rewrite): Likewise.
24525 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24526 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24527 (print_version): Use PKGVERSION.
24528 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24529 * elf/pldd.c (argp_program_bug_address): Remove variable.
24530 (more_help): New function.
24531 (argp): Use more_help.
24532 (print_version): Use PKGVERSION.
24533 * elf/sln.c (main): Use PKGVERSION.
24534 (usage): Use REPORT_BUGS_TO.
24535 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24536 (top level): Use PKGVERSION.
24537 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24538 (print_version): Use PKGVERSION.
24539 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24540 (print_version): Use PKGVERSION.
24541 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24542 (print_version): Use PKGVERSION.
24543 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24544 (print_version): Use PKGVERSION.
24545 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24546 (print_version): Use PKGVERSION.
24547 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24548 (print_version): Use PKGVERSION.
24549 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24550 and BUGURL.
24551 ($(objpfx)memusage): Likewise.
24552 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24553 (do_version): Use PKGVERSION.
24554 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24555 (print_version): Use PKGVERSION.
24556 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24557 ($PKGVERSION): New variable.
24558 ($REPORT_BUGS_TO): Likewise.
24559 (usage): Use $REPORT_BUGS_TO.
24560 (top level): Use $PKGVERSION.
24561 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24562 ($(objpfx)pkgvers.texi): New rule.
24563 ($(objpfx)stamp-pkgvers): Likewise.
24564 * manual/install.texi: Include pkgvers.texi.
24565 (--with-pkgversion): Document new configure option.
24566 (--with-bugurl): Likewise.
24567 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24568 than necessarily for this particular distribution. Use
24569 REPORT_BUGS_TO for where to report bugs.
24570 * INSTALL: Regenerated.
24571 * manual/libc.texinfo: Include pkgvers.texi.
24572 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24573 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24574 (print_version): Use PKGVERSION.
24575 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24576 (print_version): Use PKGVERSION.
24577 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24578 (print_version): Use PKGVERSION.
24579 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24580 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24581 macro.
24582 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24583 (print_version): Use PKGVERSION.
24584 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24585 (print_version): Use PKGVERSION.
24586 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24587 and PKGVERSION.
24588
92e4b6a9
JM
24589 * timezone/checktab.awk: Update from tzcode 2012i.
24590 * timezone/ialloc.c: Likewise.
24591 * timezone/private.h: Likewise.
24592 * timezone/scheck.c: Likewise.
24593 * timezone/tzfile.h: Likewise.
24594 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24595 (TZVERSION): Hardcode tzcode version number.
24596 * timezone/zdump.c: Update from tzcode 2012i.
24597 * timezone/zic.c: Likewise.
24598 * timezone/version.h: New file.
24599 * timezone/README: Describe version.h. Update upstream location.
24600
9bde902c
JM
24601 [BZ #14824]
24602 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24603 (mktemp): Enable declaration.
24604 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24605 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24606 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24607 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24608 Likewise.
24609 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24610 Likewise.
24611 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24612 Likewise.
24613 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24614 Likewise.
24615 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24616 Likewise.
24617 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24618 Likewise.
24619
fb1ae1ee
JM
24620 [BZ #14821]
24621 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24622 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24623 for copies of such integer values.
24624 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24625 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24626
2c1adbcb
AJ
246272012-11-09 Andreas Jaeger <aj@suse.de>
24628
24629 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24630 definitions and declarations that are provided by
24631 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24632
d0f8457e
AK
246332012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24634
3a235abb 24635 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
24636 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24637 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24638 definition.
24639
57241e26
MS
246402012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24641
24642 * elf/elf.h: Update comment before AArch64 relocations.
24643
60e8270d
DM
246442012-11-07 David S. Miller <davem@davemloft.net>
24645
24646 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24647 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24648 (__start_context): Declare.
24649 (__makecontext_ret): Delete.
24650 (__makecontext): Hook up __start_context instead of
24651 __makecontext_ret.
24652 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24653 (sysdep_routines): Add __start_context when in stdlib.
24654
0fbb0fbc
JM
246552012-11-07 Joseph Myers <joseph@codesourcery.com>
24656
24657 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24658 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24659 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24660 hardcoded "nm".
24661 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24662 (READELF): New variable. Use it instead of hardcoded "readelf".
24663
eb48db7e
L
246642012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24665
24666 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24667 * sysdeps/x86/Makefile: Here.
24668 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24669 * sysdeps/x86/tst-xmmymm.sh: This.
24670
05bcf62a
JM
246712012-11-07 Joseph Myers <joseph@codesourcery.com>
24672
c4b6cf53
JM
24673 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24674 expectations.
24675 [UNIX98] (pthread_barrier_t): Do not expect.
24676 [UNIX98] (pthread_barrierattr_t): Likewise.
24677 [UNIX98] (pthread_spinlock_t): Likewise.
24678 [UNIX98] (pthread_barrier_destroy): Likewise.
24679 [UNIX98] (pthread_barrier_init): Likewise.
24680 [UNIX98] (pthread_barrier_wait): Likewise.
24681 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24682 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24683 [UNIX98] (pthread_barrierattr_init): Likewise.
24684 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24685 [UNIX98] (pthread_getcpuclockid): Likewise.
24686 [UNIX98] (pthread_mutex_timedlock): Likewise.
24687 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24688 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24689 [UNIX98] (pthread_sigmask): Likewise.
24690 [UNIX98] (pthread_spin_destroy): Likewise.
24691 [UNIX98] (pthread_spin_init): Likewise.
24692 [UNIX98] (pthread_spin_lock): Likewise.
24693 [UNIX98] (pthread_spin_trylock): Likewise.
24694 [UNIX98] (pthread_spin_unlock): Likewise.
24695 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24696 Do not expect.
24697 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24698 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24699 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24700 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24701 [XPG3 || XPG4] (pthread_key_t): Likewise.
24702 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24703 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24704 [XPG3 || XPG4] (pthread_once_t): Likewise.
24705 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24706 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24707 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24708 [XPG3 || XPG4] (pthread_t): Likewise.
24709
cbe6e120
JM
24710 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24711 not expect.
24712 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24713
1b126443
JM
24714 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24715 Change function return type to int.
24716
b961a573
JM
24717 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24718 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24719 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24720 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24721 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24722 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24723 [!POSIX] (posix_madvise): Likewise.
24724 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24725 && !UNIX98].
24726 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24727 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24728 (mode_t): Likewise.
24729 (posix_mem_offset): Likewise.
24730 (posix_typed_mem_get_info): Likewise.
24731 (posix_typed_mem_open): Likewise.
24732
9e188909
JM
24733 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24734 Change condition to [XOPEN2K8].
24735
05bcf62a
JM
24736 * conform/conformtest.pl: Preprocess allow-header data with -x c
24737 instead of from stdin.
24738 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24739 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24740 [C99-based standards] (cerfc): Likewise.
24741 [C99-based standards] (cexp2): Likewise.
24742 [C99-based standards] (cexpm1): Likewise.
24743 [C99-based standards] (clog10): Likewise.
24744 [C99-based standards] (clog1p): Likewise.
24745 [C99-based standards] (clog2): Likewise.
24746 [C99-based standards] (clgamma): Likewise.
24747 [C99-based standards] (ctgamma): Likewise.
24748 [C99-based standards] (cerff): Likewise.
24749 [C99-based standards] (cerfcf): Likewise.
24750 [C99-based standards] (cexp2f): Likewise.
24751 [C99-based standards] (cexpm1f): Likewise.
24752 [C99-based standards] (clog10f): Likewise.
24753 [C99-based standards] (clog1pf): Likewise.
24754 [C99-based standards] (clog2f): Likewise.
24755 [C99-based standards] (clgammaf): Likewise.
24756 [C99-based standards] (ctgammaf): Likewise.
24757 [C99-based standards] (cerfl): Likewise.
24758 [C99-based standards] (cerfcl): Likewise.
24759 [C99-based standards] (cexp2l): Likewise.
24760 [C99-based standards] (cexpm1l): Likewise.
24761 [C99-based standards] (clog10l): Likewise.
24762 [C99-based standards] (clog1pl): Likewise.
24763 [C99-based standards] (clog2l): Likewise.
24764 [C99-based standards] (clgammal): Likewise.
24765 [C99-based standards] (ctgammal): Likewise.
24766 * conform/data/inttypes.h-data [C99-based standards]: Include
24767 stdint.h-data. Remove all expectations for stdint.h contents.
24768 [C99-based standards] (PRI*): Do not allow.
24769 [C99-based standards] (SCN*): Likewise.
24770 [C99-based standards] (*_t): Likewise.
24771 [C99-based-standards] (PRId8): Expect macro.
24772 [C99-based-standards] (PRIi8): Likewise.
24773 [C99-based-standards] (PRIo8): Likewise.
24774 [C99-based-standards] (PRIu8): Likewise.
24775 [C99-based-standards] (PRIx8): Likewise.
24776 [C99-based-standards] (PRIX8): Likewise.
24777 [C99-based-standards] (SCNd8): Likewise.
24778 [C99-based-standards] (SCNi8): Likewise.
24779 [C99-based-standards] (SCNo8): Likewise.
24780 [C99-based-standards] (SCNu8): Likewise.
24781 [C99-based-standards] (SCNx8): Likewise.
24782 [C99-based-standards] (PRIdLEAST8): Likewise.
24783 [C99-based-standards] (PRIiLEAST8): Likewise.
24784 [C99-based-standards] (PRIoLEAST8): Likewise.
24785 [C99-based-standards] (PRIuLEAST8): Likewise.
24786 [C99-based-standards] (PRIxLEAST8): Likewise.
24787 [C99-based-standards] (PRIXLEAST8): Likewise.
24788 [C99-based-standards] (SCNdLEAST8): Likewise.
24789 [C99-based-standards] (SCNiLEAST8): Likewise.
24790 [C99-based-standards] (SCNoLEAST8): Likewise.
24791 [C99-based-standards] (SCNuLEAST8): Likewise.
24792 [C99-based-standards] (SCNxLEAST8): Likewise.
24793 [C99-based-standards] (PRIdFAST8): Likewise.
24794 [C99-based-standards] (PRIiFAST8): Likewise.
24795 [C99-based-standards] (PRIoFAST8): Likewise.
24796 [C99-based-standards] (PRIuFAST8): Likewise.
24797 [C99-based-standards] (PRIxFAST8): Likewise.
24798 [C99-based-standards] (PRIXFAST8): Likewise.
24799 [C99-based-standards] (SCNdFAST8): Likewise.
24800 [C99-based-standards] (SCNiFAST8): Likewise.
24801 [C99-based-standards] (SCNoFAST8): Likewise.
24802 [C99-based-standards] (SCNuFAST8): Likewise.
24803 [C99-based-standards] (SCNxFAST8): Likewise.
24804 [C99-based-standards] (PRId16): Likewise.
24805 [C99-based-standards] (PRIi16): Likewise.
24806 [C99-based-standards] (PRIo16): Likewise.
24807 [C99-based-standards] (PRIu16): Likewise.
24808 [C99-based-standards] (PRIx16): Likewise.
24809 [C99-based-standards] (PRIX16): Likewise.
24810 [C99-based-standards] (SCNd16): Likewise.
24811 [C99-based-standards] (SCNi16): Likewise.
24812 [C99-based-standards] (SCNo16): Likewise.
24813 [C99-based-standards] (SCNu16): Likewise.
24814 [C99-based-standards] (SCNx16): Likewise.
24815 [C99-based-standards] (PRIdLEAST16): Likewise.
24816 [C99-based-standards] (PRIiLEAST16): Likewise.
24817 [C99-based-standards] (PRIoLEAST16): Likewise.
24818 [C99-based-standards] (PRIuLEAST16): Likewise.
24819 [C99-based-standards] (PRIxLEAST16): Likewise.
24820 [C99-based-standards] (PRIXLEAST16): Likewise.
24821 [C99-based-standards] (SCNdLEAST16): Likewise.
24822 [C99-based-standards] (SCNiLEAST16): Likewise.
24823 [C99-based-standards] (SCNoLEAST16): Likewise.
24824 [C99-based-standards] (SCNuLEAST16): Likewise.
24825 [C99-based-standards] (SCNxLEAST16): Likewise.
24826 [C99-based-standards] (PRIdFAST16): Likewise.
24827 [C99-based-standards] (PRIiFAST16): Likewise.
24828 [C99-based-standards] (PRIoFAST16): Likewise.
24829 [C99-based-standards] (PRIuFAST16): Likewise.
24830 [C99-based-standards] (PRIxFAST16): Likewise.
24831 [C99-based-standards] (PRIXFAST16): Likewise.
24832 [C99-based-standards] (SCNdFAST16): Likewise.
24833 [C99-based-standards] (SCNiFAST16): Likewise.
24834 [C99-based-standards] (SCNoFAST16): Likewise.
24835 [C99-based-standards] (SCNuFAST16): Likewise.
24836 [C99-based-standards] (SCNxFAST16): Likewise.
24837 [C99-based-standards] (PRId32): Likewise.
24838 [C99-based-standards] (PRIi32): Likewise.
24839 [C99-based-standards] (PRIo32): Likewise.
24840 [C99-based-standards] (PRIu32): Likewise.
24841 [C99-based-standards] (PRIx32): Likewise.
24842 [C99-based-standards] (PRIX32): Likewise.
24843 [C99-based-standards] (SCNd32): Likewise.
24844 [C99-based-standards] (SCNi32): Likewise.
24845 [C99-based-standards] (SCNo32): Likewise.
24846 [C99-based-standards] (SCNu32): Likewise.
24847 [C99-based-standards] (SCNx32): Likewise.
24848 [C99-based-standards] (PRIdLEAST32): Likewise.
24849 [C99-based-standards] (PRIiLEAST32): Likewise.
24850 [C99-based-standards] (PRIoLEAST32): Likewise.
24851 [C99-based-standards] (PRIuLEAST32): Likewise.
24852 [C99-based-standards] (PRIxLEAST32): Likewise.
24853 [C99-based-standards] (PRIXLEAST32): Likewise.
24854 [C99-based-standards] (SCNdLEAST32): Likewise.
24855 [C99-based-standards] (SCNiLEAST32): Likewise.
24856 [C99-based-standards] (SCNoLEAST32): Likewise.
24857 [C99-based-standards] (SCNuLEAST32): Likewise.
24858 [C99-based-standards] (SCNxLEAST32): Likewise.
24859 [C99-based-standards] (PRIdFAST32): Likewise.
24860 [C99-based-standards] (PRIiFAST32): Likewise.
24861 [C99-based-standards] (PRIoFAST32): Likewise.
24862 [C99-based-standards] (PRIuFAST32): Likewise.
24863 [C99-based-standards] (PRIxFAST32): Likewise.
24864 [C99-based-standards] (PRIXFAST32): Likewise.
24865 [C99-based-standards] (SCNdFAST32): Likewise.
24866 [C99-based-standards] (SCNiFAST32): Likewise.
24867 [C99-based-standards] (SCNoFAST32): Likewise.
24868 [C99-based-standards] (SCNuFAST32): Likewise.
24869 [C99-based-standards] (SCNxFAST32): Likewise.
24870 [C99-based-standards] (PRId64): Likewise.
24871 [C99-based-standards] (PRIi64): Likewise.
24872 [C99-based-standards] (PRIo64): Likewise.
24873 [C99-based-standards] (PRIu64): Likewise.
24874 [C99-based-standards] (PRIx64): Likewise.
24875 [C99-based-standards] (PRIX64): Likewise.
24876 [C99-based-standards] (SCNd64): Likewise.
24877 [C99-based-standards] (SCNi64): Likewise.
24878 [C99-based-standards] (SCNo64): Likewise.
24879 [C99-based-standards] (SCNu64): Likewise.
24880 [C99-based-standards] (SCNx64): Likewise.
24881 [C99-based-standards] (PRIdLEAST64): Likewise.
24882 [C99-based-standards] (PRIiLEAST64): Likewise.
24883 [C99-based-standards] (PRIoLEAST64): Likewise.
24884 [C99-based-standards] (PRIuLEAST64): Likewise.
24885 [C99-based-standards] (PRIxLEAST64): Likewise.
24886 [C99-based-standards] (PRIXLEAST64): Likewise.
24887 [C99-based-standards] (SCNdLEAST64): Likewise.
24888 [C99-based-standards] (SCNiLEAST64): Likewise.
24889 [C99-based-standards] (SCNoLEAST64): Likewise.
24890 [C99-based-standards] (SCNuLEAST64): Likewise.
24891 [C99-based-standards] (SCNxLEAST64): Likewise.
24892 [C99-based-standards] (PRIdFAST64): Likewise.
24893 [C99-based-standards] (PRIiFAST64): Likewise.
24894 [C99-based-standards] (PRIoFAST64): Likewise.
24895 [C99-based-standards] (PRIuFAST64): Likewise.
24896 [C99-based-standards] (PRIxFAST64): Likewise.
24897 [C99-based-standards] (PRIXFAST64): Likewise.
24898 [C99-based-standards] (SCNdFAST64): Likewise.
24899 [C99-based-standards] (SCNiFAST64): Likewise.
24900 [C99-based-standards] (SCNoFAST64): Likewise.
24901 [C99-based-standards] (SCNuFAST64): Likewise.
24902 [C99-based-standards] (SCNxFAST64): Likewise.
24903 [C99-based-standards] (PRIdMAX): Likewise.
24904 [C99-based-standards] (PRIiMAX): Likewise.
24905 [C99-based-standards] (PRIoMAX): Likewise.
24906 [C99-based-standards] (PRIuMAX): Likewise.
24907 [C99-based-standards] (PRIxMAX): Likewise.
24908 [C99-based-standards] (PRIXMAX): Likewise.
24909 [C99-based-standards] (SCNdMAX): Likewise.
24910 [C99-based-standards] (SCNiMAX): Likewise.
24911 [C99-based-standards] (SCNoMAX): Likewise.
24912 [C99-based-standards] (SCNuMAX): Likewise.
24913 [C99-based-standards] (SCNxMAX): Likewise.
24914 [C99-based-standards] (PRIdPTR): Likewise.
24915 [C99-based-standards] (PRIiPTR): Likewise.
24916 [C99-based-standards] (PRIoPTR): Likewise.
24917 [C99-based-standards] (PRIuPTR): Likewise.
24918 [C99-based-standards] (PRIxPTR): Likewise.
24919 [C99-based-standards] (PRIXPTR): Likewise.
24920 [C99-based-standards] (SCNdPTR): Likewise.
24921 [C99-based-standards] (SCNiPTR): Likewise.
24922 [C99-based-standards] (SCNoPTR): Likewise.
24923 [C99-based-standards] (SCNuPTR): Likewise.
24924 [C99-based-standards] (SCNxPTR): Likewise.
24925 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24926 allow.
24927 * conform/data/stdint.h-data: Update comments to clarify
24928 requirements.
24929 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24930 type.
24931 [C99-based standards] (INT8_MAX): Likewise.
24932 [C99-based standards] (INT16_MIN): Likewise.
24933 [C99-based standards] (INT16_MAX): Likewise.
24934 [C99-based standards] (INT32_MIN): Likewise.
24935 [C99-based standards] (INT32_MAX): Likewise.
24936 [C99-based standards] (INT64_MIN): Likewise.
24937 [C99-based standards] (INT64_MAX): Likewise.
24938 [C99-based standards] (UINT8_MAX): Likewise.
24939 [C99-based standards] (UINT16_MAX): Likewise.
24940 [C99-based standards] (UINT32_MAX): Likewise.
24941 [C99-based standards] (UINT64_MAX): Likewise.
24942 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24943 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24944 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24945 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24946 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24947 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24948 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24949 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24950 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24951 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24952 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24953 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24954 [C99-based standards] (INT_FAST8_MIN): Likewise.
24955 [C99-based standards] (INT_FAST8_MAX): Likewise.
24956 [C99-based standards] (INT_FAST16_MIN): Likewise.
24957 [C99-based standards] (INT_FAST16_MAX): Likewise.
24958 [C99-based standards] (INT_FAST32_MIN): Likewise.
24959 [C99-based standards] (INT_FAST32_MAX): Likewise.
24960 [C99-based standards] (INT_FAST64_MIN): Likewise.
24961 [C99-based standards] (INT_FAST64_MAX): Likewise.
24962 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24963 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24964 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24965 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24966 [C99-based standards] (INTPTR_MIN): Likewise.
24967 [C99-based standards] (INTPTR_MAX): Likewise.
24968 [C99-based standards] (UINTPTR_MAX): Likewise.
24969 [C99-based standards] (INTMAX_MIN): Likewise.
24970 [C99-based standards] (INTMAX_MAX): Likewise.
24971 [C99-based standards] (UINTMAX_MAX): Likewise.
24972 [C99-based standards] (PTRDIFF_MIN): Likewise.
24973 [C99-based standards] (PTRDIFF_MAX): Likewise.
24974 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24975 [C99-based standards] (SIZE_MAX): Likewise.
24976 [C99-based standards] (WCHAR_MAX): Likewise.
24977 [C99-based standards] (WINT_MAX): Likewise.
24978 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24979 constraint on value.
24980 [C99-based standards] (WCHAR_MIN): Likewise.
24981 [C99-based standards] (WINT_MIN): Likewise.
24982 [C99-based standards] (*_t): Allow.
24983 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24984 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24985 Include math.h-data and complex.h-data. Remove all expectations
24986 of math.h and complex.h contents.
24987 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24988 at end of line.
24989 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24990 (struct tm): Expect tag.
24991 [C99-based-standards] (wcstof): Expect function.
24992 [C99-based-standards] (wcstold): Likewise.
24993 [C99-based-standards] (wcstoll): Likewise.
24994 [C99-based-standards] (wcstoull): Likewise.
24995 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24996 macro-int-constant. Specify type.
24997 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24998 constraint on value.
24999 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25000 Specify type.
25001 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25002 Specify value.
25003 [ISO C standards]: Do not allow headers.
25004 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25005 wcs[abcdefghijklmnopqrstuvwxyz]*.
25006 [ISO C standards] (*_t): Do not allow.
25007 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25008 Expect function.
25009 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25010 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25011 Specify type.
25012 [ISO C standards]: Do not allow headers.
25013 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25014 is[abcdefghijklmnopqrstuvwxyz]*.
25015 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25016 to[abcdefghijklmnopqrstuvwxyz]*.
25017 [ISO C standards] (*_t): Do not allow.
25018 * conform/data/stdalign.h-data: New file.
25019 * conform/data/stdbool.h-data: Likewise.
25020 * conform/data/stdnoreturn.h-data: Likewise.
25021
7514feb8
RM
250222012-11-07 Roland McGrath <roland@hack.frob.com>
25023
25024 [BZ #14815]
25025 * manual/filesys.texi (Directory Entries): Typo fix.
25026 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25027
19b2ecfc
MS
250282012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25029
25030 * elf/elf.h (EM_AARCH64): New macro.
25031 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25032 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25033 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25034 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25035 (R_AARCH64_TLSDESC): Likewise.
25036 (NT_ARM_TLS): Likewise.
25037 (NT_ARM_HW_BREAK): Likewise.
25038 (NT_ARM_HW_WATCH): Likewise.
25039
60e235ee
JM
250402012-11-07 Joseph Myers <joseph@codesourcery.com>
25041
25042 [BZ #14811]
25043 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25044 (__ieee754_powl): Saturate nonzero exponents with absolute value
25045 below 0x1p-79 to +/- 0x1p-79.
25046 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25047 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25048 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25049 nonzero exponents with absolute value below 0x1p-32 to +/-
25050 0x1p-32.
25051 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25052 (__ieee754_powl): Saturate nonzero exponents with absolute value
25053 below 0x1p-79 to +/- 0x1p-79.
25054 * math/libm-test.inc (pow_test): Add more tests.
25055
0ab234b7
AK
250562012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25057
25058 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25059 _dl_s390_cap_flags with kernel. Increase string length.
25060 (_dl_s390_platforms): Add z196 and zEC12.
25061
45832f74
JM
250622012-11-07 Joseph Myers <joseph@codesourcery.com>
25063
25064 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25065 Change XOPEN21K to XOPEN2K.
25066
19218757
MK
250672012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25068
25069 * string/memmove.c: Use memcpy when possible.
25070
c5f45721
AJ
250712012-11-06 Andreas Jaeger <aj@suse.de>
25072
25073 * po/eo.po: Update from translation team.
25074
82477c28
JM
250752012-11-06 Joseph Myers <joseph@codesourcery.com>
25076
25077 [BZ #14793]
25078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25079 exponent and small x and y exponents, scale x or y up. Increase
25080 by 2 the exponent used in scaling up.
25081 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25082 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25083 * math/libm-test.inc (fma_test): Add more tests.
25084 (fma_test_towardzero): Likewise.
25085 (fma_test_downward): Likewise.
25086 (fma_test_upward): Likewise.
25087
99252c8c
JM
250882012-11-05 Joseph Myers <joseph@codesourcery.com>
25089
acfa885f
JM
25090 [BZ #14805]
25091 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25092 fenv_t *.
25093
99252c8c
JM
25094 [BZ #14801]
25095 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25096 namespace for names of struct fields.
25097 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25098 fenv_t fields.
25099 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25100 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25101
d6d98dea
ST
251022012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25103
25104 [BZ #3665]
25105 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25106
e10bb107
TS
251072012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25108
25109 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25110 PTR_DEMANGLE.
25111
25112 [BZ #5246]
25113 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25114 PTR_DEMANGLE.
25115
a0c2940d
JM
251162012-11-04 Joseph Myers <joseph@codesourcery.com>
25117
25118 [BZ #14797]
25119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25120 definitely overflow as x * y not x * y + z.
25121 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25122 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25123 * math/libm-test.inc (fma_test): Add more tests.
25124 (fma_test_towardzero): Likewise.
25125 (fma_test_downward): Likewise.
25126 (fma_test_upward): Likewise.
25127
b830319d
TS
251282012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25129
25130 [BZ #157]
25131
25132 * include/stub-tag.h: Remove file.
25133 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25134 '#include' of it.
25135 * manual/maint.texi (Porting): Don't reference it.
25136 * Makerules ($(objpfx)stubs): Likewise.
25137 * dirent/closedir.c: Don't include <stub-tag.h>.
25138 * dirent/dirfd.c: Likewise.
25139 * dirent/fdopendir.c: Likewise.
25140 * dirent/getdents.c: Likewise.
25141 * dirent/getdents64.c: Likewise.
25142 * dirent/opendir.c: Likewise.
25143 * dirent/readdir.c: Likewise.
25144 * dirent/readdir64.c: Likewise.
25145 * dirent/readdir64_r.c: Likewise.
25146 * dirent/readdir_r.c: Likewise.
25147 * dirent/rewinddir.c: Likewise.
25148 * dirent/seekdir.c: Likewise.
25149 * dirent/telldir.c: Likewise.
25150 * gmon/profil.c: Likewise.
25151 * grp/setgroups.c: Likewise.
25152 * inet/if_index.c: Likewise.
25153 * io/access.c: Likewise.
25154 * io/chdir.c: Likewise.
25155 * io/chmod.c: Likewise.
25156 * io/chown.c: Likewise.
25157 * io/close.c: Likewise.
25158 * io/dup.c: Likewise.
25159 * io/dup2.c: Likewise.
25160 * io/dup3.c: Likewise.
25161 * io/euidaccess.c: Likewise.
25162 * io/faccessat.c: Likewise.
25163 * io/fchdir.c: Likewise.
25164 * io/fchmod.c: Likewise.
25165 * io/fchmodat.c: Likewise.
25166 * io/fchown.c: Likewise.
25167 * io/fchownat.c: Likewise.
25168 * io/fcntl.c: Likewise.
25169 * io/flock.c: Likewise.
25170 * io/fstatfs.c: Likewise.
25171 * io/fstatfs64.c: Likewise.
25172 * io/fstatvfs.c: Likewise.
25173 * io/fstatvfs64.c: Likewise.
25174 * io/futimens.c: Likewise.
25175 * io/fxstat.c: Likewise.
25176 * io/fxstat64.c: Likewise.
25177 * io/fxstatat.c: Likewise.
25178 * io/fxstatat64.c: Likewise.
25179 * io/getcwd.c: Likewise.
25180 * io/isatty.c: Likewise.
25181 * io/lchmod.c: Likewise.
25182 * io/lchown.c: Likewise.
25183 * io/link.c: Likewise.
25184 * io/linkat.c: Likewise.
25185 * io/lseek.c: Likewise.
25186 * io/lseek64.c: Likewise.
25187 * io/lxstat64.c: Likewise.
25188 * io/mkdir.c: Likewise.
25189 * io/mkdirat.c: Likewise.
25190 * io/mkfifo.c: Likewise.
25191 * io/mkfifoat.c: Likewise.
25192 * io/open.c: Likewise.
25193 * io/open64.c: Likewise.
25194 * io/openat.c: Likewise.
25195 * io/openat64.c: Likewise.
25196 * io/pipe.c: Likewise.
25197 * io/pipe2.c: Likewise.
25198 * io/poll.c: Likewise.
25199 * io/posix_fadvise.c: Likewise.
25200 * io/posix_fadvise64.c: Likewise.
25201 * io/posix_fallocate.c: Likewise.
25202 * io/posix_fallocate64.c: Likewise.
25203 * io/read.c: Likewise.
25204 * io/readlink.c: Likewise.
25205 * io/readlinkat.c: Likewise.
25206 * io/rmdir.c: Likewise.
25207 * io/sendfile.c: Likewise.
25208 * io/sendfile64.c: Likewise.
25209 * io/statfs.c: Likewise.
25210 * io/statfs64.c: Likewise.
25211 * io/statvfs.c: Likewise.
25212 * io/statvfs64.c: Likewise.
25213 * io/symlink.c: Likewise.
25214 * io/symlinkat.c: Likewise.
25215 * io/ttyname.c: Likewise.
25216 * io/ttyname_r.c: Likewise.
25217 * io/umask.c: Likewise.
25218 * io/unlink.c: Likewise.
25219 * io/unlinkat.c: Likewise.
25220 * io/utime.c: Likewise.
25221 * io/utimensat.c: Likewise.
25222 * io/write.c: Likewise.
25223 * io/xmknod.c: Likewise.
25224 * io/xmknodat.c: Likewise.
25225 * io/xstat.c: Likewise.
25226 * io/xstat64.c: Likewise.
25227 * login/getpt.c: Likewise.
25228 * login/grantpt.c: Likewise.
25229 * login/unlockpt.c: Likewise.
25230 * math/e_acoshl.c: Likewise.
25231 * math/e_acosl.c: Likewise.
25232 * math/e_asinl.c: Likewise.
25233 * math/e_atan2l.c: Likewise.
25234 * math/e_atanhl.c: Likewise.
25235 * math/e_coshl.c: Likewise.
25236 * math/e_expl.c: Likewise.
25237 * math/e_fmodl.c: Likewise.
25238 * math/e_gammal_r.c: Likewise.
25239 * math/e_hypotl.c: Likewise.
25240 * math/e_j0l.c: Likewise.
25241 * math/e_j1l.c: Likewise.
25242 * math/e_jnl.c: Likewise.
25243 * math/e_lgammal_r.c: Likewise.
25244 * math/e_log10l.c: Likewise.
25245 * math/e_log2l.c: Likewise.
25246 * math/e_logl.c: Likewise.
25247 * math/e_powl.c: Likewise.
25248 * math/e_rem_pio2l.c: Likewise.
25249 * math/e_sinhl.c: Likewise.
25250 * math/e_sqrtl.c: Likewise.
25251 * math/fclrexcpt.c: Likewise.
25252 * math/fedisblxcpt.c: Likewise.
25253 * math/feenablxcpt.c: Likewise.
25254 * math/fegetenv.c: Likewise.
25255 * math/fegetexcept.c: Likewise.
25256 * math/fegetround.c: Likewise.
25257 * math/feholdexcpt.c: Likewise.
25258 * math/fesetenv.c: Likewise.
25259 * math/fesetround.c: Likewise.
25260 * math/feupdateenv.c: Likewise.
25261 * math/fgetexcptflg.c: Likewise.
25262 * math/fraiseexcpt.c: Likewise.
25263 * math/fsetexcptflg.c: Likewise.
25264 * math/ftestexcept.c: Likewise.
25265 * math/k_cosl.c: Likewise.
25266 * math/k_rem_pio2l.c: Likewise.
25267 * math/k_sinl.c: Likewise.
25268 * math/k_tanl.c: Likewise.
25269 * math/s_asinhl.c: Likewise.
25270 * math/s_atanl.c: Likewise.
25271 * math/s_cbrtl.c: Likewise.
25272 * math/s_erfl.c: Likewise.
25273 * math/s_expm1l.c: Likewise.
25274 * math/s_log1pl.c: Likewise.
25275 * math/s_tanhl.c: Likewise.
25276 * misc/acct.c: Likewise.
25277 * misc/brk.c: Likewise.
25278 * misc/chflags.c: Likewise.
25279 * misc/chroot.c: Likewise.
25280 * misc/fchflags.c: Likewise.
25281 * misc/fgetxattr.c: Likewise.
25282 * misc/flistxattr.c: Likewise.
25283 * misc/fremovexattr.c: Likewise.
25284 * misc/fsetxattr.c: Likewise.
25285 * misc/fsync.c: Likewise.
25286 * misc/ftruncate.c: Likewise.
25287 * misc/futimes.c: Likewise.
25288 * misc/futimesat.c: Likewise.
25289 * misc/getdomain.c: Likewise.
25290 * misc/getdtsz.c: Likewise.
25291 * misc/gethostid.c: Likewise.
25292 * misc/gethostname.c: Likewise.
25293 * misc/getloadavg.c: Likewise.
25294 * misc/getpagesize.c: Likewise.
25295 * misc/getsysstats.c: Likewise.
25296 * misc/getxattr.c: Likewise.
25297 * misc/gtty.c: Likewise.
25298 * misc/ioctl.c: Likewise.
25299 * misc/lgetxattr.c: Likewise.
25300 * misc/listxattr.c: Likewise.
25301 * misc/llistxattr.c: Likewise.
25302 * misc/lremovexattr.c: Likewise.
25303 * misc/lsetxattr.c: Likewise.
25304 * misc/lutimes.c: Likewise.
25305 * misc/madvise.c: Likewise.
25306 * misc/mincore.c: Likewise.
25307 * misc/mlock.c: Likewise.
25308 * misc/mlockall.c: Likewise.
25309 * misc/mmap.c: Likewise.
25310 * misc/mprotect.c: Likewise.
25311 * misc/msync.c: Likewise.
25312 * misc/munlock.c: Likewise.
25313 * misc/munlockall.c: Likewise.
25314 * misc/munmap.c: Likewise.
25315 * misc/preadv.c: Likewise.
25316 * misc/preadv64.c: Likewise.
25317 * misc/ptrace.c: Likewise.
25318 * misc/pwritev.c: Likewise.
25319 * misc/pwritev64.c: Likewise.
25320 * misc/readv.c: Likewise.
25321 * misc/reboot.c: Likewise.
25322 * misc/remap_file_pages.c: Likewise.
25323 * misc/removexattr.c: Likewise.
25324 * misc/revoke.c: Likewise.
25325 * misc/select.c: Likewise.
25326 * misc/setdomain.c: Likewise.
25327 * misc/setegid.c: Likewise.
25328 * misc/seteuid.c: Likewise.
25329 * misc/sethostid.c: Likewise.
25330 * misc/sethostname.c: Likewise.
25331 * misc/setregid.c: Likewise.
25332 * misc/setreuid.c: Likewise.
25333 * misc/setxattr.c: Likewise.
25334 * misc/sstk.c: Likewise.
25335 * misc/stty.c: Likewise.
25336 * misc/swapoff.c: Likewise.
25337 * misc/swapon.c: Likewise.
25338 * misc/sync.c: Likewise.
25339 * misc/syncfs.c: Likewise.
25340 * misc/syscall.c: Likewise.
25341 * misc/truncate.c: Likewise.
25342 * misc/ualarm.c: Likewise.
25343 * misc/usleep.c: Likewise.
25344 * misc/ustat.c: Likewise.
25345 * misc/utimes.c: Likewise.
25346 * misc/vhangup.c: Likewise.
25347 * misc/writev.c: Likewise.
25348 * posix/_exit.c: Likewise.
25349 * posix/alarm.c: Likewise.
25350 * posix/execve.c: Likewise.
25351 * posix/fexecve.c: Likewise.
25352 * posix/fork.c: Likewise.
25353 * posix/fpathconf.c: Likewise.
25354 * posix/getaddrinfo.c: Likewise.
25355 * posix/getegid.c: Likewise.
25356 * posix/geteuid.c: Likewise.
25357 * posix/getgid.c: Likewise.
25358 * posix/getgroups.c: Likewise.
25359 * posix/getlogin.c: Likewise.
25360 * posix/getlogin_r.c: Likewise.
25361 * posix/getpgid.c: Likewise.
25362 * posix/getpid.c: Likewise.
25363 * posix/getppid.c: Likewise.
25364 * posix/getresgid.c: Likewise.
25365 * posix/getresuid.c: Likewise.
25366 * posix/getsid.c: Likewise.
25367 * posix/getuid.c: Likewise.
25368 * posix/glob64.c: Likewise.
25369 * posix/nanosleep.c: Likewise.
25370 * posix/pathconf.c: Likewise.
25371 * posix/pause.c: Likewise.
25372 * posix/posix_madvise.c: Likewise.
25373 * posix/pread.c: Likewise.
25374 * posix/pread64.c: Likewise.
25375 * posix/pwrite.c: Likewise.
25376 * posix/pwrite64.c: Likewise.
25377 * posix/sched_getaffinity.c: Likewise.
25378 * posix/sched_getp.c: Likewise.
25379 * posix/sched_gets.c: Likewise.
25380 * posix/sched_primax.c: Likewise.
25381 * posix/sched_primin.c: Likewise.
25382 * posix/sched_rr_gi.c: Likewise.
25383 * posix/sched_setaffinity.c: Likewise.
25384 * posix/sched_setp.c: Likewise.
25385 * posix/sched_sets.c: Likewise.
25386 * posix/sched_yield.c: Likewise.
25387 * posix/setgid.c: Likewise.
25388 * posix/setlogin.c: Likewise.
25389 * posix/setpgid.c: Likewise.
25390 * posix/setresgid.c: Likewise.
25391 * posix/setresuid.c: Likewise.
25392 * posix/setsid.c: Likewise.
25393 * posix/setuid.c: Likewise.
25394 * posix/sleep.c: Likewise.
25395 * posix/spawni.c: Likewise.
25396 * posix/sysconf.c: Likewise.
25397 * posix/times.c: Likewise.
25398 * posix/wait.c: Likewise.
25399 * posix/wait3.c: Likewise.
25400 * posix/wait4.c: Likewise.
25401 * posix/waitpid.c: Likewise.
25402 * resolv/gai_sigqueue.c: Likewise.
25403 * resource/getpriority.c: Likewise.
25404 * resource/getrlimit.c: Likewise.
25405 * resource/getrusage.c: Likewise.
25406 * resource/nice.c: Likewise.
25407 * resource/setpriority.c: Likewise.
25408 * resource/setrlimit.c: Likewise.
25409 * resource/ulimit.c: Likewise.
25410 * rt/aio_cancel.c: Likewise.
25411 * rt/aio_fsync.c: Likewise.
25412 * rt/aio_read.c: Likewise.
25413 * rt/aio_sigqueue.c: Likewise.
25414 * rt/aio_suspend.c: Likewise.
25415 * rt/aio_write.c: Likewise.
25416 * rt/clock_getres.c: Likewise.
25417 * rt/clock_gettime.c: Likewise.
25418 * rt/clock_nanosleep.c: Likewise.
25419 * rt/clock_settime.c: Likewise.
25420 * rt/lio_listio.c: Likewise.
25421 * rt/mq_close.c: Likewise.
25422 * rt/mq_getattr.c: Likewise.
25423 * rt/mq_notify.c: Likewise.
25424 * rt/mq_open.c: Likewise.
25425 * rt/mq_receive.c: Likewise.
25426 * rt/mq_send.c: Likewise.
25427 * rt/mq_setattr.c: Likewise.
25428 * rt/mq_timedreceive.c: Likewise.
25429 * rt/mq_timedsend.c: Likewise.
25430 * rt/mq_unlink.c: Likewise.
25431 * rt/shm_open.c: Likewise.
25432 * rt/shm_unlink.c: Likewise.
25433 * rt/timer_create.c: Likewise.
25434 * rt/timer_delete.c: Likewise.
25435 * rt/timer_getoverr.c: Likewise.
25436 * rt/timer_gettime.c: Likewise.
25437 * rt/timer_settime.c: Likewise.
25438 * setjmp/__longjmp.c: Likewise.
25439 * setjmp/setjmp.c: Likewise.
25440 * signal/kill.c: Likewise.
25441 * signal/killpg.c: Likewise.
25442 * signal/raise.c: Likewise.
25443 * signal/sigaction.c: Likewise.
25444 * signal/sigaltstack.c: Likewise.
25445 * signal/sigblock.c: Likewise.
25446 * signal/sigignore.c: Likewise.
25447 * signal/sigintr.c: Likewise.
25448 * signal/signal.c: Likewise.
25449 * signal/sigpause.c: Likewise.
25450 * signal/sigpending.c: Likewise.
25451 * signal/sigqueue.c: Likewise.
25452 * signal/sigreturn.c: Likewise.
25453 * signal/sigset.c: Likewise.
25454 * signal/sigsetmask.c: Likewise.
25455 * signal/sigstack.c: Likewise.
25456 * signal/sigsuspend.c: Likewise.
25457 * signal/sigtimedwait.c: Likewise.
25458 * signal/sigvec.c: Likewise.
25459 * signal/sigwait.c: Likewise.
25460 * signal/sigwaitinfo.c: Likewise.
25461 * signal/sysv_signal.c: Likewise.
25462 * socket/accept.c: Likewise.
25463 * socket/accept4.c: Likewise.
25464 * socket/bind.c: Likewise.
25465 * socket/connect.c: Likewise.
25466 * socket/getpeername.c: Likewise.
25467 * socket/getsockname.c: Likewise.
25468 * socket/getsockopt.c: Likewise.
25469 * socket/isfdtype.c: Likewise.
25470 * socket/listen.c: Likewise.
25471 * socket/recv.c: Likewise.
25472 * socket/recvfrom.c: Likewise.
25473 * socket/recvmsg.c: Likewise.
25474 * socket/send.c: Likewise.
25475 * socket/sendmsg.c: Likewise.
25476 * socket/sendto.c: Likewise.
25477 * socket/setsockopt.c: Likewise.
25478 * socket/shutdown.c: Likewise.
25479 * socket/sockatmark.c: Likewise.
25480 * socket/socket.c: Likewise.
25481 * socket/socketpair.c: Likewise.
25482 * stdio-common/ctermid.c: Likewise.
25483 * stdio-common/cuserid.c: Likewise.
25484 * stdio-common/remove.c: Likewise.
25485 * stdio-common/rename.c: Likewise.
25486 * stdio-common/renameat.c: Likewise.
25487 * stdio-common/tempname.c: Likewise.
25488 * stdlib/getcontext.c: Likewise.
25489 * stdlib/makecontext.c: Likewise.
25490 * stdlib/setcontext.c: Likewise.
25491 * stdlib/swapcontext.c: Likewise.
25492 * stdlib/system.c: Likewise.
25493 * streams/fattach.c: Likewise.
25494 * streams/fdetach.c: Likewise.
25495 * streams/getmsg.c: Likewise.
25496 * streams/getpmsg.c: Likewise.
25497 * streams/putmsg.c: Likewise.
25498 * streams/putpmsg.c: Likewise.
25499 * sysdeps/unix/bsd/getpt.c: Likewise.
25500 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25501 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25502 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25504 Likewise.
25505 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25506 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25507 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25508 * sysvipc/msgctl.c: Likewise.
25509 * sysvipc/msgget.c: Likewise.
25510 * sysvipc/msgrcv.c: Likewise.
25511 * sysvipc/msgsnd.c: Likewise.
25512 * sysvipc/semctl.c: Likewise.
25513 * sysvipc/semget.c: Likewise.
25514 * sysvipc/semop.c: Likewise.
25515 * sysvipc/semtimedop.c: Likewise.
25516 * sysvipc/shmat.c: Likewise.
25517 * sysvipc/shmctl.c: Likewise.
25518 * sysvipc/shmdt.c: Likewise.
25519 * sysvipc/shmget.c: Likewise.
25520 * termios/tcdrain.c: Likewise.
25521 * termios/tcflow.c: Likewise.
25522 * termios/tcflush.c: Likewise.
25523 * termios/tcgetattr.c: Likewise.
25524 * termios/tcgetpgrp.c: Likewise.
25525 * termios/tcsendbrk.c: Likewise.
25526 * termios/tcsetattr.c: Likewise.
25527 * termios/tcsetpgrp.c: Likewise.
25528 * time/adjtime.c: Likewise.
25529 * time/clock.c: Likewise.
25530 * time/getitimer.c: Likewise.
25531 * time/gettimeofday.c: Likewise.
25532 * time/setitimer.c: Likewise.
25533 * time/settimeofday.c: Likewise.
25534 * time/stime.c: Likewise.
25535 * time/time.c: Likewise.
25536
255372012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 25538
a20492cf
PT
25539 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25540 /usr/old/bin.
25541
72e182e3
PT
25542 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25543 instead of spaces.
25544 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25545
fbeafede
JM
255462012-11-03 Joseph Myers <joseph@codesourcery.com>
25547
5b5b04d6
JM
25548 [BZ #14796]
25549 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25550 FE_TONEAREST before applying Dekker multiplication and Knuth
25551 addition. Clear inexact exceptions and check for exact zero
25552 results afterwards.
25553 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25554 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25555 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25556 * math/libm-test.inc (fma_test): Add more tests.
25557 (fma_test_towardzero): Likewise.
25558 (fma_test_downward): Likewise.
25559 (fma_test_upward): Likewise.
25560 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25561 function.
25562 (libc_fesetround): New macro.
25563 (libc_fesetroundf): Likewise.
25564 (libc_fesetroundl): Likewise.
25565 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25566 function.
25567 (libc_fesetround_387): Likewise.
25568 (libc_fesetroundf): New macro.
25569 (libc_fesetround): Likewise.
25570 (libc_fesetroundl): Likewise.
25571 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25572 function.
25573 (libc_fesetroundf): New macro.
25574 (libc_fesetround): Likewise.
25575 (libc_fesetroundl): Likewise.
25576 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25577 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25578 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25579 libm_hidden_ver.
25580 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25581 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25582 libm_hidden_def.
25583 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25584 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25585 libm_hidden_ver.
25586 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25587 libm_hidden_def.
25588
fbeafede
JM
25589 [BZ #3439]
25590 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25591 integer constant usable in #if and use that to give value to enum
25592 constant.
25593 (FE_DIVBYZERO): Likewise.
25594 (FE_UNDERFLOW): Likewise.
25595 (FE_OVERFLOW): Likewise.
25596 (FE_INVALID): Likewise.
25597 (FE_INVALID_SNAN): Likewise.
25598 (FE_INVALID_ISI): Likewise.
25599 (FE_INVALID_IDI): Likewise.
25600 (FE_INVALID_ZDZ): Likewise.
25601 (FE_INVALID_IMZ): Likewise.
25602 (FE_INVALID_COMPARE): Likewise.
25603 (FE_INVALID_SOFTWARE): Likewise.
25604 (FE_INVALID_SQRT): Likewise.
25605 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25606 (FE_TONEAREST): Likewise.
25607 (FE_TOWARDZERO): Likewise.
25608 (FE_UPWARD): Likewise.
25609 (FE_DOWNWARD): Likewise.
25610 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25611 (FE_DIVBYZERO): Likewise.
25612 (FE_OVERFLOW): Likewise.
25613 (FE_UNDERFLOW): Likewise.
25614 (FE_INEXACT): Likewise.
25615 (FE_TONEAREST): Likewise.
25616 (FE_DOWNWARD): Likewise.
25617 (FE_UPWARD): Likewise.
25618 (FE_TOWARDZERO): Likewise.
25619 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25620 (FE_UNDERFLOW): Likewise.
25621 (FE_OVERFLOW): Likewise.
25622 (FE_DIVBYZERO): Likewise.
25623 (FE_INVALID): Likewise.
25624 (FE_TONEAREST): Likewise.
25625 (FE_TOWARDZERO): Likewise.
25626 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25627 (FE_OVERFLOW): Likewise.
25628 (FE_UNDERFLOW): Likewise.
25629 (FE_DIVBYZERO): Likewise.
25630 (FE_INEXACT): Likewise.
25631 (FE_TONEAREST): Likewise.
25632 (FE_TOWARDZERO): Likewise.
25633 (FE_UPWARD): Likewise.
25634 (FE_DOWNWARD): Likewise.
25635 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25636 (FE_DIVBYZERO): Likewise.
25637 (FE_OVERFLOW): Likewise.
25638 (FE_UNDERFLOW): Likewise.
25639 (FE_INEXACT): Likewise.
25640 (FE_TONEAREST): Likewise.
25641 (FE_DOWNWARD): Likewise.
25642 (FE_UPWARD): Likewise.
25643 (FE_TOWARDZERO): Likewise.
25644
105ca950
CM
256452012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25646
25647 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25648
a542b389
AS
256492012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25650
25651 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25652 commands. Quote $PWD.
25653 (blacklist_exports): Don't use remove_newlines. Replace "declare
25654 -x" by "export".
25655 (remove_newlines): Remove.
25656
f62c8abc
L
256572012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25658
25659 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25660 * stdlib/stdlib.h (atof): Moved to ...
25661 * include/bits/stdlib-float.h: Here. New file.
25662 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25663 * stdlib/bits/stdlib-float.h: New file.
25664 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25665 -mno-sse -mno-mmx.
25666 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25667 <xmmintrin.h>.
25668
0155d5b2
JM
256692012-11-02 Joseph Myers <joseph@codesourcery.com>
25670
a68d0680
JM
25671 * conform/conformtest.pl (@headers): Add fenv.h.
25672 * conform/data/fenv.h-data: New file.
25673 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25674 include of <math/fenv.h>.
25675
caf7f573
JM
25676 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25677 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25678 && !UNIX98]. Enables tests for XOPEN2K8.
25679 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25680 POSIX2008]: Likewise.
25681
6c073ad6
JM
25682 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25683 (struct rusage): Do not expect type or its members.
25684
0155d5b2
JM
25685 [BZ #3439]
25686 * math/math.h (FP_NAN): Define macro to integer constant usable in
25687 #if and use that to give value to enum constant.
25688 (FP_INFINITE): Likewise.
25689 (FP_ZERO): Likewise.
25690 (FP_SUBNORMAL): Likewise.
25691 (FP_NORMAL): Likewise.
25692
b5dcacb4
AS
256932012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25694
25695 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25696 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25697 arguments.
25698
f7934be8
RM
256992012-11-02 Roland McGrath <roland@hack.frob.com>
25700
25701 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25702 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25703 autoconf-time if not.
25704 * configure.in: Remove AC_PREREQ.
25705
d7d08bde
TMQMF
257062012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25707
25708 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25709 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25710 of the internal implementation.
25711
dcdae19a
JM
257122012-11-02 Joseph Myers <joseph@codesourcery.com>
25713
25714 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25715 except include of <misc/sys/syslog.h>.
25716
d6cffd3e
AS
257172012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25718
25719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25720 function returns with a NULL context exit with zero.
25721
b3563932
TMQMF
257222012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25723
25724 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25725
b288a93d
L
257262012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25727
25728 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25729 (run_program_cmd): This.
25730 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25731 (tst_langinfo): New variable. Use it.
25732
a2421a68
SAS
257332012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25734
25735 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25736 floating point opcodes.
25737
6f796e1b
TS
257382012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25739
7402596b
TS
25740 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25741 variable.
25742
d0d4f868
TS
25743 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25744
6f796e1b
TS
25745 * sysdeps/mach/hurd/powerpc: Remove directory.
25746 * sysdeps/mach/powerpc: Likewise.
25747
4da224a2
AS
257482012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25749
25750 * scripts/check-local-headers.sh: Ignore c++ headers.
25751
341dd673
TS
257522012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25753
25754 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25755 __libc_cleanup_region_start argument.
25756
473611b2
JM
257572012-11-01 Joseph Myers <joseph@codesourcery.com>
25758
25759 [BZ #14784]
25760 [BZ #14785]
25761 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25762 x * y using scaling, not as x * y + z.
25763 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25764 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25765 * math/libm-test.inc (fma_test): Add more tests.
25766 (fma_test_towardzero): Likewise.
25767 (fma_test_downward): Likewise.
25768 (fma_test_upward): Likewise.
25769
4078da3d
TS
257702012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25771
25772 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25773
903252aa
JM
257742012-10-31 Joseph Myers <joseph@codesourcery.com>
25775
25776 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25777 New variable.
25778
cbc818d0
TS
257792012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25780
25781 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25782
5a03cb1e
AS
257832012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25784
25785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25786 Fix sort order.
25787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25788 Likewise.
25789
90aff2ff
TMQMF
257902012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25791
25792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25793 Fix the order of the list for glibc 2.17.
25794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25795 Likewise.
25796
1818fcb7
AS
257972012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25798
25799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25800
ef82f4da
JM
258012012-10-31 Joseph Myers <joseph@codesourcery.com>
25802
16a0e2ec
JM
25803 [BZ #14610]
25804 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25805 for low part of x being zero before using __atanl (y).
25806 * math/libm-test.inc (atan2_test): Add another test.
25807
0eb69512
JM
25808 * manual/install.texi (Configuring and compiling): Document
25809 general use of test-wrapper and test-wrapper-env.
25810 * INSTALL: Regenerated.
25811
ef82f4da
JM
25812 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25813 (__fma): Do not extract and scale down low bits on after-rounding
25814 systems when result rounded to normal precision would have normal
25815 exponent.
25816 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25817 (__fmal): Do not extract and scale down low bits on after-rounding
25818 systems when result rounded to normal precision would have normal
25819 exponent.
25820 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25821 (__fmal): Do not extract and scale down low bits on after-rounding
25822 systems when result rounded to normal precision would have normal
25823 exponent.
25824 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25825 macro.
25826 (fma_test): Add more tests.
25827 (fma_test_towardzero): Likewise.
25828 (fma_test_downward): Likewise.
25829 (fma_test_upward): Likewise.
25830
954ef0d9
L
258312012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25832
25833 * sysdeps/i386/tininess.h: Renamed to ...
25834 * sysdeps/x86/tininess.h: This.
25835 * sysdeps/x86_64/tininess.h: Removed.
25836
df61ffb2
JM
258372012-10-30 Joseph Myers <joseph@codesourcery.com>
25838
25839 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25840 input. Use $(build-program-cmd).
25841 ($(objpfx)tst-array1-static.out): Likewise.
25842 ($(objpfx)tst-array2.out): Likewise.
25843 ($(objpfx)tst-array3.out): Likewise.
25844 ($(objpfx)tst-array4.out): Likewise.
25845 ($(objpfx)tst-array5.out): Likewise.
25846 ($(objpfx)tst-array5-static.out): Likewise.
25847
01767843
CM
258482012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25849
47cc1490
CM
25850 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25851 if defined.
25852
01767843
CM
25853 * nss/nsswitch.h (nss_interface_function): Provide new
25854 macro for use with NSS functions.
25855 * grp/initgroups.c: Use new macro.
25856 * nss/getXXbyYY.c: Likewise.
25857 * nss/getXXbyYY_r.c: Likewise.
25858 * nss/getXXent.c: Likewise.
25859 * nss/getXXent_r.c: Likewise.
25860 * sysdeps/posix/getaddrinfo.c: Likewise.
25861
8321aa97
AJ
258622012-10-30 Andreas Jaeger <aj@suse.de>
25863
25864 * po/ru.po: Update Russion translation from translation project.
25865
2a27fd6d
JM
258662012-10-30 Joseph Myers <joseph@codesourcery.com>
25867
8627a232
JM
25868 [BZ #14152]
25869 [BZ #14783]
25870 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25871 result and shift together with sticky bit instead of replicating
25872 round-to-nearest rounding.
25873 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25874 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25875 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25876 missing underflow exceptions.
25877 (fma_test_towardzero): Add more tests.
25878 (fma_test_downward): Likewise.
25879 (fma_test_upward): Likewise.
25880
2a27fd6d
JM
25881 [BZ #14047]
25882 * sysdeps/generic/tininess.h: New file.
25883 * sysdeps/i386/tininess.h: Likewise.
25884 * sysdeps/sh/tininess.h: Likewise.
25885 * sysdeps/x86_64/tininess.h: Likewise.
25886 * stdlib/tst-strtod-underflow.c: Likewise.
25887 * stdlib/tst-tininess.c: Likewise.
25888 * stdlib/strtod_l.c: Include <tininess.h>.
25889 (round_and_return): Do not set errno for exact underflow cases.
25890 Force an underflow exception when setting errno for underflow.
25891 Determine underflow based on rounding to normal precision if
25892 TININESS_AFTER_ROUNDING.
25893 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25894 ERANGE for exact underflow cases.
25895 * stdlib/Makefile (tests): Add tst-tininess and
25896 tst-strtod-underflow.
25897 ($(objpfx)tst-tininess): Use $(link-libm).
25898 ($(objpfx)tst-strtod-underflow): Likewise.
25899
e7170363
AJ
259002012-10-30 Andreas Jaeger <aj@suse.de>
25901
e5088dc6
AJ
25902 [BZ#14767]
25903 * elf/Makefile (tests): Remove conditional for have-initfini-array
25904 since this is now always required and the variable does not exist
25905 anymore.
25906 (tests-static): Likewise.
25907 (modules-names): Likewise.
25908
e7170363 25909 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
25910
25911 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25912 merged with constructor/destructor.
25913 (init_array): Likewise.
25914 * elf/tst-array2dep.c (fini_array): Likewise.
25915 (init_array): Likewise.
25916
60457d8a
MF
259172012-10-29 Mike Frysinger <vapier@gentoo.org>
25918
25919 * manual/message.texi: Delete @cartouche tags.
25920
8bece752
PT
259212012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25922
94ce799f
PT
25923 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25924 EOPNOTSUPP.
25925 * sysdeps/mach/hurd/fsync.c: Likewise.
25926
8bece752
PT
25927 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25928 [_POSIX_REALTIME_SIGNALS]: Change condition to
25929 [_POSIX_REALTIME_SIGNALS > 0].
25930
86ebe6b1
AJ
259312012-10-27 Andreas Jaeger <aj@suse.de>
25932
25933 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25934 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25935 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25936 [__WORDSIZE != 64]: Likewise.
25937
54399c08
L
259382012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25939
25940 * iconvdata/tst-table.sh: Remove ${SHELL}.
25941 * iconvdata/tst-tables.sh: Likewise.
25942
e2211bed
DM
259432012-10-25 David S. Miller <davem@davemloft.net>
25944
25945 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25946 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25947 of strtoull.
25948
f303f97c
DM
25949 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25950 ifunc-impl-list.c
25951 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25952 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25953 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25954 file.
25955
1e9d84cd
RM
259562012-10-25 Roland McGrath <roland@hack.frob.com>
25957
25958 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25959 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25960 __getdirentries.
25961
df381762
JM
259622012-10-25 Joseph Myers <joseph@codesourcery.com>
25963 Jim Blandy <jimb@codesourcery.com>
25964
25965 * scripts/cross-test-ssh.sh: New file.
25966 * manual/install.texi (Configuring and compiling): Document use of
25967 cross-test-ssh.sh.
25968 * INSTALL: Regenerated.
25969
bff64913
PT
259702012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25971
25972 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25973 EOPNOTSUPP.
25974
25fe8932
JM
259752012-10-25 Joseph Myers <joseph@codesourcery.com>
25976
25977 * Makeconfig (run-program-prefix): Fix comment.
25978
cc1290d0
JM
259792012-10-24 Joseph Myers <joseph@codesourcery.com>
25980 Jim Blandy <jimb@codesourcery.com>
25981
25982 * Makeconfig (test-wrapper): New variable,
25983 (test-wrapper-env): Likewise.
25984 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25985 (run-built-tests): Define to yes.
25986 (run-program-prefix): Use $(test-wrapper).
25987 (built-program-cmd): Likewise.
25988 * Rules (make-test-out): Use $(test-wrapper-env) and
25989 $(host-built-program-cmd).
25990 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25991 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25992 tst-pathopt.sh.
25993 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25994 $(test-wrapper-env) to tst-rtld-load-self.sh.
25995 ($(objpfx)order2.out): Use $(test-wrapper).
25996 ($(objpfx)tst-initorder.out): Likewise.
25997 ($(objpfx)tst-initorder2.out): Likewise.
25998 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25999 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26000 (test_wrapper_env): New variable. Use it to run ld.so.
26001 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26002 Use it to run ld.so.
26003 (test_wrapper_env): Likewise.
26004 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26005 $(test-wrapper) to run-iconv-test.sh.
26006 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26007 (ICONV): Use $test_wrapper.
26008 * posix/Makefile ($(objpfx)globtest.out): Pass
26009 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26010 globtest.sh, not $(run-program-prefix).
26011 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26012 (test_wrapper): Likewise.
26013 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26014 set together with run_via_rtld_prefix.
26015 (run_program_prefix): Define in terms of test_wrapper and
26016 run_via_rtld_prefix.
26017
6e6249d0
RM
260182012-10-24 Roland McGrath <roland@hack.frob.com>
26019
26020 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26021 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26022 Targets removed.
26023
26024 [BZ #14743]
26025 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26026 Declare __clock_getres, __clock_gettime, __clock_settime,
26027 __clock_nanosleep, and __clock_getcpuclockid.
26028 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26029 Remove librt_hidden_def (clock_gettime).
26030 * sysdeps/unix/clock_gettime.c: Likewise.
26031 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26032 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26033 * rt/clock_getres.c: Define __clock_getres as an alias.
26034 * sysdeps/posix/clock_getres.c: Likewise.
26035 * rt/clock_settime.c: Define __clock_settime as an alias.
26036 * sysdeps/unix/clock_settime.c: Likewise.
26037 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26038 * sysdeps/unix/clock_nanosleep.c: Likewise.
26039 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26040 * rt/clock-compat.c: New file.
26041 * rt/Makefile (librt-routines): Add clock-compat and move
26042 $(clock-routines) to ...
26043 (routines): ... here, new variable.
26044 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26045 Don't add get_clockfreq here.
26046 * rt/Versions (libc: GLIBC_2.17): New version set.
26047 Add clock_* symbols here.
26048 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26049 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26050 (GLIBC_2.17): Add clock_* symbols.
26051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26053 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26055 Likewise.
26056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26057 Likewise.
26058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26062 * NEWS: Mention the move.
26063
26064 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26065 Use __open, __read, __close rather than their public counterparts.
26066 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26067 (__get_clockfreq_via_cpuinfo): Likewise.
26068 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26069 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26070
26071 * config.h.in (HAVE_IFUNC): New #undef.
26072 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26073 was successful.
26074 * configure: Regenerated.
26075
0cae3f4b
MF
260762012-10-24 Mike Frysinger <vapier@gentoo.org>
26077
26078 * configure.in: Move READELF check to start of file.
26079 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26080 libc_cv_asm_gnu_indirect_function in the process.
26081 * configure: Regenerated.
26082
8175a253
MF
260832012-10-24 Mike Frysinger <vapier@gentoo.org>
26084
26085 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26086 send the output to /dev/null.
26087 (libc_cv_cc_with_libunwind): Likewise.
26088 (libc_cv_as_noexecstack): Likewise.
26089 * configure: Regenerate.
26090
0708a7d1
JM
260912012-10-24 Joseph Myers <joseph@codesourcery.com>
26092
10b40d85
JM
26093 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26094
0708a7d1
JM
26095 * posix/globtest.sh (TMPDIR): Do not set.
26096 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26097 (testout): Likewise.
26098
9fddec1a
AJ
260992012-10-24 Andreas Jaeger <aj@suse.de>
26100
3a8db22f
AJ
26101 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26102 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26103 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26104 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26105 posix_fadvise64, posix_fallocate64.
26106
9fddec1a
AJ
26107 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26108 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26109 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26110 Likewise.
26111 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26112 Likewise.
26113 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26114
26115 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26116 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26117 <bits/fcntl-linux.h>.
26118 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26119
26120 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26121 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26122 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26123 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26124 [__WORDSIZE != 64]: Likewise.
26125
ebfd1bbd
JM
261262012-10-23 Joseph Myers <joseph@codesourcery.com>
26127
03ac099f
JM
26128 * Makeconfig (run-built-tests): New variable.
26129 * Rules [$(cross-compiling) = yes]: Change condition to
26130 [$(run-built-tests) = no].
26131 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26132 to [$(run-built-tests) = yes].
26133 * elf/Makefile [$(cross-compiling) = no]: Likewise
26134 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26135 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26136 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26137 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26138 * io/Makefile [$(cross-compiling) = no]: Likewise.
26139 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26140 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26141 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26142 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26143 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26144 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26145 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26146 * string/Makefile [$(cross-compiling) = no]: Likewise.
26147
ebfd1bbd
JM
26148 * posix/Makefile ($(objpfx)globtest.out): Pass
26149 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26150 $(rtld-installed-name).
26151 * posix/globtest.sh (elf_objpfx): Remove variable.
26152 (rtld_installed_name): Likewise.
26153 (library_path): Likewise.
26154 (run_program_prefix): New variable. Use for running globtest
26155 binary.
26156
166bca24
JB
261572012-10-23 Jim Blandy <jimb@codesourcery.com>
26158 Joseph Myers <joseph@codesourcery.com>
26159
26160 * Makeconfig (host-built-program-cmd): New variable.
26161 * elf/Makefile (tst-stackguard1-ARGS): Use
26162 $(host-built-program-cmd).
26163 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26164 (tst-spawn-ARGS): Likewise.
26165 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26166
88866099
JM
261672012-10-23 Joseph Myers <joseph@codesourcery.com>
26168 Jim Blandy <jimb@codesourcery.com>
26169
26170 * Makeconfig (run-via-rtld-prefix): New variable.
26171 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26172 (built-program-cmd): Likewise.
26173
b4b4c296
AJ
261742012-10-22 Andreas Jaeger <aj@suse.de>
26175
26176 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26177 __O_RSYNC if it exists, otherwise to O_SYNC.
26178
6fb54a22
JB
261792012-10-22 Jim Blandy <jimb@codesourcery.com>
26180 Joseph Myers <joseph@codesourcery.com>
26181
26182 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26183 /dev/null.
26184 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26185 from /dev/null
26186 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26187 /dev/null.
26188
481b90b9
AJ
261892012-10-22 Andreas Jaeger <aj@suse.de>
26190
2a0e2669
AJ
26191 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26192 Define always.
26193 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26194
76e38f9a
AJ
26195 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26196 bits/fcntl-linux.h.
26197
7cd37b43
AJ
26198 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26199 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26200
481b90b9
AJ
26201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26202 to __O_LARGEFILE.
26203 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26204 to __O_LARGEFILE.
26205
aba75984
JB
262062012-10-21 Jim Blandy <jimb@codesourcery.com>
26207 Joseph Myers <joseph@codesourcery.com>
26208
26209 * config.make.in (NM): New variable.
26210
88d4247f
AJ
262112012-10-21 Andreas Jaeger <aj@suse.de>
26212
26213 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26214 definitions and declarations that are provided by
26215 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26216
f2eed205
L
262172012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26218
26219 [BZ #14683]
26220 * elf/Makefile (tests-static): Add tst-leaks1-static.
26221 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26222 ($(objpfx)tst-leaks1-static): New rule.
26223 ($(objpfx)tst-leaks1-static-mem): Likewise.
26224 (tst-leaks1-static-ENV): New macro.
26225 * elf/dl-open.c (dl_open_worker): Check the main application
26226 only if SHARED is defined.
26227 * elf/tst-leaks1-static.c: New file.
26228
335e6931
AJ
262292012-10-20 Andreas Jaeger <aj@suse.de>
26230
26231 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26232 generic values for Linux.
26233 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26234 and declarations that are provided by <bits/fcntl-linux.h> and
26235 include <bits/fcntl-linux.h>.
26236 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26237 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26238
ac5c94d3
RM
262392012-10-20 Roland McGrath <roland@hack.frob.com>
26240
26241 * io/fcntl.h: Move include of <bits/types.h> to the top and
26242 include it unconditionally.
26243
de54b33a
L
262442012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26245
228cfb01
L
26246 * wcsmbs/Makefile (tests-ifunc): New variable.
26247 (tests): Add $(tests-ifunc).
26248 * wcsmbs/test-wcschr-ifunc.c: New file.
26249 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26250 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26251 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26252 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26253 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26254
69f07e5f
L
26255 * string/Makefile (tests-ifunc): New variable.
26256 (tests): Add $(tests-ifunc).
26257 * string/test-memccpy.c (TEST_NAME): New macro.
26258 * string/test-memchr.c (TEST_NAME): Likewise.
26259 * string/test-memcmp.c (TEST_NAME): Likewise.
26260 * string/test-memcpy.c (TEST_NAME): Likewise.
26261 * string/test-memmem.c (TEST_NAME): Likewise.
26262 * string/test-memmove.c (TEST_NAME): Likewise.
26263 * string/test-memset.c (TEST_NAME): Likewise.
26264 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26265 * string/test-stpcpy.c (TEST_NAME): Likewise.
26266 * string/test-stpncpy.c (TEST_NAME): Likewise.
26267 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26268 * string/test-strcasestr.c (TEST_NAME): Likewise.
26269 * string/test-strcat.c (TEST_NAME): Likewise.
26270 * string/test-strchr.c (TEST_NAME): Likewise.
26271 * string/test-strcmp.c(TEST_NAME): Likewise.
26272 * string/test-strcpy.c (TEST_NAME): Likewise.
26273 * string/test-strcspn.c (TEST_NAME): Likewise.
26274 * string/test-strlen.c (TEST_NAME): Likewise.
26275 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26276 * string/test-strncmp.c (TEST_NAME): Likewise.
26277 * string/test-strncpy.c (TEST_NAME): Likewise.
26278 * string/test-strnlen.c (TEST_NAME): Likewise.
26279 * string/test-strpbrk.c (TEST_NAME): Likewise.
26280 * string/test-strrchr.c (TEST_NAME): Likewise.
26281 * string/test-strspn.c (TEST_NAME): Likewise.
26282 * string/test-strstr.c (TEST_NAME): Likewise.
26283 * string/test-bcopy-ifunc.c: New file.
26284 * string/test-bzero-ifunc.c: Likewise.
26285 * string/test-memccpy-ifunc.c: Likewise.
26286 * string/test-memchr-ifunc.c: Likewise.
26287 * string/test-memcmp-ifunc.c: Likewise.
26288 * string/test-memcpy-ifunc.c: Likewise.
26289 * string/test-memmem-ifunc.c: Likewise.
26290 * string/test-memmove-ifunc.c: Likewise.
26291 * string/test-mempcpy-ifunc.c: Likewise.
26292 * string/test-memset-ifunc.c: Likewise.
26293 * string/test-rawmemchr-ifunc.c: Likewise.
26294 * string/test-stpcpy-ifunc.c: Likewise.
26295 * string/test-stpncpy-ifunc.c: Likewise.
26296 * string/test-strcasecmp-ifunc.c: Likewise.
26297 * string/test-strcasestr-ifunc.c: Likewise.
26298 * string/test-strcat-ifunc.c: Likewise.
26299 * string/test-strchr-ifunc.c: Likewise.
26300 * string/test-strchrnul-ifunc.c: Likewise.
26301 * string/test-strcmp-ifunc.c: Likewise.
26302 * string/test-strcpy-ifunc.c: Likewise.
26303 * string/test-strcspn-ifunc.c: Likewise.
26304 * string/test-strlen-ifunc.c: Likewise.
26305 * string/test-strncasecmp-ifunc.c: Likewise.
26306 * string/test-strncat-ifunc.c: Likewise.
26307 * string/test-strncmp-ifunc.c: Likewise.
26308 * string/test-strncpy-ifunc.c: Likewise.
26309 * string/test-strnlen-ifunc.c: Likewise.
26310 * string/test-strpbrk-ifunc.c: Likewise.
26311 * string/test-strrchr-ifunc.c: Likewise.
26312 * string/test-strspn-ifunc.c: Likewise.
26313 * string/test-strstr-ifunc.c: Likewise.
26314
de54b33a
L
26315 * debug/Makefile (tests-ifunc): New variable.
26316 (tests): Add $(tests-ifunc).
26317 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26318 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26319 * debug/test-stpcpy_chk-ifunc.c: New file.
26320 * debug/test-strcpy_chk-ifunc.c: Likewise.
26321
88481c16
SP
263222012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26323
26324 [BZ #13601]
26325 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26326 header is not read in.
26327
135948bd
JM
263282012-10-19 Joseph Myers <joseph@codesourcery.com>
26329
89f1c388
JM
26330 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26331 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26332 directly. Pass built executable to script as
26333 $(built-program-cmd).
26334 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26335 $testprogram without using LD_LIBRARY_PATH and $ldso.
26336
e40a0d21
JM
26337 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26338 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26339 $(rtld-installed-name).
26340 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26341 (rtld_installed_name): Likewise.
26342 (library_path): Likewise.
26343 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26344 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26345 $(run-program-prefix) to tst-tables.sh.
26346 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26347 it to run tst-table-from and tst-table-to.
26348 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26349 Pass it to tst-table.sh.
26350 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26351 $(run-program-prefix) to tst-gettext.sh.
26352 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26353 tst-translit.sh.
26354 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26355 tst-gettext2.sh.
26356 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26357 to run tst-gettext.
26358 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26359 to run tst-gettext2.
26360 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26361 to run tst-translit.
26362 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26363 $(run-program-prefix) to tst-mtrace.sh.
26364 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26365 to run tst-mtrace.
26366 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26367 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26368 $(rtld-installed-name).
26369 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26370 (rtld_installed_name): Likewise.
26371 (run_program_prefix): New variable. Use it to run wordexp-test.
26372
728e272a
JM
26373 * Makeconfig (ARCH): Remove all definitions.
26374 (machine): Likewise.
26375 [ARCH]: Remove conditional code.
26376 [!objdir]: Give error.
26377 [!objdir] (objpfx): Remove.
26378 [!objdir] (common-objpfx): Likewise.
26379 [!objdir] (common-objdir): Likewise.
26380 * configure.in (config_makefile): Remove. Hardcode Makefile in
26381 AC_CONFIG_FILES call.
26382 * configure: Regenerated.
26383
d528cdcf
JM
26384 [BZ #13888]
26385 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26386 or TMPDIR.
26387 (testout): Likewise.
26388
135948bd
JM
26389 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26390 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26391 $(rtld-installed-name).
26392 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26393 (rtld_installed_name): Likwise.
26394 (runit): Remove function.
26395 (run_getconf): New variable, Use it for running getconf binary.
26396
38c78296
L
263972012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26398
26399 [BZ #14716]
26400 * string/test-memmem.c (check_result): New function.
26401 (do_one_test): Use it.
26402 (check1): New function.
26403 (test_main): Use it.
26404
d077f65f
MT
264052012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26406
26407 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26408
ced52c71
JM
264092012-10-18 Joseph Myers <joseph@codesourcery.com>
26410
26411 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26412 (_G_LSEEK64): Likewise.
26413 (_G_MMAP64): Likewise.
26414 (_G_FSTAT64): Likewise.
26415 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26416 (_G_LSEEK64): Likewise.
26417 (_G_MMAP64): Likewise.
26418 (_G_FSTAT64): Likewise.
26419 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26420 unconditional. Call __mmap64 directly.
26421 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26422 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26423 __lseek64 directly.
26424 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26425 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26426 __mmap64 directly.
26427 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26428 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26429 __lseek64 directly.
26430 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26431 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26432 __lseek64 directly.
26433 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26434 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26435 __lseek64 directly.
26436 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26437 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26438 __fxstat64 directly.
26439 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26440 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26441 unconditional.
26442 (freopen64) [!_G_OPEN64]: Remove conditional code.
26443 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26444 unconditional.
26445 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26446 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26447 unconditional.
26448 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26449 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26450 unconditional.
26451 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26452 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26453 unconditional.
26454 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26455 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26456 unconditional.
26457 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26458 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26459 unconditional.
26460 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26461 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26462 unconditional.
26463 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26464
b741de23
SP
264652012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26466
26467 [BZ #12140]
26468 * manual/memory.texi (Malloc Tunable Parameters): Add note
26469 about free list pointers overwriting some perturb bytes.
26470 Wording suggested by Roland McGrath.
26471
f9b9d9c9
JM
264722012-10-17 Joseph Myers <joseph@codesourcery.com>
26473
26474 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26475 (lgamma_test): Likewise.
26476 (tgamma_test): Likewise.
26477
172a631a
FW
264782012-10-16 Florian Weimer <fweimer@redhat.com>
26479
26480 [BZ #14700]
26481 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26482 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26483
e9f37252
MK
264842012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26485
26486 * NEWS: Mention BZ #14716.
26487 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26488 when removing AVAILABLE1_USES_J macro.
26489
d394eb74
L
264902012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26491
26492 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26493 (__bswap_64): __uint64_t for unsigned 64-bit int.
26494
ca38dc17
AS
264952012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26496
26497 * include/string.h (memmem): Declare libc hidden alias.
26498 * string/memmem.c (memmem): Define libc hidden alias.
26499 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26500 __read, __close instead of open, read, close.
26501
9a387d1f
L
265022012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26503
ac49ecaf
L
26504 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26505 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26506 global and hidden.
26507 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26508 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26509 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26510 Likewise.
26511 (__rawmemchr_sse2): Likewise.
26512 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26513 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26514 (__strchr_sse2): Likewise.
26515 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26516 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26517 (__strcasecmp_sse2): Likewise.
26518 (__strncasecmp_sse2): Likewise.
26519 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26520 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26521 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26522 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26523 (__strrchr_sse2): Likewise.
26524 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26525 ifunc-impl-list.c.
26526 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26527 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26528 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26529 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26530 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26531 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26532 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26533 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26534 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26535 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26536 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26537 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26538 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26539 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26540 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26541 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26542 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26543 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26544 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26545 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26546 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26547 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26548 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26549 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26550 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26551 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26552 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26553 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26554 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26555 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26556
b090e8ea
L
26557 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26558 global and hidden.
26559 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26560 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26561 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26562 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26563 Likewise.
26564 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26565 Likewise.
26566 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26567 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26568 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26569 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26570 ifunc-impl-list.c.
26571 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26572 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26573 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26574 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26575 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26576 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26577 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26578 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26579 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26580 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26581 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26582 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26583 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26584 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26585 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26586 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26587 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26588 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26589 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26590 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26591 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26592 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26593 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26594 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26595 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26596 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26597 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26598 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26599 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26600 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26601 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26602 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26603 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26604 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26605 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26606 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26607 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26608 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26609 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26610 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26611 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26612
11dd4af6
L
26613 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26614 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26615 * include/ifunc-impl-list.h: New file.
26616 * misc/ifunc-impl-list.c: Likewise.
26617 * misc/Makefile (routines): Add ifunc-impl-list.
26618 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26619 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
26620 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26621 TEST_NAME]: New variables.
11dd4af6
L
26622 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26623 are defined.
26624 (test_init): Call __libc_ifunc_impl_list to initialize
26625 func_list if TEST_IFUNC and TEST_NAME are defined.
26626
9a387d1f
L
26627 * string/Makefile (strop-tests): Add bcopy and bzero.
26628 * string/test-bcopy.c: New file.
26629 * string/test-bzero.c: Likewise.
26630 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26631 defined.
26632 * string/test-memset.c: Support bzero test if TEST_BZERO is
26633 defined.
26634 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26635 __libc_memmove.
26636 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26637 __libc_memset.
26638 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26639 of memset.
26640
472371b9
JM
266412012-10-10 Joseph Myers <joseph@codesourcery.com>
26642
1e4a9536
JM
26643 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26644 * configure: Regenerated.
26645
d173d12e
JM
26646 * Makeconfig (+link-static-before-libc): Don't include
26647 $(link-static-libc).
26648
472371b9
JM
26649 * libio/libio.h (_IO_pos_t): Remove.
26650
89a3ad0b
AO
266512012-10-10 Alexandre Oliva <aoliva@redhat.com>
26652
26653 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26654 McGrath.
26655
e7451425
AO
266562012-10-10 Alexandre Oliva <aoliva@redhat.com>
26657
26658 * crypt/crypt-entry.c: Include fips-private.h.
26659 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26660 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26661 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26662 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26663
4ba74a35
AO
266642012-10-10 Alexandre Oliva <aoliva@redhat.com>
26665
26666 * crypt/crypt-private.h: Include stdbool.h.
26667 (_ufc_setup_salt_r): Return bool.
26668 * crypt/crypt-entry.c: Include errno.h.
26669 (__crypt_r): Return NULL with EINVAL for bad salt.
26670 * crypt/crypt_util.c (bad_for_salt): New.
26671 (_ufc_setup_salt_r): Check that salt is long enough and within
26672 the specified alphabet.
26673 * crypt/badsalttest.c: New file.
26674 * crypt/Makefile (tests): Add it.
26675 ($(objpfx)badsalttest): New.
26676
f96f1242
MK
266772012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26678
26679 * NEWS: Add entry for BZ #14602.
26680
0e8e0c1c
JM
266812012-10-09 Joseph Myers <joseph@codesourcery.com>
26682
26683 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26684 type-generic.
26685 * math/libm-test.inc: Update comment listing what functions and
26686 macros are tested.
26687 (isgreater_test): New function.
26688 (isgreaterequal_test): Likewise.
26689 (isless_test): Likewise.
26690 (islessequal_test): Likewise.
26691 (islessgreater_test): Likewise.
26692 (isunordered_test): Likewise.
26693 (main): Call the new functions.
26694
273edc5e
RM
266952012-10-09 Roland McGrath <roland@hack.frob.com>
26696
b8493de0
RM
26697 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26698 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26699 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26700 * sysdeps/i386/configure: Regenerated.
26701 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26702 * sysdeps/mach/configure: Regenerated.
26703 * sysdeps/mach/hurd/configure: Regenerated.
26704 * sysdeps/powerpc/configure: Regenerated.
26705 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26706 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26707 * sysdeps/s390/s390-32/configure: Regenerated.
26708 * sysdeps/s390/s390-64/configure: Regenerated.
26709 * sysdeps/sh/configure: Regenerated.
26710 * sysdeps/sparc/configure: Regenerated.
26711 * sysdeps/unix/sysv/linux/configure: Regenerated.
26712 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26713 * sysdeps/x86_64/configure: Regenerated.
26714
273edc5e
RM
26715 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26716 defined. Don't check if MAP is NULL.
26717
c8450f70
JM
267182012-10-09 Joseph Myers <joseph@codesourcery.com>
26719
26720 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26721 (_G_stat64): Likewise.
26722 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26723 (_G_stat64): Likewise.
26724 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26725 instead of struct _G_stat64.
26726 * libio/fileops.c (mmap_remap_check): Likewise.
26727 (decide_maybe_mmap): Likewise.
26728 (_IO_new_file_seekoff): Likewise.
26729 (_IO_file_stat): Likewise.
26730 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26731 _G_off64_t.
26732 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26733 instead of struct _G_stat64.
26734 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26735
57e605ba
MK
267362012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26737
26738 [BZ #14602]
26739 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26740 Replace with ...
26741 (CHECK_EOL): New macro.
26742 (two_way_short_needle): Check beginning of haystack for EOL. Use
26743 CHECK_EOL.
26744 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26745 Replace with CHECK_EOL.
26746 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26747 Replace with CHECK_EOL.
26748
ef1bb361
JM
267492012-10-08 Joseph Myers <joseph@codesourcery.com>
26750
26751 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26752 type-generic.
26753 * math/libm-test.inc: Update comment listing what functions and
26754 macros are tested.
26755 (finite_test): New function.
26756 (isinf_test): Likewise.
26757 (isnan_test): Likewise.
26758 (fpclassify_test): Test subnormal input.
26759 (isfinite_test): Likewise.
26760 (isnormal_test): Likewise.
26761 (main): Call the new functions.
26762
55f11534
JN
267632012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26764
26765 [BZ #14660]
26766 * Makerules (%.dynsym): Force C locale when running
26767 $(OBJDUMP) --dynamic-syms.
26768
1ab29350
AS
267692012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26770
26771 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26772 <stdint.h>.
26773
f1ecb7ef
DM
267742012-10-06 David S. Miller <davem@davemloft.net>
26775
26776 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26777 upper 32-bits of the length value in %o2 since we use branch-on-register
26778 tests which consider the entire 64-bit register.
26779
5d41d91a
L
267802012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26781
26782 * string/test-strstr.c (check2): Add a test for page boundary.
26783
3baddb72
DM
267842012-10-05 David S. Miller <davem@davemloft.net>
26785
26786 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26787 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26788 file.
26789 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26790 sysdep_routines.
26791 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26792 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26793 and bzero when HWCAP_SPARC_CRYPTO is present.
26794
9cee5585
L
267952012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26796
d7e0dab9
L
26797 [BZ #14602]
26798 * string/test-strstr.c (check2): New function.
26799 (test_main): Call check2.
26800
03759f47
L
26801 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26802 and bug-strchr1.
26803 * string/bug-strcasestr1.c (do_test): Moved to ...
26804 * string/test-strcasestr.c (check1): Here. New function.
26805 (do_one_test): Break out result checking code into ...
26806 (check_result): This. New function.
26807 (do_one_test): Call check_result.
26808 (test_main): Call check1.
26809 * string/bug-strchr1.c (do_test): Moved to ...
26810 * string/test-strchr.c (check1): Here. New function.
26811 (do_one_test): Break out result checking code into ...
26812 (check_result): This. New function.
26813 (do_one_test): Call check_result.
26814 (test_main): Call check1.
26815 * string/bug-strstr1.c (main): Moved to ...
046f153e 26816 * string/test-strstr.c (check1): Here. New function.
03759f47
L
26817 (do_one_test): Break out result checking code into ...
26818 (check_result): This. New function.
26819 (do_one_test): Call check_result.
26820 (test_main): Call check1.
26821 * string/bug-strcasestr1.c: Removed.
26822 * string/bug-strchr1.c: Likewise.
26823 * string/bug-strstr1.c: Likewise.
26824
53cea63e
L
26825 * elf/Makefile (dl-routines): Add hwcaps.
26826 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26827 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26828 (_dl_important_hwcaps): Moved to ...
26829 * elf/dl-hwcaps.c: Here. New file.
26830 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26831
9cee5585 26832 [BZ #14557]
bb859b06
L
26833 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26834 if IS_IN_rtld isn't defined.
26835
9cee5585
L
26836 * elf/dl-support.c (_dl_sysinfo_map): New.
26837 Include "get-dynamic-info.h" and "setup-vdso.h".
26838 (_dl_non_dynamic_init): Call setup_vdso.
26839 * elf/dynamic-link.h: Don't include <assert.h>.
26840 (elf_get_dynamic_info): Moved to ...
26841 * elf/get-dynamic-info.h: Here. New file.
26842 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26843 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26844 * elf/setup-vdso.h: Here. New file.
26845 * elf/rtld.c: Include "setup-vdso.h".
26846 (dl_main): Call setup_vdso.
26847
23c31b76
JM
268482012-10-05 Joseph Myers <joseph@codesourcery.com>
26849
28234b07
JM
26850 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26851 creal in comment listing functions tested. List finite, isinf,
26852 isnan, isless, islessequal, isgreater, isgreaterequal,
26853 islessgreater, isunordered, lgamma_r and pow10 as functions and
26854 macros not tested. Mention which functions not tested are aliases
26855 for other functions. Fix typo. Note that signs of NaNs are not
26856 tested.
26857
23c31b76
JM
26858 * scripts/config.guess: Update from config.git.
26859 * scripts/config.sub: Likewise.
26860
9043e228
RM
268612012-10-04 Roland McGrath <roland@hack.frob.com>
26862
26863 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26864 * misc/madvise.c (madvise): Renamed to __madvise.
26865 Make madvise a weak alias.
26866 * include/sys/mman.h: Declare __madvise.
26867 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26868 * sysdeps/unix/syscalls.list
26869 (madvise): Make __madvise the strong name, and madvise a weak alias.
26870 * sysdeps/unix/sysv/linux/syscalls.list
26871 (madvise, mmap): Remove redundant entries.
26872 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26873 * malloc/malloc.c (mtrim): Likewise.
26874 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26875
f57f8055
RM
268762012-10-03 Roland McGrath <roland@hack.frob.com>
26877
26878 * sysdeps/mach/hurd/dl-cache.c: File removed.
26879 * config.h.in (USE_LDCONFIG): New #undef.
26880 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26881 * configure: Regenerated.
26882 * elf/Makefile (dl-routines): Add dl-cache only under
26883 [$(use-ldconfig) = yes].
26884 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26885 cache on [USE_LDCONFIG].
26886 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26887 [USE_LDCONFIG].
26888 * elf/rtld.c (dl_main): Likewise.
26889
5bb0c10a
PT
268902012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26891
26892 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26893 _SC_LEVEL4_CACHE_LINESIZE.
26894
010188c6
RM
268952012-10-03 Roland McGrath <roland@hack.frob.com>
26896
26897 * sysdeps/unix/bsd/confstr.h: File removed.
26898
b6c5ec07
AO
268992012-10-02 Alexandre Oliva <aoliva@redhat.com>
26900
26901 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26902 sys/sdt-config.h.
26903
408223d4
RM
269042012-10-02 Roland McGrath <roland@hack.frob.com>
26905
26906 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26907 Make 'mapoff' field ElfW(Off) rather than off_t.
26908
bb9510dc
DL
269092012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26910
fc997c6e
DL
26911 * nscd/Makefile: Remove nscd-cflags and all its users.
26912 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26913 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26914
bb9510dc
DL
26915 [BZ #10631]
26916 * malloc.c (malloc_printerr): Clarify error message.
26917
05699367
L
269182012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26919
26920 [BZ #14648]
26921 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26922 Set bit_FMA_Usable if FMA is supported.
26923 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26924 macro.
26925 (bit_FMA4_Usable): Updated.
26926 (index_FMA_Usable): New macro.
26927 (CPUID_FMA): Likewise
26928 (HAS_FMA): Defined with bit_FMA_Usable.
26929
51367701
RM
269302012-10-01 Roland McGrath <roland@hack.frob.com>
26931
26932 * bits/types.h (__swblk_t): Type removed.
26933 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26934 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26935 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26936 (__SWBLK_T_TYPE): Likewise.
26937 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26938 (__SWBLK_T_TYPE): Likewise.
26939 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26940 (__SWBLK_T_TYPE): Likewise.
26941 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26942 (__SWBLK_T_TYPE): Likewise.
26943
4d57bf63 269442012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 26945 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
26946
26947 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26948 (xdr_mapname): Use YPMAXMAP as maxsize.
26949 (xdr_peername): Use YPMAXPEER as maxsize.
26950 (xdr_keydat): Use YPAXRECORD as maxsize.
26951 (xdr_valdat): Use YPMAXRECORD as maxsize.
26952
93c65d43
RM
269532012-10-01 Roland McGrath <roland@hack.frob.com>
26954
497a03d6
RM
26955 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26956
93c65d43
RM
26957 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26958 * csu/init-first.c: ... here.
26959 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26960 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26961 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26962 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26963 * sysdeps/i386/init-first.c: File removed.
26964 * sysdeps/sh/init-first.c: File removed.
26965
bec749fd
JM
269662012-10-01 Joseph Myers <joseph@codesourcery.com>
26967
26968 [BZ #14645]
26969 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26970 if x * y might underflow to zero and z is zero.
26971 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26972 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26973 * math/libm-test.inc (min_subnorm_value): New variable.
26974 (fma_test): Add more tests.
26975 (fma_test_towardzero): Likewise.
26976 (fma_test_downward): Likewise
26977 (fma_test_upward): Likewise.
26978 (initialize): Set min_subnorm_value.
26979
8ec5b013
JM
269802012-09-29 Joseph Myers <joseph@codesourcery.com>
26981
26982 [BZ #14638]
26983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26984 0 + 0.
26985 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26986 mode for addition resulting in exact zero.
26987 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26988 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26989 exact 0 + 0.
26990 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26991 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26992 * math/libm-test.inc (fma_test): Add more tests.
26993 (fma_test_towardzero): New function.
26994 (fma_test_downward): Likewise.
26995 (fma_test_upward): Likewise.
26996 (main): Call the new functions.
26997
b1fa802e
DM
269982012-09-28 David S. Miller <davem@davemloft.net>
26999
27000 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27001
d3b9fd9e
RM
270022012-09-28 Roland McGrath <roland@hack.frob.com>
27003
ea4d37b3
RM
27004 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27005 instead of SIGALRM.
27006
ac51c949
RM
27007 * sysdeps/gnu/_G_config.h: Moved to ...
27008 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27009 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27010 * sysdeps/generic/_G_config.h: ... here.
27011
28c195f7
RM
27012 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27013
848917f9
RM
27014 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27015
6bacf05b
RM
27016 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27017 Conditionalize target on [libnss_test1.so-version].
27018
91363dbb
RM
27019 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27020
cc87f7d8
RM
27021 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27022 (elfobjdir): Move out of conditionals.
27023
b1c608fe
RM
27024 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27025 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27026 (__nss_lookup_function): Conditionalize label remove_from_tree on
27027 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 27028
1d9a6d96
DM
270292012-09-28 David S. Miller <davem@davemloft.net>
27030
27031 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27032 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27033 file.
27034 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27035 sysdep_routines.
27036 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27037 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27038 when HWCAP_SPARC_CRYPTO is present.
27039
72581615
PT
270402012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27041
27042 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27043
715a900c
JL
270442012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27045
27046 [BZ #6530]
27047 * stdio-common/vfprintf.c (process_string_arg): Revert
27048 2000-07-22 change.
27049
270502011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27051
27052 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27053 for testcase.
27054 * stdio-common/tst-sprintf.c: Include <locale.h>
27055 (main): Test sprintf's handling of incomplete multibyte
27056 characters.
27057
9bac1d86
L
270582012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27059
27060 * elf/dl-runtime.c (VERSYMIDX): Removed.
27061 * elf/dl-version.c (VERSYMIDX): Likewise.
27062 * elf/do-rel.h (VERSYMIDX): Likewise.
27063 (VALIDX): Likewise.
27064 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27065 * elf/rtld.c (VALIDX): Likewise.
27066 (ADDRIDX): Likewise.
9bac1d86
L
27067 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27068 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27069 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
27070 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27071 (VALIDX): Likewise.
27072 (ADDRIDX): Likewise.
9bac1d86 27073
b31606c0
PT
270742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27075
27076 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27077
11541177
JL
270782012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27079
27080 [BZ #11438]
27081 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27082 to global scope.
27083 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27084 addresses are in the same scope as 192.0.2/24.
27085 * posix/gai.conf: Document new scope table defaults.
27086
adb26fae
SP
270872012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27088
27089 [BZ #5298]
27090 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27091 for ftell. Compute offsets from write pointers instead.
27092 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27093
4573c6b0
SP
270942012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27095
27096 [BZ #14543]
27097 * libio/Makefile (tests): New test case tst-fseek.
27098 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27099 combination works in wide mode.
27100 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27101 state when the external buffer state changes.
27102
aa9bbfe6
DM
271032012-09-27 David S. Miller <davem@davemloft.net>
27104
27105 [BZ #14376]
27106 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27107 pass reloc->r_addend in as the 'high' argument to
27108 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27109
784421e7
DM
27110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27111
c39bc8b8
PT
271122012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27113
27114 * rt/tst-aio2.c: Include <pthread.h>.
27115 * rt/tst-aio3.c: Likewise.
27116
1ccc2399
SE
271172012-09-27 Steve Ellcey <sellcey@mips.com>
27118
27119 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27120
31ed4153
L
271212012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27122
25f5f885
L
27123 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27124 contents on [SHARED].
31ed4153 27125
b7bfe116
MP
271262012-09-26 Marek Polacek <polacek@redhat.com>
27127
27128 [BZ #14530]
27129 [BZ #13741]
27130 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27131 for C++ and GCC <4.3 as well as for non GCC compilers.
27132
43c4edba
MT
271332012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27134
27135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27136
6a1bf82f
RM
271372012-09-25 Roland McGrath <roland@hack.frob.com>
27138
27139 * Makefile.in (all, install): Declare with .PHONY.
27140 Reported by Michael Hope <michael.hope@linaro.org>.
27141
8ad11b9a
TMQMF
271422012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27143
27144 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27145 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27146 system header.
27147 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27148 Likewise.
27149 (sydep_routines): Add the new and the internal functions.
27150 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27151 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27153 (GLIBC_2.17): Add the new function.
27154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27155 (GLIBC_2.17): Likewise.
27156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27157 (GLIBC_2.17): Likewise.
27158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27159 (GLIBC_2.17): Likewise.
27160 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27161
7e2fca8d
AM
271622012-09-25 Alan Modra <amodra@gmail.com>
27163
27164 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27165 Add release barrier before setting once_control to say
27166 initialisation is done. Add hints on lwarx. Use macro in
27167 place of isync.
27168 (clear_once_control): Add release barrier.
27169
b87c4b24
JM
271702012-09-25 Joseph Myers <joseph@codesourcery.com>
27171
d032e0d2
JM
27172 [BZ #13629]
27173 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27174 specially.
27175 * math/s_clog10.c (__clog10): Likewise.
27176 * math/s_clog10f.c (__clog10f): Likewise.
27177 * math/s_clog10l.c (__clog10l): Likewise.
27178 * math/s_clogf.c (__clogf): Likewise.
27179 * math/s_clogl.c (__clogl): Likewise.
27180 * math/Makefile (libm-calls): Add x2y2m1.
27181 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27182 (__x2y2m1): Likewise.
27183 (__x2y2m1l): Likewise.
27184 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27185 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27186 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27187 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27188 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27189 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27190 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27191 * sysdeps/i386/fpu/libm-test-ulps: Update.
27192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27193
b87c4b24
JM
27194 [BZ #14621]
27195 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27196 int as type of variable DEPTH.
27197 (glob): Use size_t instead of int as type of variables NEWCOUNT
27198 and OLD_PATHC.
27199
6d3bf199
LD
272002012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27201
22bf5c17
LD
27202 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27203 Add s_sincosf-sse2.
27204 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27205 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27206 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27207 macros for using routine as __sincosf_ia32.
27208 Use macro for function declaration and weak_alias.
27209 * sysdeps/i386/fpu/libm-test-ulps: Update.
27210
27211 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27213
27214 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
27215 subnormal argument.
27216 * math/s_cexpf.c (__cexpf): Likewise.
27217 * math/s_csinf.c (__csinf): Likewise.
27218 * math/s_csinhf.c (__csinhf): Likewise.
27219 * math/s_ctanf.c (__ctanf): Likewise.
27220 * math/s_ctanhf.c (__ctanhf): Likewise.
27221 * math/s_ccosh.c (__ccoshf): Likewise.
27222 * math/s_cexp.c (__cexpl): Likewise.
27223 * math/s_csin.c (__csin): Likewise.
27224 * math/s_csinh.c (__csinh): Likewise.
27225 * math/s_ctan.c (__ctan): Likewise.
27226 * math/s_ctanh.c (ctanh): Likewise.
27227 * math/s_ccoshl.c (__ccoshl): Likewise.
27228 * math/s_cexpl.c (__cexpl): Likewise.
27229 * math/s_csinl.c (__csinl): Likewise.
27230 * math/s_csinhl.c (__csinhl): Likewise.
27231 * math/s_ctanl.c (__ctanl): Likewise.
27232 * math/s_ctanhl.c (__ctanhl): Likewise.
27233
203e5603
JM
272342012-09-25 Joseph Myers <joseph@codesourcery.com>
27235
27236 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27237 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27238 (_IO_off_t): Define to __off_t, not _G_off_t.
27239 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27240 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27241 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27242 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27243 type of __dummy and __dummy2 fields.
27244 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27245 (_G_ssize_t): Likewise.
27246 (_G_off_t): Likewise.
27247 (_G_pid_t): Likewise.
27248 (_G_uid_t): Likewise.
27249 (_G_wchar_t): Likewise.
27250 (_G_wint_t): Likewise.
27251 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27252 (_G_ssize_t): Likewise.
27253 (_G_off_t): Likewise.
27254 (_G_pid_t): Likewise.
27255 (_G_uid_t): Likewise.
27256 (_G_wchar_t): Likewise.
27257 (_G_wint_t): Likewise.
27258 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27259 (_G_ssize_t): Likewise.
27260 (_G_off_t): Likewise.
27261 (_G_pid_t): Likewise.
27262 (_G_uid_t): Likewise.
27263 (_G_wchar_t): Likewise.
27264 (_G_wint_t): Likewise.
27265
9fab36eb
SP
272662012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27267
27268 * malloc/arena.c: Include malloc-sysdep.h.
27269 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27270 is sufficient to shrink the heap or an unmap is needed.
27271 * sysdeps/generic/malloc-sysdep.h: New file. Define
27272 new function check_may_shrink_heap.
27273 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27274 new function check_may_shrink_heap.
27275
2b4f00d1
SP
272762012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27277
27278 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27279 comments.
27280
9a9028b1
DL
272812012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27282
57c69bef
DL
27283 * catgets/test-gencat.sh: Add "set -e".
27284 * elf/tst-pathopt.sh: Likewise.
27285 * grp/tst_fgetgrent.sh: Likewise.
27286 * iconvdata/run-iconv-test.sh: Likewise.
27287 * intl/tst-gettext.sh: Likewise.
27288 * intl/tst-gettext2.sh: Likewise.
27289 * intl/tst-gettext4.sh: Likewise.
27290 * intl/tst-gettext6.sh: Likewise.
27291 * intl/tst-translit.sh: Likewise.
27292 * io/ftwtest-sh: Likewise.
27293 * libio/test-freopen.sh: Likewise.
27294 * malloc/tst-mtrace.sh: Likewise.
27295 * posix/globtest.sh: Likewise.
27296 * posix/tst-getconf.sh: Likewise.
27297 * posix/wordexp-tst.sh: Likewise.
27298 * stdio-common/tst-printf.sh: Likewise.
27299 * stdio-common/tst-unbputc.sh: Likewise.
27300 * stdlib/tst-fmtmsg.sh: Likewise.
27301 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27302 * catgets/Makefile: Do not specify -e option when running
27303 testsuite shell scripts.
27304 * elf/Makefile: Likewise.
27305 * grp/Makefile: Likewise.
27306 * iconvdata/Makefile: Likewise.
27307 * intl/Makefile: Likewise.
27308 * io/Makefile: Likewise.
27309 * libio/Makefile: Likewise.
27310 * malloc/Makefile: Likewise.
27311 * posix/Makefile: Likewise.
27312 * stdio-common/Makefile: Likewise.
27313 * stdlib/Makefile: Likewise.
27314 * sysdeps/x86_64/Makefile: Likewise.
27315
9a9028b1
DL
27316 * io/ftwtest-sh: Add copyright header.
27317 * posix/globtest.sh: Likewise.
27318 * posix/tst-getconf.sh: Likewise.
27319 * posix/wordexp-tst.sh: Likewise.
27320 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27321
ced6f16e
L
273222012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27323
94b32c39
L
27324 [BZ #13679]
27325 * Makeconfig (+link): Defined as $(+link-static) if
27326 $(build-shared) isn't yes.
27327 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27328 isn't yes.
27329 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27330
189e935b
L
27331 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27332
ced6f16e
L
27333 [BZ #14562]
27334 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27335 new chunk size with MALLOC_ALIGN_MASK.
27336
a9f8e53a
JM
273372012-09-24 Joseph Myers <joseph@codesourcery.com>
27338
27339 [BZ #5044]
27340 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27341 <rounding-mode.h>.
27342 (__printf_fphex): Determine rounding using get_rounding_mode and
27343 round_away.
27344 * stdio-common/tst-printf-round.c (struct hex_test): New
27345 structure.
27346 (hex_tests): New variable.
27347 (test_hex_in_one_mode): New function.
27348 (do_test): Also run tests for hex float output.
27349
43153109
JM
273502012-09-21 Joseph Myers <joseph@codesourcery.com>
27351
27352 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27353 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27354 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27355 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27356 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27357 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27358 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27359 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27360
8a26625d
JM
273612012-09-20 Joseph Myers <joseph@codesourcery.com>
27362
27363 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27364 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27365 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27366 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27367
f3fd569c
DL
273682012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27369
27370 [BZ #14579]
27371 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27372 mode only.
27373 * elf/tst-rtld-load-self.sh: New test.
27374 * elf/Makefile: Run it.
27375
63bbedd4
JM
273762012-09-18 Joseph Myers <joseph@codesourcery.com>
27377
27378 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27379 (tst-writev-ENV): Remove.
27380 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27381
626f8b6a
CM
273822012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27383
27384 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27385
b7aaa4d6
JM
273862012-09-17 Joseph Myers <joseph@codesourcery.com>
27387
27388 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27389 unconditional.
27390 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27391 Likewise.
27392 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27393 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27394 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27395 Likewise.
27396
65513990
L
273972012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27398
27399 [BZ #14587]
27400 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27401 * config.make.in (have-cpp-asm-debuginfo): Removed.
27402 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27403 * configure: Regenerated.
27404
784761be
JM
274052012-09-14 Joseph Myers <joseph@codesourcery.com>
27406
27407 [BZ #5044]
27408 * stdio-common/printf_fp.c: Include <stdbool.h> and
27409 <rounding-mode.h>.
27410 (___printf_fp): Determine rounding using get_rounding_mode and
27411 round_away.
27412 * stdio-common/tst-printf-round.c: New file.
27413 * stdio-common/Makefile (tests): Add tst-printf-round.
27414 (link-libm): New variable.
27415 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27416
9503345f
L
274172012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27418
27419 [BZ #14576]
27420 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27421 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27422 Likewise.
27423 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27424 Likewise.
27425
ad35fc00
JM
274262012-09-13 Joseph Myers <joseph@codesourcery.com>
27427
27428 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27429 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27430 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27431 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27432
6c9b0f68
JM
274332012-09-12 Joseph Myers <joseph@codesourcery.com>
27434
27435 [BZ #14518]
27436 * include/rounding-mode.h: New file.
27437 * sysdeps/generic/get-rounding-mode.h: Likewise.
27438 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27439 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27440 (MAX_VALUE): New macro.
27441 (MIN_VALUE): Likewise.
27442 (overflow_value): New function.
27443 (underflow_value): Likewise.
27444 (round_and_return): Use overflow_value and underflow_value to
27445 determine return values in overflow and underflow cases. Use
27446 round_away to determine rounding depending on rounding mode.
27447 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27448 determine return values in overflow and underflow cases.
27449 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27450 (struct test_results): New structure.
27451 (struct test): Use struct test_results to store expected results
27452 for all rounding modes.
27453 (TEST): Include expected results for all rounding modes.
27454 (test_in_one_mode): New function.
27455 (do_test): Use test_in_one_mode to compute and check results.
27456 Check results for all rounding modes.
27457 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27458 $(link-libm).
27459
19fcedd5
AM
274602012-12-09 Allan McRae <allan@archlinux.org>
27461
1e9d84cd 27462 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 27463
8bbfd2f1
JM
274642012-09-11 Joseph Myers <joseph@codesourcery.com>
27465
27466 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27467 (_G_int32_t): Likewise.
27468 (_G_uint16_t): Likewise.
27469 (_G_uint32_t): Likewise.
27470 (_G_HAVE_BOOL): Likewise.
27471 (_G_HAVE_ATEXIT): Likewise.
27472 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27473 (_G_HAVE_IO_FILE_OPEN): Likewise.
27474 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27475 (_G_int32_t): Likewise.
27476 (_G_uint16_t): Likewise.
27477 (_G_uint32_t): Likewise.
27478 (_G_HAVE_BOOL): Likewise.
27479 (_G_HAVE_ATEXIT): Likewise.
27480 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27481 (_G_HAVE_IO_FILE_OPEN): Likewise.
27482 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27483 (_G_int32_t): Likewise.
27484 (_G_uint16_t): Likewise.
27485 (_G_uint32_t): Likewise.
27486 (_G_HAVE_BOOL): Likewise.
27487 (_G_HAVE_ATEXIT): Likewise.
27488 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27489 (_G_HAVE_IO_FILE_OPEN): Likewise.
27490
b1dc5912
L
274912012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27492
27493 * csu/libc-tls.c: Update copyright years.
27494
0e886ef9
JM
274952012-09-10 Joseph Myers <joseph@codesourcery.com>
27496
28361c5e
JM
27497 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27498 [!_G_USING_THUNKS]: Remove conditional code.
27499 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27500 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27501
0e886ef9
JM
27502 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27503 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27504 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27505 (_G_VTABLE_LABEL_PREFIX): Likewise.
27506 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27507 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27508 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27509 (_G_VTABLE_LABEL_PREFIX): Likewise.
27510 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27511 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27512 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27513 (_G_VTABLE_LABEL_PREFIX): Likewise.
27514 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27515
bcba7aa2
L
275162012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27517
27518 * libio/Makefile: Include ../Makeconfig before tests.
27519 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27520 only if $(build-shared) is yes.
27521
06585ee8
L
27522 * iconv/gconv_db.c: Update copyright years.
27523
80ccd52c
LD
275242012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27525
27526 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27527 unwind info if defined PIC. Fix special cases description.
27528 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27529
27530 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27531 DP_HI_MASK entry.
27532 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27533
691bc9c1
L
275342012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27535
3d9b46b3
L
27536 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27537
de2139a9
L
27538 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27539 is NULL.
27540
5ca78dd0
L
27541 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27542 (LDLIBS-tst-chk4): This.
27543 (LDFLAGS-tst-chk5): Renamed to ...
27544 (LDLIBS-tst-chk5): This.
27545 (LDFLAGS-tst-chk6): Renamed to ...
27546 (LDLIBS-tst-chk6): This.
27547 (LDFLAGS-tst-lfschk4): Renamed to ...
27548 (LDLIBS-tst-lfschk4): This.
27549 (LDFLAGS-tst-lfschk5): Renamed to ...
27550 (LDLIBS-tst-lfschk5): This.
27551 (LDFLAGS-tst-lfschk6): Renamed to ...
27552 (LDLIBS-tst-lfschk6): This.
27553
691bc9c1
L
27554 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27555 on $(common-objpfx)soversions.mk.
27556
65cafb1c
JM
275572012-09-07 Joseph Myers <joseph@codesourcery.com>
27558
27559 [BZ #10014]
27560 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27561 example host name.
27562
c78ab094
SP
275632012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27564
27565 * malloc/arena.c (arena_get_retry): New function that gets
27566 another arena for the caller to try its request on.
27567 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27568 current arena cannot fulfill the request.
27569 (__libc_memalign): Likewise.
27570 (__libc_memalign): Likewise.
27571 (__libc_pvalloc): Likewise.
27572 (__libc_calloc): Likewise.
27573
01f49f59
JT
275742012-09-05 John Tobey <john.tobey@gmail.com>
27575
27576 [BZ #13542]
27577 * manual/arith.texi (Operations on Complex): Fix description
27578 of carg branch cut.
27579
4c23fed5
JM
275802012-09-06 Joseph Myers <joseph@codesourcery.com>
27581
1d3c8572
JM
27582 [BZ #10014]
27583 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27584 host name.
27585
4c23fed5
JM
27586 [BZ #10038]
27587 * manual/memory.texi (Memory): Make order of menu items match
27588 order of sections.
27589
04570aaa
L
275902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27591
27592 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27593 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27594 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27595
b80af2f4
L
275962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27597
27598 * csu/libc-tls.c (static_dtv): Renamed to ...
27599 (_dl_static_dtv): This. Make it global.
27600 (_dl_initial_dtv): Removed.
27601 (__libc_setup_tls): Updated.
27602 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27603 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27604 DL_INITIAL_DTV.
27605
2abe9f15
PM
276062012-09-06 Petr Machata <pmachata@redhat.com>
27607
27608 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27609 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27610 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27611 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27612
0948c3af
L
276132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27614
27615 [BZ #14545]
27616 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27617 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27618 freeing dtv[-1].
27619
a5055ad1
L
276202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27621
27622 [BZ #14544]
27623 * Makeconfig (link-static-before-libc): Replace $(+prector)
27624 with $(+prectorT).
27625 (link-static-after-libc): Replace $(+postctor) with
27626 $(+postctorT).
27627 (link-bounded): Replace $(+prector)/$(+postctor) with
27628 $(+prectorT)/$(+postctorT).
27629 (+prectorT): New macro.
27630 (+postctorT): Likewise.
27631
ed8c2ecd
JM
276322012-09-06 Joseph Myers <joseph@codesourcery.com>
27633
27634 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27635 (round_str): Handle values above the maximum for IBM long double
27636 as inexact.
27637 * stdlib/tst-strtod-round.c (tests): Regenerated.
27638
14c996c8
AK
276392012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27640
27641 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27642 assembler flag.
27643 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27644 zarch_nohighgprs around the zarch optimized routines.
27645 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27646 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27647 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27648 for zarch.
27649
430d6ce6
DM
276502012-09-05 David S. Miller <davem@davemloft.net>
27651
27652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27653
57f41c40
AS
27654 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27655 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
27656 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27657 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27658 entries.
27659
24d4e01b
AO
276602012-09-05 Alexandre Oliva <aoliva@redhat.com>
27661
27662 * malloc/arena.c: Fold copyright years.
27663 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27664
61d58174
AO
276652012-09-05 Alexandre Oliva <aoliva@redhat.com>
27666
27667 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27668
20196a5e
AO
276692012-09-05 Alexandre Oliva <aoliva@redhat.com>
27670
27671 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27672
5c447383
AO
276732012-09-05 Alexandre Oliva <aoliva@redhat.com>
27674
27675 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27676 change internal state upon failure.
27677
fad64255
AO
276782012-09-05 Alexandre Oliva <aoliva@redhat.com>
27679
27680 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27681 * malloc/memusage.c (mmap): Likewise.
27682 (mmap64, mremap): Likewise. Adjust name in comment.
27683
1ffb8c90
SP
276842012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27685
27686 * libio/fileops.c: Fix typos in comments.
27687 * libio/oldfileops.c: Likewise.
27688 * libio/wfileops.c: Likewise.
27689
6ef9cc37
SP
276902012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27691
27692 [BZ #1349]
27693 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27694 (tst-malloc-usable-ENV): Set environment for test case.
27695 * malloc/hooks.c (malloc_check_get_size): New function to get
27696 requested size.
27697 * malloc/malloc.c (musable): Use malloc_check_get_size.
27698 * malloc/tst-malloc-usable.c: New test case.
27699
4d038ae3
AS
277002012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27701
27702 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27703
c4e85184
AM
277042012-09-05 Allan McRae <allan@archlinux.org>
27705
b9dafc56 27706 [BZ #13966]
c4e85184
AM
27707 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27708 determine header location.
27709 * configure: Regenerated.
27710
e1343020
AS
277112012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27712
27713 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27714 float format.
27715 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
27716 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27717 format.
e1343020
AS
27718 (test): Regenerate.
27719
0a9f1987
DM
277202012-09-04 David S. Miller <davem@davemloft.net>
27721
27722 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27723 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27724 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27725
29237804
FW
277262012-09-04 Florian Weimer <fweimer@redhat.com>
27727
27728 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27729 failures.
27730
edb3cb88
FW
27731 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27732
60160d83
JM
277332012-09-04 Joseph Myers <joseph@codesourcery.com>
27734
27735 [BZ #9914]
27736 * libio/iogetdelim.c: Include <limits.h>.
27737 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27738 + len + 1 would overflow.
27739
bcd6c8dc
AJ
277402012-09-03 Andreas Jaeger <aj@suse.de>
27741
27742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27743 * sysdeps/i386/fpu/libm-test-ulps: Update.
27744
4ffffbd2
LD
277452012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27746
27747 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27748 Add s_sinf-sse2, s_conf-sse2.
27749
27750 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27751 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27752 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27753 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27754
27755 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27756 for using routine as __sinf_ia32.
27757 Use macro for function declaration and weak_alias.
27758 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27759 for using routine as __cosf_ia32.
27760 Use macro for function declaration and weak_alias.
27761
27762 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27763 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27764
27765 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27766 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27767 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27768
27769 * math/libm-test.inc (cos_test): Add more test cases.
27770 (sin_test): Likewise.
27771 (sincos_test): Likewise.
27772
511fa286
AK
277732012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27774
27775 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27776 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27777 hidden.
27778 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27779
5f30cfec
L
277802012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27781
27782 [BZ #14538]
27783 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27784 first element of the GOT.
27785 (elf_machine_load_address): Return the difference between
27786 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27787
0786794f
AM
277882012-09-01 Allan McRae <allan@archlinux.org>
27789
5f30cfec
L
27790 [BZ #13412]
27791 * configure.in (AWK): Require gawk version 3.0 or later.
27792 * configure: Regenerated.
0786794f 27793
26889eac
JM
277942012-09-01 Joseph Myers <joseph@codesourcery.com>
27795
27796 * sysdeps/unix/sysv/linux/kernel-features.h
27797 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27798 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27799 [__NR_clock_getres]: Make code unconditional.
27800 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27801 (clock_getcpuclockid): Remove code left unreachable by removal of
27802 conditionals.
27803 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27804 code unconditional.
27805 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27806 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27807 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27808 Make code unconditional.
27809 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27810 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27811 * sysdeps/unix/sysv/linux/clock_settime.c
27812 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27813 conditional code.
27814 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27815 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27816
d22e28b0
L
278172012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27818
27819 [BZ #14476]
27820 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27821 scripts/test-installation.pl.
27822
27823 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27824 and $ld_so_version if it is set.
27825
050af9c4
SP
278262012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27827
27828 [BZ #14516]
27829 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27830 failure if reading from procfs failed.
27831 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27832
ad845c0b
JM
278332012-08-27 Joseph Myers <joseph@codesourcery.com>
27834
27835 * sysdeps/unix/sysv/linux/kernel-features.h
27836 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27837 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27838 Remove conditional code.
27839 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27840 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27841 Remove conditional code.
27842 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27843 * sysdeps/unix/sysv/linux/i386/fxstat.c
27844 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27845 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27846 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27847 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27848 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27849 * sysdeps/unix/sysv/linux/i386/lxstat.c
27850 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27851 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27852 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27853 Remove conditional code.
27854 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27855 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27856 Remove conditional code.
27857 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27858 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27859 <kernel-features.h>.
27860 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27861 Remove.
27862 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27863 Remove conditional code.
27864 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27865 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27866 Remove conditional.
27867
5dbf56af
MF
278682012-08-27 Mike Frysinger <vapier@gentoo.org>
27869
27870 [BZ #5400]
27871 * NEWS: Add fixed bug number.
27872
d6e70f43
JM
278732012-08-27 Joseph Myers <joseph@codesourcery.com>
27874
7efb4737
JM
27875 [BZ #14519]
27876 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27877 underflowing exponent in case of negative sign.
27878 * stdlib/tst-strtod-round-data: Add more tests.
27879 * stdlib/tst-strtod-round.c (tests): Regenerated.
27880
af92131a
JM
27881 [BZ #3479]
27882 * stdlib/strtod_l.c (NDIG): Remove.
27883 (HEXNDIG): Likewise.
27884 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27885 smallest representable value.
27886 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27887 lie within an exact representation of 1/2 ulp of the result.
27888 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27889 unconditionally.
27890 (TENS_P9_IDX): Define unconditionally.
27891 (TENS_P9_SIZE): Likewise.
27892 (TENS_P10_IDX): Likewise.
27893 (TENS_P10_SIZE): Likewise.
27894 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27895 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27896 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27897 entries for 10^2^13 and 10^2^14.
27898 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27899 (TENS_P13_IDX): Define.
27900 (TENS_P13_SIZE): Likewise.
27901 (TENS_P14_IDX): Likewise.
27902 (TENS_P14_SIZE): Likewise.
27903 (_fpioconst_pow10): Change array size to
27904 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27905 unconditional.
27906 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27907 1024]: Add entries for 10^2^13 and 10^2^14.
27908 [LAST_POW10 > _LAST_POW10]: Remove #error.
27909 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27910 (_fpioconst_pow10): Change array size to
27911 FPIOCONST_POW10_ARRAY_SIZE.
27912 * stdlib/gen-fpioconst.c: New file.
27913 * stdlib/gen-tst-strtod-round.c: Likewise.
27914 * stdlib/tst-strtod-round-data: Likewise.
27915 * stdlib/tst-strtod-round.c: Likewise.
27916 * stdlib/Makefile (tests): Add tst-strtod-round.
27917
d6e70f43
JM
27918 [BZ #14459]
27919 * stdlib/strtod_l.c: Include <stdint.h>.
27920 (NDEBUG): Do not define.
27921 (round_and_return): Change EXPONENT parameter to type intmax_t.
27922 Rearrange calculations to avoid internal overflow possibilities.
27923 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27924 Rearrange calculations to avoid internal overflow possibilities.
27925 Assert that number fits inside MPNSIZE limbs.
27926 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27927 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27928 calculations and add assertions to avoid internal overflow
27929 possibilities. Add casts to avoid signed/unsigned operations.
27930 * stdlib/tst-strtod-overflow.c: New file.
27931 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27932
1f529f7d
MP
279332012-08-25 Marek Polacek <polacek@redhat.com>
27934
27935 * time/time.h: Fix some typos in comments.
27936
59a629f1
RM
279372012-08-23 Roland McGrath <roland@hack.frob.com>
27938
27939 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27940 * posix/tst-rfc3484-2.c: Likewise.
27941 * posix/tst-rfc3484-3.c: Likewise.
27942
d3bafbc9
SM
279432012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27944
27945 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27946 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27947
4efcc022
JM
279482012-08-23 Joseph Myers <joseph@codesourcery.com>
27949
27950 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27951 #include of fxstatat64.c.
27952
3cc3ef96
RM
279532012-08-22 Roland McGrath <roland@hack.frob.com>
27954
f04e2132
RM
27955 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27956 * shadow/getspent_r.c: Likewise.
27957 * shadow/getspnam.c: Likewise.
27958 * shadow/getspnam_r.c: Likewise.
27959 * gshadow/getsgent.c: Likewise.
27960 * gshadow/getsgent_r.c: Likewise.
27961 * gshadow/getsgnam.c: Likewise.
27962 * gshadow/getsgnam_r.c: Likewise.
27963 * inet/getnetbyad.c: Likewise.
27964 * inet/getnetbyad_r.c: Likewise.
27965 * inet/getnetbynm.c: Likewise.
27966 * inet/getnetbynm_r.c: Likewise.
27967 * inet/getnetent.c: Likewise.
27968 * inet/getnetent_r.c: Likewise.
27969 * inet/getproto.c: Likewise.
27970 * inet/getproto_r.c: Likewise.
27971 * inet/getprtent.c: Likewise.
27972 * inet/getprtent_r.c: Likewise.
27973 * inet/getprtname.c: Likewise.
27974 * inet/getprtname_r.c: Likewise.
27975 * inet/getrpcbyname.c: Likewise.
27976 * inet/getrpcbyname_r.c: Likewise.
27977 * inet/getrpcbynumber.c: Likewise.
27978 * inet/getrpcbynumber_r.c: Likewise.
27979 * inet/getrpcent.c: Likewise.
27980 * inet/getrpcent_r.c: Likewise.
27981 * inet/getaliasent.c: Likewise.
27982 * inet/getaliasent_r.c: Likewise.
27983 * inet/getaliasname.c: Likewise.
27984 * inet/getaliasname_r.c: Likewise.
27985 * nscd/getgrgid_r.c: Likewise.
27986 * nscd/getgrnam_r.c: Likewise.
27987 * nscd/gethstbyad_r.c: Likewise.
27988 * nscd/gethstbynm3_r.c: Likewise.
27989 * nscd/getpwnam_r.c: Likewise.
27990 * nscd/getpwuid_r.c: Likewise.
27991 * nscd/getsrvbynm_r.c: Likewise.
27992 * nscd/getsrvbypt_r.c: Likewise.
27993 * nscd/gai.c: Likewise.
27994
c53d909c
RM
27995 * configure.in (build_nscd): New substituted variable, set
27996 by --disable-build-nscd and defaults to $use_nscd.
27997 * configure: Regenerated.
27998 * config.make.in (build-nscd): New substituted variable.
27999 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28000 Change conditional to require [$(build-nscd) = yes] as well.
28001 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28002
3cc3ef96
RM
28003 [BZ# 13696]
28004 * configure.in (use_nscd): New substituted variable, set by
28005 --disable-nscd. If enabled, define USE_NSCD.
28006 * configure: Regenerated.
28007 * config.h.in: Add USE_NSCD.
28008 * config.make.in (use-nscd): New substituted variable.
28009 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28010 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28011 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28012 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28013 (CFLAGS-getgrnam_r.c): Likewise.
28014 (CFLAGS-initgroups.c): Likewise.
28015 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28016 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28017 Variables removed.
28018 * inet/getnetgrent_r.c
28019 (nscd_setnetgrent): New function, broken out of ...
28020 (setnetgrent): ... here. Call it.
28021 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28022 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28023 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28024 * nscd/Makefile (routines, aux): Move definitions after include of
28025 Makeconfig. Conditionalize on [$(use-nscd) != no].
28026 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28027 Conditionalize on [USE_NSCD].
28028 (is_nscd, nscd_init_cb): Likewise.
28029 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28030 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28031 * nss/nss_db/db-init.c: Likewise.
28032 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28033 [USE_NSCD].
28034 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28035 (make_request): Use it.
28036 (cache_valid_p): New function.
28037 (__check_pf): Use it.
28038 * NEWS: Add item for --disable-nscd.
28039
07e51550
DL
280402012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28041
28042 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28043 to support sed >= 4.2.1-20-ga9bf076.
28044 * configure: Regenerated.
28045
35a5b08b
RM
280462012-08-22 Roland McGrath <roland@hack.frob.com>
28047
28048 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28049 Conditionalize whole body on [IREL].
28050
8479f23a
JL
280512012-08-22 Jeff Law <law@redhat.com>
28052
28053 [BZ #14505]
28054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28055 if the family is PF_UNSPEC.
28056
48da0b21
MF
280572012-08-22 Mike Frysinger <vapier@gentoo.org>
28058
28059 * Makerules (lib-version): Rename from V.
28060 (install-lib-nosubdir): Change V to lib-version.
28061
15d0da8c
WS
280622012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28063
28064 [BZ #14252]
28065 * powerpc32/power6/wcschr.c: New file.
28066 * powerpc32/power6/wcscpy.c: New file.
28067 * powerpc32/power6/wcsrchr.c: New file.
28068 * powerpc64/power6/wcschr.c: New file.
28069 * powerpc64/power6/wcscpy.c: New file.
28070 * powerpc64/power6/wcsrchr.c: New file.
28071
bcca0895
MK
280722012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28073
28074 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28075 (two_way_short_needle): Use it.
5a4aaa33
RM
28076 * string/strstr.c (AVAILABLE1_USES_J): Define.
28077 * string/strcasestr.c: Likewise.
99677e57
MK
28078
28079 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28080 array references.
28081 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28082
400726de
MK
28083 [BZ #11607]
28084 * NEWS: Add an entry.
28085 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28086 define their defaults.
28087 (two_way_short_needle): Detect end-of-string on-the-fly.
28088 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28089 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28090 * string/bug-strcasestr1.c: New test.
28091 * string/Makefile: Run it.
28092
20a71f2c
MK
280932012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28094
28095 [BZ #11607]
28096 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28097 the first character.
28098
21ad0558
RM
280992012-08-21 Roland McGrath <roland@hack.frob.com>
28100
28101 * csu/elf-init.c (__libc_csu_irel): Function removed.
28102 * csu/libc-start.c (apply_irel): New function.
28103 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28104
0e1d9911
JM
281052012-08-21 Joseph Myers <joseph@codesourcery.com>
28106
28107 * sysdeps/unix/sysv/linux/kernel-features.h
28108 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28109 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28110 <kernel-features.h>.
28111 [__NR_fadvise64_64]: Make code unconditional.
28112 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28113 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28114 !__NR_fadvise64_64)]: Likewise.
28115 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28116 !__NR_fadvise64_64))]: Likewise.
28117 [__NR_fadvise64]: Make code unconditional.
28118 [!__NR_fadvise64]: Remove conditional code.
28119 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28120 <kernel-features.h>.
28121 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28122 unconditional.
28123 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28124 conditional code.
28125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28126 not include <kernel-features.h>.
28127 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28128 unconditional.
28129 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28130 conditional code.
28131 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28132 include <kernel-features.h>.
28133 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28134 unconditional.
28135 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28136 conditional code.
28137
14a50c9d
WS
281382012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28139
28140 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28141 slight instruction rearrangements per scrollpipe analysis.
28142 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28143
c0f4faf0
RM
281442012-08-20 Roland McGrath <roland@hack.frob.com>
28145
696da859
RM
28146 * manual/syslog.texi (syslog; vsyslog, closelog):
28147 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28148 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28149
c0f4faf0
RM
28150 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28151 DSOCAPS to match condition on defining it.
28152
348363b2
JM
281532012-08-20 Joseph Myers <joseph@codesourcery.com>
28154
a35cbf28
JM
28155 * sysdeps/unix/sysv/linux/kernel-features.h
28156 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28158 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28159 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28161 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28162 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28164 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28165 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28166
445f7ecd
JM
28167 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28168 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28169
348363b2
JM
28170 * sysdeps/unix/sysv/linux/kernel-features.h
28171 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28172 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28173 unconditional.
28174 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28175 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28176 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28177 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28178 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28179 Make code unconditional.
28180 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28181 (__mmap64) [!__NR_mmap2]: Likewise.
28182 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28183 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28184 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28185 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28186 [__NR_mmap2]: Make code unconditional.
28187 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28188 (__mmap64) [!__NR_mmap2]: Likewise.
28189
bc5bc0e5
AK
281902012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28191
28192 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28193
88d506de
AJ
281942012-08-18 Andreas Jaeger <aj@suse.de>
28195
28196 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28197
493387d2
MF
281982012-08-18 Mike Frysinger <vapier@gentoo.org>
28199
28200 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28201 * include/unistd.h (__have_sock_cloexec): Likewise.
28202 (__have_pipe2): Likewise.
28203 (__have_dup3): Likewise.
28204
a277af22
MF
282052012-08-18 Mike Frysinger <vapier@gentoo.org>
28206
28207 [BZ #9685]
28208 * include/unistd.h (__have_pipe2): Change define into an extern int.
28209 (__have_dup3): Likewise.
28210 * socket/have_sock_cloexec.c: Include fcntl.h.
28211 (__have_pipe2): New variable.
28212 (__have_dup3): Likewise.
28213
fdab8fd3
MF
282142012-08-17 Mike Frysinger <vapier@gentoo.org>
28215
28216 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28217
31035e80
MP
282182012-08-17 Marek Polacek <polacek@redhat.com>
28219
28220 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28221 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28222
3bd9e993
RM
282232012-08-17 Roland McGrath <roland@hack.frob.com>
28224
c91c505f
RM
28225 * configure.in: Add AC_SUBST for sysheaders.
28226 * configure: Regenerated.
28227 * config.make.in (sysheaders): New substituted variable.
28228
7c6f9d53
RM
28229 * sysdeps/unix/mkfifo.c: Moved ...
28230 * sysdeps/posix/mkfifo.c: ... here.
28231 * sysdeps/unix/mkfifoat.c: Moved ...
28232 * sysdeps/posix/mkfifoat.c: ... here.
28233
28234 * sysdeps/unix/utime.c: Moved ...
28235 * sysdeps/posix/utime.c: ... here.
28236
28237 * sysdeps/unix/time.c: Moved ...
28238 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
28239 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28240 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
28241
28242 * sysdeps/unix/nice.c: Moved ...
28243 * sysdeps/posix/nice.c: ... here.
28244
28245 * sysdeps/unix/alarm.c: Moved ...
28246 * sysdeps/posix/alarm.c: ... here.
28247
3bd9e993
RM
28248 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28249
d1f09384
JL
282502012-08-17 Jeff Law <law@redhat.com>
28251
28252 * intl/Makefile (codeset_mo): New variable.
28253 ($(codeset_mo)): New target.
28254 (tst-codeset.out): Depend on that. Remove explicit rule.
28255 (tst-gettext3.out, tst-gettext5.out): Likewise.
28256 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28257 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28258 * intl/tst-codeset.sh: Remove.
28259 * intl/tst-gettext3.sh: Likewise.
28260 * intl/tst-gettext5.sh: Likewise.
28261
2ae1ae5c
RM
282622012-08-17 Roland McGrath <roland@hack.frob.com>
28263
c31fdb83
RM
28264 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28265 * sysdeps/unix/syscalls.list: ... here.
28266
a0844057
RM
28267 * sysdeps/posix/getaddrinfo.c
28268 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28269 (gaiconf_init, gaiconf_reload): Use them.
28270 [!_STATBUF_ST_NSEC]
28271 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28272 Define using time_t rather than struct timespec.
28273
750c1f2a
RM
28274 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28275 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28276 Macros removed.
28277 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28278 [!NO_THREADS].
28279 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28280 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28281 Likewise.
28282
2ae1ae5c
RM
28283 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28284 __libc_cleanup_push argument.
28285
e66a42f5
RM
28286 * bits/param.h: New file.
28287 * misc/sys/param.h: New file.
28288 * include/sys/param.h: New file.
28289 * misc/Makefile (headers): Add bits/param.h.
28290 * sysdeps/generic/sys/param.h: File removed.
28291 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28292 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28293 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 28294 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 28295
b7c08a66
RM
28296 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28297 last change.
28298
b2e1c562
RM
28299 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28300 [_IO_MTSAFE_IO].
28301 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28302 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28303 New macros.
28304
c75ccd4c
RM
28305 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28306 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28307 rather than -D_IO_MTSAFE_IO conditionally.
28308 * stdio-common/Makefile (CPPFLAGS): Likewise.
28309 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28310 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28311 Use $(libio-mtsafe).
28312 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28313 of -D_IO_MTSAFE_IO.
28314 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28315 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28316 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28317 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28318 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28319 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28320 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28321 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28322 (CFLAGS-fread_u_chk.c): Likewise.
28323 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28324 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28325 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28326 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28327 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28328 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28329 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28330 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28331 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28332
28333 * libio/Makefile: Test [$(libc-reentrant) = yes]
28334 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28335
28336 * Makeconfig
28337 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28338 * sysdeps/pthread/configure: File removed.
28339 * sysdeps/pthread/Makeconfig: New file.
28340 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28341 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28342
d9195db8
GB
283432012-08-16 Gary Benson <gbenson@redhat.com>
28344
28345 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28346 unmapping the first object in a namespace.
28347
86466cd9
RM
283482012-08-16 Roland McGrath <roland@hack.frob.com>
28349
28350 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28351 (__internal_setnetgrent): ... this. Add internal_function to
28352 definition. Add libc_hidden_def.
28353 (setnetgrent): Update caller.
28354 (internal_endnetgrent): Renamed to ...
28355 (__internal_endnetgrent): ... this. Add internal_function to
28356 definition. Add libc_hidden_def.
28357 (endnetgrent): Update caller.
28358 (internal_getnetgrent_r): Renamed to ...
28359 (__internal_getnetgrent_r): ... this. Add internal_function to
28360 definition. Add libc_hidden_def.
28361 (__getnetgrent_r): Update caller.
28362 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28363
c3c8283c
JM
283642012-08-16 Joseph Myers <joseph@codesourcery.com>
28365
28366 * stdlib/longlong.h: Update from GCC.
28367
db1ee0a8
RM
283682012-08-16 Roland McGrath <roland@hack.frob.com>
28369
28370 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28371 on _QL, which is set by umul_ppmm but never used.
28372 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28373 variables, which are set by GMP macros but never used.
28374 * stdio-common/_itowa.c (_itowa): Likewise.
28375 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28376 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28377
30f69637
CD
283782012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28379
28380 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28381 struct La_sh_regs is not constant.
28382 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28383 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28384 and struct La_sparc64_regs are not constant.
28385
93a78ac4
JM
283862012-08-16 Joseph Myers <joseph@codesourcery.com>
28387
28388 * sysdeps/unix/sysv/linux/kernel-features.h
28389 (__ASSUME_POSIX_TIMERS): Remove.
28390 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28391 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28392 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28393 Make code unconditional.
28394 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28395 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28396 Make code unconditional.
28397 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28398 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28399 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28400 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28401 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28402 Make code unconditional.
28403 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28404 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28405 (__libc_missing_posix_timers): Remove.
28406
dd924cd7
RM
284072012-08-15 Roland McGrath <roland@hack.frob.com>
28408
4b4f2771
RM
28409 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28410 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28411
601c888b
RM
28412 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28413
176790a7
RM
28414 * elf/dl-sym.c: Include <stdlib.h>.
28415
329bc018
RM
28416 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28417 constants, which avoids warnings in 32-bit builds.
28418
e04e272d
RM
28419 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28420 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28421
952bf94a
RM
28422 * misc/lseek.c: File moved to ...
28423 * io/lseek.c: ... here.
28424
7c99b50a
RM
28425 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28426
dd924cd7
RM
28427 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28428 shifting LEN more than 31 bits at once.
28429
b3f479a8
LD
284302012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28431
28432 [BZ #14195]
8c4ae0d4
RM
28433 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28434 segmentation fault for a case of two empty input strings.
b3f479a8
LD
28435 * string/test-strncasecmp.c (check1): Renamed to...
28436 (bz12205): ...this.
28437 (bz14195): Add new testcase for two empty input strings and N > 0.
28438 (test_main): Call new testcase, adapt for renamed function.
28439
9c55864e
AJ
284402012-08-15 Andreas Jaeger <aj@suse.de>
28441
28442 [BZ #14090]
28443 * crypt/md5test2.c: New test, based on test supplied by Serge
28444 Belyshev <belyshev@depni.sinp.msu.ru>.
28445 * crypt/Makefile (xtests): Add md5test-giant..
28446 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28447
02dcb6c5
PE
284482012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28449
28450 [BZ #14090]
28451 * crypt/md5.c (md5_process_block): Don't assume the buffer
28452 length is less than 2**32.
28453 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28454 length is less than 2**64.
28455
a3f95dcc
RM
284562012-08-15 Roland McGrath <roland@hack.frob.com>
28457
be75d758
RM
28458 * string/str-two-way.h: Include <sys/param.h>.
28459 (MAX): Macro removed.
28460
7312ca90
RM
28461 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28462 Move #define and #undef of memmove to just before and after
28463 including <string.h>.
28464
9a0a5486
RM
28465 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28466 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28467 and after including <string.h>. Move declarations of
28468 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28469 to before #include "string/memmove.c".
28470
67cc348d
RM
28471 * include/dirent.h: Declare __getdirentries.
28472
a3f95dcc
RM
28473 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28474 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28475
ca98e171
MF
284762012-08-14 Mike Frysinger <vapier@gentoo.org>
28477
28478 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28479 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28480 * sysdeps/i386/configure: Regenerated.
28481 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28482 STABS_CURRENT_FILE, and STABS_FUN.
28483 (END): Remove call to STABS_FUN_END.
28484 (STABS_CURRENT_FILE1): Delete.
28485 (STABS_CURRENT_FILE): Likewise.
28486 (STABS_FUN): Likewise.
28487 (STABS_FUN_END): Likewise.
28488 (STABS_FUN2): Likewise.
28489 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28490 * sysdeps/x86_64/configure: Regenerated.
28491
5908bf46
RM
284922012-08-14 Roland McGrath <roland@hack.frob.com>
28493
28494 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 28495 * elf/dl-lookup.c: Likewise.
5908bf46 28496
f2c05b9e
JM
284972012-08-14 Joseph Myers <joseph@codesourcery.com>
28498
28499 * sysdeps/unix/sysv/linux/kernel-features.h
28500 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28501 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28502 unconditionally.
28503 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28504 unconditionally.
28505 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28506 condition on __ASSUME_CLONE_THREAD_FLAGS.
28507
e11f5155
AJ
285082012-08-14 Andreas Jaeger <aj@suse.de>
28509
28510 * sysdeps/i386/fpu/libm-test-ulps: Update.
28511
51a9ba86
MK
285122012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28513
2fdd4f78
AJ
28514 * include/atomic.h (atomic_exchange_and_add): Split into ...
28515 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28516 New atomic macros.
51a9ba86 28517
ba6cba9e
MT
285182012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28519
28520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28521
42443a47
JL
285222012-08-13 Jeff Law <law@redhat.com>
28523
28524 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28525 null byte in the output string.
28526
121dce05
JM
285272012-08-10 Joseph Myers <joseph@codesourcery.com>
28528
28529 * sysdeps/unix/sysv/linux/kernel-features.h
28530 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28531 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28532 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28533 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28534 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28535 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28536 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28537
bf51f568
JL
285382012-08-09 Jeff Law <law@redhat.com>
28539
28540 [BZ #13939]
28541 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28542 When avoid_arena is set, don't retry in the that arena. Pick the
28543 next one, whatever it might be.
28544 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28545 (arena_lock): Pass in new parameter to arena_get2.
28546 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28547 arena_get2.
28548 (__libc_malloc): Unify retrying after main arena failure with
28549 __libc_memalign version.
28550 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28551
f85fa270
L
285522012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28553
28554 [BZ #14166]
28555 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28556 to __redirect_strstr.
28557 (__strstr_sse42): Use typeof __redirect_strstr.
28558 (__strstr_ia32): Likewise.
28559 (__libc_strstr): New prototype.
28560 (strstr): Renamed to ...
28561 (__libc_strstr): This.
28562 (strstr): New strong alias of __libc_strstr.
28563 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28564 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28565 __redirect_time.
28566 Include <time.h>.
28567 (__libc_time): New prototype.
28568 (time_ifunc): Replace time with __libc_time.
28569 (time): New strong alias and hidden definition of __libc_time.
28570 (__GI_time): Remove strong alias.
28571 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28572 Include <stddef.h>.
28573 (memmove): Redefined to __redirect_memmove.
28574 (__memmove_sse2): Use typeof __redirect_memmove.
28575 (__memmove_ssse3): Likewise.
28576 (__memmove_ssse3_back): Likewise.
28577 (__libc_memmove): New prototype.
28578 (memmove): Renamed to ...
28579 (__libc_memmove): This.
28580 (memmove): New strong alias of __libc_memmove.
28581
33b4a91e
MS
285822012-08-08 Mark Salter <msalter@redhat.com>
28583
28584 * elf/elf.h
28585 (R_MN10300_TLS_GD): Define.
28586 (R_MN10300_TLS_LD): Likewise.
28587 (R_MN10300_TLS_LDO): Likewise.
28588 (R_MN10300_TLS_GOTIE): Likewise.
28589 (R_MN10300_TLS_IE): Likewise.
28590 (R_MN10300_TLS_LE): Likewise.
28591 (R_MN10300_TLS_DTPMOD): Likewise.
28592 (R_MN10300_TLS_DTPOFF): Likewise.
28593 (R_MN10300_TLS_TPOFF): Likewise.
28594 (R_MN10300_SYM_DIFF): Likewise.
28595 (R_MN10300_ALIGN): Likewise.
28596 (R_MN10300_NUM): Update.
28597
b36137f1
JM
285982012-08-08 Joseph Myers <joseph@codesourcery.com>
28599
28600 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28601 Remove.
28602
cdd915fd
RM
286032012-08-08 Roland McGrath <roland@hack.frob.com>
28604
a2433aac
RM
28605 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28606
cdd915fd
RM
28607 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28608 sysdeps/unix -> sysdeps/posix move.
28609 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28610
bf9b740a
AM
286112012-08-07 Allan McRae <allan@archlinux.org>
28612
28613 [BZ #14303]
28614 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28615 (SUNOS_CPP): Likewise.
28616 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28617 not found.
28618 (open_input): Call CPP using execvp.
28619
93df14ee
JM
286202012-08-07 Joseph Myers <joseph@codesourcery.com>
28621
28622 * sysdeps/unix/sysv/linux/kernel-features.h
28623 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28624 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28625 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28626 (__ASSUME_WAITID_SYSCALL): Likewise.
28627 * sysdeps/unix/sysv/linux/dl-execstack.c
28628 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28629 code unconditional.
28630 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28631 conditional code.
28632 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28633 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28634 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28635 code.
28636 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28637 unconditional.
28638 [__ASSUME_WAITID_SYSCALL]: Likewise.
28639 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28640
d34689de
RM
286412012-08-07 Roland McGrath <roland@hack.frob.com>
28642
a281decc
RM
28643 * sysdeps/unix/closedir.c: Renamed to ...
28644 * sysdeps/posix/closedir.c: ... here.
28645 * sysdeps/unix/dirfd.c: Renamed to ...
28646 * sysdeps/posix/dirfd.c: ... here.
28647 * sysdeps/unix/dirstream.h: Renamed to ...
28648 * sysdeps/posix/dirstream.h: ... here.
28649 * sysdeps/unix/fdopendir.c: Renamed to ...
28650 * sysdeps/posix/fdopendir.c: ... here.
28651 * sysdeps/unix/opendir.c: Renamed to ...
28652 * sysdeps/posix/opendir.c: ... here.
28653 * sysdeps/unix/readdir.c: Renamed to ...
28654 * sysdeps/posix/readdir.c: ... here.
28655 * sysdeps/unix/readdir_r.c: Renamed to ...
28656 * sysdeps/posix/readdir_r.c: ... here.
28657 * sysdeps/unix/rewinddir.c: Renamed to ...
28658 * sysdeps/posix/rewinddir.c: ... here.
28659 * sysdeps/unix/seekdir.c: Renamed to ...
28660 * sysdeps/posix/seekdir.c: ... here.
28661 * sysdeps/unix/telldir.c: Renamed to ...
28662 * sysdeps/posix/telldir.c: ... here.
28663 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28664 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28665 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28666 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28667
22895b47
RM
28668 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28669 * bits/fcntl.h: ... here.
28670
707a53b6
RM
28671 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28672 not 0.
28673 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28674 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28675 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28676 (struct flock): Move l_start, l_len to the beginning.
28677 Use __pid_t for l_pid.
28678 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28679 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28680 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28681 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28682 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28683 [__USE_LARGEFILE64] (struct flock64): New type.
28684 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28685
f0bd3e25
RM
28686 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28687 * bits/dirent.h: ... here.
28688
d34689de
RM
28689 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28690 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28691
6dad2c06
JM
286922012-08-07 Joseph Myers <joseph@codesourcery.com>
28693
28694 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28695 Change from 2.6.0 to 2.6.16.
28696 * sysdeps/unix/sysv/linux/configure: Regenerated.
28697 * sysdeps/unix/sysv/linux/kernel-features.h
28698 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28699 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28700 version.
28701 (__ASSUME_UTIMES): Likewise.
28702 (__ASSUME_CLONE_STOPPED): Remove.
28703 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28704 architectures, not kernel version.
28705 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28706 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28707 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28708 (__ASSUME_WAITID_SYSCALL): Likewise.
28709 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28710 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28711 * README: State 2.6.16 as minimum Linux kernel version. Do not
28712 refer to older versions.
28713
03af9520
RM
287142012-08-06 Roland McGrath <roland@hack.frob.com>
28715
8e49df1d
RM
28716 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28717 Define alphasort64 as an alias.
28718 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28719 Define versionsort64 as an alias.
28720 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28721 Define scandir64 as an alias.
28722 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28723 Define scandirat64 as an alias.
28724 * dirent/alphasort64.c (alphasort64):
28725 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28726 * dirent/versionsort64.c: Likewise.
28727 * dirent/scandir64.c: Likewise.
28728 * dirent/scandirat64.c: Likewise.
28729 * sysdeps/wordsize-64/alphasort.c: File removed.
28730 * sysdeps/wordsize-64/alphasort64.c: File removed.
28731 * sysdeps/wordsize-64/scandir.c: File removed.
28732 * sysdeps/wordsize-64/scandir64.c: File removed.
28733 * sysdeps/wordsize-64/scandirat.c: File removed.
28734 * sysdeps/wordsize-64/scandirat64.c: File removed.
28735 * sysdeps/wordsize-64/versionsort.c: File removed.
28736 * sysdeps/wordsize-64/versionsort64.c: File removed.
28737 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28738 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28739 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28740 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28741 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28742 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28743 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28744 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28745
28746 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28747 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28748 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28749 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28750 [defined __arch64__ || defined __sparcv9]
28751 (__INO_T_MATCHES_INO64_T): New macro.
28752 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28753 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28754 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28755 * sysdeps/unix/sysv/linux/bits/dirent.h
28756 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28757 (_DIRENT_MATCHES_DIRENT64): New macro.
28758
03af9520
RM
28759 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28760 Define lockf64 as an alias.
28761 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28762 Define fseeko64 as an alias.
28763 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28764 Define ftello64 as an alias.
28765 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28766 Define _IO_fgetpos64 and fgetpos64 as aliases.
28767 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28768 Define _IO_fsetpos64 and fsetpos64 as aliases.
28769 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28770 Conditionalize body on this.
28771 * libio/fseeko64.c: Likewise.
28772 * libio/ftello64.c: Likewise.
28773 * libio/iofgetpos64.c: Likewise.
28774 * libio/iofsetpos64.c: Likewise.
28775 * sysdeps/wordsize-64/lockf.c: File removed.
28776 * sysdeps/wordsize-64/lockf64.c: File removed.
28777 * sysdeps/wordsize-64/fseeko.c: File removed.
28778 * sysdeps/wordsize-64/fseeko64.c: File removed.
28779 * sysdeps/wordsize-64/ftello.c: File removed.
28780 * sysdeps/wordsize-64/ftello64.c: File removed.
28781 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28782 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28783 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28784 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28785 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28786 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28787 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28788 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28789 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28790 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28791 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28792 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28793 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28794 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28795
28796 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28797 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28798 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28799 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28800 [defined __arch64__ || defined __sparcv9]
28801 (__OFF_T_MATCHES_OFF64_T): New macro.
28802 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28803 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28804 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28805 (__OFF_T_MATCHES_OFF64_T): New macro.
28806
c5757acd
L
288072012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28808
28809 * stdlib/secure-getenv.c (__secure_getenv): Replace
28810 GLIBC_2_16 with GLIBC_2_17.
28811
3a31811e
L
288122012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28813
28814 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28815 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28816
faa2bccb
DM
288172012-08-03 David S. Miller <davem@davemloft.net>
28818
28819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28820
85fe1997
JM
288212012-08-03 Joseph Myers <joseph@codesourcery.com>
28822
28823 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28824 Remove.
28825 (__ASSUME_CORRECT_SI_PID): Likewise.
28826 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28827 (__ASSUME_TMPFS_NAME): Likewise.
28828 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28829 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28830 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28831 (HAVE_AUX_SECURE): Make definition unconditional.
28832 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28833 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28834
4f75b7a0
RM
288352012-08-03 Roland McGrath <roland@hack.frob.com>
28836
28837 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28838 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28839 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28840 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28841 __eloop_threshold instead of SYMLOOP_MAX.
28842
28843 * sysdeps/generic/eloop-threshold.h: New file.
28844 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28845 of MAXSYMLINKS.
28846 * elf/chroot_canon.c (chroot_canon): Likewise.
28847
7aab07e4
JM
288482012-08-03 Joseph Myers <joseph@codesourcery.com>
28849
28850 [BZ #13717]
28851 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28852 Change to 2.6.0 everywhere.
28853 * sysdeps/unix/sysv/linux/configure: Regenerated.
28854 * sysdeps/unix/sysv/linux/kernel-features.h
28855 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28856 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28857 kernel versions.
28858 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28859 (__ASSUME_FUTEX_REQUEUE): Remove.
28860 (__ASSUME_STATFS64): Define unconditionally.
28861 (__ASSUME_AT_SECURE): Likewise.
28862 (__ASSUME_CORRECT_SI_PID): Likewise.
28863 (__ASSUME_TGKILL): Define without depending on kernel version for
28864 i386.
28865 (__ASSUME_UTIMES): Likewise.
28866 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28867 kernel version.
28868 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28869 (__ASSUME_TMPFS_NAME): Likewise.
28870 * README: Update reference to Linux kernel versions.
28871
b67e9372
MP
288722012-08-02 Marek Polacek <polacek@redhat.com>
28873
1f529f7d 28874 [BZ# 14150]
b67e9372
MP
28875 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28876 libc_cv_asm_type_prefix with %.
28877 * configure: Regenerated.
d2441631
RM
28878 * include/libc-symbols.h: Remove comment about
28879 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
28880 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28881 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28882 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28883 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28884 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28885 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28886 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28887 * elf/tst-unique2mod1.c: Likewise.
28888 * elf/tst-unique1mod2.c: Likewise.
28889 * elf/tst-unique1mod1.c: Likewise.
28890 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28891 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28892 Replace ASM_TYPE_DIRECTIVE with .type.
28893 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28894 * sysdeps/i386/sysdep.h: Likewise.
28895 * sysdeps/x86_64/sysdep.h: Likewise.
28896 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
28897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28898 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 28899 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
28900 * sysdeps/powerpc/powerpc32/sysdep.h:
28901 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
28902 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28903 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28904 * sysdeps/i386/fpu/e_powf.S: Likewise.
28905 * sysdeps/i386/fpu/e_expl.S: Likewise.
28906 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28907 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28908 * sysdeps/i386/fpu/e_pow.S: Likewise.
28909 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28910 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28911 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28912 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28913 * sysdeps/i386/fpu/e_log2.S: Likewise.
28914 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28915 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28916 * sysdeps/i386/fpu/e_powl.S: Likewise.
28917 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28918 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28919 * sysdeps/i386/fpu/e_logl.S: Likewise.
28920 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28921 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28922 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28923 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28924 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28925 * sysdeps/i386/fpu/e_log.S: Likewise.
28926 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28927 * sysdeps/i386/fpu/e_logf.S: Likewise.
28928 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28929 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28930 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28931 * sysdeps/i386/fpu/e_log10.S: Likewise.
28932 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28933 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28934 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28935 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28936 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28937 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28938 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28939 * sysdeps/i386/i686/strtok.S: Likewise.
28940 * sysdeps/i386/i386-mcount.S: Likewise.
28941 * sysdeps/i386/strtok.S: Likewise.
28942 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28943 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28944 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28945 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28946 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28947 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28948 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28949 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28950 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28951 * sysdeps/x86_64/_mcount.S: Likewise.
28952 * sysdeps/x86_64/strtok.S: Likewise.
28953 * sysdeps/sh/_mcount.S: Likewise.
28954
2747bf9a
RM
289552012-08-01 Roland McGrath <roland@hack.frob.com>
28956
28957 * libio/iofopen.c: Include <fcntl.h>.
28958 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28959 (_IO_fopen64, fopen64): Define as aliases.
28960 * libio/iofopen64.c: Include <fcntl.h>.
28961 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28962 Conditionalize body on this.
28963 * sysdeps/wordsize-64/iofopen.c: File removed.
28964 * sysdeps/wordsize-64/iofopen64.c: File removed.
28965
3fb791b8
MP
289662012-08-01 Marek Polacek <polacek@redhat.com>
28967
28968 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28969 Use dlfcn directly instead of a variable.
28970 (binfmt-subdir): Do not define.
28971 (dlfcn): Likewise.
28972
a9f1039f
JM
289732012-08-01 Joseph Myers <joseph@codesourcery.com>
28974
23bddc06
JM
28975 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28976 Remove all definitions.
28977 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28978 <kernel-features.h>.
28979 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28980 (miss_F_GETOWN_EX): Remove all definitions.
28981 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28982 macro definition.
28983 [!__ASSUME_FCNTL64]: Remove conditional code.
28984 [__ASSUME_FCNTL64]: Make code unconditional.
28985 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28986 <kernel-features.h>.
28987 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28988 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28989 (lockf64) [__NR_fcntl64]: Make code unconditional.
28990 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28991
a9f1039f
JM
28992 * sysdeps/unix/sysv/linux/kernel-features.h
28993 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28994 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28995 Make code unconditional.
28996 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28997 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28999 [__NR_vfork]: Make code unconditional.
29000 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29001 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29003 [__NR_vfork]: Make code unconditional.
29004 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29005 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29006
09c0ee5f
RM
290072012-08-01 Roland McGrath <roland@hack.frob.com>
29008
48aec5b9
RM
29009 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29010 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29011
cd97c966
RM
29012 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29013 Define mkstemp64 as an alias.
3f55550c
RM
29014 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29015 Define mkstemps64 as an alias.
cd97c966
RM
29016 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29017 Define mkostemp64 as an alias.
b8625cfc
RM
29018 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29019 Define mkostemps64 as an alias.
cd97c966
RM
29020 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29021 Conditionalize body on this.
29022 * misc/mkostemp64.c: Likewise.
b8625cfc 29023 * misc/mkostemps64.c: Likewise.
3f55550c 29024 * misc/mkstemps64.c: Likewise.
cd97c966
RM
29025 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29026 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29027 * sysdeps/wordsize-64/mkostemp.c: File removed.
29028 * sysdeps/wordsize-64/mkstemp.c: File removed.
29029 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29030 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29031 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29032 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29033
09c0ee5f
RM
29034 [BZ #14138]
29035 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29036 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29037 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29038 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29039
29040 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29041 compat_symbol macros from <shlib-compat.h> rather than the underlying
29042 default_symbol_version and symbol_version macros, so that DEFAULT
29043 lines in shlib-versions are respected.
29044 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29045
7e66ee51
FW
290462012-08-01 Florian Weimer <fweimer@redhat.com>
29047
29048 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29049 Declare with warn_unused_result.
29050 (setgid, setregid, setegid, setresgid): Likewise.
29051 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29052 Likewise.
29053 * WUR-REPORT: Remove set*id functions.
29054
d2a54255
PT
290552012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29056
29057 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29058
7ecdb005
RM
290592012-07-31 Roland McGrath <roland@hack.frob.com>
29060
b4180a5e 29061 [BZ #10191]
789bd351
RM
29062 * include/sys/socket.h (__libc_accept, __libc_accept4):
29063 Add attribute_hidden.
29064 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29065
40ce302d
RM
29066 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29067 use of PTR_MANGLE.
29068 * inet/getnetgrent_r.c (setup): Likewise.
29069
7ecdb005
RM
29070 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29071
e2eabb2c
DM
290722012-07-31 David S. Miller <davem@davemloft.net>
29073
29074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29075
d0419dbf
JM
290762012-07-31 Joseph Myers <joseph@codesourcery.com>
29077
29078 [BZ #13629]
29079 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29080 value between 1.0 and 2.0 and smaller part has absolute value less
29081 than 1.0.
29082 * math/s_clog10.c (__clog10): Likewise.
29083 * math/s_clog10f.c (__clog10f): Likewise.
29084 * math/s_clog10l.c (__clog10l): Likewise.
29085 * math/s_clogf.c (__clogf): Likewise.
29086 * math/s_clogl.c (__clogl): Likewise.
29087 * math/libm-test.inc (clog_test): Add more tests.
29088 (clog10_test): Likewise.
29089 * sysdeps/i386/fpu/libm-test-ulps: Update.
29090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29091
2bc13872
FW
290922012-07-31 Florian Weimer <fweimer@redhat.com>
29093
29094 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29095 Exit with zero in case no suitable GID is found, and write a
29096 message to standard error.
29097
bea9b193
RM
290982012-07-30 Roland McGrath <roland@hack.frob.com>
29099
29100 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29101 rather than to 1.
29102 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29103 (MAXPATHLEN): Removed.
29104 (NOGROUP, NODEV): New macros.
29105 (setbit, clrbit, isset, isclr): New macros.
29106 (howmany, roundup, powerof2): New macros.
29107 (DEV_BSIZE): New macro.
29108
29109 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29110 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29111
29112 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29113 definition on [!__NO_LONG_DOUBLE_MATH].
29114
29115 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29116 PTR_MANGLE and PTR_DEMANGLE.
29117
29118 * socket/accept4.c (accept4): Rename to __libc_accept4.
29119 Define accept4 as a weak alias.
29120
29121 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29122 on [_DIRENT_HAVE_D_TYPE].
29123 * io/ftw.c (ftw_dir): Likewise.
29124
29125 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29126
29127 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29128
29129 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29130 Use the BSD numbers rather than the arbitrary ones we had.
29131 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29132 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29133 (SIGXCPU, SIGXFSZ): New macros.
29134 (_NSIG): Now 32.
29135
29136 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29137 initializer on [_LIBC_REENTRANT].
29138
29139 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29140 definitions inside [_POSIX_MAPPED_FILES].
29141
29142 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29143
29144 * dirent/opendir.c: Include <fcntl.h>.
29145
29146 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29147 (__libc_getspecific): Likewise.
29148 (__libc_key_create): Likewise.
29149
29150 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29151 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29152 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29153 (tmpfile64): Define as alias.
29154 * sysdeps/wordsize-64/tmpfile.c: File removed.
29155 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29156 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29157 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29158
29159 * stdio-common/vfscanf.c: Include <stdbool.h>.
29160 * nss/makedb.c: Likewise.
29161 * stdio-common/_i18n_number.h: Likewise.
29162 * argp/argp-help.c: Likewise.
29163 * posix/wordexp.c: Likewise.
29164 * sysdeps/posix/spawni.c: Likewise.
29165 * nss/nss_files/files-initgroups.c: Likewise.
29166 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29167 * nss/nss_files/files-initgroups.c: Likewise.
29168 * nss/nss_db/db-netgrp.c: Likewise.
29169 * nss/nss_db/db-initgroups.c: Likewise.
29170 * io/fchmodat.c: Include <sys/stat.h>.
29171
29172 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29173 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29174
29175 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29176 [HAVE_MMAP].
29177
29178 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29179 Add multiple inclusion protection.
29180
e5abc686
DM
291812012-07-27 David S. Miller <davem@davemloft.net>
29182
29183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29184
815e6fa3
GB
291852012-07-27 Gary Benson <gbenson@redhat.com>
29186
29187 [BZ #14298]
29188 * elf/rtld.c: Include <stap-probe.h>.
29189 (dl_main): Added static probes "init_start" and "init_complete".
29190 * elf/dl-load.c: Include <stap-probe.h>.
29191 (lose): Take new parameter "nsid".
29192 Added static probe "map_failed".
29193 (_dl_map_object_from_fd): Pass namespace id to lose.
29194 Added static probe "map_start".
29195 (open_verify): Pass namespace id to lose.
29196 * elf/dl-open.c: Include <stap-probe.h>.
29197 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29198 and "reloc_complete".
29199 * elf/dl-close.c: Include <stap-probe.h>.
29200 (_dl_close_worker): Added static probes "unmap_start" and
29201 "unmap_complete".
29202 * elf/rtld-debugger-interface.txt: New file documenting the above.
29203
9f98c16c
RM
292042012-07-26 Roland McGrath <roland@hack.frob.com>
29205
29206 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29207 rather than a string variable.
29208 * sunrpc/rpc_main.c (h_output): Likewise.
29209 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29210
f3c22df3
PT
292112012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29212
29213 * inet/check_native.c: New file.
29214
3129cfc6
JM
292152012-07-26 Joseph Myers <joseph@codesourcery.com>
29216
da865e95
JM
29217 [BZ #13629]
29218 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29219 if larger part has absolute value 1.0.
29220 * math/s_clog10.c (__clog10): Likewise.
29221 * math/s_clog10f.c (__clog10f): Likewise.
29222 * math/s_clog10l.c (__clog10l): Likewise.
29223 * math/s_clogf.c (__clogf): Likewise.
29224 * math/s_clogl.c (__clogl): Likewise.
29225 * math/libm-test.inc (clog_test): Add more tests.
29226 (clog10_test): Likewise.
29227 * sysdeps/i386/fpu/libm-test-ulps: Update.
29228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29229
3129cfc6
JM
29230 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29231 (pltexit): Likewise.
29232 (La_regs): Likewise.
29233 (La_retval): Likewise.
29234 (int_retval): Likewise.
29235 Update #error for removed macros to refer only to definitions in
29236 tst-audit.h.
29237 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29238 macro.
29239 (pltexit): Likewise.
29240 (La_regs): Likewise.
29241 (La_retval): Likewise.
29242 (int_retval): Likewise.
29243 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29244 macro.
29245 (pltexit): Likewise.
29246 (La_regs): Likewise.
29247 (La_retval): Likewise.
29248 (int_retval): Likewise.
29249 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29250 macro.
29251 (pltexit): Likewise.
29252 (La_regs): Likewise.
29253 (La_retval): Likewise.
29254 (int_retval): Likewise.
29255 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29256 macro.
29257 (pltexit): Likewise.
29258 (La_regs): Likewise.
29259 (La_retval): Likewise.
29260 (int_retval): Likewise.
29261 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29262 macro.
29263 (pltexit): Likewise.
29264 (La_regs): Likewise.
29265 (La_retval): Likewise.
29266 (int_retval): Likewise.
29267 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29268 macro.
29269 (pltexit): Likewise.
29270 (La_regs): Likewise.
29271 (La_retval): Likewise.
29272 (int_retval): Likewise.
29273 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29274 macro definitions in tst-audit.h.
29275 * sysdeps/i386/tst-audit.h: New file.
29276 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29277 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29278 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29279 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29280 * sysdeps/sh/tst-audit.h: Likewise.
29281 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29282 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29283 * sysdeps/x86_64/tst-audit.h: Likewise.
29284
bfc07087
AJ
292852012-07-26 Andreas Jaeger <aj@suse.de>
29286
b1b2aaf8
AJ
29287 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29288 ptrace.
29289
29290 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29291 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29292 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29293 PTRACE_O_MASK.
29294 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29295 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29296 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29297
bfc07087
AJ
29298 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29299 value.
29300
29301 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29302 _sigsys.
29303 (si_call_addr, si_syscall, si_arch): Define new macro.
29304 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29305 _sigsys.
29306 (si_call_addr, si_syscall, si_arch): Define new marcro.
29307 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29308 _sigsys.
29309 (si_call_addr, si_syscall, si_arch): Define new macro.
29310 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29311 _sigsys.
29312 (si_call_addr, si_syscall, si_arch): Define new macro.
29313
89b4b02f
JM
293142012-07-25 Joseph Myers <joseph@codesourcery.com>
29315
29316 [BZ #13717]
29317 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29318 Change to 2.4.21 where previously 2.4.1.
29319 * sysdeps/unix/sysv/linux/configure: Regenerated.
29320 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29321 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29322 Linux kernel version.
29323 (__ASSUME_STD_AUXV): Remove.
29324 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29325 kernel version.
29326 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29327 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29328 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29329 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29330 (__ASSUME_NETLINK_SUPPORT): Likewise.
29331 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29332 (__no_netlink_support): Remove conditional definition.
29333 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29334 Remove.
29335 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29336 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29337 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29338 (if_nameindex_ioctl): Remove.
29339 (if_nameindex_netlink): Do not handle __no_netlink_support.
29340 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29341 code.
29342 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29343 Remove conditional code.
29344 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29345 code.
29346 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29347 unconditional.
29348 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29349 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29350 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29351 Remove.
29352 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29353 [!__ASSUME_STD_AUXV]: Remove conditional code.
29354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29355 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29356 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29358 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29359 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29360 code.
29361 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29363 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29364 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29365 conditional code.
29366 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29368 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29369 code.
29370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29371 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29372 conditional code.
29373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29374 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29375 code unconditional.
29376 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29377 conditional code.
29378 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29379 unconditional.
29380 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29381 conditional code.
29382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29383 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29384 unconditional.
29385 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29386 conditional code.
29387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29388 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29389 code unconditional.
29390 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29391 conditional code.
29392 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29393 unconditional.
29394 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29395 conditional code.
29396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29397 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29398 code unconditional.
29399 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29400 conditional code.
29401 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29402 unconditional.
29403 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29404 conditional code.
29405
842a39cd
AS
294062012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29407
29408 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29409 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29410 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29411 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29412 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29413 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29414 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29415 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29416 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29417 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29418 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29419 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29420 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29421 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29422 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29423 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29424 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29425 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29426 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29427 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29428 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29429 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29430 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29431
84b3fd84
FW
294322012-07-25 Florian Weimer <fweimer@redhat.com>
29433
29434 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
29435 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29436 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29437 Introduce __libc_secure_getenv.
0c7936d5
FW
29438 * stdlib/Versions (2.17): Add secure_getenv
29439 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29440 * stdlib/secure-getenv.c: Rename __secure_getenv to
29441 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29442 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
29443 * stdlib/tst-secure-getenv.c: New.
29444 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
29445 * manual/startup.texi (Environment Access): Document
29446 secure_getenv.
84b3fd84
FW
29447 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29448 __libc_secure_getenv.
29449 * inet/ruserpass.c (ruserpass): Likewise.
29450 * malloc/mtrace.c (mtrace): Likewise.
29451 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 29452 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
29453 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29454 * sysdeps/posix/tempname.c: Likewise. Evaluate
29455 HAVE_SECURE_GETENV.
29456 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 29457 __secure_getenv to __libc_secure_getenv.
84b3fd84 29458 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
29459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29460 Likewise.
29461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29462 Likewise.
29463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29465 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 29470
56e49b71
JM
294712012-07-25 Joseph Myers <joseph@codesourcery.com>
29472
29473 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29474 (struct La_i86_retval): Likewise.
29475 (struct La_x86_64_regs): Likewise.
29476 (struct La_x86_64_retval): Likewise.
29477 (struct La_x32_regs): Likewise.
29478 (struct La_x32_retval): Likewise.
29479 (struct La_ppc32_regs): Likewise.
29480 (struct La_ppc32_retval): Likewise.
29481 (struct La_ppc64_regs): Likewise.
29482 (struct La_ppc64_retval): Likewise.
29483 (struct La_sh_regs): Likewise.
29484 (struct La_sh_retval): Likewise.
29485 (struct La_s390_32_regs): Likewise.
29486 (struct La_s390_32_retval): Likewise.
29487 (struct La_s390_64_regs): Likewise.
29488 (struct La_s390_64_retval): Likewise.
29489 (struct La_sparc32_regs): Likewise.
29490 (struct La_sparc32_retval): Likewise.
29491 (struct La_sparc64_regs): Likewise.
29492 (struct La_sparc64_retval): Likewise.
29493 (struct audit_ifaces): Remove architecture-specific pltenter and
29494 pltexit members.
29495 * sysdeps/i386/ldsodefs.h: New file.
29496 * sysdeps/powerpc/ldsodefs.h: Likewise.
29497 * sysdeps/s390/ldsodefs.h: Likewise.
29498 * sysdeps/sh/ldsodefs.h: Likewise.
29499 * sysdeps/sparc/ldsodefs.h: Likewise.
29500 * sysdeps/x86_64/ldsodefs.h: Likewise.
29501
354691b7
MP
295022012-07-25 Marek Polacek <polacek@redhat.com>
29503
29504 [BZ #6808]
29505 * math/libm-test.inc (yn_test): Add another test.
29506 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29507 to ERANGE when the result is +-Inf.
29508 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29509 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29510 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29511 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29512
bf9e2071
JM
295132012-07-24 Joseph Myers <joseph@codesourcery.com>
29514
29515 * conform/data/time.h-data (NULL): Use macro-constant. Require
29516 equal to 0.
29517 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29518 clock_t.
29519 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29520
57633811
TS
295212012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29522
29523 * configure.in <sysdeps resolving>: Correct printing
29524 Implies_before.
29525 * configure: Regenerate.
29526
c23c33b0
TS
295272012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29528
29529 * math/w_ilogb.c: Include <limits.h>.
29530 * math/w_ilogbl.c: Likewise.
29531
b5982523
JM
295322012-07-20 Joseph Myers <joseph@codesourcery.com>
29533
29534 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29535 va_copy. Document allowing for unavailable va_copy only as
29536 pre-C99 compatibility.
29537 * manual/string.texi (Copying and Concatenation): Use va_copy
29538 instead of __va_copy in concat example.
29539
ac4ea442
PT
295402012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29541
29542 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29543 (__sendto): Use create_address_port. Initialize APORT and deallocate
29544 it if not null.
29545
f98eafbd
PT
29546 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29547 with O_NOLINK passed to __file_name_lookup.
29548
898c7aab
PT
29549 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29550 with O_NOLINK passed to __file_name_lookup.
29551
0ced335a
PT
29552 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29553 negative N or less than NGIDS.
29554
b3404dbd
PT
29555 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29556 type to string_t. Set ERANGE as errno and return it if NAME is not big
29557 enough. Use memcpy instead of strncpy.
29558
0f48659e
JM
295592012-07-20 Joseph Myers <joseph@codesourcery.com>
29560
29561 * elf/Makefile (check-data): Remove.
29562 (localplt.data): New vpath directive.
29563 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29564 instead of $(check-data).
29565 * scripts/data/localplt-generic.data: Move to ...
29566 * sysdeps/generic/localplt.data: ... here.
29567 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29568 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29569 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29571 ... here.
29572 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29574 ... here.
29575 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29577 ... here.
29578 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29580 ... here.
29581 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29583 ... here.
29584 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29586 ... here.
29587
d37cbdaa
AZ
295882012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29589
29590 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29591 PPC32 and PPC64 files.
29592 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29593 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29594
46f85fc2
AK
295952012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29596
29597 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29598 __makecontext_ret to ...
29599 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29600 ... here and call exit if uc_link is NULL. New file.
29601 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29602 __makecontext_ret.S.
29603 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29604 __makecontext_ret to ...
29605 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29606 ... here and call exit if uc_link is NULL. New file.
29607 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29608 __makecontext_ret.S.
29609
08f43f9b
AK
296102012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29611
29612 * elf/elf.h (R_390_IRELATIVE): New definition.
29613 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29614 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29615 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29616 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29617 (elf_machine_lazy_rel): Likewise.
29618 * sysdeps/s390/dl-irel.h: New file.
29619 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29620 * sysdeps/s390/s390-64/memset.S: New asm code.
29621 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29622 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29623 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29624 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29625 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29626 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29627 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29628 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29629 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29630 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29631 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29632 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29633 * sysdeps/s390/s390-32/memset.S: New asm code.
29634 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29635
3b05db33
MP
296362012-07-17 Marek Polacek <polacek@redhat.com>
29637
29638 [BZ #14349]
29639 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29640 * sysdeps/s390/s390-64/configure.in: Likewise.
29641 * sysdeps/sparc/configure.in: Likewise.
29642 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29643 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29644 * sysdeps/i386/configure.in: Likewise.
29645 * sysdeps/x86_64/configure.in: Likewise.
29646 * sysdeps/sh/configure.in: Likewise.
29647 * sysdeps/s390/s390-32/configure: Regenerated.
29648 * sysdeps/s390/s390-64/configure: Likewise.
29649 * sysdeps/x86_64/configure: Likewise.
29650 * sysdeps/sh/configure: Likewise.
29651 * sysdeps/powerpc/powerpc64/configure: Likewise.
29652 * sysdeps/powerpc/powerpc32/configure: Likewise.
29653 * sysdeps/sparc/configure: Likwise.
29654 * sysdeps/i386/configure: Likewise.
29655
a66877c6
MP
29656 * elf/dl-open.c: Comment fixes.
29657
cfc82fd8
JM
296582012-07-17 Joseph Myers <joseph@codesourcery.com>
29659
bd29910a
JM
29660 * Makefile [CXX] (check-data): Remove.
29661 [CXX] (c++-types.data): New vpath directive.
29662 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29663 vpath. Do not allow for C++ type data being missing.
29664 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29665 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29666 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29667 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29668 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29669 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29670 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29672 ... here.
29673 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29675 ... here.
29676 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29678 ... here.
29679 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29681 ... here.
29682 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29684 ... here.
29685 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29687 ... here.
29688 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29690 ... here.
29691 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29692 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29693
cfc82fd8
JM
29694 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29695 definitions to architecture-specific files.
29696 (TLS_IE): Likewise.
29697 (TLS_LD): Likewise.
29698 (TLS_GD): Likewise.
29699 * sysdeps/i386/tls-macros.h: New file.
29700 * sysdeps/powerpc/tls-macros.h: Likewise.
29701 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29702 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29703 * sysdeps/sh/tls-macros.h: Likewise.
29704 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29705 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29706 * sysdeps/x86_64/tls-macros.h: Likewise.
29707
f7db3170
TS
297082012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29709
07cbfc23
TS
29710 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29711 zero value for regular exit case.
29712
f7db3170
TS
29713 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29714 (__start_context): Preserve zero value for regular exit case.
29715
dc97c227
TS
297162012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29717 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29718
29719 * manual/setjmp.texi (setcontext): Clarify normal process
29720 termination when uc_link is the null pointer.
29721 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29722 exit call.
29723
d0cd7d02
AS
297242012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29725
29726 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29727 preprocessor. Test for each exception mask separately.
29728
dd318934
AJ
297292012-07-16 Andreas Jaeger <aj@suse.de>
29730
29731 * po/ru.po: Update from translation team.
29732
8048311a
JM
297332012-07-15 Joseph Myers <joseph@codesourcery.com>
29734
29735 * conform/data/string.h-data (NULL): Use macro-constant. Require
29736 equal to 0.
29737 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29738 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29739 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29740 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29741 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29742
b637d46e
AJ
297432012-07-13 Andreas Jaeger <aj@suse.de>
29744
29745 * po/fr.po: Update from translation team.
29746
541428fe
MP
297472012-07-12 Marek Polacek <polacek@redhat.com>
29748
29749 [BZ #14173]
29750 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29751 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29752 loop condition.
29753
ec332e94
JM
297542012-07-12 Joseph Myers <joseph@codesourcery.com>
29755
29756 [BZ #13717]
29757 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29758 Change to 2.4.1 where previously 2.4.0.
29759 * sysdeps/unix/sysv/linux/configure: Regenerated.
29760 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29761 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29762 version.
29763 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29764 (__ASSUME_AT_CLKTCK): Remove.
29765 (__ASSUME_AT_PAGESIZE): Likewise.
29766 (__ASSUME_AT_XID): Likewise.
29767 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29768 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29769 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29770 unconditionally.
29771 (HAVE_AUX_PAGESIZE): Likewise.
29772 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29773 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29774 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29775
7b6e99be
JB
297762012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29777
29778 [BZ #14307]
29779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29780 the temporary buffer used to invoke __gethostbyname2_r,
29781 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29782 host_data / struct gaih_addrtuple.
29783 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29784 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29785 header file nss/nsswitch.h.
29786 * nss/nsswitch.h (global scope): Add definition of implementation
29787 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29788 resolv/nss_dns/dns-host.c).
29789
608404eb
AJ
297902012-07-11 Andreas Jaeger <aj@suse.de>
29791
29792 * po/fr.po: Update from translation team.
29793
71220aca
AJ
29794 * po/sv.po: Update from translation team
29795 * po/fr.po: Another update from translation team.
29796
28cfe843
AZ
297972012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29798
29799 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29800 for subnormals or multiply small sinh result by itself.
29801 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29803
6b90f981
DM
298042012-07-11 David S. Miller <davem@davemloft.net>
29805
29806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29807
c6825772
AS
298082012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29809
29810 [BZ #14347]
29811 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29812 (INTERNAL_MARK): Shift it here.
29813
7b8e0d49
MP
298142012-07-10 Marek Polacek <polacek@redhat.com>
29815
29816 [BZ #14151]
29817 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29818 libc_cv_asm_global_directive with .globl.
29819 * configure: Regenerated.
29820 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29821 with .globl.
29822 * sysdeps/i386/configure: Regenerated.
29823 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29824 with .globl.
29825 * sysdeps/x86_64/configure: Regenerated.
29826 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29827 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29828 * elf/tst-unique2mod2.c: Likewise.
29829 * elf/tst-unique2mod1.c: Likewise.
29830 * elf/tst-unique1mod2.c: Likewise.
29831 * elf/tst-unique1mod1.c: Likewise.
29832 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29833 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29834 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29835 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29836 * sysdeps/mach/sysdep.h: Likewise.
29837 * sysdeps/i386/sysdep.h: Likewise.
29838 * sysdeps/i386/i386-mcount.S: Likewise.
29839 * sysdeps/x86_64/_mcount.S: Likewise.
29840 * sysdeps/x86_64/sysdep.h: Likewise.
29841 * sysdeps/sh/_mcount.S: Likewise.
29842 * sysdeps/sh/sysdep.h: Likewise.
29843 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29844 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29845 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29846 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29847 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29848 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29849 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29850 * locale/localeinfo.h: Likewise.
29851 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29852 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29853
6c55cda3
RM
298542012-07-09 Roland McGrath <roland@hack.frob.com>
29855
29856 [BZ #14336]
29857 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29858 system".
29859 * manual/message.texi (The Uniforum approach): Likewise.
29860 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29861 (glibc iconv Implementation): Likewise.
29862
638a572e
JM
298632012-07-09 Joseph Myers <joseph@codesourcery.com>
29864
29865 [BZ #14337]
29866 * math/s_clog.c (__clog): Avoid scaling a value down where that
29867 could result in underflow.
29868 * math/s_clog10.c (__clog10): Likewise.
29869 * math/s_clog10f.c (__clog10f): Likewise.
29870 * math/s_clog10l.c (__clog10l): Likewise.
29871 * math/s_clogf.c (__clogf): Likewise.
29872 * math/s_clogl.c (__clogl): Likewise.
29873 * math/libm-test.inc (clog_test): Add more tests.
29874 (clog10_test): Likewise.
29875 * sysdeps/i386/fpu/libm-test-ulps: Update.
29876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29877
261f4859
AS
298782012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29879
0abaf3e4
AS
29880 [BZ #14283]
29881 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29882 by 7 not 8 to examine high bit of fractional part.
29883
261f4859
AS
29884 [BZ #14042]
29885 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29886 for call to __mcount_internal.
29887 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29888 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29889 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29890
f17ac40d
JM
298912012-07-06 Joseph Myers <joseph@codesourcery.com>
29892
9ad63c23
JM
29893 [BZ #14154]
29894 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29895 approximation for values within 0x1p-13f of an odd multiple of
29896 pi/4.
29897 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29898 exception. Add more tests.
29899 * sysdeps/i386/fpu/libm-test-ulps: Update.
29900
f17ac40d
JM
29901 [BZ #6778]
29902 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29903 inputs and return -1 for them. Do not check for +Inf in case not
29904 reachable for +Inf.
29905 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29906 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29907 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29908 and return -1 for them. Do not check for +Inf in case not
29909 reachable for +Inf.
29910 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29911 define.
29912 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29913 and return -1 for them. Do not check for +Inf in case not
29914 reachable for +Inf.
29915 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29916 spurious underflow.
29917 * sysdeps/i386/fpu/libm-test-ulps: Update.
29918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29919
fb21f89b
MF
299202012-07-06 Mike Frysinger <vapier@gentoo.org>
29921
29922 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29923
cdfe2c5e
JM
299242012-07-05 Joseph Myers <joseph@codesourcery.com>
29925
29926 [BZ #14157]
29927 [BZ #14331]
29928 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29929 could result in spurious underflow. Scale down values above
29930 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29931 * math/s_csqrtf.c (__csqrtf): Likewise.
29932 * math/s_csqrtl.c (__csqrtl): Likewise.
29933 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29934 spurious underflow.
29935 * sysdeps/i386/fpu/libm-test-ulps: Update.
29936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29937
70d35b67
AS
299382012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29939
704bc459
AS
29940 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29941 xopen-msg.sed.
29942 * catgets/xopen-msg.awk: New file.
29943 * catgets/xopen-msg.sed: Removed.
29944
70d35b67
AS
29945 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29946 po2text.sed.
29947 * intl/po2test.awk: New file.
29948 * intl/po2test.sed: Removed.
29949
ca61cf32
JM
299502012-07-04 Joseph Myers <joseph@codesourcery.com>
29951
29952 [BZ #14328]
29953 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29954 or multiply small sinh result by itself.
29955 * math/s_ctanf.c (__ctanf): Likewise.
29956 * math/s_ctanh.c (__ctanh): Likewise.
29957 * math/s_ctanhf.c (__ctanhf): Likewise.
29958 * math/s_ctanhl.c (__ctanhl): Likewise.
29959 * math/s_ctanl.c (__ctanl): Likewise.
29960 * math/libm-test.inc (ctan_test_tonearest): New function.
29961 (ctan_test_towardzero): Likewise.
29962 (ctan_test_downward): Likewise.
29963 (ctan_test_upward): Likewise.
29964 (ctanh_test_tonearest): Likewise.
29965 (ctanh_test_towardzero): Likewise.
29966 (ctanh_test_downward): Likewise.
29967 (ctanh_test_upward): Likewise.
29968 (main): Call these new functions.
29969 * sysdeps/i386/fpu/libm-test-ulps: Update.
29970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29971
ca48a46a
MF
299722012-07-03 Mike Frysinger <vapier@gentoo.org>
29973
29974 * .gitignore: Delete /ports entry.
29975
9d63d37d
AJ
299762012-07-03 Andreas Jaeger <aj@suse.de>
29977
29978 * po/bg.po: Update from translation team.
29979 * po/cs.po: Likewise.
29980 * po/de.po: Likewise.
29981 * po/hr.po: Likewise.
29982 * po/nl.pl: Likewise.
29983 * po/pl.po: Likewise.
29984 * po/vi.po: Likewise.
29985
370ca3d2
JM
299862012-07-03 Joseph Myers <joseph@codesourcery.com>
29987
95f5a9a8
JM
29988 * Makeconfig [!+link] (+link-before-libc): New variable.
29989 [!+link] (+link-after-libc): Likewise.
29990 [!+link] (+link-tests): Likewise.
29991 [!+link] (+link): Define in terms of $(+link-before-libc) and
29992 $(+link-after-libc).
29993 [!+link-static] (+link-static-before-libc): New variable.
29994 [!+link-static] (+link-static-after-libc): Likewise.
29995 [!+link-static] (+link-static-tests): Likewise.
29996 [!+link-static] (+link-static): Define in terms of
29997 $(+link-static-before-libc) and $(+link-static-after-libc).
29998 [build-shared] (link-libc-before-gnulib): New variable.
29999 [build-shared] (link-libc-tests): Likewise.
30000 [build-shared] (link-libc): Define in terms of
30001 $(link-libc-before-gnulib).
30002 [!build-shared] (link-libc-tests): New variable.
30003 (link-libc-static-tests): New variable.
30004 [!gnulib] (gnulib-arch): New variable.
30005 [!gnulib] (gnulib-tests): Likewise.
30006 [!gnulib] (static-gnulib-arch): Likewise.
30007 [!gnulib] (static-gnulib-tests): Likewise.
30008 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30009 Define with "=" instead of ":=".
30010 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30011 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30012 * Rules (binaries-all-notests): New variable.
30013 (binaries-all-tests): Likewise.
30014 (binaries-static-notests): Likewise.
30015 (binaries-static-tests): Likewise.
30016 (binaries-all): Define using $(binaries-all-notests) and
30017 $(binaries-all-tests).
30018 (binaries-static): Define using $(binaries-static-notests) and
30019 $(binaries-static-tests).
30020 (binaries-shared-tests): New variable.
30021 (binaries-shared-notests): Likewise.
30022 (binaries-shared): Remove variable.
30023 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30024 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30025 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30026 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30027 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30028 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30029 * elf/Makefile (sln-modules): New variable.
30030 (extra-objs): Add $(sln-modules:=.o).
30031 (ldconfig-modules): Add static-stubs.
30032 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30033 * elf/static-stubs.c: New file.
30034
7a845b2c
JM
30035 [BZ #14283]
30036 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30037 by 7 not 8 to examine high bit of fractional part. Use volatile
30038 variables when splitting into final array of floats if
30039 __FLT_EVAL_METHOD__ != 0.
30040 * math/libm-test.inc (cos_test): Add another test.
30041 (sin_test): Likewise.
30042 * sysdeps/i386/fpu/libm-test-ulps: Update.
30043
e2283f38
JM
30044 [BZ #14273]
30045 * math/libm-test.inc (cosh_test): Add more tests.
30046
370ca3d2
JM
30047 * version.h (RELEASE): Set to "development".
30048 (VERSION): Set to "2.16.90".
30049
ee9247c3
CD
300502012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30051
30052 * NEWS: Update copyright. Remove last-updated date.
30053 Mention math library bug fixes and timezone data changes.
30054 * README: Mention GNU/Hurd, x32, and HPPA support status.
30055
4648c381
TS
300562012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30057
30058 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30059
aac78a43
AJ
300602012-06-27 Andreas Jaeger <aj@suse.de>
30061
30062 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30063
ed3dbfad
AJ
300642012-06-25 Andreas Jaeger <aj@suse.de>
30065
30066 * sysdeps/s390/fpu/libm-test-ulps: Update.
30067
4d0ee855
AS
300682012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30069 Thomas Schwinge <thomas@codesourcery.com>
30070
30071 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30072 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30073 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30074 fanotify_mark.
30075
af1bce34
TS
300762012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30077
a9fa33ba
TS
30078 * sysdeps/mach/start.c: Remove file.
30079 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30080 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30081 * sysdeps/sh/init-first.c: Likewise.
30082
58f902b8
TS
30083 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30084 registers for frame unwinding purposes, add CFI directives.
30085 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30086 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30087 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30088 Likewise.
30089
1518f58b
TS
30090 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30091 __fortify_fail returning.
30092 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30093
db9b5059
TS
30094 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30095 sysdeps/sh/____longjmp_chk.S.
30096 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30097 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30098 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30099 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30100
967705fe
TS
30101 * sysdeps/sh/abort-instr.h: New file.
30102 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30103 process in case exit returns.
30104
a9def8c4
TS
30105 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30106 initialize the GOT register before use.
30107
2a649725
TS
30108 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30109 calculation of ARGC > 4.
30110
af1bce34
TS
30111 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30112 meaningful names to some local labels.
30113
d230f50a
KK
301142012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30115 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30116
30117 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30118 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30119 (__arch_compare_and_exchange_val_16_acq): Likewise.
30120 (__arch_compare_and_exchange_val_32_acq): Likewise.
30121 (atomic_exchange_and_add): Fix gUSA sequence.
30122 (atomic_add): Likewise.
30123 (atomic_add_negative): Likewise.
30124 (atomic_add_zero): Likewise.
30125 (atomic_bit_test_set): Likewise.
30126
0479b305
AS
301272012-06-22 Andreas Schwab <schwab@redhat.com>
30128
30129 [BZ #13579]
30130 * include/link.h (struct link_map): Add l_free_initfini.
30131 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30132 l_initfini.
30133 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30134 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30135 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30136 set.
30137
0e3933b9
CD
301382012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30139
30140 * configure.in: Use AC_LANG_SOURCE.
30141 * configure: Regenerate.
30142
4248b1b1
RM
301432012-06-22 Roland McGrath <roland@hack.frob.com>
30144
30145 * configure.in (libc_cv_localstatedir): New substituted variable.
30146 * configure: Regenerated.
30147 * config.make.in (localstatedir): New variable, substituted from
30148 libc_cv_localstatedir.
30149 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30150 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30151 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30152 * sysdeps/gnu/configure: Regenerated.
30153
006dd861
JL
301542012-06-21 Jeff Law <law@redhat.com>
30155
30156 [BZ #14277]
30157 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30158 free. Simplify list management for _LIBC case.
30159
79662d42
JM
301602012-06-21 Joseph Myers <joseph@codesourcery.com>
30161
b7abb4bf
JM
30162 [BZ #14273]
30163 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30164 Clear sign bit of 64-bit integer value before comparing against
30165 overflow value.
30166
79662d42
JM
30167 * sysdeps/mach/configure: Regenerated.
30168
1f150908
L
301692012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30170
30171 [BZ #14278]
30172 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30173
28363bbf
JL
301742012-06-21 Jeff Law <law@redhat.com>
30175
30176 [BZ #13882]
30177 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30178 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 30179 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
30180 * elf/dl-open.c (dl_open_worker): Likewise.
30181
09615db4
CD
301822012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30183
30184 * scripts/list-sources.sh: Scan PORTS for translations.
30185 * po/libc.pot: Regenerated.
30186
2174c6dd
AJ
301872012-06-21 Andreas Jaeger <aj@suse.de>
30188
30189 [BZ #12194]
30190 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30191 warning.
30192 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30193 * bits/byteswap-16.h (__bswap_16): Likewise.
30194 * bits/byteswap.h (__bswap_constant_16): Likewise.
30195
3ee947b1
L
301962012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30197
30198 [BZ #14117]
a2f34833
L
30199 * sysdeps/i386/fpu_control.h: Removed.
30200 * sysdeps/x86_64/fpu_control.h: Moved to ...
30201 * sysdeps/x86/fpu_control.h: Here.
30202
3ee947b1
L
30203 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30204 (_FPU_SETCW): Likewise.
30205
ed1825f8
L
302062012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30207
25f1282a
L
30208 [BZ #14117]
30209 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30210 * sysdeps/x86/fpu/bits/mathinline.h: This.
30211 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30212
ed1825f8
L
30213 [BZ #14050]
30214 [BZ #14117]
30215 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30216 functions if __x86_64__ is defined.
30217
36d54b74
CLT
302182012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30219
30220 * string/endian.h: Add !__ASSEMBLER__ condition for including
30221 conversion interfaces.
30222
10285c21
JM
302232012-06-15 Joseph Myers <joseph@codesourcery.com>
30224
30225 [BZ #14241]
30226 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30227 of ABS(x) in calculating zero to negative powers other than odd
30228 integers.
30229 * math/libm-test.inc (pow_test): Add more tests.
30230
06c5abbd
AJ
302312012-06-15 Andreas Jaeger <aj@suse.de>
30232
30233 * manual/contrib.texi (Contributors): Update entry of Liubov
30234 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30235 Machado Filho.
30236
a3aeac40
CH
302372012-06-15 Cyril Hrubis <metan@ucw.cz>
30238
30239 * string/string.h: Add __wur to GNU version of strerror_r.
30240
49bdf4c1
L
302412012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30242
30243 [BZ #14229]
30244 * string/Makefile (tests): Add tst-strtok_r.
30245 * string/tst-strtok_r.c: New file.
30246 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30247 RAX_LP/RDX_LP on SAVE_PTR.
30248
834f9b8d
RM
302492012-06-14 Roland McGrath <roland@hack.frob.com>
30250
30251 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30252
75fa1921
JM
302532012-06-14 Joseph Myers <joseph@codesourcery.com>
30254
30255 * libm_test.inc (csqrt_test): Allow more spurious underflow
30256 exceptions.
30257 (j0_test): Likewise.
30258 (j1_test): Likewise.
30259 (y0_test): Likewise.
30260 (y1_test): Likewise.
30261
771766df
CD
302622012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30263
30264 * po/Makefile (libc.pot): Use UTF-8 charset.
30265
ceb9e56b
PP
302662012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30267
30268 [BZ #14210]
30269 Suppress sign-conversion warning from FD_SET.
30270 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30271 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30272 not unsigned long int.
30273 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30274
ddb28975
L
302752012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30276
30277 [BZ #14050]
30278 [BZ #14117]
30279 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30280 __extern_always_inline instead of __extern_inline.
30281 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30282 (__signbit): Likewise.
30283 (__signbitl): Support C++ namespace.
30284 (lrintf): New inline function.
30285 (lrint): Likewise.
30286 (llrintf): Likewise.
30287 (llrint): Likewise.
30288 (fmaxf): Likewise.
30289 (fmax): Likewise.
30290 (fminf): Likewise.
30291 (fmin): Likewise.
30292 (rint): Likewise.
30293 (rintf): Likewise.
30294 (ceil): Likewise.
30295 (ceilf): Likewise.
30296 (floor): Likewise.
30297 (floorf): Likewise.
30298 (nearbyint): Likewise.
30299 (nearbyintf): Likewise.
30300
d7b4fb26
TS
303012012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30302
30303 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30304 non-default versions.
30305
eb55f5c2
RM
303062012-06-11 Roland McGrath <roland@hack.frob.com>
30307
30308 [BZ #14218]
30309 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30310
366af02c
TS
303112012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30312
99ff6e5c
TS
30313 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30314 (FE_UPWARD, FE_DOWNWARD): Don't define.
30315 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30316 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30317
366af02c
TS
30318 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30319 reading it.
30320 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30321 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30322
793ea851
KK
303232012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30324
30325 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30326 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30327 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30328 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30329
a728a38f
L
303302012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30331
30332 [BZ #14117]
c08010c7
L
30333 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30334 * sysdeps/i386/fpu/Implies: New file.
30335 * sysdeps/x86_64/fpu/Implies: Likewise.
30336 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30337 * sysdeps/x86/fpu/bits/fenv.h: This.
30338
a728a38f
L
30339 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30340 __SSE_MATH__.
30341
6e230d11
SP
303422012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30343
30344 [BZ #14134]
30345 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30346 character 0xffff that matches the last element of the
30347 conversion table.
30348
1b671feb
AZ
303492012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30350
30351 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30352 fmodl commit.
30353
6043738b
AZ
303542012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30355
30356 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30357 values higher than 25.6283.
30358
34ae0b32
AZ
303592012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30360
30361 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30362 subnormal exponent extraction and add some __builtin_expect.
30363 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30364 Fix for subnormal mantissa calculation.
30365
1214ec8f
MF
303662012-06-04 Mike Frysinger <vapier@gentoo.org>
30367
30368 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30369 cpu2 is -1 and errno is not ENOSYS.
30370
f3d1f93c
L
303712012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30372
30373 [BZ #14117]
0e4a3cd7
L
30374 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30375 * sysdeps/x86/bits/string.h: This.
30376 * sysdeps/x86_64/bits/string.h: Removed.
30377
6704c645
L
30378 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30379 if not compiling for x86-64, but compiling for >= i486.
30380
48495318
L
30381 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30382 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30383
14adcbfc
L
30384 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30385 New macro from Linux kernel 3.4.0.
30386 (FP_XSTATE_MAGIC2): Likewise.
30387 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30388 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30389 (struct _fpx_sw_bytes): New struct.
30390 (struct _xsave_hdr): Likewise.
30391 (struct _ymmh_state): Likewise.
30392 (struct _xstate): Likewise.
30393
68e408ab
L
30394 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30395 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30396 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30397 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30398 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30399 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30400
f3d1f93c
L
30401 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30402 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30403 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30404 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30405 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30406 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30407
d9dc34cd
TMQMF
304082012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30409
30410 [BZ #13743]
30411 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30412 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30413 (sysdep_headers): Include sys/platform/ppc.h.
30414 * sysdeps/powerpc/test-gettimebase.c: Test for
30415 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30416 * manual/Makefile (appendices): Include platform.texi.
30417 * manual/contrib.texi (Contributors): Update @node pointers.
30418 * manual/maint.texi (Maintenance): Likewise.
30419 (Platform): New node.
30420 * manual/platform.texi: New file. Document the new features.
30421
4af3879c
SP
304222012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30423 Jakub Jelinek <jakub@redhat.com>
30424
30425 [BZ #14188]
30426 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30427 where __builtin_expect is unavailable.
30428
2fd6ff13
DM
304292012-06-03 David S. Miller <davem@davemloft.net>
30430
30431 * stdlib/longlong.h: Updated from GCC.
30432
173f7220
AS
304332012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30434
30435 [BZ #14042]
30436 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30437 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30438 __mcount_internal.
30439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30440 (GLIBC_2.16): Likewise.
30441
f34a1c6f
L
304422012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30443
30444 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30445
88a4576f
JM
304462012-06-01 Joseph Myers <joseph@codesourcery.com>
30447
ea32bcdd
JM
30448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30449 (default-abi): New variable.
30450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30451 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30452 variable.
30453 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30454 Likewise.
30455 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30456 Likewise.
30457 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30458 Likewise.
30459
88a4576f
JM
30460 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30461 definition. Document in comment.
30462
402fe938
DM
304632012-06-01 David S. Miller <davem@davemloft.net>
30464
30465 * stdlib/longlong.h: Updated from GCC.
30466
3553723f
L
304672012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30468
30469 [BZ #14117]
3bd872c4
L
30470 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30471 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30472 sys/debugreg.h sys/io.h here.
30473 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30474 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30475 sys/io.h.
30476 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30477 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30478 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30479 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30480 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30481 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30482
3553723f
L
30483 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30484 Define only if __x86_64__ is defined.
30485
4842e4fe
JM
304862012-06-01 Joseph Myers <joseph@codesourcery.com>
30487
c5bfe3d5
JM
30488 [BZ #14048]
30489 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30490 Use int64_t for variable i.
30491 * math/libm-test.inc (fmod_test): Add more tests.
30492
4842e4fe
JM
30493 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30494 z computation is not scheduled after fetestexcept.
30495 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30496 Use math_force_eval instead of asm to ensure calculation scheduled
30497 before exception test.
30498 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30499 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30500
efb73488
AJ
305012012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30502
30503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30504 computation is not scheduled after fetestexcept.
30505
29bcce7c
L
305062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30507
30508 [BZ #14117]
30509 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30510 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30511
73a68f94
AZ
305122012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30513
30514 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30515 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30516
67b6df78
L
305172012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30518
edf2933a 30519 [BZ #14117]
ebc64a18
L
30520 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30521 <bits/wordsize.h>.
30522 (__WCHAR_MIN): Support __WORDSIZE == 64.
30523 (__WCHAR_MAX): Likewise.
30524
edf2933a
L
30525 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30526 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30527
57c6cf40
L
30528 [BZ #14183]
30529 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30530 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30531
67b6df78 30532 [BZ #14117]
8eb6281e
L
30533 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30534 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30535
aac639f4
L
30536 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30537 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30538
67b6df78
L
30539 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30540 Defined to 1 if __x86_64__ isn't defined.
30541 (_STAT_VER_LINUX_OLD): New.
30542 (st_atime): Remove duplicate.
30543 (st_mtime): Likewise.
30544 (st_ctime): Likewise.
30545
1c2cfe81
DM
305462012-05-31 David S. Miller <davem@davemloft.net>
30547
30548 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30549 entries.
30550
5be8418c
AS
305512012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30552
e7725326
AS
30553 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30554 gen-libm-test.pl.
30555
5be8418c
AS
30556 [BZ #14132]
30557 * elf/dl-reloc.c: Include <_itoa.h>.
30558 (_dl_reloc_bad_type): Remove use of INTUSE.
30559 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30560 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30561 * stdio-common/psiginfo.c (psiginfo): Likewise.
30562 * stdio-common/psignal.c (psignal): Likewise.
30563 * string/strsignal.c (strsignal): Likewise.
30564 * include/signal.h (_sys_siglist): Declare hidden proto.
30565 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30566 INTVARDEF with libc_hidden_data_def.
30567 * stdio-common/itoa-udigits.c: Likewise.
30568 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30569 (_itoa_lower_digits_internal): Remove declaration.
30570 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30571 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30572 (_sys_sigabbrev_internal): Remove aliases.
30573 (_sys_siglist): Define hidden alias.
30574
507352f1
MT
305752012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30576
30577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30578 bits/sysctl.h.
30579
42bbb1c3
L
305802012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30581
30582 [BZ #14117]
6bd784b6
L
30583 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30584 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30585
8bca20f0
L
30586 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30587 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30588 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30589 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30590 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30591 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30592
f9e890a9
L
30593 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30594 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30595 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30596
471101a1
L
30597 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30598 with __addr.
30599 (insw): Likewise.
30600 (insl): Likewise.
30601 (outsb): Likewise.
30602 (outsw): Likewise.
30603 (outsl): Likewise.
30604
6451c862
L
30605 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30606 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30607 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30608
a254b8c9
L
30609 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30610 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30611 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30612 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30613 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30614 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30615
b8dfdd92
L
30616 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30617 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30618
578cd270
L
30619 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30620 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30621
de662f5f
L
30622 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30623 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30624 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30625
25653439
L
30626 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30627 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30628 to ...
30629 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30630
6bad24a0
L
30631 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30632 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30633 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30634
42bbb1c3
L
30635 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30636 for x86-64.
30637 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30638
2d10d547
JM
306392012-05-31 Joseph Myers <joseph@codesourcery.com>
30640
30641 * math/math.h (M_El): Use two more decimal places.
30642 (M_LOG2El): Likewise.
30643 (M_LOG10El): Likewise.
30644 (M_LN2l): Likewise.
30645 (M_LN10l): Likewise.
30646 (M_PIl): Likewise.
30647 (M_PI_2l): Likewise.
30648 (M_PI_4l): Likewise.
30649 (M_1_PIl): Likewise.
30650 (M_2_PIl): Likewise.
30651 (M_2_SQRTPIl): Likewise.
30652 (M_SQRT2l): Likewise.
30653 (M_SQRT1_2l): Likewise.
30654
f230c29b
DM
306552012-05-31 David S. Miller <davem@davemloft.net>
30656
30657 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30658 values between float registers.
30659 * sysdeps/sparc/sparc64/memset.S: Likewise.
30660 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30661
fed806c3
MF
306622012-05-31 Mike Frysinger <vapier@gentoo.org>
30663
30664 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30665 -D_FORTIFY_SOURCE=1.
30666 (CPPFLAGS-tst-longjmp_chk.c): Define.
30667 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30668 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30669 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30670 CFLAGS-tst-wchar-h.c.
30671
30917259
MP
306722012-05-31 Marek Polacek <polacek@redhat.com>
30673
30674 [BZ #14132]
30675 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30676 __endmntent_internal): Remove declaration.
30677 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30678 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30679 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30680
1c58d5dc
DM
306812012-05-30 David S. Miller <davem@davemloft.net>
30682
30683 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30684 (___Q_simulate_exceptions): Use real FP ops rather than writing
30685 into the %fsr.
30686 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30687 Likewise.
30688
7dc00e0d
L
306892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30690
30691 [BZ #14117]
0bd53985
L
30692 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30693 * sysdeps/x86/bits/xtitypes.h: This.
30694
3a257e66
L
30695 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30696 * sysdeps/x86/bits/wordsize.h: This.
30697
62f62904
L
30698 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30699 * sysdeps/x86/bits/huge_vall.h: This.
30700
404fe9d9
L
30701 * sysdeps/i386/bits/select.h: Removed.
30702 * sysdeps/x86_64/bits/select.h: Renamed to ...
30703 * sysdeps/x86/bits/select.h: This.
30704
d48d0446
L
30705 * sysdeps/i386/bits/setjmp.h: Removed.
30706 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30707 * sysdeps/x86/bits/setjmp.h: This.
30708
7dc00e0d
L
30709 * sysdeps/i386/bits/mathdef.h: Removed.
30710 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30711 * sysdeps/x86/bits/mathdef.h: This.
30712
03277f8f
AS
307132012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30714
30715 [BZ #14132]
30716 * include/sys/socket.h (__connect_internal)
30717 (__libc_sa_len_internal): Remove declaration.
30718 (__connect, __libc_sa_len): Declare hidden_proto.
30719 (SA_LEN): Remove use of INTUSE.
30720 * socket/connect.c: Add libc_hidden_def.
30721 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30722 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30723 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30724 alias.
30725 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30726 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30727 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30728 of adding _internal alias.
30729
13764867
L
307302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30731
30732 [BZ #14117]
6bd97696
L
30733 * sysdeps/i386/bits/link.h: Removed.
30734 * sysdeps/i386/bits/linkmap.h: Likewise.
30735 * sysdeps/x86_64/bits/link.h: Renamed to ...
30736 * sysdeps/x86/bits/link.h: This.
30737 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30738 * sysdeps/x86/bits/linkmap.h: This.
30739
f726f0bb
L
30740 * sysdeps/i386/bits/endian.h: Removed.
30741 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30742 * sysdeps/x86/bits/endian.h: This.
30743
13764867
L
30744 * sysdeps/i386/bits/byteswap.h: Removed.
30745 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30746 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30747 * sysdeps/x86/bits/byteswap.h: This.
30748 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30749 * sysdeps/x86/bits/byteswap-16.h: This.
30750 * sysdeps/i386/Implies: Add x86.
30751 * sysdeps/x86_64/Implies: Likewise.
30752
ae251b0b
DM
307532012-05-30 David S. Miller <davem@davemloft.net>
30754
30755 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30756 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30757 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30758 (FP_TRAPPING_EXCEPTIONS): Define.
30759 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30760 (FP_TRAPPING_EXCEPTIONS): Define.
30761 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30762 subnormals only when inexact has been signalled or underflow
30763 exceptions are enabled.
30764 (_FP_PACK_CANONICAL): Likewise.
30765
d5c90867
L
307662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30767
30768 [BZ #14183]
30769 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30770 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30771
63f1549e
RH
307722012-05-30 Richard Henderson <rth@twiddle.net>
30773
8d8f2279
RH
30774 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30775 with #ifndef NOT_IN_libc.
30776
63f1549e
RH
30777 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30778 marked to avoid plt entry.
30779
0ab0291b
L
307802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30781
30782 [BZ #14112]
30783 * Makeconfig (default-abi): New macro.
30784 (abi-includes): Likewise.
30785 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30786 $(abi-$(default-abi)-lib-soname) for soname if defined.
30787 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30788 abi-variants.
30789 * Makefile (installed-stubs): Likewise.
30790 * include/stubs-biarch.h: Removed.
30791 * scripts/lib-names.awk: Only handle one library at a time.
30792 * scripts/soversions.awk: Remove WORDSIZE support.
30793 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30794 entries.
30795 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30796 Removed.
30797 (syscall-list-default-condition): Likewise.
30798 (syscall-list-default-condition): Likewise.
30799 (syscall-list-includes): Likewise.
30800 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30801 syscall-list-* with abi-*. Handle undefined abi-variants.
30802 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30803 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30804 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30805 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30806 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30807 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30808 Removed.
30809 (syscall-list-32-options): Likewise.
30810 (syscall-list-32-condition): Likewise.
30811 (syscall-list-64-options): Likewise.
30812 (syscall-list-64-condition): Likewise.
30813 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30814 macro.
30815 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30816 Renamed to ...
30817 (abi-*): This.
30818 (abi-64-ld-soname): New macro.
30819 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30820 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30821 Renamed to ...
30822 (abi-*): This.
30823 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30824 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30825
4da0431d
JM
308262012-05-30 Joseph Myers <joseph@codesourcery.com>
30827
3a85279c
JM
30828 * sysdeps/unix/sysv/linux/kernel-features.h
30829 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30830 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30831 include <kernel-features.h>.
30832 [!__NR_ftruncate64]: Remove conditional code.
30833 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30834 [__NR_ftruncate64]: Make code unconditional.
30835 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30836 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30837 include <kernel-features.h>.
30838 [!__NR_ftruncate64]: Remove conditional code.
30839 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30840 [__NR_ftruncate64]: Make code unconditional.
30841 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30843 include <kernel-features.h>.
30844 [!__NR_ftruncate64]: Remove conditional code.
30845 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30846 [__NR_ftruncate64]: Make code unconditional.
30847 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30849 include <kernel-features.h>.
30850 [!__NR_ftruncate64]: Remove conditional code.
30851 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30852 [__NR_ftruncate64]: Make code unconditional.
30853 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30854
4da0431d
JM
30855 * configure.in (libc_cv_fpie): Weaken to a compile test using
30856 LIBC_TRY_CC_OPTION.
30857 * configure: Regenerated.
30858
11ef492c
AK
308592012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30860
30861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30865 Refreshed.
30866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30872 Refreshed.
30873
d66ef399
DM
308742012-05-27 David S. Miller <davem@davemloft.net>
30875
30876 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30877 (___Q_zero): New.
30878 (__Q_simulate_exceptions): Return void. Change to simulate
30879 exceptions by writing into the %fsr.
30880 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30881 (__Qp_handle_exceptions): Likewise.
30882 (numbers): Delete.
30883 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30884 __Qp_handle_exceptions.
30885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30886 __Qp_handle_exceptions.
30887 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30888 as unused and give dummy FP_RND_NEAREST initializer.
30889 (FP_INHIBIT_RESULTS): Define.
30890 (___Q_simulate_exceptions): Update declaration.
30891 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30892 formatting.
30893 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30894 as unused and give dummy FP_RND_NEAREST initializer.
30895 (__Qp_handle_exceptions): Update declaration.
30896 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30897 formatting.
30898
04fb54b5
TS
308992012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30900
30901 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30902 the temporary FPU control word.
30903 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30904 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30905 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30906 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30907 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30908 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30909 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30910 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30911 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30912 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30913 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30914
3f99608f
KK
309152012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30916
30917 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30918 fields.
30919
65a4de4e
CLT
309202012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30921
30922 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30923 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30924 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30925 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30926 Likewise.
30927 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30928 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30929 Likewise.
30930
15749d40
UD
309312012-05-27 Ulrich Drepper <drepper@gmail.com>
30932
30933 * po/h.po: Update from translation team.
30934
25dbcb27
AS
309352012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30936
3d3f8e55
AS
30937 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30938
25dbcb27
AS
30939 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30940 handling of denormals.
30941 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30942 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30943 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30944 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30945 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30946 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30947 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30948 Likewise.
30949
7ad47a80 309502012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
30951
30952 [BZ #14152]
30953 * math/libm-test.inc (fma_test): Don't always expect underflow
30954 exception.
30955
9c6ea9fa
SP
309562012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30957
30958 [BZ #12416]
30959 * elf/tst-execstack.c: Include stackinfo.h.
30960 (do_test): Adjust test case to ensure that pthread_getattr_np
30961 behaviour remains the same after marking stack executable.
30962
a8239222
JM
309632012-05-25 Joseph Myers <joseph@codesourcery.com>
30964
30965 * sysdeps/unix/sysv/linux/kernel-features.h
30966 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30967 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30968 kernel-features.h.
30969 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30970 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30971 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30972 kernel-features.h.
30973 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30974 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30975
918b5606
L
309762012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30977
30978 * configure.in: Define the default includes to being none.
30979 * configure: Regenerated.
30980
3a097cc7
RM
309812012-05-25 Roland McGrath <roland@hack.frob.com>
30982
8422c9a5
RM
30983 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30984 * sysdeps/x86_64/setjmp.S: Likewise.
30985 * sysdeps/i386/bsd-setjmp.S: Likewise.
30986 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30987 * sysdeps/i386/setjmp.S: Likewise.
30988 * sysdeps/i386/__longjmp.S: Likewise.
30989 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30990 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30991
3a097cc7
RM
30992 * include/stap-probe.h: New file.
30993 * configure.in: Handle --enable-systemtap.
30994 * configure: Regenerated.
30995 * config.h.in (USE_STAP_PROBE): New #undef.
30996 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30997 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30998 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30999
21708942
JM
310002012-05-25 Joseph Myers <joseph@codesourcery.com>
31001
31002 [BZ #13717]
31003 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31004 to 2.4.0 where earlier.
31005 * sysdeps/unix/sysv/linux/configure: Regenerated.
31006 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
31015 [__ASSUME_32BITUIDS]: Make code unconditional.
31016 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31017 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31018 <kernel-features.h>.
31019 [__ASSUME_32BITUIDS]: Make code unconditional.
31020 [!__ASSUME_32BITUIDS]: Remove conditional code.
31021 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31022 <kernel-features.h>.
31023 [__ASSUME_32BITUIDS]: Make code unconditional.
31024 [!__ASSUME_32BITUIDS]: Remove conditional code.
31025 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31026 <kernel-features.h>.
31027 [__ASSUME_32BITUIDS]: Make code unconditional.
31028 [!__ASSUME_32BITUIDS]: Remove conditional code.
31029 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31030 <kernel-features.h>.
31031 [__ASSUME_32BITUIDS]: Make code unconditional.
31032 [!__ASSUME_32BITUIDS]: Remove conditional code.
31033 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31034 <kernel-features.h>.
31035 [__ASSUME_32BITUIDS]: Make code unconditional.
31036 [!__ASSUME_32BITUIDS]: Remove conditional code.
31037 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31038 <kernel-features.h>.
31039 [__ASSUME_32BITUIDS]: Make code unconditional.
31040 [!__ASSUME_32BITUIDS]: Remove conditional code.
31041 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31042 <kernel-features.h>.
31043 [__ASSUME_32BITUIDS]: Make code unconditional.
31044 [!__ASSUME_32BITUIDS]: Remove conditional code.
31045 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31046 <kernel-features.h>.
31047 [__ASSUME_32BITUIDS]: Make code unconditional.
31048 [!__ASSUME_32BITUIDS]: Remove conditional code.
31049 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31050 <kernel-features.h>.
31051 [__ASSUME_32BITUIDS]: Make code unconditional.
31052 [!__ASSUME_32BITUIDS]: Remove conditional code.
31053 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31054 <kernel-features.h>.
31055 [__ASSUME_32BITUIDS]: Make code unconditional.
31056 [!__ASSUME_32BITUIDS]: Remove conditional code.
31057 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31058 <kernel-features.h>.
31059 [__NR_setresgid] (__setresgid): Do not declare.
31060 [__ASSUME_32BITUIDS]: Make code unconditional.
31061 [!__ASSUME_32BITUIDS]: Remove conditional code.
31062 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31063 <kernel-features.h>.
31064 [__NR_setresuid] (__setresuid): Do not declare.
31065 [__ASSUME_32BITUIDS]: Make code unconditional.
31066 [!__ASSUME_32BITUIDS]: Remove conditional code.
31067 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31068 <kernel-features.h>.
31069 [__ASSUME_32BITUIDS]: Make code unconditional.
31070 [!__ASSUME_32BITUIDS]: Remove conditional code.
31071 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31072 <kernel-features.h>.
31073 [__ASSUME_32BITUIDS]: Make code unconditional.
31074 [!__ASSUME_32BITUIDS]: Remove conditional code.
31075 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31076 <kernel-features.h>.
31077 [__ASSUME_32BITUIDS]: Make code unconditional.
31078 [!__ASSUME_32BITUIDS]: Remove conditional code.
31079 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31080 <kernel-features.h>.
31081 [__ASSUME_32BITUIDS]: Make code unconditional.
31082 [!__ASSUME_32BITUIDS]: Remove conditional code.
31083 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31084 <kernel-features.h>.
31085 [__ASSUME_32BITUIDS]: Make code unconditional.
31086 [!__ASSUME_32BITUIDS]: Remove conditional code.
31087 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31088 <kernel-features.h>.
31089 [__ASSUME_32BITUIDS]: Make code unconditional.
31090 [!__ASSUME_32BITUIDS]: Remove conditional code.
31091 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31092 <kernel-features.h>.
31093 [__ASSUME_32BITUIDS]: Make code unconditional.
31094 [!__ASSUME_32BITUIDS]: Remove conditional code.
31095 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31096 <kernel-features.h>.
31097 [__ASSUME_32BITUIDS]: Make code unconditional.
31098 [!__ASSUME_32BITUIDS]: Remove conditional code.
31099 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31100 <kernel-features.h>.
31101 [__ASSUME_32BITUIDS]: Make code unconditional.
31102 [!__ASSUME_32BITUIDS]: Remove conditional code.
31103 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31104 <kernel-features.h>.
31105 [__ASSUME_32BITUIDS]: Make code unconditional.
31106 [!__ASSUME_32BITUIDS]: Remove conditional code.
31107 * sysdeps/unix/sysv/linux/kernel-features.h
31108 (__ASSUME_SETRESUID_SYSCALL): Remove.
31109 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31110 (__ASSUME_32BITUIDS): Likewise.
31111 (__ASSUME_LDT_WORKS): Likewise.
31112 (__ASSUME_O_DIRECTORY): Likewise.
31113 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31114 architecture but not kernel version.
31115 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31116 (__ASSUME_MMAP2_SYSCALL): Likewise.
31117 (__ASSUME_STAT64_SYSCALL): Likewise.
31118 (__ASSUME_IPC64): Likewise.
31119 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31120 <kernel-features.h>.
31121 [__ASSUME_32BITUIDS]: Make code unconditional.
31122 [!__ASSUME_32BITUIDS]: Remove conditional code.
31123 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31124 <kernel-features.h>.
31125 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31126 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31127 132096]: Remove conditional code.
31128 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31129 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31130 <kernel-features.h>.
31131 [__ASSUME_32BITUIDS]: Make code unconditional.
31132 [!__ASSUME_32BITUIDS]: Remove conditional code.
31133 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31134 <kernel-features.h>.
31135 [__ASSUME_32BITUIDS]: Make code unconditional.
31136 [!__ASSUME_32BITUIDS]: Remove conditional code.
31137 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31138 <kernel-features.h>.
31139 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31140 unconditional.
31141 (__setresgid): Do not declare.
31142 [__ASSUME_32BITUIDS]: Make code unconditional.
31143 [!__ASSUME_32BITUIDS]: Remove conditional code.
31144 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31145 <kernel-features.h>.
31146 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31147 unconditional.
31148 (__setresuid): Do not declare.
31149 [__ASSUME_32BITUIDS]: Make code unconditional.
31150 [!__ASSUME_32BITUIDS]: Remove conditional code.
31151 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31152 <kernel-features.h>.
31153 [__ASSUME_32BITUIDS]: Make code unconditional.
31154 [!__ASSUME_32BITUIDS]: Remove conditional code.
31155 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31156 <kernel-features.h>.
31157 [__ASSUME_32BITUIDS]: Make code unconditional.
31158 [!__ASSUME_32BITUIDS]: Remove conditional code.
31159
a386f1cc
RH
311602012-05-25 Richard Henderson <rth@twiddle.net>
31161
31162 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31163 dl_hwcap to ifunc resolver.
31164 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31165 elf_ifunc_invoke.
31166 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31167 dl_hwcap to ifunc resolver.
31168 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31169
b6550497
JM
311702012-05-24 Joseph Myers <joseph@codesourcery.com>
31171
31172 [BZ #14153]
31173 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31174 for |x| <= 2**-26, not 2**-57.
31175 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31176 exception.
31177
b0bc23a1
JL
311782012-05-24 Jeff Law <law@redhat.com>
31179
31180 * stdio-common/Makefile (tests): Add bug25.
31181 * stdio-common/bug25.c: New test.
31182
347c92e9
L
311832012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31184
31185 [BZ #13576]
31186 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31187 multiple of MALLOC_ALIGNMENT in size.
31188 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31189
6bcc8b3f
JM
311902012-05-24 Joseph Myers <joseph@codesourcery.com>
31191
31192 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31193 Require >= 256.
31194 (FILENAME_MAX): Use macro-int-constant.
31195 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31196 (_IOFBF): Use macro-int-constant.
31197 (_IOLBF): Likewise.
31198 (_IONBF): Likewise.
31199 (SEEK_CUR): Likewise.
31200 (SEEK_END): Likewise.
31201 (SEEK_SET): Likewise.
31202 (TMP_MAX): Likewise.
31203 (EOF): Use macro-int-constant. Require < 0.
31204 (NULL): Use macro-constant. Require == 0.
31205 (stdin): Require type to be FILE *.
31206 (stdout): Likewise.
31207 (stderr): Likewise.
31208 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31209 macro-int-constant.
31210 (EXIT_SUCCESS): Likewise.
31211 (NULL): Use macro-constant. Require == 0.
31212 (RAND_MAX): Use macro-int-constant.
31213 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31214 [C99-based standards] (strtof): Require function.
31215 [C99-based standards] (strtold): Likewise.
31216 [C99-based standards] (strtoll): Likewise.
31217 [C99-based standards] (strtoull): Likewise.
31218 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31219 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31220 [ISO || ISO99 || ISO11] (math.h): Likewise.
31221 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31222 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31223 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31224
d18ea0c5
AS
312252012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31226
31227 [BZ #14132]
56d25bb8
AS
31228 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31229 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31230 * intl/dgettext.c (DCGETTEXT): Likewise.
31231 * intl/gettext.c (DCGETTEXT): Likewise.
31232 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31233 * posix/regex_internal.h (gettext): Likewise.
31234 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31235 Remove declaration.
31236 * include/argz.h (__argz_count_internal)
31237 (__argz_stringify_internal): Remove declaration.
31238 (__argz_count, __argz_stringify): Declare hidden proto.
31239 * intl/dcgettext.c: Remove use of INTDEF.
31240 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31241 * string/argz-stringify.c: Likewise.
31242 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31243 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31244 Declare hidden proto.
d18ea0c5
AS
31245 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31246 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31247 Declare hidden proto.
31248 * include/stdio.h (__asprintf_internal): Don't declare.
31249 (__asprintf): Don't define as macro. Declare hidden proto.
31250 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31251 (__fsetlocking): Declare hidden proto.
31252 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31253 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31254 hidden proto.
31255 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31256 (_IO_setlinebuf): Remove use of INTUSE.
31257 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31258 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31259 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31260 Remove declaration.
31261 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31262 (_IO_do_flush): Remove use of INTUSE.
31263 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31264 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31265 (_IO_adjust_column, _IO_least_wmarker)
31266 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31267 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31268 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31269 (_IO_default_doallocate, _IO_wdefault_doallocate)
31270 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31271 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31272 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31273 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31274 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31275 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31276 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31277 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31278 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31279 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31280 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31281 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31282 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31283 proto.
31284 (_IO_flush_all_internal, _IO_adjust_column_internal)
31285 (_IO_default_uflow_internal, _IO_default_finish_internal)
31286 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31287 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31288 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31289 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31290 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31291 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31292 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31293 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31294 (_IO_file_close_internal, _IO_file_close_it_internal)
31295 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31296 (_IO_file_init_internal, _IO_file_attach_internal)
31297 (_IO_file_fopen_internal, _IO_file_read_internal)
31298 (_IO_file_sync_internal, _IO_file_seek_internal)
31299 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31300 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31301 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31302 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31303 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31304 (_IO_list_all_internal, _IO_link_in_internal)
31305 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31306 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31307 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31308 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31309 (_IO_do_write_internal, _IO_padn_internal)
31310 (_IO_getline_info_internal, _IO_getline_internal)
31311 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31312 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31313 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31314 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31315 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31316 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31317 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31318 with libc_hidden_ver, remove use of INTUSE.
31319 * libio/genops.c: Likewise.
31320 * libio/freopen.c: Likewise.
31321 * libio/freopen64.c: Likewise.
31322 * libio/iofclose.c: Likewise.
31323 * libio/iofdopen.c: Likewise.
31324 * libio/iofflush.c: Likewise.
31325 * libio/iofflush_u.c: Likewise.
31326 * libio/iofgets.c: Likewise.
31327 * libio/iofgets_u.c: Likewise.
31328 * libio/iofopen.c: Likewise.
31329 * libio/iofopncook.c: Likewise.
31330 * libio/iofread.c: Likewise.
31331 * libio/iofread_u.c: Likewise.
31332 * libio/ioftell.c: Likewise.
31333 * libio/iofwrite.c: Likewise.
31334 * libio/iogetline.c: Likewise.
31335 * libio/iogets.c: Likewise.
31336 * libio/iogetwline.c: Likewise.
31337 * libio/iopadn.c: Likewise.
31338 * libio/iopopen.c: Likewise.
31339 * libio/ioseekoff.c: Likewise.
31340 * libio/ioseekpos.c: Likewise.
31341 * libio/iosetbuffer.c: Likewise.
31342 * libio/iosetvbuf.c: Likewise.
31343 * libio/ioungetc.c: Likewise.
31344 * libio/ioungetwc.c: Likewise.
31345 * libio/iovdprintf.c: Likewise.
31346 * libio/iovsprintf.c: Likewise.
31347 * libio/iovsscanf.c: Likewise.
31348 * libio/memstream.c: Likewise.
31349 * libio/obprintf.c: Likewise.
31350 * libio/oldfileops.c: Likewise.
31351 * libio/oldiofclose.c: Likewise.
31352 * libio/oldiofdopen.c: Likewise.
31353 * libio/oldiofopen.c: Likewise.
31354 * libio/oldiopopen.c: Likewise.
31355 * libio/oldstdfiles.c: Likewise.
31356 * libio/putc.c: Likewise.
31357 * libio/setbuf.c: Likewise.
31358 * libio/setlinebuf.c: Likewise.
31359 * libio/stdfiles.c: Likewise.
31360 * libio/strops.c: Likewise.
31361 * libio/vasprintf.c: Likewise.
31362 * libio/vscanf.c: Likewise.
31363 * libio/vsnprintf.c: Likewise.
31364 * libio/vswprintf.c: Likewise.
31365 * libio/wfiledoalloc.c: Likewise.
31366 * libio/wfileops.c: Likewise.
31367 * libio/wgenops.c: Likewise.
31368 * libio/wmemstream.c: Likewise.
31369 * libio/wstrops.c: Likewise.
31370 * libio/__fpurge.c: Likewise.
31371 * libio/__fsetlocking.c: Likewise.
31372 * assert/assert.c: Likewise.
31373 * debug/fgets_chk.c: Likewise.
31374 * debug/fgets_u_chk.c: Likewise.
31375 * debug/fread_chk.c: Likewise.
31376 * debug/fread_u_chk.c: Likewise.
31377 * debug/gets_chk.c: Likewise.
31378 * debug/obprintf_chk.c: Likewise.
31379 * debug/vasprintf_chk.c: Likewise.
31380 * debug/vdprintf_chk.c: Likewise.
31381 * debug/vsnprintf_chk.c: Likewise.
31382 * debug/vsprintf_chk.c: Likewise.
31383 * malloc/mtrace.c: Likewise.
31384 * misc/error.c: Likewise.
31385 * misc/syslog.c: Likewise.
31386 * stdio-common/asprintf.c: Likewise.
31387 * stdio-common/fxprintf.c: Likewise.
31388 * stdio-common/getw.c: Likewise.
31389 * stdio-common/isoc99_fscanf.c: Likewise.
31390 * stdio-common/isoc99_scanf.c: Likewise.
31391 * stdio-common/isoc99_vfscanf.c: Likewise.
31392 * stdio-common/isoc99_vscanf.c: Likewise.
31393 * stdio-common/isoc99_vsscanf.c: Likewise.
31394 * stdio-common/printf-prs.c: Likewise.
31395 * stdio-common/printf_fp.c: Likewise.
31396 * stdio-common/printf_fphex.c: Likewise.
31397 * stdio-common/printf_size.c: Likewise.
31398 * stdio-common/putw.c: Likewise.
31399 * stdio-common/scanf.c: Likewise.
31400 * stdio-common/sprintf.c: Likewise.
31401 * stdio-common/tmpfile.c: Likewise.
31402 * stdio-common/vfprintf.c: Likewise.
31403 * stdio-common/vfscanf.c: Likewise.
31404 * stdlib/strfmon_l.c: Likewise.
31405 * sunrpc/openchild.c: Likewise.
31406 * sunrpc/xdr_stdio.c: Likewise.
31407 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31408 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31409
d6c33fda
RM
314102012-05-24 Roland McGrath <roland@hack.frob.com>
31411
c1487492
RM
31412 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31413
31414 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31415 in the third column, to generate for the shared library an IFUNC
31416 that uses _dl_vdso_vsym.
31417 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31418 * Makeconfig (object-suffixes-noshared): New variable.
31419
31420 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31421 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31422 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31423 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31424
d6c33fda
RM
31425 [BZ #14132]
31426 * include/sys/time.h (__gettimeofday): Remove macro.
31427 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31428 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31429 Remove INTDEF.
31430 (__gettimeofday): Add libc_hidden_def.
31431 (gettimeofday): Add libc_hidden_weak.
31432 * sysdeps/mach/gettimeofday.c: Likewise.
31433 * sysdeps/posix/gettimeofday.c: Likewise.
31434 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31435 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31436 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31437 (__gettimeofday_internal): Remove strong_alias.
31438 (__gettimeofday): Add libc_hidden_def.
31439 (gettimeofday): Add libc_hidden_weak.
31440 * sysdeps/unix/syscalls.list (gettimeofday):
31441 Remove __gettimeofday_internal alias.
31442
b5a2bbe6
L
314432012-05-24 Daniel Jacobowitz <drow@false.org>
31444 H.J. Lu <hongjiu.lu@intel.com>
31445
31446 [BZ #12495]
31447 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31448 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31449 (largebin_index_32_big): New.
31450 (largebin_index): Use it for 16-byte alignment.
31451 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31452 correction with front_misalign.
31453
cfba4fda
L
314542012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31455
7f907421
L
31456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31458 Likewise.
31459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31460 Likewise.
31461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31462 Likewise.
31463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31464 Likewise.
31465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31466 Likewise.
31467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31468 Likewise.
31469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31470 Likewise.
31471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31472 Likewise.
31473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31474 Likewise.
31475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31476 Likewise.
31477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31478 Likewise.
31479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31480 Likewise.
31481
cfba4fda
L
31482 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31483 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31484
80bad0cc
JM
314852012-05-24 Joseph Myers <joseph@codesourcery.com>
31486
7a25eb06
JM
31487 [BZ #10846]
31488 [BZ #14036]
31489 * math/libm-test.inc (exp_test): Add test from bug 14036.
31490 (pow_test): Add test from bug 10846.
31491
795405f9
JM
31492 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31493 and other flags.
31494 (special_function): Do not include flags in test name.
31495 (parse_args): Likewise.
31496 * sysdeps/i386/fpu/libm-test-ulps: Update.
31497 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31498 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31499 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31501
80bad0cc
JM
31502 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31503 exceptions.
31504 * math/libm-test.inc ("Philosophy"): Update comment about
31505 exception testing.
31506 (UNDERFLOW_EXCEPTION): New macro.
31507 (UNDERFLOW_EXCEPTION_OK): Likewise.
31508 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31509 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31510 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31511 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31512 (INVALID_EXCEPTION_OK): Update value.
31513 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31514 (OVERFLOW_EXCEPTION_OK): Likewise.
31515 (IGNORE_ZERO_INF_SIGN): Likewise.
31516 (test_exceptions): Handle underflow exceptions.
31517 (acos_test): Update for underflow exception expectations.
31518 (cexp_test): Likewise.
31519 (clog_test): Likewise.
31520 (clog10_test): Likewise.
31521 (csqrt_test): Likewise.
31522 (ctan_test): Likewise.
31523 (ctanh_test): Likewise.
31524 (exp_test): Likewise.
31525 (exp10_test): Likewise.
31526 (exp2_test): Likewise.
31527 (expm1_test): Likewise.
31528 (fma_test): Likewise.
31529 (j0_test): Likewise.
31530 (jn_test): Likewise.
31531 (nexttoward_test): Likewise.
31532 (pow_test): Likewise.
31533 (scalbn_test): Likewise.
31534 (scalbln_test): Likewise.
31535 (tan_test): Likewise.
31536 (y1_test): Likewise.
31537 * sysdeps/i386/fpu/libm-test-ulps: Update.
31538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31539
9e0e3d0b
DM
315402012-05-23 David S. Miller <davem@davemloft.net>
31541
31542 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31543 (__libc_sigaction): Remove unused local variables.
31544
ccd0a08f
L
315452012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31546
31547 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31548
62bdf9a6
PE
315492012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31550
f8591f80
PE
31551 mktime: avoid signed integer overflow
31552 * time/mktime.c (__mktime_internal): Do not mishandle the case
31553 where diff == INT_MIN.
31554
94c7d826
PE
31555 mktime: simplify computation of average
31556 * time/mktime.c (ranged_convert): Use new time_t_avg function
31557 instead of rolling our own (probably-slower) code.
31558
ce73d683
PE
31559 mktime: do not assume signed right shift propagates sign bit
31560 * time/mktime.c (isdst_differ): New static function.
31561 (__mktime_internal): No need to normalize tm_isdst now.
31562 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31563 tm_isdst values.
31564
72a22e59
PE
31565 mktime: merge another wrapv change from gnulib
31566 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31567 from some compilers.
31568
68605433
PE
31569 mktime: remove incorrect attempt at unusual arithmetics
31570 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31571 The code didn't really work on such machines anyway.
31572 (TYPE_MINIMUM): Assume two's complement.
31573 (twos_complement_arithmetic): Verify that long_int and time_t
31574 are two's complement (or unsigned, in the latter case).
31575
03cf7fe3
PE
31576 mktime: check signed shifts on long_int and time_t, too
31577 * time/mktime.c (SHR): Check that shifts work as desired
31578 on the types long_int and time_t too, as SHR is used on
31579 such types.
31580
f04dfbc2
PE
31581 mktime: do not assume 'long' is wide enough
31582 * time/mktime.c (verify): Move decl up.
31583 (long_int): New type.
31584 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31585 to remove assumption in the code that 'long' is wide enough to
31586 store year values. This assumption is not true on x32 and on
31587 some non-glibc platforms.
31588
62bdf9a6
PE
31589 mktime: merge wrapv change from gnulib
31590 * time/mktime.c (WRAPV): New macro.
31591 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31592 (guess_time_tm, __mktime_internal): Do not assume that signed
31593 integer overflow wraps around; modern compilers generate code
31594 where this assumption is no longer valid.
31595
5e292e4f
L
315962012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31597
31598 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31599 Replace "jmp L(pseudo_end)" with "ret".
31600 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31601 Likewise.
31602
8caf8c87
AJ
316032012-05-23 Andreas Jaeger <aj@suse.de>
31604
31605 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31606 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31607
1a09dc56
AJ
316082012-05-23 Andreas Jaeger <aj@suse.de>
31609 Maximilian Attems <max@stro.at>
31610
31611 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31612 New macros.
31613
1c87aba0
L
316142012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31615
31616 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31617 code so that pseudo_end is just ret and the stack pointer is
31618 correct also for static library in error case.
31619
40e45bd5
JM
316202012-05-23 Joseph Myers <joseph@codesourcery.com>
31621
c2670533
JM
31622 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31623 move to syscalls.list.
31624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31628
40e45bd5
JM
31629 * manual/install.texi (Running make install): Do not mention Linux
31630 kernel version for which pt_chown is not needed.
31631 (Linux): Do not mention problems with nscd with 2.0 kernels.
31632 * INSTALL: Regenerated.
31633
be08eda5
AJ
316342012-05-23 Andreas Jaeger <aj@suse.de>
31635
31636 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31637 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31638 macro.
31639 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31640 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31641 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31642 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31643 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31644 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31645 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31646 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31647 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31648 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31649 * sysdeps/unix/sysv/linux/bits/in.h
31650 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31651
a6a056bb
RM
316522012-05-22 Roland McGrath <roland@hack.frob.com>
31653
31654 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31655 (PREPARE_VERSION): Just use assert instead, it will be elided
31656 under [NDEBUG] anyway.
31657
c9009328
L
316582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31659
31660 * sysdeps/unix/sysv/linux/Makefile: Include
31661 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 31662 (sysdep_routines): Remove sysctl.
c9009328
L
31663 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31664 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31665 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31666 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31667 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31668
73338355
AJ
316692012-05-22 Andreas Jaeger <aj@suse.de>
31670
31671 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31672 that pseudo_end is just ret and the stack pointer is correct also
31673 for static library in error case.
31674
d44638b0
PP
316752012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31676
31677 [BZ #14122]
31678 * nss/nsswitch.c (defconfig_entries): New variable.
31679 (__nss_database_lookup): Don't leak defconfig entries.
31680 (nss_parse_service_list): Don't leak on error paths.
31681 (free_database_entries): New function.
31682 (free_defconfig): New function.
31683 (free_mem): Move common code to free_database_entries.
31684
31a39bd8
L
316852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31686
da0331a8
L
31687 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31688 Add arch_prctl.
31689 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31690
31a39bd8
L
31691 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31692 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31693 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31694 New macro.
31695 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31696 (INTERNAL_SYSCALL_TYPES): Likewise.
31697 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31698 (LOAD_REGS_TYPES_[1-6]): Likewise.
31699 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31700 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31701
45470df3
AZ
317022012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31703
31704 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31705 copysignl for GLIBC_2_0.
31706 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31707 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31708 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31709 logbl for GLIBC_2_0.
31710 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31711 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31712
98a61bcb
L
317132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31714
a4f6e481
L
31715 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31716 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31717
f63d5db6
L
31718 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31719 Use "neg %eax".
31720
98a61bcb
L
31721 * time/mktime.c: Update copyright years.
31722
95770f14
PE
317232012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31724
6226efbd
PE
31725 mktime: merge comment-quoting-style change from gnulib
31726 * time/mktime.c: Quote 'like this' in comments.
31727 The GNU coding standards suggest that we no longer quote `like this',
31728 as "`" and "'" are typically rendered asymmetrically nowadays.
31729 The typical gnulib style is to quote 'like this' when quoting
31730 code, and "like this" when quoting English.
31731
b99e4f78
PE
31732 * time/mktime.c (compile-command): Add "-I.".
31733
643e01e6
PE
31734 mktime: merge mktime-internal.h change from gnulib
31735 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31736
2554247d
PE
31737 mktime: merge time_r change from gnulib
31738 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31739
826dd0ab
PE
31740 mktime: merge DEBUG change from gnulib
31741 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31742 case system <time.h> has a #define.
31743
bd83aabe
PE
31744 mktime: merge <sys/types.h> change from gnulib
31745 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31746 since <time.t> is now guaranteed to define time_t.
31747
95770f14
PE
31748 mktime: merge HAVE_CONFIG_H change from gnulib
31749 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31750
5e1a27a9
L
317512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31752
0e44a77e
L
31753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31754 Use "neg %eax".
31755
5e1a27a9
L
31756 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31757 __rlim_t cast.
31758 (struct rusage): Use anonymous union to pad each field to
31759 __syscall_slong_t.
31760
46259bec
DM
317612012-05-21 David S. Miller <davem@davemloft.net>
31762
31763 * Makefules (o-iterator): Remove .s cases.
31764 (compile-command.s): Delete.
31765 (COMPILE.s): Delete.
31766 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31767
59f0c22e
JM
317682012-05-21 Joseph Myers <joseph@codesourcery.com>
31769
31770 * configure.in (libc_cv_predef_stack_protector): Only consider
31771 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31772 * configure: Regenerated.
31773
20c07380
L
317742012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31775
bbb3154b
L
31776 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31777 New macro. Use R*LP on int and pointer.
31778 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
31779 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31780 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
31781 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31782
20c07380
L
31783 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31784 [__WORDSIZE_TIME64_COMPAT32] instead of
31785 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31786 (struct utmp): Likewise.
31787 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31788 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31789 Renamed to ...
31790 (__WORDSIZE_TIME64_COMPAT32): This.
31791 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31792 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31793 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31794 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31795 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31796 (__WORDSIZE_TIME64_COMPAT32): New macro.
31797
d8d1017e
AJ
317982012-05-21 Andreas Jaeger <aj@suse.de>
31799
31800 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31801 only if [SHARED]. Add prototype for __wcschr_ia32.
31802
6c7fb145
RM
318032012-05-21 Roland McGrath <roland@hack.frob.com>
31804
31805 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31806 of %rbp unmolested in the jmp_buf while mangling the low bits.
31807 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31808 unmolested high bits of %rbp while demangling the low bits.
31809 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31810
66274218
AJ
318112012-05-21 Andreas Jaeger <aj@suse.de>
31812
07c58f8f
AJ
31813 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31814 * sunrpc/svc_simple.c: Use it for registerrpc.
31815 * sunrpc/xcrypt.c: Use it for passwd2des.
31816
66274218
AJ
31817 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31818
61f65140
L
318192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31820
31821 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31822 Don't define if [__SYSCALL_WORDSIZE != 32].
31823 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31824 New macro.
31825
5fefb436
AJ
318262012-05-21 Bruno Haible <bruno@clisp.org>
31827 Andreas Jaeger <aj@suse.de>
31828
31829 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31830 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31831 inptr and inend for must_buffer_ch.
31832 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31833 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31834 * stdio-common/Makefile (tests): Remove bug15.
31835 (bug15-ENV): Remove macro.
31836 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31837 anymore.
31838
d8e272ab
AJ
318392012-05-19 Andreas Jaeger <aj@suse.de>
31840 Roland McGrath <roland@hack.frob.com>
31841
31842 * manual/contrib.texi: Completely rewritten. It contains now an
31843 alphabetical list of contributors and their contributions.
31844
4a56a162
RH
318452012-05-21 Richard Henderson <rth@twiddle.net>
31846
31847 * misc/getauxval.c (__getauxval): Use unsigned long int.
31848 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31849 (getauxval): Use unsigned long int.
31850
d024d23c
L
318512012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31852
31853 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31854
cbc00a03
RM
318552012-05-21 Roland McGrath <roland@hack.frob.com>
31856
31857 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31858 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31859 __alignof__ (long double).
31860
478143fa
AZ
318612012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31862
31863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31864
c7683a6d
RH
318652012-05-20 Richard Henderson <rth@twiddle.net>
31866
31867 * misc/getauxval.c: New file.
31868 * misc/sys/auxv.h: New file.
31869 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31870 (routines): Add getauxval.
31871 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31872 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31873 * elf/dl-sysdep.c (_dl_auxv): Remove.
31874 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31875 * elf/dl-support.c (_dl_auxv): New variable.
31876 (_dl_aux_init): Initialize it.
31877 * manual/startup.texi (Auxiliary Vector): New node.
31878 * sysdeps/generic/bits/hwcap.h: New file.
31879 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31880 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31881 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31882 * sysdeps/sparc/sysdep.h: ... here. Include it.
31883 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31884 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
31885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31886 Update.
c7683a6d
RH
31887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31890 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31895
a6f1845d
AZ
318962012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31897
31898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31899
cbcbe830
DM
319002012-05-19 David S. Miller <davem@davemloft.net>
31901
31902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31903
e0b16cc2
JM
319042012-05-19 Joseph Myers <joseph@codesourcery.com>
31905
31906 [BZ #14123]
31907 * math/s_ccosh.c: Include <float.h>
31908 (__ccosh): Avoid internal overflow calculating sinh and cosh
31909 values before multiplying by sin and cos values.
31910 * math/s_ccoshf.c: Likewise.
31911 * math/s_ccoshl.c: Likewise.
31912 * math/s_csin.c: Likewise.
31913 * math/s_csinf.c: Likewise.
31914 * math/s_csinl.c: Likewise.
31915 * math/s_csinh.c: Likewise.
31916 * math/s_csinhf.c: Likewise.
31917 * math/s_csinhl.c: Likewise.
31918 * math/libm-test.inc (ccos_test): Add more tests.
31919 (ccosh_test): Likewise.
31920 (csin_test): Likewise.
31921 (csinh_test): Likewise.
31922 * sysdeps/i386/fpu/libm-test-ulps: Update.
31923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31924
6ad13e08
L
319252012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31926
f66f0ce8
L
31927 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31928 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31929
6ad13e08
L
31930 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31931
b1d072a7
JM
319322012-05-19 Joseph Myers <joseph@codesourcery.com>
31933
31934 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31935 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31936 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31937 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31938 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31939 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31940 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31941 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31942 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31943 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31944 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31945 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31946 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31947 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31948 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31949 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31950 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31951 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31952 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31953 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31954 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31955 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31956 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31957 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31958 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31959 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31960 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31961 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31962 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31963 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31964 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31965
9eae47cb
AJ
319662012-05-18 Andreas Jaeger <aj@suse.de>
31967
31968 * csu/.gitignore: Delete.
31969
bb07f69f
L
319702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31971
31972 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31973 (timex): Use __syscall_slong_t.
31974
e6bdb741
AJ
319752012-05-18 Andreas Jaeger <aj@suse.de>
31976 Carlos O'Donell <carlos_odonell@mentor.com>
31977
31978 * manual/install.texi (Configuring and compiling): Update
31979 description about files modified in the source directory.
d6c33fda 31980 * INSTALL: Regenerated.
e6bdb741 31981
1b74487e
L
319822012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31983
31984 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31985 value. Use "or" to set return value to -1.
31986 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31987 negate return value.
31988
a88b64b9
TMQMF
319892012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31990
57f41c40
AS
31991 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31992 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
31993 failure if the compiler has Graphite support disabled.
31994 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31995 Likewise.
57f41c40
AS
31996 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31997 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
31998 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31999 Likewise.
32000
3707636e
L
320012012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32002
610b8622
L
32003 * sysdeps/x86_64/x32/_itoa.h: New file.
32004
7cd195df
L
32005 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32006 getdents system call only if kernel and user dirents have the
32007 same d_ino and d_off.
32008
94b07d20
L
32009 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32010 LLONG_MAX != LONG_MAX.
32011 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32012 (_fitoa_word): Likewise.
32013
18298070
L
32014 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32015 years.
32016 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32017 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32018 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32019
553c7ea4
L
32020 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32021 include <bits/wordsize.h>. Check __x86_64__ instead of
32022 __WORDSIZE.
32023 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32024 if __x86_64__ is defined. Use anonymous union on fpstate.
32025
3707636e
L
32026 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32027 anonymous union.
32028
b53ef01a
AS
320292012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32030
37fb1dc0
AS
32031 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32032 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32033 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32034 Refer to _rtld_local_ro instead of _rtld_global_ro.
32035 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32036 Likewise.
32037 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32038 Likewise.
32039 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32040 Likewise.
32041 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32042 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32043 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32044
b53ef01a
AS
32045 * sysdeps/powerpc/powerpc32/dl-machine.c
32046 (__elf_machine_runtime_setup) [PROF]: Don't reference
32047 _dl_prof_resolve.
32048
7a185db2
AJ
320492012-05-18 Andreas Jaeger <aj@suse.de>
32050
32051 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32052 function only available for GCCs before 3.4 since GCC 3.4
32053 introduced a builtin.
32054 (lrint): Likewise.
32055 (llrintf): Likewise.
32056 (llrint): Likewise.
32057 (fmaxf): Likewise.
32058 (fmax): Likewise.
32059 (fminf): Likewise.
32060 (fmin): Likewise.
32061 (rint): Likewise.
32062 (rintf): Likewise.
32063 (nearbyint): Likewise.
32064 (nearbyintf): Likewise.
32065 (ceil): Likewise.
32066 (ceilf): Likewise.
32067 (floor): Likewise.
32068 (floorf): Likewise.
32069
3e5aef87
L
320702012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32071
428bd707
L
32072 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32073 on both fields and cast pointer to __syscall_ulong_t.
32074
3e5aef87
L
32075 * bits/types.h (__fsword_t): New type.
32076 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32077 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32078 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32079 (__FSWORD_T_TYPE): Likewise.
32080 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32081 (__FSWORD_T_TYPE): Likewise.
32082 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32083 (__FSWORD_T_TYPE): Likewise.
32084 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32085 (__FSWORD_T_TYPE): Likewise.
32086 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32087 __SWORD_TYPE with __fsword_t.
32088 (statfs64): Likewise.
32089
1ba7c3dc
DM
320902012-05-17 David S. Miller <davem@davemloft.net>
32091
32092 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32093
59910343
AJ
320942012-05-17 Andreas Jaeger <aj@suse.de>
32095
32096 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32097 warning.
32098
2e4c1e9e
L
320992012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32100
32101 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32102
de7f5ce7
AJ
321032012-05-17 Andreas Jaeger <aj@suse.de>
32104
32105 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32106 when it is used.
32107
286abc3d
CM
321082012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32109
32110 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32111
477cc68e
L
321122012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32113
32114 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32115 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32116
1a0994f5
CD
321172012-05-17 Andreas Jaeger <aj@suse.de>
32118 Carlos O'Donell <carlos_odonell@mentor.com>
32119
32120 [BZ #14059]
32121 * sysdeps/x86_64/multiarch/init-arch.h
32122 (bit_YMM_Usable): Rename to...
32123 (bit_AVX_Usable): ... this.
32124 (bit_FMA4_Usable): New macro.
32125 (bit_XMM_state): New macro.
32126 (bit_YMM_state): New macro.
32127 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32128 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32129 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32130 (CPUID_OSXSAVE): New macro.
32131 (CPUID_AVX): New macro.
32132 (CPUID_FMA4): New macro.
32133 (index_YMM_Usable): Rename to...
32134 (index_AVX_Usable): ... this.
32135 (HAS_AVX): Use HAS_ARCH_FEATURE.
32136 (HAS_FMA4): Likewise.
32137 (HAS_YMM_USABLE): Remove.
32138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32139 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32140 are present.
32141 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32142 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32143 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32144 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32145 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32146
0af797de
CM
321472012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32148
32149 * math/libm-test.c: Support platforms without multiple rounding modes.
32150 * math/bug-nextafter.c: Support platforms without FP exceptions.
32151 * math/bug-nexttoward.c: Likewise.
32152 * math/test-fenv.c: Likewise.
32153 * math/test-misc.c: Likewise.
32154 * stdlib/bug-getcontext.c: Likewise.
32155
e39745ff
AJ
321562012-05-17 Andreas Jaeger <aj@suse.de>
32157
32158 * manual/examples/search.c (critter_cmp): Change signature to
32159 avoid warnings.
32160 * manual/string.texi (Collation Functions): Likewise.
32161
48970aba
L
321622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32163
32164 * bits/types.h: Fold copyright years.
32165 * bits/typesizes.h: Likewise.
32166 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32167 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32168 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32169 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32170 * time/time.h: Likewise.
32171
bedee953
PP
321722012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32173
32174 [BZ #208]
32175 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32176 in instead of returning them. Return void.
32177 (__libc_mallinfo): Accumulate over all arenas.
32178 (__malloc_stats): Adjust for change in int_mallinfo interface.
32179
61653dfb
RM
321802012-05-16 Roland McGrath <roland@hack.frob.com>
32181
30b99d79
RM
32182 [BZ #10375]
32183 * configure.in (NM): Add AC_CHECK_TOOL for it.
32184 (libc_extra_cflags): New substituted variable.
32185 Check for -fstack-protector being used implicitly.
32186 * configure: Regenerated.
32187 * config.make.in (config-extra-cflags): New variable,
32188 gets @libc_extra_cflags@.
32189 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32190
61653dfb
RM
32191 [BZ #10375]
32192 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32193 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32194 * configure: Regenerated.
32195 * config.make.in (CPPUNDEFS): New substituted variable.
32196 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32197 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32198 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32199
661768bb
L
322002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32201
32202 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32203 (mq_attr): Use __syscall_slong_t.
32204
d4261567
L
322052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32206
32207 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32208 Check __x86_64__ instead of __WORDSIZE.
32209 (_STAT_VER_LINUX): Likewise.
32210 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32211 __syscall_ulong_t and __syscall_slong_t.
32212 (stat64): Likewise.
32213
cf3ff365
L
322142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32215
32216 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32217
76cf3e4d
L
322182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32219
32220 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32221
a637753a
L
322222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32223
32224 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32225 __syscall_ulong_t.
32226
d5e05119
L
32227 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32228 include <bits/wordsize.h>. Check __x86_64__ instead of
32229 __WORDSIZE.
32230 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32231 defined.
32232 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32233
f62ee380
L
32234 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32235 include <bits/wordsize.h>. Check __x86_64__ instead of
32236 __WORDSIZE.
32237 (user_regs_struct): Use "__extension__ unsigned long long"
32238 instead of "unsigned long" if __x86_64__ is defined.
32239 (user): Likewise. Pad after pointer field if __ILP32__ is
32240 defined.
32241
4e124ced
JM
322422012-05-16 Joseph Myers <joseph@codesourcery.com>
32243
6a3951a0
JM
32244 * configure.in (makeinfo): Require version 4.5 or later. Allow
32245 versions 5 to 9.
32246 * configure: Regenerated.
32247 * manual/install.texi (texinfo): Increase version requirement to
32248 4.5 or later.
32249 * INSTALL: Regenerated.
32250
4e124ced
JM
32251 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32252
953ca31a
L
322532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32254
32255 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32256
617aca05
L
32257 * sysdeps/x86_64/x32/ffs.c: New file.
32258
5762f7ae
L
32259 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32260 __syscall_ulong_t.
32261 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32262 defined. Use __syscall_ulong_t.
32263 (shminfo): Use __syscall_ulong_t.
32264 (shm_info): Likewise.
32265
a26b6856
L
32266 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32267 __syscall_ulong_t.
32268
cb2b9ef7
L
32269 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32270 <bits/wordsize.h>.
32271 (msgqnum_t): Use __syscall_ulong_t.
32272 (msglen_t): Likewise.
32273 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32274 __syscall_ulong_t.
32275
34683bb0
L
32276 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32277 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32278
84a68786
L
32279 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32280
48baa5f1
L
32281 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32282 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32283
180be88b
L
32284 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32285 __syscall_slong_t.
32286
5e90c8ad
L
32287 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32288 include <bits/wordsize.h>. Check __x86_64__ instead of
32289 __WORDSIZE.
32290
23dfb58b
L
32291 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32292 "unsigned long long int" if __x86_64__ is defined.
32293 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32294
ce5d54b0
L
32295 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32296 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32297 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32298
13dc9eac
L
32299 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32300 <stdint.h>.
32301 (GET_PC): Cast to uintptr_t first.
32302 (GET_FRAME): Likewise.
32303 (GET_STACK): Likewise.
32304
a7895d15
L
32305 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32306 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32307 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32308 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32309 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32310 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32311 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32312 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32313 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32314 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32315 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32316 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32317 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32318 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32319 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32320 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32321 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32322 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32323 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32324 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32325 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32326 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32327 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32328 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32329 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32330 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32331 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32332 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32333 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32334
656416c9
AS
323352012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32336
5bd66283
AS
32337 * Makerules (+depfiles): Also collect depfiles from .oS in
32338 $(extra-objs).
32339 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32340 .oS, $(libnldbl-routines)).
32341
656416c9
AS
32342 * Makerules (native-compile-mkdep-flags): Define.
32343 * sunrpc/Makefile (extra-objs): Add $(addprefix
32344 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32345 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32346 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32347 calling $(make-target-directory).
32348
a46f2169
L
323492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32350
32351 * bits/types.h (__snseconds_t): Removed.
32352 * time/time.h (struct timespec): Replace __snseconds_t with
32353 __syscall_slong_t.
32354 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32355 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32356 Likewise.
32357 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32358 (__SNSECONDS_T_TYPE): Likewise.
32359 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32360 (__SNSECONDS_T_TYPE): Likewise.
32361 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32362 (__SNSECONDS_T_TYPE): Likewise.
32363
6af6528b
L
323642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32365
32366 * sysdeps/mach/hurd/bits/typesizes.h
32367 (__SYSCALL_SLONG_TYPE): New macro.
32368 (__SYSCALL_ULONG_TYPE): Likewise.
32369
de986b56
L
323702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32371
32372 * bits/types.h (__syscall_slong_t): New type.
32373 (__syscall_ulong_t): Likewise.
32374
32375 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32376 (__SYSCALL_ULONG_TYPE): Likewise.
32377 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32378 (__SYSCALL_SLONG_TYPE): Likewise.
32379 (__SYSCALL_ULONG_TYPE): Likewise.
32380 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32381 (__SYSCALL_SLONG_TYPE): Likewise.
32382 (__SYSCALL_ULONG_TYPE): Likewise.
32383 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32384 (__SYSCALL_SLONG_TYPE): Likewise.
32385 (__SYSCALL_ULONG_TYPE): Likewise.
32386
85736dc7
L
323872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32388
32389 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32390 Add sigaltstack-offsets.sym.
32391 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32392 <sigaltstack-offsets.h>.
32393 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32394 longjmp_msg pointer.
32395 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32396 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32397 signal stack.
32398 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32399
cc03b296
JM
324002012-05-15 Joseph Myers <joseph@codesourcery.com>
32401
a9538892
JM
32402 * elf/stackguard-macros.h: Remove file.
32403 * sysdeps/generic/stackguard-macros.h: New file.
32404 * sysdeps/i386/stackguard-macros.h: Likewise.
32405 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32406 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32407 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32408 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32409 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32410 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32411 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32412 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32413 <elf/stackguard-macros.h>.
32414
cc03b296
JM
32415 [BZ #14109]
32416 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32417 __aligned__ in attribute.
32418 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32419 (gregset_t): Likewise.
32420
93171016
L
324212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32422
32423 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32424 * sysdeps/x86_64/64/Implies-after: Here. New file.
32425 * sysdeps/x86_64/x32/Implies-after: New file.
32426
d86813a0
L
324272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32428
32429 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32430 and access return value for _dl_profile_fixup. Use R10_LP to
32431 load frame size.
32432
2953ec75
L
324332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32434
32435 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32436
3b550e9e
L
324372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32438
32439 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32440 * sysdeps/x86_64/x32/sysdep.h: New file.
32441
eda41706
L
324422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32443
32444 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32445 * sysdeps/x86_64/setjmp.S: Likewise.
32446
9ea01d93
AZ
324472012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32448
32449 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32450 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32451 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32452 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32453 remove unused global constant.
32454
02a91938
CM
324552012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32456
32457 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32458 include of <not-cancel.h>.
32459
6540185f
RM
324602012-05-15 Roland McGrath <roland@hack.frob.com>
32461
32462 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32463
509072a0
AJ
324642012-05-15 Jeff Law <law@redhat.com>
32465 Andreas Jaeger <aj@suse.de>
32466
32467 [BZ #13594]
32468 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32469 out from...
32470 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32471 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32472 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32473 code changing __hst_map_handle.map.
32474
ba75122d
RM
324752012-05-15 Roland McGrath <roland@hack.frob.com>
32476
32477 * configure.in (sysnames): Look for Implies-before and Implies-after
32478 files.
32479 * configure: Regenerated.
32480
890d8bd8
L
324812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32482
32483 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32484 8-byte data alignment with LP_SIZE alignment.
32485
f6ee6623
L
324862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32487
32488 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32489 into R10_LP.
32490
ea2626f6
L
324912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32492
32493 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32494
085f715e
L
324952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32496
32497 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32498 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32499 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32500 Likewise.
32501 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32502
be8498fc
L
325032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32504
32505 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32506 (stackinfo_sub_sp): Likewise.
32507
70bc83b9
L
325082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32509
32510 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32511 RAX_LP.
32512
9bc0b730
L
325132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32514
32515 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32516 into R*_LP.
32517
6d2850e7
L
325182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32519
32520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32521 sizes into R*_LP.
32522
3cb84561
L
325232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32524
32525 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32526
54e2ed81
L
325272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32528
32529 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32530 into R11_LP and load __x86_64_shared_cache_size_half into
32531 R8_LP.
32532
8a17f349
L
325332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32534
32535 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32536 R8_LP.
32537
777b1eea
AZ
325382012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32539
32540 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32541 logb for POWER7.
32542 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32543 logbf for POWER7.
32544 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32545 logbl for POWER7.
32546 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32547 powerpc32/power7/fpu/s_logb.c via #include.
32548 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32549 powerpc32/power7/fpu/s_logbf.c via #include.
32550 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32551 powerpc32/power7/fpu/s_logbl.c via #include.
32552
d20d4ac2
JM
325532012-05-15 Joseph Myers <joseph@codesourcery.com>
32554
32555 * README.libm: Remove file.
32556
6cdef1ab
L
325572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32558
32559 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32560 count for x32. Use R*_LP and omit operand-size suffix.
32561
0b254d8f
L
325622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32563
32564 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32565 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32566 * sysdeps/x86_64/x32/shlib-versions: New file.
32567
ceb809dc
RM
325682012-05-14 Roland McGrath <roland@hack.frob.com>
32569
32570 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32571 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32572 Use _dl_fatal_printf instead.
32573
37f1abd4
JM
325742012-05-14 Joseph Myers <joseph@codesourcery.com>
32575
32576 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32577 set if not set by the user. Do not allow for being unset.
32578 * sysdeps/unix/sysv/linux/configure: Regenerated.
32579
11de3a33
L
325802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32581
32582 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32583 the `q' suffix from lea and replace .quad with ASM_ADDR.
32584
e02f153a
L
325852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32586
32587 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32588 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32589 instead of $17.
32590 (PTR_DEMANGLE): Likewise.
32591
520ae0fd
L
325922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32593
32594 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32595 (LP_OP): Likewise.
32596 (ASM_ADDR): Likewise.
32597 (RAX_LP): Likewise.
32598 (RBP_LP): Likewise.
32599 (RBX_LP): Likewise.
32600 (RCX_LP): Likewise.
32601 (RDI_LP): Likewise.
32602 (RSI_LP): Likewise.
32603 (RSP_LP): Likewise.
32604 (R8_LP): Likewise.
32605 (R9_LP): Likewise.
32606 (R10_LP): Likewise.
32607 (R10_LP): Likewise.
32608 (R11_LP): Likewise.
32609 (R12_LP): Likewise.
32610 (R13_LP): Likewise.
32611 (R14_LP): Likewise.
32612 (R15_LP): Likewise.
32613
b985be81
L
326142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32615
32616 * sysdeps/x86_64/x32/dl-machine.h: New file.
32617
6a4888ff
AJ
326182012-05-14 Andreas Jaeger <aj@suse.de>
32619
32620 * manual/Makefile (subdir): Remove export of subdir.
32621 (all): Remove target.
32622 (.PHONY): Remove all from list.
32623 (mkinstalldirs): Remove.
32624 (.PHONY): Remove installdirs from list.
32625 ($(inst_infodir)/libc.info): Use make-target-directory.
32626 (installdirs): Remove.
32627 (subdir_%): Remove.
32628 (glibc-targets): Remove.
32629 (lib): Remove.
32630 (stubs): Remove.
32631 ($(objpfx)stubs ../po/manual.pot): Remove.
32632 ($(objpfx)stamp%): Remove.
32633 (make-target-directory): Remove.
32634 (subdir_install): Remove.
32635 (routines): Remove.
32636 (aux): Remove.
32637 (sources): Remove.
32638 (objects): Remove.
32639 (headers): Remove.
32640
32641 [BZ #13750]
32642 * manual/.gitignore: Remove, it's not needed anymore.
32643 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32644 all files in it.
32645 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32646 directory.
32647 (texis): Renamed to $(objpfx)texis.
32648 (texis-path): New, contains path to generated files.
32649 (chapters.%): Use texis-path for complete path, add extra argument
32650 libc-texinfo.sh.
32651 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32652 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32653 (summary,texi, stamp-summary): Use complete path of
32654 files. Generate files in build dir.
32655 (dir-add.texi): Build in build dir.
32656 (libm-err.texi,stamp-libm-err): Likewise.
32657 (version.texi, stamp-version): Likewise.
32658 (.%c.texi): Likewise.
32659 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32660 (mostlyclean): Remove target.
32661 (realclean): Remove target.
32662 (generated): Add new variable with contents from mostlyclean and
32663 realclean, remove entries duplicated in common-mostlyclean, add
32664 stamp-libm-err and stamp-version.
32665 (generated-dirs): Add libc directory.
32666 ($(inst_infodir)/libc.info): Install files from build dir.
32667
32668 * manual/install.texi (Configuring and compiling): Adjust since
32669 the info files are not part of the tar ball anymore.
32670
7ac77294
AJ
326712012-05-14 Andreas Jaeger <aj@suse.de>
32672
32673 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32674 variable.
32675
ffb7875d
JM
326762012-05-14 Joseph Myers <joseph@codesourcery.com>
32677
32678 [BZ #13717]
32679 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32680 to 2.2.0 where earlier.
32681 * sysdeps/unix/sysv/linux/configure: Regenerated.
32682 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32683 Remove conditional code.
32684 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32685 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32686 Remove conditional code.
32687 [!__NR_lchown]: Likewise.
32688 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32689 [__NR_lchown]: Likewise.
32690 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32691 comment referencing __ASSUME_LCHOWN_SYSCALL.
32692 * sysdeps/unix/sysv/linux/i386/sigaction.c
32693 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32694 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32695 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32696 Remove conditional code.
32697 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32698 (__protocol_available): Remove #if 0 code.
32699 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32700 conditional code.
32701 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32702 * sysdeps/unix/sysv/linux/kernel-features.h
32703 (__ASSUME_GETCWD_SYSCALL): Don't define.
32704 (__ASSUME_REALTIME_SIGNALS): Likewise.
32705 (__ASSUME_PREAD_SYSCALL): Likewise.
32706 (__ASSUME_PWRITE_SYSCALL): Likewise.
32707 (__ASSUME_POLL_SYSCALL): Likewise.
32708 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32709 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32710 non-SPARC.
32711 (__ASSUME_SIOCGIFNAME): Don't define.
32712 (__ASSUME_MSG_NOSIGNAL): Likewise.
32713 (__ASSUME_SENDFILE): Define unconditionally.
32714 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32715 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32716 conditional code.
32717 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32718 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32719 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32720 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32721 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32722 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32723 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32725 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32726 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32728 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32729 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32731 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32732 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32734 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32735 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32737 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32738 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32740 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32741 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32743 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32744 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32746 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32747 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32748 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32749 Remove conditional code.
32750 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32751 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32752 Remove conditional code.
32753 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32754 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32755 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32756 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32757 Remove conditional code.
32758 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32759 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32760 Remove conditional code.
32761 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32762 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32763 Remove conditional code.
32764 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32765 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32766 Remove conditional code.
32767 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32768 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32769 Remove conditional code.
32770 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32771 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32772 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32773 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32774 * sysdeps/unix/sysv/linux/sigaction.c
32775 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32776 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32777 * sysdeps/unix/sysv/linux/sigpending.c
32778 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32779 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32780 * sysdeps/unix/sysv/linux/sigprocmask.c
32781 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32782 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32783 * sysdeps/unix/sysv/linux/sigsuspend.c
32784 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32785 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32786 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32787 (__libc_missing_rt_sigs): Remove.
32788 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32789 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32790 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32791 Remove conditional code.
32792 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32793 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32794 return 1.
32795 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32796 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32797 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32798 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32799
1bfb7291
AJ
328002012-05-14 Andreas Jaeger <aj@suse.de>
32801
caae5a81
AJ
32802 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32803 it's not used in glibc.
32804 (__coshm1): Likewise.
32805 (__acosh1p): Likewise.
32806 (__sgn): Likewise.
32807
1bfb7291
AJ
32808 * manual/string.texi (Copying and Concatenation): Add missing
32809 variable in concat example.
32810 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32811
c044d724
L
328122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32813
144c5467 32814 [BZ #14103]
c044d724
L
32815 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32816 __builtin_clzl with __builtin_clzll.
32817
2523c62b
L
328182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32819
32820 [BZ #14104]
32821 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32822 libc_freeres_ptr.
32823
d7bb4c42
LD
328242012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32825
32826 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32827 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32828 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32829 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32830
9dc4e1fb
MF
328312012-05-14 Mike Frysinger <vapier@gentoo.org>
32832
32833 * NEWS: Update ia64 info.
32834
c7df0112
AS
328352012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32836
32837 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32838 used as bcopy.
32839
dc70356c
TS
328402012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32841
32842 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32843 * sysdeps/unix/syscalls.list (dup3): Likewise.
32844 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32845 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32846
9fb1a21f
L
328472012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32848
32849 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32850 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32851
4822a2a5
L
328522012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32853
32854 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32855 thread pointer.
32856 (TLS_IE): Use mov/add instead of movq/addq to load thread
32857 pointer.
32858 (TLS_GD_PREFIX): New.
32859 (TLS_GD): Use it.
32860
842b81d6
DM
328612012-05-11 David S. Miller <davem@davemloft.net>
32862
32863 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32864 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32865 (_FPU_SETCW): Likewise.
32866
1cf463cd
L
328672012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32868
32869 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32870 is 32-byte aligned.
32871
60cc4a18
AS
328722012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32873
32874 [BZ #11837]
32875 * iconvdata/gb18030.c: Update tables.
32876 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32877 characters specially.
32878 (BODY for TO_LOOP): Add encoding of missing ranges.
32879
febb44a4
TS
328802012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32881
32882 [BZ #13673]
32883 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32884 * sysdeps/mach/hurd/dup3.c: Likewise.
32885 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32886 * sysdeps/powerpc/memmove.c:: Likewise.
32887
0a10fb9e
L
328882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32889
32890 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32891 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32892
df8a552f
L
328932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32894
32895 * elf/elf.h (R_X86_64_RELATIVE64): New.
32896 (R_X86_64_NUM): Updated.
32897 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32898 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32899 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32900 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32901 tst-quad1pie tst-quad2pie
32902 (modules-names): Add tst-quadmod1 tst-quadmod2.
32903 ($(objpfx)tst-quad1): New dependency.
32904 ($(objpfx)tst-quad2): Likewise.
32905 ($(objpfx)tst-quad1pie): Likewise.
32906 ($(objpfx)tst-quad2pie): Likewise.
32907 * sysdeps/x86_64/tst-quad1.c: New file.
32908 * sysdeps/x86_64/tst-quad1pie.c: New file.
32909 * sysdeps/x86_64/tst-quad2.c: Likewise.
32910 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32911 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32912 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32913 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32914 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32915
f34d6f84
ST
329162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32917
f42d41d1
ST
32918 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32919 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32920 * streams/stropts.h (t_scalar_t): Define type.
32921
3c3571fc
ST
32922 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32923 (_PATH_PRESERVE): Set to "/var/lib".
32924 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32925
61f06bd3
ST
32926 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32927 instead of int.
32928
918d4d71
ST
32929 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32930 if __dir_mkfile succeeded.
32931
f34d6f84
ST
32932 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32933 checking for _hurd_dtablesize. Unlock it right after having
32934 finished _hurd_dtable allocation.
32935
10589b4a
TS
329362012-05-10 Thomas Schwinge <thomas@schwinge.name>
32937
674cdbc7
TS
32938 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32939 * sysdeps/mach/hurd/configure: Regenerated.
32940 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32941 special-casing to...
32942 * sysdeps/gnu/configure.in: ... this new file.
32943 * sysdeps/unix/sysv/linux/configure: Regenerated.
32944 * sysdeps/gnu/configure: New generated file.
32945
8e41b99f
TS
32946 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32947 for Linux: use nsec instead of usec, as well as:
32948 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32949 members of type struct timespec.
32950 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32951 New macros.
32952 (struct stat64): Likewise.
32953 (_STATBUF_ST_NSEC): New macro.
32954 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32955
10589b4a
TS
32956 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32957 __strtoul_internal rather than strtoul.
32958
63643c85
PT
329592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32960
32961 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32962 and reject them.
32963
3faebe6a
ST
329642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32965
32966 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32967 which preserves existing values.
32968 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32969
c6474b07
PT
329702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32971
32972 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32973 TIMEOUT values. Return EINVAL for NFDS values either negative or
32974 greater than FD_SETSIZE.
32975
1043890b
ST
329762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32977
32978 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32979 allocated, call __vm_protect to finish enabling the existing space, and
32980 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32981 allocate the remainder.
32982
37ed8b9b
PT
329832012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32984
32985 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32986 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32987
db653660
ST
329882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32989
37ed8b9b
PT
32990 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32991 sysdeps/mach/hurd/readlink.c.
b29d4053 32992
db653660
ST
32993 * posix/tst-sysconf.c (posix_options): Only use
32994 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32995 _POSIX_SYNCHRONIZED_IO when they are defined
32996 * sysdeps/mach/hurd/bits/posix_opt.h:
32997 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32998 (_XOPEN_REALTIME): Undefine macro.
32999 (_XOPEN_REALTIME_THREADS): Undefine macro.
33000 (_XOPEN_SHM): Undefine macro.
33001 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33002 macro to -1.
33003 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33004 macro to -1.
33005 (_POSIX_ASYNC_IO): Undefine macro.
33006 (_POSIX_PRIORITIZED_IO): Undefine macro.
33007 (_POSIX_SPIN_LOCKS): Define macro to -1.
33008
ee16e894
ST
33009 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33010 SA_NODEFER, SA_RESETHAND.
33011 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33012 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33013 F_DUPFD_CLOEXEC.
33014
6103ae3b
TS
330152012-05-10 Thomas Schwinge <thomas@schwinge.name>
33016
33017 * elf/Makefile (pldd-modules): Define unconditionally.
33018
80b4e5f3
TS
330192012-05-10 Thomas Schwinge <thomas@schwinge.name>
33020
33021 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33022
edadcbd6
ST
330232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33024
33025 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33026 Return ENOENT when name is empty.
33027 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33028
80694780
TS
330292012-05-10 Thomas Schwinge <thomas@schwinge.name>
33030
1792c087
TS
33031 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33032
80694780
TS
33033 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33034
6b645f0d
ST
330352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33036
80694780
TS
33037 Fix mlock in all cases except non-readable pages.
33038 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33039 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 33040
6b645f0d
ST
33041 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33042 (__mkdir): When path is `/', just fail with EEXIST.
33043 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33044
e468f8a3
TS
330452012-05-10 Thomas Schwinge <thomas@schwinge.name>
33046
33047 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33048 <sys/uio.h> (for writev).
33049 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33050 and <sys/param.h> (for MIN).
33051
a4186cff
PT
330522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33053
33054 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33055 REQUESTED_TIME. Properly set the remaining time and return EINTR
33056 if interrupted.
33057
510bbf14
TS
330582012-05-10 Thomas Schwinge <thomas@schwinge.name>
33059
33060 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33061 Depend on against $(link-rpcuserlibs).
33062
5d5722e8
ST
330632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33064
a4186cff
PT
33065 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33066 (__libc_stack_end): Do not use attribute_relro.
33067 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33068 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 33069 to libthread-provided value.
a4186cff
PT
33070 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33071 attribute_relro.
5d5722e8 33072
37233df9
TS
330732012-05-10 Thomas Schwinge <thomas@schwinge.name>
33074
be971a2b
TS
33075 [BZ #3748]
33076 * bits/libc-lock.h (__libc_once_get): New macro.
33077 * sysdeps/mach/bits/libc-lock.h: Likewise.
33078 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33079 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33080 instead of using implementation details.
33081
37233df9
TS
33082 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33083 * libio/freopen.c: Likewise.
33084 * libio/freopen64.c: Likewise.
33085 * misc/syslog.c: Likewise.
33086 * nscd/connections.c: Likewise.
33087 * nscd/netgroupcache.c: Likewise.
33088 * sysdeps/posix/getcwd.c: Likewise.
33089
38de94a5
RM
330902012-05-10 Roland McGrath <roland@hack.frob.com>
33091
33092 * math/w_ilogbf.c: Add #include <limits.h>.
33093
67530489
ST
330942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33095
a4186cff 33096 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
33097 path instead of returning without unlocking.
33098
67530489
ST
33099 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33100 immediate-write ioctls.
33101 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33102
5aa3a74a
TS
331032012-05-10 Thomas Schwinge <thomas@schwinge.name>
33104
18bad2ae
TS
33105 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33106 __builtin_frame_address instead of making assumptions about the
33107 location of the return address relative to DATA. Force early load of
33108 the return address.
33109 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33110 __builtin_frame_address.
33111
5aa3a74a
TS
33112 dup3 for GNU Hurd.
33113 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33114 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33115 implement dup3 and do some further code clean-ups.
33116 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33117 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33118
ecd0de9a
ST
331192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33120
cd9fa985
ST
33121 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33122
a4186cff
PT
33123 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33124 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33125 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33126 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33127 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33128 d->port.lock.
802ca5a5 33129
a4186cff
PT
33130 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33131 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33132 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 33133
bcf55240
TS
331342012-05-10 Thomas Schwinge <thomas@schwinge.name>
33135
6960eb42
TS
33136 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33137 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33138 definitions.
33139
eb43375f
TS
33140 accept4 for GNU Hurd.
33141 * include/sys/socket.h (__libc_accept4): New prototype.
33142 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33143 to implement __libc_accept4.
33144 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33145 __libc_accept4.
33146 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33147
bcf55240
TS
33148 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33149 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33150 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33151 signal-defines.sym.
33152
6178c55b
ST
331532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33154
a4186cff 33155 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 33156
6f080c2f
TS
331572012-05-10 Thomas Schwinge <thomas@schwinge.name>
33158
33159 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33160 assertion on O_CLOEXEC flag.
33161 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33162 * hurd/intern-fd.c: Likewise.
33163 * hurd/port2fd.c: Likewise.
33164
bcfe3a54
ST
331652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33166
33167 [BZ #3906]
33168 * bits/in.h (IPV6_PKTINFO): Define new macro.
33169 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33170
89c9aa49
AZ
331712012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33172
33173 [BZ #13954]
33174 [BZ #13955]
33175 [BZ #13956]
33176 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33177 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33178 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33179 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33180 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33181 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33182 * math/libm-test.inc (logb_test) : Additional logb tests.
33183
021db4be
AJ
331842012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33185 Andreas Jaeger <aj@suse.de>
33186
33187 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33188 * configure: Regenerated.
33189 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33190 * config.make.in (link-obsolete-rpc): New substituted variable.
33191 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33192 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33193 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33194 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33195 so that libc.a contains the symbols.
33196 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33197 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33198 * sunrpc/auth_none.c: Likewise.
33199 * sunrpc/auth_unix.c: Likewise.
33200 * sunrpc/authdes_prot.c: Likewise.
33201 * sunrpc/authuxprot.c: Likewise.
33202 * sunrpc/clnt_gen.c: Likewise.
33203 * sunrpc/clnt_perr.c: Likewise.
33204 * sunrpc/clnt_raw.c: Likewise.
33205 * sunrpc/clnt_simp.c: Likewise.
33206 * sunrpc/clnt_tcp.c: Likewise.
33207 * sunrpc/clnt_udp.c: Likewise.
33208 * sunrpc/clnt_unix.c: Likewise.
33209 * sunrpc/des_crypt.c: Likewise.
33210 * sunrpc/des_soft.c: Likewise.
33211 * sunrpc/get_myaddr.c: Likewise.
33212 * sunrpc/key_call.c: Likewise.
33213 * sunrpc/key_prot.c: Likewise.
33214 * sunrpc/netname.c: Likewise.
33215 * sunrpc/pm_getmaps.c: Likewise.
33216 * sunrpc/pm_getport.c: Likewise.
33217 * sunrpc/pmap_clnt.c: Likewise.
33218 * sunrpc/pmap_prot.c: Likewise.
33219 * sunrpc/pmap_prot2.c: Likewise.
33220 * sunrpc/pmap_rmt.c: Likewise.
33221 * sunrpc/publickey.c: Likewise.
33222 * sunrpc/rpc_cmsg.c: Likewise.
33223 * sunrpc/rpc_common.c: Likewise.
33224 * sunrpc/rpc_dtable.c: Likewise.
33225 * sunrpc/rpc_prot.c: Likewise.
33226 * sunrpc/rpc_thread.c: Likewise.
33227 * sunrpc/rtime.c: Likewise.
33228 * sunrpc/svc.c: Likewise.
33229 * sunrpc/svc_auth.c: Likewise.
33230 * sunrpc/svc_raw.c: Likewise.
33231 * sunrpc/svc_run.c: Likewise.
33232 * sunrpc/svc_tcp.c: Likewise.
33233 * sunrpc/svc_udp.c: Likewise.
33234 * sunrpc/svc_unix.c: Likewise.
33235 * sunrpc/svcauth_des.c: Likewise.
33236 * sunrpc/xcrypt.c: Likewise.
33237 * sunrpc/xdr.c: Likewise.
33238 * sunrpc/xdr_array.c: Likewise.
33239 * sunrpc/xdr_float.c: Likewise.
33240 * sunrpc/xdr_intXX_t.c: Likewise.
33241 * sunrpc/xdr_mem.c: Likewise.
33242 * sunrpc/xdr_rec.c: Likewise.
33243 * sunrpc/xdr_ref.c: Likewise.
33244 * sunrpc/xdr_sizeof.c: Likewise.
33245 * sunrpc/xdr_stdio.c: Likewise.
33246
b5c086a2
RM
332472012-05-10 Roland McGrath <roland@hack.frob.com>
33248
33249 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33250 change. Update copyright years.
33251
6d74dd09
JM
332522012-05-10 Joseph Myers <joseph@codesourcery.com>
33253
33254 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33255
28e72501
MK
332562012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33257 Joseph Myers <joseph@codesourcery.com>
33258 Paul Pluzhnikov <ppluzhnikov@google.com>
33259
33260 [BZ #14012]
33261 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33262 requiring rpcgen.
33263 [cross-compiling] (extra-libs): Likewise.
33264 [cross-compiling] (extra-libs-others): Likewise.
33265 [cross-compiling] (librpcsvc-routines): Likewise.
33266 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33267 [cross-compiling] (omit-deps): Likewise.
33268 (sunrpc-CPPFLAGS): New variable.
33269 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33270 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33271 (cross-rpcgen-objs): New variable.
33272 (extra-objs): Append $(cross-rpcgen-objs).
33273 ($(cross-rpcgen-objs)): New rule.
33274 ($(objpfx)cross-rpcgen): Likewise.
33275 (rpcgen-cmd): Define to use $(built-program-file). Expand
33276 comment.
33277 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33278 ($(objpfx)x%.stmp): Likewise.
33279 * sunrpc/proto.h [IS_IN_build] (_): Define.
33280 [IS_IN_build] (_libc_intl_domainname): Likewise.
33281
c8c59454
L
332822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33283
33284 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33285 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33286 and R_X86_64_TPOFF64.
33287
6f27cd16
JM
332882012-05-10 Joseph Myers <joseph@codesourcery.com>
33289
33290 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33291 sysdeps/unix/sysv/syscalls.list.
33292 (stime): Likewise.
33293 (utime): Likewise.
33294 * sysdeps/unix/sysv/syscalls.list: Remove file.
33295
02467e1c
PE
332962012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33297
33298 [BZ #3440]
33299 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33300 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33301 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33302 (__LC_IDENTIFICATION): Make these macros useful in #if
33303 expressions, as required by C99.
33304
da392631
AS
333052012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33306
33307 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33308 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33309 after this.
33310
8115f29b
L
333112012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33312
33313 * stdlib/longlong.h: Updated from GCC.
33314
bdd74070
AJ
333152012-05-09 Andreas Jaeger <aj@suse.de>
33316
edfe0dbe
AJ
33317 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33318 default is first entry.
33319 (run_mode): Set type.
33320 (main): Remove informal message about syslog.
33321 (options): Fix typo.
33322
bcfe3a54
ST
33323 [BZ #14053]
33324 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 33325 to asm.
bcfe3a54
ST
33326 (lrint): Likewise.
33327 (llrintf): Likewise.
33328 (llrint): Likewise.
33329 (rint): Likewise.
33330 (rintf): Likewise.
33331 (nearbyint): Likewise.
33332 (nearbyintf): Likewise.
bdd74070 33333
91d8d69e
AJ
333342012-05-09 Andreas Jaeger <aj@suse.de>
33335 Pedro Alves <palves@redhat.com>
33336
33337 * nscd/nscd.c (run_mode): Use enum.
33338 (main): Cleanup coding style issue.
33339
bb90b80b
AJ
333402012-05-09 Alexandre Oliva <aoliva@redhat.com>
33341 Andreas Jaeger <aj@suse.de>
33342
bcfe3a54
ST
33343 * nscd/nscd.c (go_background): Replaced with...
33344 (run_mode): ... this.
bb90b80b 33345 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
33346 (options): Add -F --foreground.
33347 (main): Implement it.
33348 (parse_opt): Parse it.
bb90b80b 33349
1a4b75a1
AJ
333502012-05-09 Andreas Jaeger <aj@suse.de>
33351
33352 [BZ #14083]
33353 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33354 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33355 -Wconversion warning.
33356 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33357 Likewise.
33358
b1cc2472
JM
333592012-05-09 Joseph Myers <joseph@codesourcery.com>
33360
33361 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33362 == 0.
33363 (LC_ALL): Use macro-int-constant.
33364 (LC_COLLATE): Likewise.
33365 (LC_CTYPE): Likewise.
33366 (LC_MESSAGES): Likewise.
33367 (LC_MONETARY): Likewise.
33368 (LC_NUMERIC): Likewise.
33369 (LC_TIME): Likewise.
33370 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33371 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33372 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33373 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33374 Specify type.
33375 [C99-based standards] (float_t): Expect type.
33376 [C99-based standards] (double_t): Expect type.
33377 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33378 type.
33379 [C99-based standards] (HUGE_VALL): Likewise.
33380 [C99-based standards] (INFINITY): Likewise.
33381 [C99-based standards] (NAN): Likewise.
33382 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33383 [C99-based standards] (FP_NAN): Likewise.
33384 [C99-based standards] (FP_NORMAL): Likewise.
33385 [C99-based standards] (FP_SUBNORMAL): Likewise.
33386 [C99-based standards] (FP_ZERO): Likewise.
33387 [C99-based standards] (FP_FAST_FMA): Use
33388 optional-macro-int-constant. Specify type. Require == 1.
33389 [C99-based standards] (FP_FAST_FMAF): Likewise.
33390 [C99-based standards] (FP_FAST_FMAL): Likewise.
33391 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33392 [C99-based standards] (FP_ILOGBNAN): Likewise.
33393 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33394 Specify type.
33395 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33396 [C99-based standards] (math_errhandling): Specify type.
33397 [ISO99 || ISO11] (signgam): Do not allow.
33398 [non-C99-based standards] (copysignf): Do not allow.
33399 [non-C99-based standards] (exp2f): Likewise.
33400 [non-C99-based standards] (log2f): Likewise.
33401 [non-C99-based standards] (modff): Allow.
33402 [non-C99-based standards] (erff): Do not allow.
33403 [non-C99-based standards] (erfcf): Likewise.
33404 [non-C99-based standards] (gammaf): Likewise.
33405 [non-C99-based standards] (hypotf): Likewise.
33406 [non-C99-based standards] (j0f): Likewise.
33407 [non-C99-based standards] (j1f): Likewise.
33408 [non-C99-based standards] (jnf): Likewise.
33409 [non-C99-based standards] (lgammaf): Likewise.
33410 [non-C99-based standards] (tgammaf): Likewise.
33411 [non-C99-based standards] (y0f): Likewise.
33412 [non-C99-based standards] (y1f): Likewise.
33413 [non-C99-based standards] (ynf): Likewise.
33414 [non-C99-based standards] (isnanf): Likewise.
33415 [non-C99-based standards] (acoshf): Likewise.
33416 [non-C99-based standards] (asinhf): Likewise.
33417 [non-C99-based standards] (atanhf): Likewise.
33418 [non-C99-based standards] (cbrtf): Likewise.
33419 [non-C99-based standards] (expm1f): Likewise.
33420 [non-C99-based standards] (ilogbf): Likewise.
33421 [non-C99-based standards] (log1pf): Likewise.
33422 [non-C99-based standards] (logbf): Likewise.
33423 [non-C99-based standards] (nextafterf): Likewise.
33424 [non-C99-based standards] (remainderf): Likewise.
33425 [non-C99-based standards] (rintf): Likewise.
33426 [non-C99-based standards] (scalbf): Likewise.
33427 [non-C99-based standards] (copysignl): Likewise.
33428 [non-C99-based standards] (exp2l): Likewise.
33429 [non-C99-based standards] (log2l): Likewise.
33430 [non-C99-based standards] (modfl): Allow.
33431 [non-C99-based standards] (erfl): Do not allow.
33432 [non-C99-based standards] (erfcl): Likewise.
33433 [non-C99-based standards] (gammal): Likewise.
33434 [non-C99-based standards] (hypotl): Likewise.
33435 [non-C99-based standards] (j0l): Likewise.
33436 [non-C99-based standards] (j1l): Likewise.
33437 [non-C99-based standards] (jnl): Likewise.
33438 [non-C99-based standards] (lgammal): Likewise.
33439 [non-C99-based standards] (tgammal): Likewise.
33440 [non-C99-based standards] (y0l): Likewise.
33441 [non-C99-based standards] (y1l): Likewise.
33442 [non-C99-based standards] (ynl): Likewise.
33443 [non-C99-based standards] (isnanl): Likewise.
33444 [non-C99-based standards] (acoshl): Likewise.
33445 [non-C99-based standards] (asinhl): Likewise.
33446 [non-C99-based standards] (atanhl): Likewise.
33447 [non-C99-based standards] (cbrtl): Likewise.
33448 [non-C99-based standards] (expm1l): Likewise.
33449 [non-C99-based standards] (ilogbl): Likewise.
33450 [non-C99-based standards] (log1pl): Likewise.
33451 [non-C99-based standards] (logbl): Likewise.
33452 [non-C99-based standards] (nextafterl): Likewise.
33453 [non-C99-based standards] (remainderl): Likewise.
33454 [non-C99-based standards] (rintl): Likewise.
33455 [non-C99-based standards] (scalbl): Likewise.
33456 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33457 [non-C99-based standards] (FP_*): Do not allow.
33458 [C99-based standards] (FP_*): Change to
33459 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33460 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33461 allow.
33462 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33463 (SIG_ERR): Likewise.
33464 [X/Open-based standards] (SIG_HOLD): Likewise.
33465 (SIG_IGN): Likewise.
33466 (SIGABRT): Use macro-int-constant. Specify type. Require
33467 positive value.
33468 (SIGFPE): Likewise.
33469 (SIGILL): Likewise.
33470 (SIGINT): Likewise.
33471 (SIGSEGV): Likewise.
33472 (SIGTER): Likewise.
33473 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33474 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33475 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33476 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33477 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33478 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33479 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33480 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33481 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33482 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33483 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33484 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33485 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33486 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33487 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33488 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33489 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33490 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33491 [X/Open-based standards] (SIGTRAP): Likewise.
33492 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33493 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33494 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33495 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33496 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33497 allow.
33498
b9f1922d
IW
334992012-05-08 Ian Wienand <ianw@vmware.com>
33500
33501 [BZ #14080]
33502 * time/tzset.c (__tzset_parse_tz): Update default rules for
33503 daylight time changes in the Energy Policy Act of 2005.
33504
1db86e88
AJ
335052012-05-09 Andreas Jaeger <aj@suse.de>
33506
33507 [BZ #13983]
33508 * elf/ldconfig.c (parse_conf): Change string to make clear that
33509 ldconfig only issued a warning if ld.so.conf does not exist.
33510
dee4a4e3
DM
335112012-05-08 David S. Miller <davem@davemloft.net>
33512
ee0db190
DM
33513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33514 movxtod instead of popping the value on the stack.
33515
dee4a4e3
DM
33516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33517
6a43ec98
CD
335182012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33519
33520 * config.h.in: Add HAVE_ARM_PCS_VFP.
33521
05c2c961
RMG
335222012-05-08 Roland Mc Grath <roland@hack.frob.com>
33523
bcfe3a54
ST
33524 [BZ #13979]
33525 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33526 checking but the checks are disabled for any reason.
05c2c961 33527
4b30f61a
L
335282012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33529
33530 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33531 and ELF64_R_TYPE with ELFW(R_TYPE).
33532
eee2bc67
JM
335332012-05-08 Joseph Myers <joseph@codesourcery.com>
33534
7ea5391a
JM
33535 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33536 (ulimit): Likewise.
33537
eee2bc67
JM
33538 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33539 (settimeofday): Likewise.
33540
abb66a67
MF
335412012-05-08 Mike Frysinger <vapier@gentoo.org>
33542
33543 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33544 a struct th_u2 inside the union, and move tu_block/tu_code into
33545 a new th_u3 union of tu_block/tu_code inside of that. Move
33546 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33547 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33548 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33549 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33550 (th_stuff): Change to th_u1.tu_stuff.
33551 (th_data): Define.
33552 (th_msg): Change to th_u1.th_u2.tu_data.
33553
7f18b530
DM
335542012-05-07 David S. Miller <davem@davemloft.net>
33555
05760585
DM
33556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33557
7f18b530
DM
33558 [BZ #14074]
33559 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33560 (SETUP_PIC_REG): Use it.
33561 (SETUP_PIC_REG_LEAF): Use it.
33562
495fd99f
JM
335632012-05-07 Joseph Myers <joseph@codesourcery.com>
33564
33565 [BZ #13885]
33566 [BZ #13923]
33567 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33568 USE_AS_EXPM1L.
33569 (EXPL_FINITE): Likewise.
33570 (FLDLOG): Likewise.
33571 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33572 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33573 e_expl.S.
33574 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33575 USE_AS_EXPM1L.
33576 (EXPL_FINITE): Likewise.
33577 (FLDLOG): Likewise.
33578 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33579 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33580 e_expl.S.
33581 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33582 test of -max_value argument for long double.
33583 * sysdeps/i386/fpu/libm-test-ulps: Update.
33584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33585
6693d694
DM
335862012-05-06 David S. Miller <davem@davemloft.net>
33587
33588 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33589 quad soft-float symbols whose references which are compiler
33590 generated.
33591 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33592
6c23e11c
JM
335932012-05-06 Joseph Myers <joseph@codesourcery.com>
33594
d8b82cad
JM
33595 [BZ #13884]
33596 [BZ #13914]
33597 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33598 USE_AS_EXP10L.
33599 (EXPL_FINITE): Likewise.
33600 (FLDLOG): Likewise.
33601 (c0): Likewise.
33602 (c1): Likewise.
33603 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33604 Adjust comments for base varying.
33605 (__expl_finite): Change alias to EXPL_FINITE.
33606 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33607 e_expl.S.
33608 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33609 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33610 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33611 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33612 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33613 USE_AS_EXP10L.
33614 (EXPL_FINITE): Likewise.
33615 (FLDLOG): Likewise.
33616 (c0): Likewise.
33617 (c1): Likewise.
33618 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33619 Adjust comments for base varying.
33620 (__expl_finite): Change alias to EXPL_FINITE.
33621 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33622 tests for bugs.
33623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33624
6c23e11c
JM
33625 [BZ #14064]
33626 * math/libm-test.inc (check_float_internal): Correct ulp
33627 calculation for subnormal expected results.
33628
29ba805c
AJ
336292012-05-06 Andreas Jaeger <aj@suse.de>
33630
33631 * Makeconfig (+math-flags): New, set to -frounding-math.
33632 (+cflags): Add +math-flags so that all of glibc gets compiled with
33633 it.
33634
33635 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33636
7b17aeda
JM
336372012-05-05 Joseph Myers <joseph@codesourcery.com>
33638
5779f134
JM
33639 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33640 Disable one test.
33641
41498f4d
JM
33642 [BZ #13787]
33643 [BZ #13922]
33644 [BZ #14036]
33645 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33646 (__ieee754_expl): Allow for and saturate large arguments.
33647 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33648 (u_threshold): Likewise.
33649 (__exp): Call __ieee754_exp before checking for overflow and
33650 underflow.
33651 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33652 (u_threshold): Likewise.
33653 (__expf): Call __ieee754_expf before checking for overflow and
33654 underflow.
33655 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33656 (u_threshold): Likewise.
33657 (__expl): Call __ieee754_expl before checking for overflow and
33658 underflow.
33659 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33660 (__ieee754_expl): Allow for and saturate large arguments.
33661 * math/libm-test.inc (exp_test): Add another test. Do not allow
33662 missing overflow exception on overflow.
33663 (expm1_test): Do not allow missing overflow exception on overflow.
33664
6698b8bf
JM
33665 * sysdeps/i386/fpu/e_expl.c: Move to ...
33666 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33667 rather than using inline asm.
33668 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33669 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33670 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33671
7b17aeda
JM
33672 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33673 (nice): Likewise.
33674 (poll): Likewise.
33675 (signal): Likewise.
33676 (time): Likewise.
33677 (times): Likewise.
33678
f7c85819
JM
336792012-05-04 Joseph Myers <joseph@codesourcery.com>
33680
33681 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33682 sysdeps/unix/common/syscalls.list.
33683 (fchmod): Likewise.
33684 (fchown): Likewise.
33685 (ftruncate): Likewise.
33686 (getrusage): Likewise.
33687 (gettimeofday): Likewise.
33688 (setpgid): Likewise.
33689 (setregid): Likewise.
33690 (setreuid): Likewise.
33691 (sigaction): Likewise.
33692 (truncate): Likewise.
33693 (vhangup): Likewise.
33694 * sysdeps/unix/common/syscalls.list: Remove file.
33695 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33696 * sysdeps/unix/sysv/linux/Implies: Likewise.
33697
336270d0
L
336982012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33699
33700 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33702 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33703 Moved to ...
33704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33705 Here.
33706 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33707 to ...
33708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33709 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33710 to ...
33711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33712 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33713 to ...
33714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33715 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33716 to ...
33717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33718 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33719 to ...
33720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33721 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33722 to ...
33723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33724 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33725 to ...
33726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33727 Here.
33728 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33729 to ...
33730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33731 Here.
33732 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33733 to ...
33734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33735 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33736 Moved to ...
33737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33738 Here.
33739 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33740 to ...
33741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33742
d128e450
JM
337432012-05-04 Joseph Myers <joseph@codesourcery.com>
33744
fa8ee516
JM
33745 * sysdeps/unix/common/bits/dirent.h: Remove file.
33746 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33747
d128e450
JM
33748 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33749 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33750 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33751 * sysdeps/unix/bsd/isatty.c: Likewise.
33752 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33753 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33754 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33755
ff8faaf0 337562012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 33757
62881be4 33758 [BZ #13563]
31dc8730
AZ
33759 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33760 long double comparison inaccuracies.
33761 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33763
6fef930c
AS
337642012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33765
33766 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33767 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33768
8f203e6c
JM
337692012-05-04 Joseph Myers <joseph@codesourcery.com>
33770
33771 [BZ #14049]
33772 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33773 nonzero digits before rounding a hex value.
33774 * stdlib/tst-strtod.c (tests): Add another test.
33775
5197d9c2
AK
337762012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33777
33778 * sysdeps/s390/fpu/libm-test-ulps: Update.
33779
f0c1dedf
AJ
337802012-05-03 Andreas Jaeger <aj@suse.de>
33781
33782 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33783 does not get optimized out.
33784 (malloc_opt_barrier): New.
33785
a65ef2ae 337862012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 33787 Roland McGrath <roland@hack.frob.com>
a65ef2ae 33788
2b942cb7 33789 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 33790 intermediate file deletion.
2b942cb7 33791 (generated): Add .symlist files.
a65ef2ae 33792
54b71e02
JM
337932012-05-03 Joseph Myers <joseph@codesourcery.com>
33794
33795 [BZ #13775]
33796 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33797 Redirect under this condition.
33798 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33799 [__USE_GNU] (__dprintf_chk): Not under this condition.
33800 [__USE_GNU] (__vdprintf_chk): Likewise.
33801 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33802 under this condition.
33803 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33804 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33805 [__USE_XOPEN2K8] (vdprintf): Likewise.
33806 [__USE_GNU] (__dprintf_chk): Not under this condition.
33807 [__USE_GNU] (__vdprintf_chk): Likewise.
33808 [__USE_GNU] (dprintf): Likewise.
33809 [__USE_GNU] (vdprintf): Likewise.
33810
d3dfcc41
RM
338112012-05-03 Roland McGrath <roland@hack.frob.com>
33812
33813 * elf/Makefile (common-generated): Set this instead of generated for
33814 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33815 $(all-built-dso)-derived lists.
33816
7ac30cc5
AJ
338172012-05-03 Andreas Jaeger <aj@suse.de>
33818
0c51e550
AJ
33819 * sysdeps/i386/fpu/libm-test-ulps: Update.
33820
7ac30cc5
AJ
33821 * FAQ: Removed.
33822 * FAQ.in: Likewise.
33823 * scripts/gen-FAQ.pl: Likewise.
33824 * manual/install.texi (Installation): Point to online location of
33825 FAQ.
33826 * Makefile (files-for-dist): Remove FAQ.
33827 (FAQ): Remove.
33828
d4c2917f
AM
338292012-05-02 Allan McRae <allan@archlinux.org>
33830
33831 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33832 (LDFLAGS-reldepmod5.so): Likewise.
33833 (LDFLAGS-reldep6mod1.so): Likewise.
33834 (LDFLAGS-reldep6mod4.so): Likewise.
33835 (LDFLAGS-reldep8mod3.so): Likewise.
33836 (LDFLAGS-unload4mod1.so): Likewise.
33837 (LDFLAGS-unload4mod2.so): Likewise.
33838 (LDFLAGS-tst-initorder): Likewise.
33839 (LDFLAGS-tst-initordera2.so): Likewise.
33840 (LDFLAGS-tst-initordera3.so): Likewise.
33841 (LDFLAGS-tst-initordera4.so): Likewise.
33842 (LDFLAGS-tst-initorderb2.so): Likewise.
33843 (LDFLAGS-noload): Likewise.
33844 (LDFLAGS-next): Likewise.
33845 (LDFLAGS-order2mod1.so): Likewise.
33846 (LDFLAGS-order2mod2.so): Likewise.
33847 (LDFLAGS-tst-initorder2): Likewise.
33848 (LDFLAGS-tst-initorder2a.so): Likewise.
33849 (LDFLAGS-tst-initorder2b.so): Likewise.
33850 (LDFLAGS-tst-initorder2c.so): Likewise.
33851 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33852
d77f993f
DM
338532012-05-02 David S. Miller <davem@davemloft.net>
33854
33855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33856
171a70b4
PP
338572012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33858
33859 [BZ #14055]
33860 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33861
0be196ad
AJ
338622012-05-02 Andreas Jaeger <aj@suse.de>
33863
33864 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33865 since we manipulate rounding mode.
33866 (CPPFLAGS-test-idouble.c): Likewise.
33867 (CPPFLAGS-test-ifloat.c): Likewise.
33868 (CFLAGS-test-ldouble.c): Likewise.
33869 (CFLAGS-test-double.c): Likewise.
33870 (CFLAGS-test-float.c): Likewise.
33871 (CFLAGS-test-misc.c): Likewise.
33872 (CFLAGS-test-test-fenv.c): Likewise.
33873
4f9d04aa
AZ
338742012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33875
2b942cb7
RM
33876 [BZ #2550]
33877 [BZ #2570]
33878 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33879 comparisons to determine direction to adjust input.
4f9d04aa 33880
82a79e7d
RM
338812012-05-01 Roland McGrath <roland@hack.frob.com>
33882
f5a01ca9
RM
33883 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33884 output to the target.
33885
90fe4186
RM
33886 * scripts/localplt.awk: New file.
33887 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33888 (check-localplt-CFLAGS): Variable removed.
33889 ($(all-built-dso:=.jmprel)): New static pattern rule.
33890 (generated): Add those targets.
33891 (localplt-built-dso): New variable.
33892 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33893
33894 * elf/check-localplt.c: File removed.
33895
82397ed6
RM
33896 * scripts/check-execstack.awk: New file.
33897 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33898 (check-execstack-CFLAGS): Variable removed.
33899 ($(objpfx)check-execstack.h): Target removed.
33900 ($(objpfx)execstack-default): New target.
33901 (generated): Add that instead of check-execstack.h.
33902 ($(all-built-dso:=.phdr)): New static pattern rule.
33903 (generated): Add those targets.
33904 * elf/check-execstack.c: File removed.
33905
82a79e7d
RM
33906 * scripts/check-textrel.awk: New file.
33907 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33908 (check-textrel-CFLAGS): Variable removed.
33909 (all-built-dso): Use := to define.o
33910 ($(all-built-dso:=.dyn)): New static pattern rule.
33911 (generated): Add those targets.
33912 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33913 * config.make.in (READELF): New substituted variable.
33914 * elf/check-textrel.c: File removed.
33915
62fde54f 339162012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 33917
615605c9
JM
33918 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33919 allow.
33920 * conform/data/ctype.h-data [C99-based standards] (isblank):
33921 Expect function.
33922 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33923 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33924 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33925 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33926 Specify type. Require positive value.
33927 (EILSEQ): Likewise.
33928 (ERANGE): Likewise.
33929 [ISO || POSIX] (EILSEQ): Do not expect.
33930 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33931 Specify type. Require positive value.
33932 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33933 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33934 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33935 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33936 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33937 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33938 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33939 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33940 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33941 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33942 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33943 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33944 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33945 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33946 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33947 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33948 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33949 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33950 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33951 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33952 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33953 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33954 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33955 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33956 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33957 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33958 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33959 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33960 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33961 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33962 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33963 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33964 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33965 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33966 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33967 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33968 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33969 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33970 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33971 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33972 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33973 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33974 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33975 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33976 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33977 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33978 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33979 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33980 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33981 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33982 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33983 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33984 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33985 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33986 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33987 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33988 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33989 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33990 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33991 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33992 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33993 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33994 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33995 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33996 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33997 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33998 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33999 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34000 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34001 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34002 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34003 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34004 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34005 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34006 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34007 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34008 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34009 Require >= 2.
34010 (FLT_ROUNDS): Expect as macro, not constant.
34011 (FLT_MANT_DIG): Use macro-int-constant.
34012 (DBL_MANT_DIG): Likewise.
34013 (LDBL_MANT_DIG): Likewise.
34014 (FLT_DIG): Likewise.
34015 (DBL_DIG): Likewise.
34016 (LDBL_DIG): Likewise.
34017 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34018 (DBL_MIN_EXP): Likewise.
34019 (LDBL_MIN_EXP): Likewise.
34020 (FLT_MAX_EXP): Use macro-int-constant.
34021 (DBL_MAX_EXP): Likewise.
34022 (LDBL_MAX_EXP): Likewise.
34023 (FLT_MAX_10_EXP): Likewise.
34024 (DBL_MAX_10_EXP): Likewise.
34025 (LDBL_MAX_10_EXP): Likewise.
34026 (FLT_MAX): Use macro-constant.
34027 (DBL_MAX): Likewise.
34028 (LDBL_MAX): Likewise.
34029 (FLT_EPSILON): Use macro-constant. Give upper bound.
34030 (DBL_EPSILON): Likewise.
34031 (LDBL_EPSILON): Likewise.
34032 (FLT_MIN): Likewise.
34033 (DBL_MIN): Likewise.
34034 (LDBL_MIN): Likewise.
34035 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34036 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34037 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34038 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34039 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34040 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34041 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34042 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34043 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34044 [ISO11] (FLT_TRUE_MIN): Likewise.
34045 [ISO11] (LDBL_TRUE_MIN): Likewise.
34046 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34047 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34048 (SCHAR_MIN): Use macro-int-constant. Specify type.
34049 (SCHAR_MAX): Likewise.
34050 (UCHAR_MAX): Likewise.
34051 (CHAR_MIN): Likewise.
34052 (CHAR_MAX): Likewise.
34053 (MB_LEN_MAX): Use macro-int-constant.
34054 (SHRT_MIN): Use macro-int-constant. Specify type.
34055 (SHRT_MAX): Likewise.
34056 (USHRT_MAX): Likewise.
34057 (INT_MAX): Likewise.
34058 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34059 bound negative.
34060 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34061 bound with "U".
34062 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34063 bound with "L".
34064 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34065 bound negative. Suffix upper bound with "L".
34066 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34067 bound with "UL".
34068 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34069 Specify type.
34070 [C99-based standards] (LLONG_MAX): Likewise.
34071 [C99-based standards] (ULLONG_MAX): Likewise.
34072 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34073 == 0.
34074 [ISO11] (max_align_t): Require type.
34075 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34076
c9140a62
JM
34077 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34078 from $CFLAGS, without defining away __attribute__ calls.
34079 (checknamespace): Use $CFLAGS_namespace.
34080
9af0bf29
JM
34081 * conform/conformtest.pl (@keywords): Only include C99 keywords
34082 for standards based on C99 or C11.
34083
343222a2
JM
34084 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34085 Disable tests.
34086 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34087 UNIX98]: Likewise.
34088
661f8cf0
JM
34089 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34090 usability of symbols in #if.
34091
ee74b9cb
JM
34092 * conform/conformtest.pl: If macro or constant types start
34093 "promoted:", expect the symbol to be of the following type
34094 promoted by the integer promotions.
62fde54f 34095
aafc49b3
JM
34096 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34097 in one place. Also handle "macro-constant".
34098
fefdf574
JM
34099 * conform/conformtest.pl: Only accept expected macro values with
34100 "==". Parse all "macro" lines in one place.
34101 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34102
f2d922fe
JM
34103 * conform/conformtest.pl: Handle braced types on "constant" lines
34104 instead of handling "typed-constant".
34105 * conform/data/signal.h-data: Use "constant" instead of
34106 "typed-constant".
34107
d22956c9
JM
34108 * conform/conformtest.pl: Handle "optional-" at start of lines in
34109 one place rather than duplicating several cases. Handle each
34110 format of "macro" line with initial "optional-".
34111
028e2e38
JM
34112 * conform/conformtest.pl: Only accept expected constant or
34113 optional-constant values with "==". Parse all "constant" lines in
34114 one place. Parse all "optional-constant" lines in one place.
34115 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34116 * conform/data/fmtmsg.h-data: Likewise.
34117 * conform/data/netinet/in.h-data: Likewise.
34118 * conform/data/tar.h-data: Likewise.
34119 * conform/data/limits.h-data: Use "==" form on "constant" and
34120 "optional-constant" lines.
34121
1b8f2850
JM
34122 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34123 Use -std=c99 for XOPEN2K.
34124 (@knownproblems): Remove.
34125 (newtoken): Don't check %isknown.
34126
a05a144b
JM
34127 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34128 Do not expect macro.
34129 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34130 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34131 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34132 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34133 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34134 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34135 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34136 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34137 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34138 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34139 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34140 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34141 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34142 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34143 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34144 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34145 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34146 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34147 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34148 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34149 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34150 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34151 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34152 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34153 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34154 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34155 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34156 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34157 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34158 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34159 [XPG3] (acosh): Likewise.
34160 [XPG3] (asinh): Likewise.
34161 [XPG3] (atanh): Likewise.
34162 [XPG3] (cbrt): Likewise.
34163 [XPG3] (expm1): Likewise.
34164 [XPG3] (ilogb): Likewise.
34165 [XPG3] (log1p): Likewise.
34166 [XPG3] (logb): Likewise.
34167 [XPG3] (nextafter): Likewise.
34168 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34169 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34170 [XPG3] (remainder): Likewise.
34171 [XPG3] (rint): Likewise.
34172 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34173 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34174 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34175 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34176 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34177 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34178 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34179 [UNIX98 || XOPEN2K] (scalb): Expect.
34180 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34181 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34182 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34183 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34184 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34185 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34186 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34187 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34188 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34189 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34190 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34191 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34192 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34193 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34194 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34195 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34196 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34197 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34198 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34199 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34200 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34201 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34202 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34203 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34204 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34205 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34206 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34207 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34208 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34209 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34210 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34211 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34212 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34213 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34214 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34215 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34216 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34217 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34218 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34219 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34220 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34221 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34222 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34223 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34224 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34225 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34226 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34227 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34228 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34229 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34230 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34231 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34232 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34233 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34234 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34235 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34236 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34237 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34238 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34239 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34240 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34241 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34242 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34243 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34244 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34245 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34246 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34247 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34248 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34249 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34250 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34251 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34252 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34253 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34254 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34255 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34256 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34257 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34258 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34259 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34260 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34261 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34262 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34263 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34264 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34265 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34266 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34267 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34268 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34269 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34270 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34271 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34272 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34273 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34274 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34275 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34276 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34277 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34278 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34279 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34280 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34281 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34282 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34283 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34284 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34285 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34286 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34287 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34288 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34289 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34290 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34291 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34292 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34293 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34294 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34295 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34296 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34297 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34298 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34299 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34300 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34301 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34302 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34303 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34304 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34305 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34306 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34307 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34308 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34309 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34310 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34311 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34312 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34313 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34314 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34315 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34316 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34317
73c5ebe3
JM
34318 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34319 _XOPEN_SOURCE_EXTENDED for XPG4.
34320
39c33b6c
JM
34321 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34322
62fde54f
JM
34323 * Makeconfig (localtime): Remove variable.
34324 (inst_localtime-file): Likewise.
34325
0741d64c
AS
343262012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34327
34328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34329 Update.
34330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34331 Update.
34332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34333 Update.
34334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34335 Update.
34336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34337 Update.
34338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34339 Update.
34340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34341 Update.
34342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34343 Update.
34344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34345 Update.
34346
7cb029ee
JM
343472012-05-01 Joseph Myers <joseph@codesourcery.com>
34348
34349 [BZ #2550]
34350 [BZ #2570]
34351 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34352 comparisons to determine direction to adjust input.
34353 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34354 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34355 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34356 Likewise.
34357 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34358 Likewise.
34359 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34360 Likewise.
34361 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34362 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34363 Likewise.
34364 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34365 Likewise.
34366 * math/libm-test.inc (nexttoward_test): Add more tests.
34367
412bd966
AS
343682012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34369
34370 [BZ #14040]
34371 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34372 in version GLIBC_2.1, not GLIBC_2.0.
34373 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34374 Likewise.
34375
9568c0c2
JM
343762012-04-30 Joseph Myers <joseph@codesourcery.com>
34377
adfbc8ac
JM
34378 [BZ #13942]
34379 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34380 (1 - x) * (1 + x).
34381 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34382 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34383 * math/libm-test.inc (acos_test): Add more tests.
34384 (asin_test): Likewise.
34385 * sysdeps/i386/fpu/libm-test-ulps: Update.
34386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34387
5ba3cc69
JM
34388 [BZ #14034]
34389 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34390 of square root.
34391 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34392 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34393 * math/libm-test.inc (acos_test_tonearest): New function.
34394 (acos_test_towardzero): Likewise.
34395 (acos_test_downward): Likewise.
34396 (acos_test_upward): Likewise.
34397 (asin_test_tonearest): Likewise.
34398 (asin_test_towardzero): Likewise.
34399 (asin_test_downward): Likewise.
34400 (asin_test_upward): Likewise.
34401 (main): Call the new functions.
34402 * sysdeps/i386/fpu/libm-test-ulps: Update.
34403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34404
9568c0c2
JM
34405 [BZ #13884]
34406 [BZ #13924]
34407 * math/e_exp10.c: Include <float.h>.
34408 (__ieee754_exp10): Handle underflow here rather than multiplying
34409 large negative argument by M_LN10.
34410 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34411 of __ieee754_expf.
34412 * math/e_exp10l.c: Include <float.h>.
34413 (__ieee754_exp10l): Handle underflow here rather than multiplying
34414 large negative argument by M_LN10l.
34415 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34416 spurious overflow exception on underflow.
34417
5ac3ea17
MP
344182012-04-29 Marek Polacek <polacek@redhat.com>
34419
34420 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34421 (__fortify_function): New macro.
34422 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34423 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34424 __extern_always_inline.
34425 * libio/bits/stdio2.h: Likewise.
34426 * libio/bits/stdio.h: Likewise.
34427 * string/string.h: Likewise.
34428 * string/bits/string3.h: Likewise.
34429 * include/stdio.h: Likewise.
34430 * stdlib/bits/stdlib.h: Likewise.
34431 * stdlib/stdlib.h: Likewise.
34432 * rt/bits/mqueue2.h: Likewise.
34433 * rt/mqueue.h: Likewise.
34434 * posix/bits/unistd.h: Likewise.
34435 * posix/unistd.h: Likewise.
34436 * io/bits/poll2.h: Likewise.
34437 * io/bits/fcntl2.h: Likewise.
34438 * io/fcntl.h: Likewise.
34439 * io/sys/poll.h: Likewise.
34440 * misc/bits/syslog.h: Likewise.
34441 * misc/bits/syslog-ldbl.h: Likewise.
34442 * misc/sys/syslog.h: Likewise.
34443 * socket/bits/socket2.h: Likewise.
34444 * socket/sys/socket.h: Likewise.
34445 * debug/tst-chk1.c: Likewise.
34446 * wcsmbs/bits/wchar2.h: Likewise.
34447 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34448 * wcsmbs/wchar.h: Likewise.
34449
ecf0ebfb
AJ
344502012-04-29 Andreas Jaeger <aj@suse.de>
34451
34452 * Makerules (tests): Remove enable-check-abi protection.
34453 (check-abi-warn): Remove.
34454 (check-abi-%): Remove check-abi-warn usage.
34455
34456 * configure.in: Remove check-abi configure option.
34457 * configure: Regenerated.
34458 * config.make.in (enable-check-abi): Remove.
34459
6d5c57fa
AS
344602012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34461
24c5d07e 34462 [BZ #14033]
ded5180a
AS
34463 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34464 double functions to double *_finite functions.
34465
7e0d315d
AS
34466 [BZ #13941]
34467 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34468 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34469 LDBL_MIN_EXP.
34470 * stdio-common/Makefile (tests): Add tst-sprintf3.
34471 * stdio-common/tst-sprintf3.c: New file.
34472
6d5c57fa
AS
34473 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34474 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34475
0749ff8b
JM
344762012-04-28 Joseph Myers <joseph@codesourcery.com>
34477
34478 * conform/conformtest.pl: Remove duplicate typed-constant
34479 handling.
34480
8dbd5d7b
DM
344812012-04-28 David S. Miller <davem@davemloft.net>
34482
34483 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34484 (check-abi-%): Remove AWK script prerequisite and explicit
34485 abilist directory.
34486 (check-abi): Rewrite to just diff the symlist with the abilist.
34487 (config-tls, config-abi-config): Delete, no longer used.
34488 (update-abi-%): Remove AWK script and explicit abilist directory.
34489 (update-abi): Rewrite to simply compare and conditionally copy the
34490 symlist and the sysdep abilist file. Remove update-abi-config
34491 checks.
34492 * abilist/ld.abilist: Remove.
34493 * abilist/libBrokenLocale.abilist: Remove.
34494 * abilist/libanl.abilist: Remove.
34495 * abilist/libcrypt.abilist: Remove.
34496 * abilist/libdl.abilist: Remove.
34497 * abilist/librt.abilist: Remove.
34498 * abilist/libthread_db.abilist: Remove.
34499 * abilist/libutil.abilist: Remove.
34500 * scripts/extract-abilist.awk: Remove.
34501 * scripts/merge-abilist.awk: Remove.
34502 * sysdeps/generic/libcidn.abilist: New file.
34503 * sysdeps/generic/libnss_compat.abilist: New file.
34504 * sysdeps/generic/libnss_db.abilist: New file.
34505 * sysdeps/generic/libnss_dns.abilist: New file.
34506 * sysdeps/generic/libnss_files.abilist: New file.
34507 * sysdeps/generic/libnss_hesiod.abilist: New file.
34508 * sysdeps/generic/libnss_nis.abilist: New file.
34509 * sysdeps/generic/libnss_nisplus.abilist: New file.
34510 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34511 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34512 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34513 file.
34514 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34515 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34516 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34517 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34518 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34519 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34520 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34521 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34522 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34523 file.
34524 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34525 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34526 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34527 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34528 file.
34529 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34530 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34531 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34532 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34533 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34534 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34535 file.
34536 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34537 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34538 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34539 file.
34540 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34542 New file.
34543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34544 New file.
34545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34546 New file.
34547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34548 New file.
34549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34550 New file.
34551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34552 New file.
34553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34554 New file.
34555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34556 New file.
34557 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34558 New file.
34559 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34560 New file.
34561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34562 New file.
34563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34564 New file.
34565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34566 New file.
34567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34568 file.
34569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34570 New file.
34571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34572 New file.
34573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34574 file.
34575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34576 New file.
34577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34578 New file.
34579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34580 file.
34581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34582 New file.
34583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34584 New file.
34585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34586 New file.
34587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34588 New file.
34589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34590 New file.
34591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34592 New file.
34593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34595 file.
34596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34597 New file.
34598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34599 file.
34600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34601 file.
34602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34603 file.
34604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34605 file.
34606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34607 file.
34608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34609 New file.
34610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34611 file.
34612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34613 file.
34614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34615 New file.
34616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34617 file.
34618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34620 file.
34621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34622 New file.
34623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34624 file.
34625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34626 file.
34627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34628 file.
34629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34630 file.
34631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34632 file.
34633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34634 New file.
34635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34636 file.
34637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34638 file.
34639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34640 New file.
34641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34642 file.
34643 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34644 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34645 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34646 file.
34647 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34648 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34649 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34650 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34651 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34652 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34653 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34654 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34655 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34656 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34659 file.
34660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34661 New file.
34662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34663 file.
34664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34665 file.
34666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34667 file.
34668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34669 file.
34670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34671 file.
34672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34673 New file.
34674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34675 New file.
34676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34677 file.
34678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34679 New file.
34680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34681 file.
34682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34684 file.
34685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34686 New file.
34687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34688 file.
34689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34690 file.
34691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34692 file.
34693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34694 file.
34695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34696 file.
34697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34698 New file.
34699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34700 New file.
34701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34702 file.
34703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34704 New file.
34705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34706 file.
34707
41d73a1b
JM
347082012-04-28 Joseph Myers <joseph@codesourcery.com>
34709
34710 * conform/conformtest.pl: Fix typo in handling typed-constant from
34711 allow-header.
34712
28aeeda4
JM
347132012-04-27 Joseph Myers <joseph@codesourcery.com>
34714
adae8f5e
JM
34715 * README: Cut down references to pre-2.6 Linux kernels and
34716 Linuxthreads. Update lists of configurations in libc and ports
34717 and sort alphabetically. Say "or newer" with Linux kernel version
34718 requirements.
34719
28aeeda4
JM
34720 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34721
a462cb63
RA
347222012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34723
34724 [BZ #887]
34725 * math/libm-test.inc (logb_test_downward): New test to expose
34726 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34727 rounding mode.
34728
6ad3493e
JM
347292012-04-27 Joseph Myers <joseph@codesourcery.com>
34730
34731 [BZ #14027]
34732 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34733 to be done.
34734 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34735 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34736
2ce4f015
JM
347372012-04-26 Joseph Myers <joseph@codesourcery.com>
34738
5aeb141a
JM
34739 * sysdeps/unix/i386/brk.S: Remove file.
34740 * sysdeps/unix/i386/dl-brk.S: Likewise.
34741 * sysdeps/unix/i386/pipe.S: Likewise.
34742 * sysdeps/unix/i386/sigreturn.S: Likewise.
34743 * sysdeps/unix/i386/syscall.S: Likewise.
34744 * sysdeps/unix/i386/vfork.S: Likewise.
34745 * sysdeps/unix/i386/wait.S: Likewise.
34746
7143acae
JM
34747 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34748 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34749
2ce4f015
JM
34750 * configure.in (arm*-none*): Do not allow without
34751 --enable-hacker-mode.
34752 (netbsd*): Remove case setting base_os.
34753 (386bsd*): Likewise.
34754 (freebsd*): Likewise.
34755 (bsdi*): Likewise.
34756 (osf*): Likewise.
34757 (sunos*): Likewise.
34758 (ultrix*): Likewise.
34759 (newsos*): Likewise.
34760 (dynix*): Likewise.
34761 (*bsd*): Likewise.
34762 (sysv*): Likewise.
34763 (isc*): Likewise.
34764 (esix*): Likewise.
34765 (sco*): Likewise.
34766 (minix*): Likewise.
34767 (irix4*): Likewise.
34768 (irix6*): Likewise.
34769 (solaris[2-9]*): Likewise.
34770 (none): Likewise.
34771 * configure: Regenerated.
34772
0ac229c8
AZ
347732012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34774
34775 [BZ #11521]
34776 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34777 overflow or cancellation in calculating denominator.
34778 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34779 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34780 down expression to avoid unexpected rounding in newer GCCs.
34781 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34782
33f244f4
DM
347832012-04-26 David S. Miller <davem@davemloft.net>
34784
34785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34786 long-double compat symbols.
34787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34800
cfa1f3e8
DM
348012012-04-25 David S. Miller <davem@davemloft.net>
34802
34803 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34804 HWCAP_* values only after the memory barriers have been defined.
34805 (atomic_full_barrier): Define.
34806 (atomic_read_barrier): Define.
34807 (atomic_write_barrier): Define.
34808
6e236b92
SP
348092012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34810
34811 * shlib-versions: Add libgcc_s version information.
34812 * sysdeps/generic/libgcc_s.h: Remove.
34813 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34814 libgcc_s.h.
34815 * sysdeps/gnu/unwind-resume.c: Likewise.
34816 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34817
aab39a09
DM
348182012-04-25 David S. Miller <davem@davemloft.net>
34819
34820 * sysdeps/unix/sparc/brk.S: Delete.
34821 * sysdeps/unix/sparc/dl-brk.S: Delete.
34822 * sysdeps/unix/sparc/pipe.S: Delete.
34823 * sysdeps/unix/sparc/sysdep.S: Delete.
34824 * sysdeps/unix/sparc/sysdep.h: Delete.
34825 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
34826 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34827 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34828 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34829 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
34830 (JUMPTARGET): Remove.
34831 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34832 sysdeps/unix/sparc/sysdep.h
34833 (ENTRY, END): Remove.
34834 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34835
a3cc4f48
JM
348362012-04-25 Joseph Myers <joseph@codesourcery.com>
34837
2ed8cda2
JM
34838 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34839 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34840 -DIS_IN_build.
34841
35d76d59
JM
34842 * timezone/README: Update upstream location and email address for
34843 tzcode and tzdata.
34844 * timezone/zdump.c: Update from tzcode 2012b.
34845 * timezone/zic.c: Likewise.
34846
a3cc4f48
JM
34847 * configure.in (libc_cv_as_needed): Remove test.
34848 * configure: Regenerated.
34849 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34850 conditional definition.
34851 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34852 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34853 * config.make.in (have-as-needed): Remove variable.
34854
ceab42c3
SP
348552012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34856 Paul Pluzhnikov <ppluzhnikov@google.com>
34857
34858 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34859 strings correctly.
34860
3ce2865f
CLT
348612012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34862
34863 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34864 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34865 * sysdeps/sh/strlen.S: Likewise.
34866
f37e0d68
JM
348672012-04-24 Joseph Myers <joseph@codesourcery.com>
34868
ae186e9a
JM
34869 * sysdeps/unix/fork.S: Remove file.
34870 * sysdeps/unix/i386/fork.S: Likewise.
34871 * sysdeps/unix/sparc/fork.S: Likewise.
34872
b96914af
JM
34873 * sysdeps/unix/system.c: Remove file.
34874 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34875
f37e0d68
JM
34876 * sysdeps/unix/getegid.S: Remove file.
34877 * sysdeps/unix/geteuid.S: Likewise.
34878
87ef29ca
RM
348792012-04-24 Roland McGrath <roland@hack.frob.com>
34880
83bcd236
RM
34881 * scripts/check-localplt.awk: New file.
34882 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34883 of diff.
34884 * scripts/data/localplt-generic.data: Add a comment.
34885
87ef29ca
RM
34886 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34887 NODE when __dir_mkfile failed.
34888 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34889 Reported by Ludovic Courtès <ludo@gnu.org>.
34890
e5a6e567
AJ
348912012-04-24 Andreas Jaeger <aj@suse.de>
34892
34893 * Makerules (common-clean): Also remove gen-as-const-headers
34894 files.
34895
c1820385
JM
348962012-04-24 Joseph Myers <joseph@codesourcery.com>
34897
34898 * Makerules (native-compile): Do not change working directory for
34899 build. Use $(OUTPUT_OPTION) in command.
34900 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34901
94e02fc4
AZ
349022012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34903
34904 [BZ #13886]
34905 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34906 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34907 * math/libm-test.inc (floor_test): Add more tests.
34908 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34909
3a533ca3
JM
349102012-04-24 Joseph Myers <joseph@codesourcery.com>
34911
940ab4b3
JM
34912 * sysdeps/unix/getdents.c: Remove file.
34913 * sysdeps/unix/sysv/getdents.c: Likewise.
34914 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34915
90e037bd
JM
34916 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34917 sysdeps/unix/mman/syscalls.list.
34918 (mmap): Likewise.
34919 (mprotect): Likewise.
34920 (msync): Likewise.
34921 (munmap): Likewise.
34922 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34923 * sysdeps/unix/mman/syscalls.list: Remove.
34924 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34925
3a533ca3
JM
34926 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34927 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34928 * configure: Regenerated.
34929 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34930 $(libgcc_s_suffix).
34931 * config.make.in (libgcc_s_suffix): Remove variable.
34932
1ad743de
JM
349332012-04-23 Joseph Myers <joseph@codesourcery.com>
34934
4ad451e2
JM
34935 * sysdeps/unix/sysv/gethostname.c: Move to ...
34936 * sysdeps/posix/gethostname.c: ... here.
34937
5e37ce39
JM
34938 * sysdeps/unix/execve.S: Remove file.
34939
1ad743de
JM
34940 * sysdeps/unix/_exit.S: Remove file.
34941
4e681b5b
AJ
349422012-04-23 Andreas Jaeger <aj@suse.de>
34943
34944 [BZ #13739]
34945 * manual/Makefile: Remove make dist support, there's no
34946 need for a stand-alone documentation tar ball.
34947 (TEXI2DVI): Define always, it's not in Makeconfig.
34948 (dist): Removed.
34949 (tar-it): Removed.
34950 (edition): Removed.
34951 (glibc-doc-$(edition).tar): Removed
34952 (%.Z): Removed.
34953 (%.gz): Removed.
34954 (%.uu): Removed.
34955 (ETAGS): Remove, it's in Makeconfig.
34956 (move-if-change): Remove, it's in Makeconfig.
34957
38686a03 349582012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
34959
34960 [BZ #13970]
34961 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34962 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34963 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34964 (strtod_l, strtof_l, strtold_l): Remove __wur.
34965 It is not necessarily an error to ignore strtol's return value.
34966 One can reliably look at the stored endptr to decide whether
34967 the number had valid syntax.
34968
7c0616fa
AJ
349692012-04-21 Andreas Jaeger <aj@suse.de>
34970
803cb6b7 34971 [BZ #13739]
7c0616fa
AJ
34972 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34973
b0fe253f
JM
349742012-04-21 Joseph Myers <joseph@codesourcery.com>
34975
34976 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34977 * sysdeps/unix/sysv/Versions: Remove file.
34978
8280f22d
MT
349792012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34980
34981 [BZ #13927]
34982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34983
75ce411f 349842012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
34985
34986 [BZ #7064]
34987 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34988 version from __vm86.
34989
097d59fa
JM
349902012-04-20 Joseph Myers <joseph@codesourcery.com>
34991
a90f3bcb
JM
34992 * sysdeps/unix/common/lxstat.c: Remove file.
34993 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34994
edc7ea78
JM
34995 * sysdeps/unix/sysv/Makefile: Remove file.
34996
cb78c221
JM
34997 * sysdeps/unix/sysv/direct.h: Remove file.
34998
efa6a45f
JM
34999 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35000 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35001 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35002 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35003 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35004 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35005 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35006
9c9f2d0c
JM
35007 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35008
4541c83b
JM
35009 * sysdeps/unix/xmknod.c: Remove file.
35010 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35011
f5d153a0
JM
35012 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35013
aa746595
JM
35014 * sysdeps/unix/sysv/i386/time.S: Remove file.
35015
cce5905e
JM
35016 * sysdeps/unix/fxstat.c: Remove file.
35017 * sysdeps/unix/xstat.c: Likewise.
35018 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35019
37fa3841
JM
35020 * sysdeps/unix/sysv/sigaction.c: Remove file.
35021
ff1962a3
JM
35022 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35023 (sysdep_headers): Remove variable.
35024 [termio.h not in sysdep_headers] (generated): Likewise.
35025 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35026 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35027 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35028 * sysdeps/unix/sysv/tcflow.c: Likewise.
35029 * sysdeps/unix/sysv/tcflush.c: Likewise.
35030 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35031 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35032 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35033 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35034 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35035
e7740d31
JM
35036 * sysdeps/unix/siglist.c: Remove file.
35037
ee06f18b
JM
35038 * sysdeps/unix/getppid.S: Remove file.
35039
097d59fa
JM
35040 * sysdeps/unix/mkdir.c: Remove file.
35041 * sysdeps/unix/rmdir.c: Likewise.
35042
ff3d51ec
AS
350432012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35044
35045 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35046 ERR_MAX value.
35047 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35048 errlist-compat value.
35049
50f81fd7
DM
350502012-04-18 David S. Miller <davem@davemloft.net>
35051
35052 * sysdeps/generic/memcopy.h (reg_char): Delete.
35053 * debug/strcat_chk.c: Use char, not reg_char.
35054 * debug/strcpy_chk.c: Likewise.
35055 * debug/strncat_chk.c: Likewise.
35056 * debug/strncpy_chk.c: Likewise.
35057 * string/memchr.c: Likewise.
35058 * string/memrchr.c: Likewise.
35059 * string/rawmemchr.c: Likewise.
35060 * string/strcat.c: Likewise.
35061 * string/strchr.c: Likewise.
35062 * string/strchrnul.c: Likewise.
35063 * string/strcmp.c: Likewise.
35064 * string/strcpy.c: Likewise.
35065 * string/strncat.c: Likewise.
35066 * string/strncmp.c: Likewise.
35067 * string/strncpy.c: Likewise.
35068
8ff41c46
WS
350692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35070
35071 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35072 __builtin_memcopy is called when src and dest ranges are known to not
35073 overlap.
35074
6b652f46
WS
350752012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35076
35077 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35078 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35079 fwd_align_merge macro call.
35080 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35081 bwd_align_merge macro call.
35082 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35083
b282631e
WS
350842012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35085
35086 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35087 bwd_align_merge macros.
35088 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35089 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35090 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35091
95aa737c
DM
350922012-04-18 David S. Miller <davem@davemloft.net>
35093
35094 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35095
7a99a614
AJ
350962012-04-18 Andreas Jaeger <aj@suse.de>
35097
35098 [BZ# 6794]
35099 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35100 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35101 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35102
35103 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35104 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35105 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35106
35107 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35108 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35109 Adjust for changed ldbl-128 files.
35110
35111 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35112 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35113 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35114
e5270c23
DM
351152012-04-17 David S. Miller <davem@davemloft.net>
35116
35117 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35118
fb5e92c9
AS
351192012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35120
35121 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35122 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35123 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35124 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35125 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35126 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35127
76da7265
AZ
351282012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35129
35130 [BZ #6794]
35131 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35132 * math/libm-test.inc: Add ilogb errno and exception tests.
35133 * math/w_ilogb.c: New file: ilogb wrapper.
35134 * math/w_ilogbf.c: New file: ilogbf wrapper.
35135 * math/w_ilogbl.c: New file: ilogbl wrapper.
35136 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35137 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35138 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35139 exception being thrown with 0.0 as argument.
35140 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35141 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35142 exception being thrown with 0.0 as argument.
35143 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35144 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35145 exception being thrown with 0.0 as argument.
35146 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35147 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35148 exception being thrown with 0.0 as argument.
35149 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35150 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 35151 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
35152 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35153 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35154 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35155 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35156 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35157 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35158
0396e69d
PB
351592012-04-17 Petr Baudis <pasky@ucw.cz>
35160
35161 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35162 with altivec.
35163
750b5926
MP
351642012-04-16 Marek Polacek <polacek@redhat.com>
35165
35166 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35167
751728a1
MP
351682012-04-16 Marek Polacek <polacek@redhat.com>
35169
35170 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35171 operands of fdivp instruction.
35172
34a27407
L
351732012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35174
35175 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35176 * elf/tst-auditmod3b.c: Likewise.
35177 * elf/tst-auditmod4b.c: Likewise.
35178 * elf/tst-auditmod5b.c: Likewise.
35179 * elf/tst-auditmod6b.c: Likewise.
35180 * elf/tst-auditmod6c.c: Likewise.
35181 * elf/tst-auditmod7b.c: Likewise.
35182 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35183 * sysdeps/x86_64/preconfigure.in: Likewise.
35184 * sysdeps/x86_64/preconfigure: Regenerated.
35185
7e73e17d
L
351862012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35187
35188 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35189 __ILP32__.
35190
c7a6ab72
AB
351912012-04-13 Antoine Balestrat <merkil33@gmail.com>
35192
35193 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35194 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35195
a9e8e0e0
CL
351962012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35197
35198 [BZ #13973]
35199 * locale/iso-639.def: Fix gl language name. Spotted by
35200 Yaron Shahrabani.
35201
ec98af7d
RM
352022012-04-12 Roland McGrath <roland@hack.frob.com>
35203
35204 [BZ #2074]
35205 * libio/libio.h (__io_write_fn): Update comment.
35206
247c3ede
PB
352072012-04-12 Petr Baudis <pasky@ucw.cz>
35208
35209 [BZ #2074]
35210 * stdio.texi (Hook Functions): The user provided writer function
35211 is not allowed to return -1.
35212
55939d6d
DM
352132012-04-11 David S. Miller <davem@davemloft.net>
35214
35215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35216
90020f5a
MF
352172012-04-11 Mike Frysinger <vapier@gentoo.org>
35218
35219 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35220 Add a leading slash to rtkaio.
35221
288f9098
JM
352222012-04-11 Jim Meyering <meyering@redhat.com>
35223
90020f5a
MF
35224 [BZ #11959]
35225 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35226 It is not necessarily an error to ignore fwrite's return
35227 value. One can reliably use ferror to test for errors after
35228 the fact.
288f9098 35229
4be2b570
L
352302012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35231
35232 * bits/types.h (__snseconds_t): New type.
35233 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35234
35235 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35236 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35237 (__SNSECONDS_T_TYPE): Likewise.
35238 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35239 (__SNSECONDS_T_TYPE): Likewise.
35240 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35241 (__SNSECONDS_T_TYPE): Likewise.
35242
288f9098 352432012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
35244
35245 [BZ #2636]
35246 * manual/time.texi (Processor Time): Return type of times is
35247 elapsed real time since an arbitrary point in the past.
35248 (CPU Time): Move CLK_TCK from here...
35249 (Processor Time): ...to here. Correct description.
35250 * manual/conf.texi (Constants for Sysconf): Correct description of
35251 _SC_CLK_TCK.
35252
d7dd4413
DM
352532012-04-10 David S. Miller <davem@davemloft.net>
35254
35255 [BZ #13967]
35256 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35257 where the is a gap between DT_REL(A) and DT_JMPREL.
35258
b46068fc
L
352592012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35260
35261 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35262 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35263 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35264
73d65cc3
SP
352652012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35266
35267 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35268 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35269 (dl_main): Handle --inhibit-cache.
35270 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35271 _dl_inhibit_cache.
35272 * elf/dl-load.c (_dl_map_object): Use it.
35273 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35274
bcc8d661
JM
352752012-04-09 Joseph Myers <joseph@codesourcery.com>
35276
8f9a2fae
JM
35277 [BZ #13872]
35278 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35279 (__ieee754_powl): Saturate large exponents rather than testing for
35280 overflow of y*log2(x).
35281 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35282 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35283 exceptions.
35284
bcc8d661
JM
35285 [BZ #11521]
35286 * math/s_ctan.c: Include <float.h>.
35287 (__ctan): Avoid internal overflow or cancellation in calculating
35288 denominator.
35289 * math/s_ctanf.c: Likewise.
35290 * math/s_ctanl.c: Likewise.
35291 * math/s_ctanh.c: Likewise.
35292 * math/s_ctanhf.c: Likewise.
35293 * math/s_ctanhl.c: Likewise.
35294 * math/libm-test.inc (ctan_test): Add more tests.
35295 (ctanh_test): Likewise.
35296 * sysdeps/i386/fpu/libm-test-ulps: Update.
35297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35298
823fbbb4
AJ
352992012-04-09 Andreas Jaeger <aj@suse.de>
35300
03879793
AJ
35301 [BZ #6894]
35302 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35303 is an optional BSD extension.
35304
823fbbb4
AJ
35305 [BZ #10254]
35306 * manual/stdio.texi (Opening Streams): Document additional fopen
35307 parameters.
35308
8de131cb
RM
353092012-04-09 Roland McGrath <roland@hack.frob.com>
35310
35311 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35312 %eax without telling the compiler.
35313
c0ed9d7d
CD
353142012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35315
35316 [BZ # 13963]
35317 * manual/install.texi: Use sourceware.org.
35318
c483f6b4
JM
353192012-04-09 Joseph Myers <joseph@codesourcery.com>
35320
d7dd9453
JM
35321 [BZ #13873]
35322 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35323 (__ieee754_pow): Generate overflow and underflow using huge*huge
35324 and tiny*tiny rather than just returning constant infinity or zero
35325 for large exponents.
35326 * math/libm-test.inc (pow_test): Require overflow exceptions for
35327 applicable cases of large exponents.
35328
c483f6b4
JM
35329 [BZ #706]
35330 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35331 (__ieee754_pow): Use iterative multiplication algorithm only for
35332 integer exponents with absolute value below 1024. Check for odd
35333 integer exponents when using algorithm for real exponents.
35334 * math/libm-test.inc (pow_test): Add more tests.
35335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35336
d2de7579
JM
353372012-04-08 Joseph Myers <joseph@codesourcery.com>
35338
35339 [BZ #13705]
35340 * math/libm-test.inc (exp_test): Do not allow overflow exception
35341 on underflow test.
35342
f77f1232
AJ
353432012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35344
35345 [BZ #13705]
35346 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35347 instead of __kernel_standard_f.
35348
3884932b
MF
353492012-04-08 Mike Frysinger <vapier@gentoo.org>
35350
35351 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35352 * sysdeps/x86_64/memset_chk.S: Likewise.
35353
54472e9c
AJ
353542012-04-08 Andreas Jaeger <aj@suse.de>
35355
6ab0fbfc
AJ
35356 [BZ #10153]
35357 * manual/startup.texi (Environment Access): Describe return value
35358 for putenv and setenv.
35359
61efba8c
AJ
35360 [BZ #6895]
35361 * manual/filesys.texi (Directory Entries): Add description for
35362 DT_LNK.
35363
95c3f29a
AJ
35364 [BZ #6890]
35365 * manual/filesys.texi (Directory Entries): Clarify that it's file
35366 system not operating system in the description of DT_UNKNOWN.
35367
54472e9c
AJ
35368 [BZ #6578]
35369 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35370
624254b1
SC
353712012-04-08 Stephen Compall <s11@member.fsf.org>
35372
35373 [BZ #6649]
35374 * manual/llio.texi (Opening and Closing Files): Add cross
35375 reference to explain mode argument.
35376
1e4920e0
MF
353772012-04-07 Mike Frysinger <vapier@gentoo.org>
35378
35379 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35380 * sysdeps/x86_64/memset_chk.S: Likewise.
35381
5ed848f3
DM
353822012-04-07 David S. Miller <davem@davemloft.net>
35383
35384 * elf/elf.h (R_SPARC_WDISP10): Define.
35385 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35386 R_SPARC_SIZE32.
35387 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35388 R_SPARC_SIZE64 and R_SPARC_H34.
35389
96154cd8
CD
353902012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35391
35392 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35393 conditions and remove no longer applicable assertion.
35394
9904dc47
L
353952012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35396
35397 * bits/byteswap.h: Include <features.h>.
35398 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35399 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35400
f8887d0a
L
354012012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35402
35403 * bits/byteswap.h (__bswap_16): Removed.
35404 Include <bits/byteswap-16.h> to get __bswap_16.
35405 * sysdeps/i386/bits/byteswap.h: Likewise.
35406 * sysdeps/s390/bits/byteswap.h: Likewise.
35407 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35408 * bits/byteswap-16.h: New file.
35409 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35410 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35411 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35412 * string/Makefile (headers): Add bits/byteswap-16.h.
35413
62470f60
PP
354142012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35415
35416 [BZ #13895]
35417 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35418 extra indirection.
35419 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35420 * nss/tst-nss-static.c: New.
35421
4dad7bab
RM
354222012-04-06 Robert Millan <rmh@gnu.org>
35423
35424 [BZ #6486]
35425 * manual/llio.texi (File Position Primitive): lseek
35426 refers to WHENCE when it really means OFFSET.
35427
e9142a17
AJ
354282012-04-06 Andreas Jaeger <aj@suse.de>
35429
2c040eff
AJ
35430 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35431 strncmp declarations.
35432
e9142a17
AJ
35433 * abilist/libc.abilist: Add __poll and __ppoll.
35434
ff9f1c5f
DM
354352012-04-05 David S. Miller <davem@davemloft.net>
35436
dcd2ae90
DM
35437 * scripts/check-local-headers.sh: Accept a host triplet in the
35438 path matched by the exclude regexp.
35439
993eb054
DM
35440 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35441 definition.
35442 * sysdeps/powerpc/powerpc32/dl-machine.h
35443 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35444 * sysdeps/s390/s390-32/dl-machine.h
35445 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35446 * sysdeps/sparc/sparc32/dl-machine.h
35447 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35448 * sysdeps/sparc/sparc64/dl-machine.h
35449 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35450
ff9f1c5f
DM
35451 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35452 lazy binding.
48e2e132 35453 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
35454 undefined symbol errors.
35455
48e2e132 35456 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
35457 DT_NEEDED entries.
35458
e80d6f94
MM
354592012-04-05 Michael Matz <matz@suse.de>
35460
35461 [BZ #13592]
35462 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35463
349fa79f
AJ
354642012-04-05 Andreas Jaeger <aj@suse.de>
35465
35466 [BZ #13908]
35467 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35468 comment.
35469
f402708f
KK
354702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35471
35472 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35473 which ROUND is no valid rounding mode.
35474
2ecccfc9
KK
354752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35476
35477 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35478 read again.
35479 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35480
8a53f50f
KK
354812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35482
35483 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35484 an exception using FPU order intentionally.
35485
354862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35487
35488 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35489 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35490 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35491 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35492
d653abb7
SJ
354932012-04-05 Simon Josefsson <simon@josefsson.org>
35494
35495 [BZ #12340]
35496 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35497 EINVAL when BUFLEN is too smal.
35498
c3b1bf7d
TS
354992012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35500
35501 [BZ #13553]
35502 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35503 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35504
b1aa60f3
AJ
355052012-04-03 Andreas Jaeger <aj@suse.de>
35506
c3b1bf7d 35507 [BZ #13938]
67f60a26
AJ
35508 * manual/setjmp.texi (System V contexts): Fix sentence.
35509
b1aa60f3
AJ
35510 [BZ #13926]
35511 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35512 New macro for this case.
35513 [!__GNUC__] (__bswap_64): New inline function for this case.
35514 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35515 * bits/byteswap.h: Likewise.
35516 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35517 ull, guard with __GLIBC_HAVE_LONG_LONG.
35518
35519 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35520 __GLIBC_HAVE_LONG_LONG.
35521
35522 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35523 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35524
39c59c35
TMQMF
355252012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35526
35527 [BZ #13691]
35528 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35529 inptr and inend, rather than using last_ch.
35530
135ffda8
DM
355312012-04-02 David S. Miller <davem@davemloft.net>
35532
35533 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35534 * stdio-common/printf-parse.h (read_int): Change return type to
35535 'int', return -1 on INT_MAX overflow.
35536 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35537 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35538 overflows INT_MAX. Check for overflow of in-format-string precision
35539 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35540 SIZE_MAX not INT_MAX for integer overflow test.
35541 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35542 skip the construct in the format string but do not record anything.
35543 * stdio-common/bug22.c: Adjust to test both width/prevision
35544 INT_MAX overflow as well as total length INT_MAX overflow. Check
35545 explicitly for proper errno values.
35546
228c019e
TS
355472012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35548
302cadd3
TS
35549 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35550 CHAR_MAX.
35551 * string/test-strcmp.c [! WIDE]: Likewise.
35552 * time/tst-mktime2.c: Likewise for INT_MAX.
35553 * string/test-string.h: #include <sys/param.h> for MIN.
35554
228c019e
TS
35555 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35556 * sysdeps/i386/init-first.c (init): Likewise.
35557 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35558 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35559 * sysdeps/sh/init-first.c (init): Likewise.
35560
cfa633f5
UD
355612012-04-01 Ulrich Drepper <drepper@gmail.com>
35562
35563 * po/ru.po: Update from translation team.
d1635ef8 35564 * po/vi.po: Likewise.
cfa633f5 35565
6cd0a5ea
SP
355662012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35567
35568 * resolv/nss_dns/dns-host.c: Merge copyright years.
35569
4b43400f
LD
355702012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35571
35572 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35573 Optimize memcpy with prefetch if
35574 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35575 src, dst pointers have unequal 16 byte alignments.
35576
48c41d04
SP
355772012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35578
35579 [BZ #13928]
35580 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35581 from a CNAME entry and return the minimum ttl for the query.
35582 (gaih_getanswer_slice): Likewise.
35583
b8dc394d
JL
355842012-03-30 Jeff Law <law@redhat.com>
35585
35586 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35587 due to long keys.
35588 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35589 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35590
2f5a5ed0
JL
35591 * resolv/nss_dns/dns-host.c: Update copyright year.
35592
1d39e359
UD
355932012-03-30 Ulrich Drepper <drepper@gmail.com>
35594
c030f70c 35595 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 35596 requests to save a system call. Fix check that all bytes are sent.
c030f70c 35597
1d39e359
UD
35598 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35599 comments for sendmmsg.
35600
356012012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
35602
35603 [BZ #13691]
35604 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35605 with only 1 character between 0x0041 and 0x01b0.
35606 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35607 * wcsmbs/tst-mbsnrtowcs.c: New file.
35608
20fde227
DM
356092012-03-29 David S. Miller <davem@davemloft.net>
35610
35611 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35612 small copies by hand.
35613
984a4237
JL
356142012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35615
35616 [BZ #13761]
57f41c40
AS
35617 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35618 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35619 group memberships.
984a4237 35620
18c9d62b
DM
356212012-03-28 David S. Miller <davem@davemloft.net>
35622
88d85d4f
DM
35623 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35624 that branches into memcpy.
35625 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35626 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35627 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35628 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35629 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35630 bits.
35631 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35632 implementation too.
35633 * sysdeps/sparc/mempcpy.S: New file.
35634
e5aa83e1
DM
35635 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35636 the IFUNC routine in the libc case.
35637 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35638
88570753
DM
35639 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35640 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35641 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35642 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35643 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35644 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35645 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35646 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35647
249d7567
DM
35648 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35649 loop to 256 bytes instead of 64 bytes and fix test signedness.
35650
18c9d62b
DM
35651 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35652 * sysdeps/sparc/sparc32/Makefile: rather than here...
35653 * sysdeps/sparc/sparc64/Makefile: and here.
35654
05f3d1f6
UD
356552012-03-28 Ulrich Drepper <drepper@gmail.com>
35656
35657 * malloc/mallocbug.c: Avoid warnings about unused variables.
35658
86ae07a8
JL
356592012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35660
35661 [BZ #13760]
35662 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35663 in the right place. Discard and retry query if response is
35664 larger than input buffer size.
35665
41bf21a1
JM
356662012-03-28 Joseph Myers <joseph@codesourcery.com>
35667
d6270972
JM
35668 [BZ #369]
35669 [BZ #2678]
35670 [BZ #3866]
35671 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35672 x for large integer exponent.
35673 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35674 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35675 sign of result as needed afterwards.
35676 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35677 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35678 result for underflowing pow the same as for overflow.
35679 (__kernel_standard_l): Handle powl overflow and underflow here
35680 rather than calling __kernel_standard.
35681 * math/libm-test.inc (pow_test): Add more tests.
35682
414fca03 35683 [BZ #3868]
41bf21a1
JM
35684 [BZ #13879]
35685 [BZ #13910]
35686 [BZ #13911]
35687 [BZ #13912]
35688 [BZ #13913]
35689 [BZ #13915]
35690 [BZ #13916]
35691 [BZ #13917]
35692 [BZ #13918]
35693 [BZ #13919]
35694 [BZ #13920]
35695 [BZ #13921]
35696 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35697 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35698 (__kernel_standard_l): New function.
35699 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35700 __kernel_standard.
35701 * math/w_acosl.c (__acosl): Likewise.
35702 * math/w_asinl.c (__asinl): Likewise.
35703 * math/w_atan2l.c (__atan2l): Likewise.
35704 * math/w_atanhl.c (__atanhl): Likewise.
35705 * math/w_coshl.c (__coshl): Likewise.
35706 * math/w_exp10l.c (__exp10l): Likewise.
35707 * math/w_exp2l.c (__exp2l): Likewise.
35708 * math/w_fmodl.c (__fmodl): Likewise.
35709 * math/w_hypotl.c (__hypotl): Likewise.
35710 * math/w_j0l.c (__j0l, __y0l): Likewise.
35711 * math/w_j1l.c (__j1l, __y1l): Likewise.
35712 * math/w_jnl.c (__jnl, __ynl): Likewise.
35713 * math/w_lgammal.c (__lgammal): Likewise.
35714 * math/w_log10l.c (__log10l): Likewise.
35715 * math/w_log2l.c (__log2l): Likewise.
35716 * math/w_logl.c (__logl): Likewise.
35717 * math/w_powl.c (__powl): Likewise.
35718 * math/w_remainderl.c (__remainderl): Likewise.
35719 * math/w_scalbl.c (sysv_scalbl): Likewise.
35720 * math/w_sinhl.c (__sinhl): Likewise.
35721 * math/w_sqrtl.c (__sqrtl): Likewise.
35722 * math/w_tgammal.c (__tgammal): Likewise.
35723 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35724 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35725 * math/libm-test.inc (acos_test): Add more tests.
35726 (acosh_test): Likewise.
35727 (asin_test): Likewise.
35728 (atanh_test): Likewise.
35729 (exp_test): Likewise.
35730 (exp10_test): Likewise.
35731 (exp2_test): Likewise.
35732 (expm1_test): Likewise.
35733 (lgamma_test): Likewise.
35734 (log_test): Likewise.
35735 (log10_test): Likewise.
35736 (log1p_test): Likewise.
35737 (log2_test): Likewise.
35738 (pow_test): Do not allow some spurious overflow exceptions.
35739 (sqrt_test): Add more tests.
35740 (tgamma_test): Likewise.
35741 (y0_test): Likewise.
35742 (y1_test): Likewise.
35743 (yn_test): Likewise.
35744
dd62fda6
AB
357452012-03-27 Anton Blanchard <anton@samba.org>
35746
35747 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35748 MAP_HUGETLB.
35749 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35750 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35751 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35752
1e3cdfda
AJ
357532012-03-27 David S. Miller <davem@davemloft.net>
35754
b855ab85
DM
35755 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35756
1e3cdfda
AJ
35757 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35758 have-as-vis3 check.
35759
357602012-03-27 Andreas Jaeger <aj@suse.de>
35761
35762 * sysdeps/x86_64/elf/configure.in: Moved to ...
35763 * sysdeps/x86_64/configure.in: ... here.
35764 * sysdeps/x86_64/elf/start.S: Moved to ...
35765 * sysdeps/x86_64/start.S: ... here.
35766 * sysdeps/x86_64/elf/configure: Delete.
35767
35768 * sysdeps/x86_64/configure.in: Merge contents from
35769 sysdeps/i386/configure.in (without i686 check).
35770
35771 * sysdeps/i386/elf/Versions: Merge into ...
35772 * sysdeps/i386/Versions: ... this.
35773 * sysdeps/i386/elf/Versions: Delete file.
35774 * sysdeps/i386/elf/start.S: Moved to ...
35775 * sysdeps/i386/start.S: ...here.
35776 * sysdeps/i386/elf/configure.in: Merge into...
35777 * sysdeps/i386/configure.in: ...here.
35778 * sysdeps/i386/elf/configure.in: Delete file.
35779 * sysdeps/i386/elf/configure: Delete file.
35780
35781 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35782 * debug/backtracesyms.c: ... here.
35783 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35784 * debug/backtracesymsfd.c: ... here.
35785 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35786 * sysdeps/generic/ifunc-sel.h: ... here.
35787
35788 * sysdeps/unix/i386/start.c: Delete file.
35789 * sysdeps/unix/sparc/start.c: Delete file.
35790 * sysdeps/unix/start.c: Delete file.
35791
35792 * sysdeps/sh/elf/configure.in: Moved to ...
35793 * sysdeps/sh/configure.in: ... here.
35794 * sysdeps/sh/elf/start.S: Moved to ...
35795 * sysdeps/sh/start.S: ... here.
35796 * sysdeps/sh/elf/configure: Delete file.
35797
35798 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35799 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35800 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35801 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35802 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35803 * sysdeps/powerpc/powerpc64/start.S: here.
35804 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35805 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35806 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35807 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35808 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35809
35810 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35811 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35812 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35813 * sysdeps/powerpc/powerpc32/start.S: ... here.
35814 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35815 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35816 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35817
35818 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35819 * sysdeps/powerpc/ifunc-sel.h: ... here.
35820 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35821 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35822
35823 * sysdeps/sparc/elf/configure.in: Moved to ...
35824 * sysdeps/sparc/configure.in: ... here.
35825 * sysdeps/sparc/elf/configure: Delete file.
35826 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35827 * sysdeps/sparc/sparc32/start.S: ... here.
35828 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35829 * sysdeps/sparc/sparc64/start.S: ... here.
35830 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35831 * sysdeps/sparc/sparc32/Makefile: ... this.
35832 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35833 * sysdeps/sparc/sparc64/Makefile: ... this.
35834
35835 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35836 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35837 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35838 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35839 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35840 * sysdeps/s390/s390-32/setjmp.S: ... here.
35841 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35842 * sysdeps/s390/s390-32/configure.in: ... here.
35843 * sysdeps/s390/s390-32/elf/configure: Delete file.
35844 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35845 * sysdeps/s390/s390-32/start.S: ... here.
35846
35847 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35848 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35849 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35850 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35851 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35852 * sysdeps/s390/s390-64/setjmp.S: ... here.
35853 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35854 * sysdeps/s390/s390-64/configure.in: ... here
35855 * sysdeps/s390/s390-64/elf/configure: Delete file.
35856 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35857 * sysdeps/s390/s390-64/start.S: ... here.
35858 * sysdeps/s390/s390-64/elf/configure: Delete.
35859
35860 * configure.in: Remove support for elf directories in sysdeps.
35861
35862 * configure: Regenerated.
35863 * sysdeps/i386/configure: Regenerated.
35864 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35865 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35866 * sysdeps/s390/s390-32/configure: Regenerated.
35867 * sysdeps/s390/s390-64/configure: Regenerated.
35868 * sysdeps/sh/configure: Regenerated.
35869 * sysdeps/sparc/configure: Regenerated.
35870 * sysdeps/x86_64/configure: Regenerated.
35871
a3f61311
AS
358722012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35873
c876e002
AS
35874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35875
a3f61311
AS
35876 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35877 denormal result into account.
35878
ac4c54f0
RM
358792012-03-25 Roland McGrath <roland@hack.frob.com>
35880
35881 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35882 Reported by Allan McRae <allan@archlinux.org>.
35883
6a9b9c02
JL
358842012-03-23 Jeff Law <law@redhat.com>
35885
35886 * nss/getnssent.c (__nss_getent): Fix typo.
35887
4c42a0c1
DM
358882012-03-23 David S. Miller <davem@davemloft.net>
35889
35890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35891
1532c7ac
L
358922012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35893
35894 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35895 to pad to uint64_t for each field.
35896 (dl_tls_index): Replace unsigned long with uint64_t.
35897
3ff42526
PP
358982012-03-23 Daniel Jacobowitz <dmj@google.com>
35899 Paul Pluzhnikov <ppluzhnikov@google.com>
35900
35901 [BZ #6528]
35902 * grp/Makefile (otherlibs): Don't set it.
35903 * inet/Makefile (otherlibs): Likewise.
35904 * login/Makefile (otherlibs): Likewise.
35905 * nscd/Makefile (otherlibs): Likewise.
35906 * posix/Makefile (otherlibs): Likewise.
35907 * pwd/Makefile (otherlibs): Likewise.
35908 * rt/Makefile (otherlibs): Likewise.
35909 * sunrpc/Makefile (otherlibs): Likewise.
35910 * nss/Makefile (otherlibs): Likewise.
35911 Add libnss_files to routines and static-only-routines.
35912 ($(objpfx)getent): Remove rule.
35913 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35914 static-only-routines.
35915
7c69cd14
JM
359162012-03-22 Joseph Myers <joseph@codesourcery.com>
35917
35918 [BZ #13892]
35919 * math/s_cexp.c: Include <float.h>.
35920 (__cexp): Handle exp result overflowing not necessarily
35921 overflowing both real and imaginary parts of result.
35922 * math/s_cexpf.c: Likewise.
35923 * math/s_cexpl.c: Likewise.
35924 * math/libm-test.inc (cexp_test): Add more tests.
35925 * sysdeps/i386/fpu/libm-test-ulps: Update.
35926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35927
81b035fe
L
359282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35929
35930 * include/link.h (ELFW): New macro.
35931 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35932 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35933
1da7940c
L
359342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35935
35936 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35937 with uint64_t.
35938
b749dbb9
L
359392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35940
35941 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35942 declaration.
35943 (struct La_x32_retval): Likewise.
35944
2ff87f3f
L
359452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35946
35947 * sysdeps/x86_64/preconfigure.in: New file.
35948 * sysdeps/x86_64/preconfigure: New generated file.
35949
c0df8e69
JM
359502012-03-22 Joseph Myers <joseph@codesourcery.com>
35951
48e44791
JM
35952 [BZ #13824]
35953 * math/e_exp2l.c: Include <float.h>.
35954 (__ieee754_exp2l): Handle overflow and underflow cases
35955 separately. Only pass fractional part of argument to
35956 __ieee754_expl.
35957 * math/libm-test.inc (exp2_test): Add more tests.
35958
c0df8e69
JM
35959 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35960 negating x to take absolute value.
35961 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35962 Likewise.
35963 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35964 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35965 Likewise.
35966 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35967 computing low part if x was negated.
35968 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35969
c8e43ba7
L
359702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35971
35972 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35973 la_x32_gnu_pltexit.
35974 (pltexit): Cast int_retval to ptrdiff_t.
35975 * elf/tst-auditmod3b.c: Likewise.
35976 * elf/tst-auditmod4b.c: Likewise.
35977 * elf/tst-auditmod5b.c: Likewise.
35978 * elf/tst-auditmod6b.c: Likewise.
35979 * elf/tst-auditmod6c.c: Likewise.
35980 * elf/tst-auditmod7b.c: Likewise.
35981
35982 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35983 and x32_gnu_pltexit.
35984
35985 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35986 __ELF_NATIVE_CLASS.
35987 (La_x32_regs): New macro.
35988 (La_x32_retval): Likewise.
35989 (la_x32_gnu_pltenter): New function prototype.
35990 (la_x32_gnu_pltexit): Likewise.
35991
7998fa78
AS
359922012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35993
dcb33988
AS
35994 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35995 exponent.
35996
233fc563
AS
35997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35998
7998fa78
AS
35999 * configure.in (libc_cv_cc_nofma): Check for option to disable
36000 generation of FMA instructions.
36001 * configure: Regenerate.
36002 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36003 * sysdeps/ieee754/dbl-64/Makefile: New file.
36004 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36005 Remove brandred-fma4.
36006 (CFLAGS-brandred-fma4.c): Remove.
36007 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36008 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36009 define.
36010 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36011 define.
36012
8e95c99a
L
360132012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36014
36015 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36016 LLONG_MAX != LONG_MAX.
36017 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36018 (_fitoa_word): Likewise.
36019 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36020 LLONG_MAX != LONG_MAX.
36021 * stdio-common/_itowa.h: Include <_itoa.h>.
36022 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36023 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36024 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36025 only if not defined.
36026 (_ITOA_WORD_TYPE): Likewise.
36027 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36028 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36029
6f4db457
DM
360302012-03-21 David S. Miller <davem@davemloft.net>
36031
36032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36033
7785fe5a
L
360342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36035
36036 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36037 of x86_64 when setting libc_cv_slibdir, libdir and
36038 libc_cv_localedir.
36039 * sysdeps/unix/sysv/linux/configure: Regenerated.
36040
4535cd55
JM
360412012-03-21 Joseph Myers <joseph@codesourcery.com>
36042
36043 * manual/lang.texi (Old Varargs): Remove section.
36044 (How Variadic): Update menu.
36045 (va_start): Do not mention varargs.h.
36046
17228132
TS
360472012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36048 Joseph Myers <joseph@codesourcery.com>
36049
36050 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36051 link test.
36052 * configure: Regenerated.
36053
8149f976
TS
360542012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36055
05f3d1f6
UD
36056 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36057 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36058 conformtest.pl
8149f976 36059
1a4ac776
JM
360602012-03-21 Joseph Myers <joseph@codesourcery.com>
36061
be22ce65
JM
36062 * NOTES: Remove.
36063 * Makefile (files-for-dist): Remove NOTES.
36064 (NOTES): Remove rule.
36065 * README: Don't refer to NOTES.
36066 * manual/creature.texi: Don't include macros.texi.
36067 * manual/intro.texi (creature.texi): Remove comment referring to
36068 NOTES.
36069
40b601fb
JM
36070 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36071 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36072 * configure: Regenerated.
36073 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36074 LIBC_TRY_CC_OPTION.
36075 (libc_cv_as_i686): Likewise.
36076 (libc_cv_cc_avx): Likewise.
36077 (libc_cv_cc_sse2avx): Likewise.
36078 (libc_cv_cc_fma4): Likewise.
36079 (libc_cv_cc_novzeroupper): Likewise.
36080 * sysdeps/i386/configure: Regenerated.
36081
1a4ac776
JM
36082 [BZ #13883]
36083 * sysdeps/i386/fpu/s_cexp.S: Remove.
36084 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36085 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36086 * math/libm-test.inc (cexp_test): Add more tests.
36087 * sysdeps/i386/fpu/libm-test-ulps: Update.
36088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36089
a458e7fe
AM
360902012-03-21 Allan McRae <allan@archlinux.org>
36091
36092 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36093
0cb7efc5
JM
360942012-03-21 Joseph Myers <joseph@codesourcery.com>
36095
36096 [BZ #13871]
36097 * math/w_exp2.c: Do not include <float.h>.
36098 (o_threshold, u_threshold): Remove.
36099 (__exp2): Calculate result before checking finiteness and calling
36100 __kernel_standard.
36101 * math/w_exp2f.c: Likewise.
36102 * math/w_exp2l.c: Likewise.
36103 * math/libm-test.inc (exp2_test): Require overflow exception for
36104 1e6 input.
2460d3aa
JM
36105
36106 [BZ #3866]
36107 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36108 range of signed 64-bit integers before using fistpll. Remove
36109 checks for whether integers fit in mantissa bits.
36110 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36111 the range of signed 32-bit integers before using fistpl. Remove
36112 checks for whether integers fit in mantissa bits.
36113 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36114 (__ieee754_powl): Test for y outside the range of signed 64-bit
36115 integers before using fistpll. Reduce 64-bit values to 63-bit
36116 ones as needed.
36117 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36118 divide-by-zero is raised for zero to large negative powers.
36119 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36120 (__ieee754_powl): Test for y outside the range of signed 64-bit
36121 integers before using fistpll. Reduce 64-bit values to 63-bit
36122 ones as needed.
36123 * math/libm-test.inc (pow_test): Add more tests.
36124
eb96ffb0
L
361252012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36126
36127 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36128 <stdio-common/_itoa.h>.
36129 * debug/segfault.c: Likewise.
36130 * elf/dl-cache.c: Likewise.
36131 * elf/dl-minimal.c: Likewise.
36132 * elf/dl-misc.c: Likewise.
36133 * elf/dl-sysdep.c: Likewise.
36134 * elf/dl-version.c: Likewise.
36135 * elf/rtld.c: Likewise.
36136 * hurd/hurdsock.c: Likewise.
36137 * hurd/lookup-retry.c: Likewise.
36138 * malloc/malloc.c: Likewise.
36139 * malloc/mtrace.c: Likewise.
36140 * nscd/nscd_getgr_r.c: Likewise.
36141 * nscd/nscd_getpw_r.c: Likewise.
36142 * nscd/nscd_getserv_r.c: Likewise.
36143 * posix/getopt_init.c: Likewise.
36144 * posix/wordexp.c: Likewise.
36145 * stdio-common/_itoa.c: Likewise.
36146 * stdio-common/printf_fphex.c: Likewise.
36147 * stdio-common/vfprintf.c: Likewise.
36148 * string/_strerror.c: Likewise.
36149 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36150 * sysdeps/i386/i686/hp-timing.h: Likewise.
36151 * sysdeps/mach/_strerror.c: Likewise.
36152 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36153 * sysdeps/mach/hurd/sethostid.c: Likewise.
36154 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36155 * sysdeps/mach/xpg-strerror.c: Likewise.
36156 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36157 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36158 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36159 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36160 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36161 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36162 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36163 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36164 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36165 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36166 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36167 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36168 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36169 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36170 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36171 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36172 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36173 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36174 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36175 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36176 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36177
36178 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36179
36180 * stdio-common/_itoa.h: Moved to ...
36181 * sysdeps/generic/_itoa.h: Here.
36182
36183 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36184
36185 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36186 instead of "_itoa.h" and "_itowa.h".
36187 * stdio-common/vfprintf.: Likewise.
36188
d1af992d
L
361892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36190
36191 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36192 <bits/wordsize.h>.
36193 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36194 (__signbit): Likwise.
36195 (llrintf): Likwise.
36196 (llrint): Likwise.
36197
114883e0
L
361982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36199
36200 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36201 __WORDSIZE != 64.
36202
c135cc1b
JM
362032012-03-20 Joseph Myers <joseph@codesourcery.com>
36204
36205 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36206 OVERFLOW_EXCEPTION_OK.
36207 * math/libm-test.inc ("Philosophy"): Update comment about
36208 exception testing.
36209 (OVERFLOW_EXCEPTION): Define.
36210 (OVERFLOW_EXCEPTION_OK): Likewise.
36211 (INVALID_EXCEPTION_OK): Renumber.
36212 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36213 (IGNORE_ZERO_INF_SIGN): Likewise.
36214 (test_exceptions): Handle FE_OVERFLOW.
36215 (exp10_test): Expect overflow exceptions.
36216 (exp2_test): Likewise.
36217 (expm1_test): Likewise.
36218 (nextafter_test): Likewise.
36219 (pow_test): Likewise.
36220 (scalbn_test): Likewise.
36221 (scalbln_test): Likewise.
36222
95443d88
L
362232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36224
36225 * sysdeps/x86_64/bits/atomic.h
36226 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36227 64bit integer.
36228 (atomic_exchange_acq): Likewise.
36229 (__arch_exchange_and_add_body): Likewise.
36230 (__arch_add_body): Likewise.
36231 (atomic_add_negative): Likewise.
36232 (atomic_add_zero): Likewise.
36233
490df6c4
L
362342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36235
c2722551 36236 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
36237 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36238
5e52b189
L
362392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36240
36241 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36242 Check __x86_64__ instead of __WORDSIZE.
36243
a9879d4c
L
362442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36245
36246 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36247
5df98260
DM
362482012-03-19 David S. Miller <davem@davemloft.net>
36249
e1497744
DM
36250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36251
5df98260
DM
36252 * sysdeps/sparc/fpu/fenv_private.h: New file.
36253 * sysdeps/sparc/fpu/math_private.h: Use it.
36254 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36255 Remove.
57f41c40 36256 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
36257 (libc_feholdexcept_setroundl): Remove.
36258 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36259 Remove.
36260 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36261 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36262
b4c35121
L
362632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36264
36265 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36266 int64_t instead of long int.
36267 (INSERT_WORDS64): Likwise.
36268
56965fd7
L
362692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36270
36271 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36272 _Unwind_GetCFA return to _Unwind_Ptr first.
36273
83d1aec8
JM
362742012-03-19 Joseph Myers <joseph@codesourcery.com>
36275
1897ad44
JM
36276 [BZ #13629]
36277 * math/s_clog.c: Include <float.h>.
36278 (__clog): Scale large or subnormal inputs.
36279 * math/s_clogf.c: Likewise.
36280 * math/s_clogl.c: Likewise.
36281 * math/s_clog10.c: Include <float.h>.
36282 (M_LOG10_2): Define.
36283 (__clog10): Scale large or subnormal inputs.
36284 * math/s_clog10f.c: Likewise.
36285 * math/s_clog10l.c: Likewise.
36286 * math/libm-test.inc (clog_test): Add more tests.
36287 (clog10_test): Likewise.
36288 * sysdeps/i386/fpu/libm-test-ulps: Update.
36289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36290
7726d6a9
JM
36291 [BZ #11451]
36292 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36293 x and y.
36294 * math/libm-test.inc (atan2_test): Add another test.
36295
83d1aec8
JM
36296 * Makerules (common-objdir-compile): Remove.
36297 * sysdeps/unix/Makefile (config-generated): Do not add
36298 $(unix-generated) to variable.
36299 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36300 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36301 Remove rule.
36302 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36303 Likewise.
36304 [generic bits/local_lim.h] (before-compile): Do not append to
36305 variable.
36306 [generic bits/local_lim.h] (common-generated): Likewise.
36307 [generic sys/param.h] (before-compile): Do not append to variable.
36308 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36309 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36310 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36311 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36312 include.
36313 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36314 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36315 [generic sys/param.h] ($(addprefix
36316 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36317 [generic sys/param.h] (common-generated): Do not append to
36318 variable.
36319 [generic sys/param.h] (sysdep_headers): Likewise.
36320 [generic bits/errno.h] (before-compile): Do not append to
36321 variable.
36322 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36323 rule.
36324 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36325 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36326 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36327 [generic bits/errno.h] (common-generated): Do not append to
36328 variable.
36329 [generic bits/ioctls.h] (before-compile): Do not append to
36330 variable.
36331 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36332 rule.
36333 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36334 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36335 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36336 rule.
36337 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36338 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36339 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36340 [generic bits/ioctls.h] (common-generated): Do not append to
36341 variable.
36342 [generic sys/syscall.h] (syscall.h): Remove variable.
36343 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36344 rule.
36345 [generic sys/syscall.h] (before-compile): Do not append to
36346 variable.
36347 [generic sys/syscall.h] (common-generated): Likewise.
36348 * sysdeps/unix/errnos-tmpl.c: Remove file.
36349 * sysdeps/unix/errnos.awk: Likewise.
36350 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36351 * sysdeps/unix/ioctls.awk: Likewise.
36352 * sysdeps/unix/mk-local_lim.c: Likewise.
36353 * sysdeps/unix/snarf-ioctls: Likewise.
36354
4851a949
RH
363552012-03-19 Richard Henderson <rth@twiddle.net>
36356
bd37f2ee
RH
36357 * sysdeps/i386/fpu/fenv_private.h: New file.
36358 * sysdeps/i386/fpu/math_private.h: Use it.
36359 (math_opt_barrier, math_force_eval): Remove.
36360 (libc_feholdexcept_setround_53bit): Remove.
36361 (libc_feupdateenv_53bit): Remove.
36362 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36363 (math_opt_barrier, math_force_eval): Remove.
36364 (libc_feholdexcept): Remove.
36365 (libc_feholdexcept_setround): Remove.
36366 (libc_fetestexcept, libc_fesetenv): Remove.
36367 (libc_feupdateenv_test): Remove.
36368 (libc_feupdateenv, libc_feholdsetround): Remove.
36369 (libc_feresetround): Remove.
36370
d0adc922
RH
36371 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36372 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36373
0fe0f1f8
RH
36374 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36375 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36376 (libc_feupdateenv_testl): New.
36377 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36378 (libc_feupdateenv_testf): New.
36379 (libc_feupdateenv): Use libc_feupdateenv_test.
36380 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36381 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36382
eb92c487
RH
36383 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36384 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36385 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36386 (libc_feresetround_noex): New.
36387 (libc_feresetround_noexf): New.
36388 (libc_feresetround_noexl): New.
36389 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36390 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36391 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36392 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36393 SET_RESTORE_ROUND.
36394 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36395 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36396 (__cos): Likewise.
36397 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36398 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36399 SET_RESTORE_ROUND_NOEX.
36400 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36401 SET_RESTORE_ROUND_NOEXF.
36402 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36403 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36404 (libc_feholdsetroundf): New.
36405 (libc_feresetround, libc_feresetroundf): New.
36406
7d2e8012
RH
36407 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36408 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36409 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36410
b4dabbb4
RH
36411 * sysdeps/generic/math_private.h: Include <fenv.h>.
36412 (default_libc_feholdexcept): New.
36413 (default_libc_feholdexcept_setround): New.
36414 (default_libc_fesetenv, default_libc_feupdateenv): New.
36415 (libc_feholdexcept): Only define if undefined.
36416 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36417 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36418 (libc_feholdexcept_setroundl): Likewise.
36419 (libc_feholdexcept_setround_53bit): Likewise.
36420 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36421 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36422 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36423 (libc_feupdateenv_53bit): Likewise.
36424 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36425 (libc_feholdexcept): Convert from macro to inline function.
36426 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36427 (libc_fesetenv, libc_feupdateenv): Likewise.
36428
4851a949
RH
36429 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36430 not previously defined.
36431 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36432 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36433 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36434 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36435 * sysdeps/ieee754/flt-32/math_private.h: New file.
36436 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36437 math_private.h below SET_FLOAT_WORD.
36438 (__isnan, __isinf_ns, __finite): Remove.
36439 (__isnanf, __isinf_nsf, __finitef): Remove.
36440
e79d442e
AS
364412012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36442
36443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36444
90b80344
DM
364452012-03-17 David S. Miller <davem@davemloft.net>
36446
36447 [BZ #6471]
36448 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36449 for 2.16.
36450
edc21804
DM
364512012-03-16 David S. Miller <davem@davemloft.net>
36452
77e927af
DM
36453 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36454 warnings.
36455
374976dd
DM
36456 [BZ #6471]
36457 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36458 properly.
36459 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36460 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36461 sysdep_routines when subdir is sysvipc.
36462 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36463 __getshmlba helper.
36464
edc21804
DM
36465 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36466
473c3ef3
L
364672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36468
36469 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36470 [__LP64__].
36471
eb0f39b6
L
364722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36473
36474 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36475 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36476 (__lround): Renamed to ...
36477 (__llround): This. Replace long int with long long int.
36478 Define lround functions as aliases of llround functions.
36479 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36480
6b6cd74b
L
364812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36482
36483 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36484 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36485 adresses to uintptr_t. Replace "long int" and "unsigned long
36486 int" with "greg_t" on va_arg.
36487
f1a77b01
L
364882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36489
36490 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36491 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36492
36493 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36494 Move e_machine check before EI_CLASS check. Handle x32
36495 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36496 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36497 SKIP_EM_IA_64 and include
36498 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36499
36500 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36501 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36502 (add_system_dir): New macro.
36503
36504 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36505 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36506
11b90b9f
JM
365072012-03-16 Joseph Myers <joseph@codesourcery.com>
36508
c36e1d23
JM
36509 [BZ #2551]
36510 [BZ #2552]
36511 [BZ #2553]
36512 [BZ #2554]
36513 [BZ #2562]
36514 [BZ #2563]
36515 [BZ #2565]
36516 [BZ #2566]
36517 [BZ #2576]
36518 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36519 (y0): Likewise.
36520 * math/w_j0f.c (j0f): Likewise.
36521 (y0f): Likewise.
36522 * math/w_j0l.c (__j0l): Likewise.
36523 (__y0l): Likewise.
36524 * math/w_j1.c (j1): Likewise.
36525 (y1): Likewise.
36526 * math/w_j1f.c (j1f): Likewise.
36527 (y1f): Likewise.
36528 * math/w_j1l.c (__j1l): Likewise.
36529 (__y1l): Likewise.
36530 * math/w_jn.c (jn): Likewise.
36531 (yn): Likewise.
36532 * math/w_jnf.c (jnf): Likewise.
36533 (ynf): Likewise.
36534 * math/w_jnl.c (__jnl): Likewise.
36535 (__ynl): Likewise.
36536 * math/libm-test.inc (j0_test): Add more tests.
36537 (j1_test): Likewise.
36538 (jn_test): Likewise. Add trailing semicolon to existing test.
36539 (y0_test): Likewise.
36540 (y1_test): Likewise.
36541 * sysdeps/i386/fpu/libm-test-ulps: Update.
36542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36543
11b90b9f
JM
36544 [BZ #13851]
36545 [BZ #13854]
36546 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36547 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36548 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36549 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36550 (__tanl): Set errno for infinite argument.
36551 * sysdeps/i386/fpu/mptan.c: Remove.
36552 * sysdeps/i386/fpu/s_tan.S: Likewise.
36553 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36554 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36555 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36556 * math/libm-test.inc (tan_test): Add more tests and enable more
36557 tests for double and long double.
36558 * sysdeps/i386/fpu/libm-test-ulps: Update.
36559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36560
6a1bd2a1
JK
365612012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36562
36563 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36564 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36565
10a803e0
RM
365662012-03-16 Roland McGrath <roland@hack.frob.com>
36567
36568 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36569 * configure.in: Use it for both main tree and add-ons.
36570 * configure: Regenerated.
36571
f196c7f7
L
365722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36573
36574 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36575
8848d99d
JM
365762012-03-16 Joseph Myers <joseph@codesourcery.com>
36577
96cbe7f4
JM
36578 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36579 in comment.
36580
8848d99d
JM
36581 [BZ #13851]
36582 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36583 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36584 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36585 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36586 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36587 infinite argument.
36588 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36589 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36590 != 0 for prec == 2.
36591 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36592 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36593 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36594 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36595 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36596 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36597 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36598 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36599 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36600 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36601 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36602 * math/libm-test.inc (cos_test): Add more tests and enable more
36603 tests for long double.
36604 (sin_test): Likewise.
36605 (sincos_test): Likewise.
36606 * sysdeps/i386/fpu/libm-test-ulps: Update.
36607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36608
dd7f4703
DM
366092012-03-16 David S. Miller <davem@davemloft.net>
36610
36611 * sysdeps/sparc/fpu/math_private.h: New file.
36612
006f1daa
DM
366132012-03-15 David S. Miller <davem@davemloft.net>
36614
c0c83bc8
DM
36615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36616 file.
e6a62e18 36617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
36618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36619 file.
e6a62e18
DM
36620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36625 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36626 sysdep routines.
36627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36628
88cb87d9
DM
36629 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36630 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36631
006f1daa 36632 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
36633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36634 sparc-ifunc.h
006f1daa 36635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
36636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36637 Likewise.
36638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36639 Likewise.
006f1daa
DM
36640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
36643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36644 Likewise.
006f1daa
DM
36645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
36649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36650 Likewise.
36651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36652 Likewise.
006f1daa
DM
36653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36657 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36659 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36660 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36662 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36667 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36668 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36669 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36671 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36672 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36673 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36674 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36675 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36676 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36677
11e0098e
AS
366782012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36679
36680 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36681 scaling.
36682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36683
e85b09d0
AJ
366842012-03-15 Andreas Jaeger <aj@suse.de>
36685
36686 [BZ #13852]
36687 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36688 ieee754/flt-32 implementation for sin, cos and sincos.
36689 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36690 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36691 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36692 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36693 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36694 ieee754/flt-32 implementation for tan.
36695
36696 * math/libm-test.inc (cos_test): Enable some large input tests for
36697 float as well
36698 (sin_test): Likewise.
36699 (sincos_test): Likewise.
36700 (tan_test): Add tests for large input.
36701
36702 * sysdeps/i386/fpu/libm-test-ulps: Update.
36703
81c64153
AJ
367042012-03-15 Andreas Jaeger <aj@suse.de>
36705
36706 [BZ #13658]
36707 * math/libm-test.inc (cos_test): Add more test cases.
36708 (sin_test): Likewise.
36709 (sincos_test): Likewise.
36710
7bbfa5c6
AJ
367112012-03-15 Andreas Jaeger <aj@suse.de>
36712
36713 [BZ #13837]
36714 * math/libm-test.inc (cos_test): Add a test case for large input
36715 value.
36716 (sin_test): Likewise.
36717 (sincos_test): Likewise.
36718
57f41c40
AS
367192012-03-15 Andreas Jaeger <aj@suse.de>
36720 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
36721
36722 [BZ #13658]
0671f479 36723 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
36724 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36725 * sysdeps/i386/fpu/branred.c: Likewise.
36726 * sysdeps/i386/fpu/dosincos.c: Likewise.
36727 * sysdeps/i386/fpu/mpa.c: Likewise.
36728 * sysdeps/i386/fpu/s_cos.S: Likewise.
36729 * sysdeps/i386/fpu/s_sin.S: Likewise.
36730 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36731 * sysdeps/i386/fpu/sincos32.c: Likewise.
36732
36733 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36734 Define.
36735 (libc_feupdateenv_53bit): Define.
36736 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36737 Define.
36738 (libc_feupdateenv_53bit): Define.
36739
36740 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36741 53 bit (without extend i386 double precision).
36742
36743 * math/libm-test.inc (sincos_test): Add tests for large input.
36744 (sin): Likewise.
36745 (cos): Likewise.
36746
36747 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36748
9cad04ea
AS
367492012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36750
36751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36752
f7062b9a
DM
367532012-03-15 David S. Miller <davem@davemloft.net>
36754
36755 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36756 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36757 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36758 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
36770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36771 file.
f7062b9a 36772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
36773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36774 file.
f7062b9a 36775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
36776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36777 file.
f7062b9a 36778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
36779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36780 file.
f7062b9a
DM
36781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36782 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36783 fmin/fmax sysdep routines.
36784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36785
7bd951ff
DM
367862012-03-14 David S. Miller <davem@davemloft.net>
36787
559398ab
DM
36788 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36789 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36791 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36792 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36793 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36794 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36795 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36796 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36797 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36798 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36805 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36806 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36807 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36808 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36809 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36810 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36811 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36812 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36813 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36814 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36815 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36816 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36817 routines.
36818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36819 file.
559398ab 36820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
36821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36822 file.
559398ab 36823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
36824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36825 file.
559398ab 36826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
36827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36828 file.
559398ab 36829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
36830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36831 file.
559398ab 36832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
36833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36834 file.
36835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36836 file.
36837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36838 file.
36839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36840 file.
36841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36842 New file.
36843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36844 file.
36845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36846 file.
559398ab 36847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
36848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36849 file.
559398ab 36850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36852 file.
559398ab 36853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
36854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36855 file.
559398ab 36856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
36857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36858 VIS3 routines.
559398ab
DM
36859
36860 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36861 New file.
36862
5a1c1e32
DM
36863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36864
eae47a36
DM
36865 * sysdeps/sparc/configure.in: New file.
36866 * sysdeps/sparc/configure: Generate.
36867 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36868 * configure: Regenerate.
36869 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36870 * config.make.in (have-as-vis3): New.
36871 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36872 available use -Av9d instead of -Av9a.
36873 * sysdeps/sparc/sparc64/Makefile: Likewise.
36874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
36875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36876 New file.
36877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36878 file.
36879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36880 New file.
36881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36882 file.
eae47a36
DM
36883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36884 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36885 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36886 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36887 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36888
c0c83bc8
DM
36889 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36890 fzeros/fnegs to load 0x80000000 into a float register instead of
36891 using the stack.
7bd951ff
DM
36892 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36893
bd951ccb
JM
368942012-03-14 Joseph Myers <joseph@codesourcery.com>
36895
36896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36897 bits/syscall.h.
36898 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36899 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36900 ($(inst_includedir)/bits/syscall.h): Remove rule.
36901 ($(objpfx)bits/syscall.d): Include instead of
36902 $(objpfx)syscall-list.d.
36903 (generated): Change syscall-list.h and syscall-list.d to
36904 bits/syscall.h and bits/syscall.d.
36905
bb4e6db2
RM
369062012-03-14 Roland McGrath <roland@hack.frob.com>
36907
36908 [BZ #13846]
36909 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36910
aa4a2ae1
JM
369112012-03-14 Joseph Myers <joseph@codesourcery.com>
36912
e456826d
JM
36913 [BZ #13841]
36914 * math/s_csqrt.c: Include <float.h>.
36915 (__csqrt): Scale large or subnormal inputs.
36916 * math/s_csqrtf.c: Likewise.
36917 * math/s_csqrtl.c: Likewise.
36918 * math/libm-test.inc (csqrt_test): Add more tests.
36919 * sysdeps/i386/fpu/libm-test-ulps: Update.
36920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36921
aa4a2ae1
JM
36922 [BZ #13840]
36923 * math/libm-test.inc (hypot_test): Add more tests.
36924
7c10fd35
DM
369252012-03-13 David S. Miller <davem@davemloft.net>
36926
36927 [BZ #13840]
36928 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36929 double-precision for the calculation instead of scaling.
36930
f453b98b
JM
369312012-03-13 Joseph Myers <joseph@codesourcery.com>
36932
36933 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36934 manipulate bits before adding and subtracting TWO52[sx].
36935 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36936 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36937 Likewise.
36938 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36939
09a3453f
DM
369402012-03-13 David S. Miller <davem@davemloft.net>
36941
8e59da90
DM
36942 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36943 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36944 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36945 rtld-global-offsets.h
36946 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36947
2a8ab7f2
DM
36948 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36949 large parameters.
36950
10f62770
DM
36951 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36952
5f0bdb18
DM
36953 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36954 'err' in the ifdef scope in which it is actually used.
36955
09a3453f
DM
36956 * nss/nss_db/db-init.c: Include string.h
36957
b4b2eb5e
DM
369582012-03-12 David S. Miller <davem@davemloft.net>
36959
98bb2f1c
DM
36960 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36961 masking out of the most significant byte of random value used.
36962 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36963 Fix coding style in previous change.
36964
b4b2eb5e
DM
36965 * sysdeps/unix/sysv/linux/kernel-features.h
36966 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36967 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36968 expression.
36969 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36970 later.
36971
6e226b09
DM
369722012-03-11 David S. Miller <davem@davemloft.net>
36973
a1bcbd40
DM
36974 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36975 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36976 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36977 for 'resultvar' otherwise things get truncated on 64-bit.
36978
cb9d6174
DM
36979 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36980 Fix masking out of the most significant byte of random value used.
36981
6e226b09
DM
36982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36983
058c132d
AS
369842012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36985
36986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36987
2d2cd515
DM
369882012-03-09 David S. Miller <davem@davemloft.net>
36989
36990 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36991 variables with appropriate CPP guards.
57f41c40
AS
36992 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36993 from the frame pointer, not the stack pointer. Correct layout
36994 comments. Fix test on resulting framesize and the management of
36995 the outregs buffer for pltexit. Preserve floating point return
36996 values across _dl_call_pltexit call.
2d2cd515
DM
36997 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36998 framesize and the management of the outregs buffer for pltexit.
36999 Preserve floating point return values across _dl_call_pltexit
37000 call.
57f41c40
AS
37001 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37002 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37003 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
37004 (print_exit): Fix format string for return register value.
37005
9a07f9d0
JM
370062012-03-10 Joseph Myers <joseph@codesourcery.com>
37007
37008 * sunrpc/Makefile (others): Add rpcgen.
37009 ($(objpfx)rpcgen): Remove special build rule and dependency on
37010 libc.
37011 * sunrpc/rpcgen.c: New file.
37012
547b5e30
PE
370132012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37014
c524201a
PE
37015 [BZ #13673]
37016 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37017 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37018 * sysdeps/i386/crti.S: Likewise.
37019 * sysdeps/i386/crtn.S: Likewise.
37020 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37021 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37022 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37023 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37024 * sysdeps/sh/crti.S: Likewise.
37025 * sysdeps/sh/crtn.S: Likewise.
37026 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37027
7b6235f2
PE
37028 [BZ #13673]
37029 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37030 with URL.
37031 * locale/programs/locfile-kw.gperf: Likewise.
37032 * locale/programs/charmap-kw.h: Regenerated.
37033 * locale/programs/locfile-kw.h: Likewise.
37034
547b5e30
PE
37035 [BZ #13673]
37036 * intl/plural.y: Replace FSF snail mail address with URL.
37037 * intl/plural.c: Regenerated.
37038
5f0a5dae
RH
370392012-03-09 Richard Henderson <rth@twiddle.net>
37040
37041 * include/math_private.h: Remove file.
37042 * math/math_private.h: Move file ...
37043 * sysdeps/generic/math_private.h: ... here.
37044
b8c03620
RH
37045 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37046 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37047 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37048
4e234f5d 37049 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
37050 and <math_private.h>.
37051 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37052 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37053 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37054 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37055 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37056 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37057 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37058 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37059 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37060 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37061 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37062 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37063 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37064 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37065 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37066 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37067 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37068 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37069 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37070 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37071 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37072 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37073 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37074 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37075 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37076 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37077 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37078 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37079 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37080 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37081 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37082 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37083 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37084 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37085 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37086 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37087 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37088 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37089 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37090 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37091 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37092 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37093 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37094 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37095 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37096 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37097 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37098 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37099 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37100 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37101 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37102 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37103 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37104 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37105 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37106 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37107 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37108 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37109 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37110 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37111 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37112 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37113 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37114 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37115 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37116 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37117 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37118 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37119 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37120 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37121 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37122 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37123 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37124 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37125 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37126 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37127 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37128 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37129 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37130 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37131 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37132 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37134 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37135 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37136 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37137 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37138 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37139 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37140 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37141 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37142 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37143 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37144 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37145 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37146 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37147 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37148 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37149 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37150 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37151 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37152 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37153 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37154 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37155 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37156 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37157 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37158 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37159 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37160 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37161 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37162 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37163 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37164 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37165 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37166 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37167 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37168 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37169 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37170 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37171 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37172 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37173 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37174 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37175 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37176 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37177 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37178 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37179 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37180 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37181 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37182 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37183 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37184 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37185 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37186 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37187 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37188 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37189 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37190 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37191 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37192 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37193 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37194 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37195 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37196 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37197 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37198 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37199 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37200 * sysdeps/ieee754/k_standard.c: Likewise.
37201 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37202 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37203 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37204 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37205 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37206 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37207 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37208 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37209 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37210 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37211 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37212 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37213 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37214 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37215 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37216 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37217 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37218 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37219 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37220 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37221 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37222 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37223 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37224 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37225 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37226 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37227 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37228 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37229 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37230 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37231 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37232 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37233 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37234 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37235 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37236 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37237 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37238 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37239 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37240 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37241 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37242 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37243 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37244 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37245 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37246 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37247 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37248 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37249 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37250 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37251 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37252 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37253 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37254 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37255 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37256 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37257 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37258 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37259 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37260 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37261 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37262 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37263 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37264 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37265 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37266 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37267 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37268 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37269 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37270 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37271 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37272 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37273 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37274 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37275 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37276 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37277 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37278 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37279 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37280 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37281 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37282 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37283 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37284 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37285 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37286 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37287 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37288 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37289 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37290 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37291 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37292 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37293 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37294 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37295 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37296 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37297 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37298 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37299 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37300 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37301 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37302 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37303 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37304 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37305 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37306 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37307 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37308 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37309 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37310 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37311 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37312 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37313 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37314 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37315 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37316 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37317 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37318 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37319 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37320 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37321 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37322 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37323 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37324 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37325 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37326 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37327 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37328 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37329 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37330 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37331 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37332 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37333 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37334 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37335 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37336 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37337 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37338 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37339 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37340 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37341 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37342 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37343 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37344 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37345 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37346 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37347 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37348 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37349 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37350 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37351 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37352 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37353 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37354 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37355 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37356 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37357 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37358 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37359 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37360 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37361 * sysdeps/ieee754/s_lib_version.c: Likewise.
37362 * sysdeps/ieee754/s_matherr.c: Likewise.
37363 * sysdeps/ieee754/s_signgam.c: Likewise.
37364 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37365 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37366 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37367 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37368 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37369 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37370 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37371 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37372 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37373 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37374 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37375 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37376 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37377 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37378 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37379 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37380 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37381 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37382 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37383 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37384 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 37385
1991fa03
JM
373862012-03-09 Joseph Myers <joseph@codesourcery.com>
37387
37388 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37389 * sunrpc/rpc_main.c: Likewise.
37390 * sunrpc/rpc_svcout.c: Likewise.
37391
60d6f5a6
DM
373922012-03-09 David S. Miller <davem@davemloft.net>
37393
37394 * include/math_private.h: New file.
37395
4962050e
JM
373962012-03-09 Joseph Myers <joseph@codesourcery.com>
37397
02a6f887
JM
37398 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37399 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37400 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37401 from <bits/socket_type.h>.
37402 (enum __socket_type): Don't define here.
37403 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37405 bits/socket_type.h.
37406
c6e013c1
JM
37407 [BZ #13566]
37408 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37409 checking __USE_GNU.
37410
4962050e
JM
37411 * Makerules ($(inst_includedir)/%.h): New rule.
37412 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37413 (install-others): Remove variable setting.
37414 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37415
38842f45
RH
374162012-03-08 Richard Henderson <rth@twiddle.net>
37417
67bb6da6
RH
37418 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37419 from macro to inline function; merge with the
37420 !__LIBC_INTERNAL_MATH_INLINES version.
37421 (__ieee754_sqrtf): Likewise.
37422
15194b4b
RH
37423 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37424 to inline function.
37425 (__rintf, __floor, __floorf): Likewise.
37426
64e21ede
RH
37427 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37428 macro to inline function.
37429 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37430
38842f45
RH
37431 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37432 not <math/math_private.h>.
37433
c64bf5fe
DM
374342012-03-08 David S. Miller <davem@davemloft.net>
37435
37436 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37437 copyright year.
37438 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37439
82d86f28
TS
374402012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37441
37442 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37443 normalization.
37444 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37445 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37446
aea5d727
UD
374472012-03-08 Ulrich Drepper <drepper@gmail.com>
37448
37449 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37450 be defined individually, they must be defined as a block. Define
37451 S for printing a string instead of hidint the different by using a
37452 macro for adding the 'l'.
37453 * stdio-common/tst-fphex-wide.c: Adjust.
37454
70bca0a3
MP
374552012-03-07 Marek Polacek <polacek@redhat.com>
37456
37457 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37458
65b81130
MP
374592012-03-08 Marek Polacek <polacek@redhat.com>
37460
37461 [BZ #13806]
37462 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37463 * stdio-common/tst-fphex.c: Define a few macros to make the
37464 test reusable. Use them.
37465 * stdio-common/tst-fphex-wide.c: New file.
37466
07037eeb
JM
374672012-03-08 Joseph Myers <joseph@codesourcery.com>
37468
a7a93d50
JM
37469 [BZ #6911]
37470 * manual/macros.texi (gnusystems): New macro.
37471 (nongnusystems): Likewise.
37472 (gnulinuxhurdsystems): Likewise.
37473 (gnuhurdsystems): Likewise..
37474 (gnulinuxsystems): Likewise.
37475 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37476 variants of the GNU system, not "GNU system".
37477 * manual/conf.texi: Likewise.
37478 * manual/errno.texi: Likewise. Update example of errno macro
37479 expansion.
37480 * manual/filesys.texi: Likewise.
37481 (getumask): Document as specific to GNU/Hurd.
37482 * manual/install.texi: Likewise. Reword some references to
37483 GNU/Linux.
37484 * manual/intro.texi: Likewise.
37485 * manual/io.texi: Likewise.
37486 (File Name Portability): Detail which constraints are inapplicable
37487 to all GNU systems and which are only inapplicable to GNU/Hurd.
37488 * manual/job.texi: Likewise.
37489 * manual/llio.texi: Likewise.
37490 (O_NOCTTY): Document as present on GNU/Linux.
37491 * manual/maint.texi: Likewise.
37492 * manual/memory.texi: Likewise.
37493 * manual/pattern.texi: Likewise.
37494 * manual/pipe.texi: Likewise.
37495 * manual/process.texi: Likewise.
37496 * manual/resource.texi: Likewise.
37497 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37498 child on GNU/Hurd.
37499 * manual/setjmp.texi: Likewise.
37500 * manual/signal.texi: Likewise.
37501 * manual/startup.texi: Likewise.
37502 * manual/stdio.texi: Likewise.
37503 * manual/terminal.texi: Likewise.
37504 (ONLCR): Document as POSIX.
37505 (OXTABS): Document availability on GNU/Linux as XTABS.
37506 (ONOEOT): Document availability separately from other bits.
37507 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37508 * manual/time.texi: Likewise.
37509 * manual/users.texi: Likewise.
37510 * INSTALL: Regenerated.
37511 * sysdeps/gnu/errlist.c: Regenerated.
37512
07037eeb
JM
37513 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37514 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37515 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37516 puts.
37517 * configure: Regenerated.
37518
d1d3431a
JM
375192012-03-07 Joseph Myers <joseph@codesourcery.com>
37520
af6a1e37
JM
37521 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37522 default includes instead of AC_HEADER_CHECK.
37523 * sysdeps/i386/configure: Regenerated.
37524
d1d3431a
JM
37525 [BZ #10716]
37526 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37527 * math/s_cacoshf.c (__cacoshf): Likewise.
37528 * math/s_cacoshl.c (__cacoshl): Likewise.
37529 * math/s_casinh.c (__casinh): Set signs of result from argument.
37530 * math/s_casinhf.c (__casinhf): Likewise.
37531 * math/s_casinhl.c (__casinhl): Likewise.
37532 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37533 (casinh_test): Add more tests.
37534 * sysdeps/i386/fpu/libm-test-ulps: Update.
37535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37536
482ff4da
UD
375372012-03-07 Ulrich Drepper <drepper@gmail.com>
37538
872fda05
UD
37539 * po/zh_TW.po: Update from translation team.
37540
a4300c7a
UD
37541 * login/Makefile (distribute): Remove variable.
37542 * catgets/Makefile: Likewise.
37543 * mach/Makefile: Likewise.
37544 * malloc/Makefile: Likewise.
37545 * misc/Makefile: Likewise.
37546 * iconv/Makefile: Likewise.
37547 * nscd/Makefile: Likewise.
37548 * hurd/Makefile: Likewise.
37549 * manual/Makefile: Likewise.
37550 * locale/Makefile: Likewise.
37551 * intl/Makefile: Likewise.
37552 * conform/Makefile: Likewise.
37553 * nss/Makefile: Likewise.
37554 * time/Makefile: Likewise.
37555 * soft-fp/Makefile: Likewise.
37556 * dirent/Makefile: Likewise.
37557 * gmon/Makefile: Likewise.
37558 * po/Makefile: Likewise.
37559 * rt/Makefile: Likewise.
37560 * socket/Makefile: Likewise.
37561 * math/Makefile: Likewise.
37562 * signal/Makefile: Likewise.
37563 * debug/Makefile: Likewise.
37564 * elf/Makefile: Likewise.
37565 * timezone/Makefile: Likewise.
37566 * stdlib/Makefile: Likewise.
37567 * iconvdata/Makefile: Likewise.
37568 * sunrpc/Makefile: Likewise.
37569 * io/Makefile: Likewise.
37570 * argp/Makefile: Likewise.
37571 * inet/Makefile: Likewise.
37572 * hesiod/Makefile: Likewise.
37573 * grp/Makefile: Likewise.
37574 * csu/Makefile: Likewise.
37575 * wctype/Makefile: Likewise.
37576 * crypt/Makefile: Likewise.
37577 * libio/Makefile: Likewise.
37578 * string/Makefile: Likewise.
37579 * nis/Makefile: Likewise.
37580 * resolv/Makefile: Likewise.
37581 * stdio-common/Makefile: Likewise.
37582 * wcsmbs/Makefile: Likewise.
37583 * dlfcn/Makefile: Likewise.
37584 * posix/Makefile: Likewise.
37585
3b7c4e74 37586 [BZ #6959]
482ff4da
UD
37587 * timezone/Makefile: Don't install timezone files, just the programs
37588 and scripts.
37589
f72ed77d
UD
375902012-03-06 Ulrich Drepper <drepper@gmail.com>
37591
a000466f
UD
37592 * nss/databases.def: Add missing gshadow entry.
37593
f72ed77d
UD
37594 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37595
a53b7a4e
MP
375962012-03-06 Marek Polacek <polacek@redhat.com>
37597
37598 [BZ #13726]
37599 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37600 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37601 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37602 * stdio-common/tst-long-dbl-fphex.c: New file.
37603
e9258400
DM
376042012-03-06 David S. Miller <davem@davemloft.net>
37605
37606 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37607 (set_obp_int): New function.
37608 (get_obp_int): New function.
37609 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
37610 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37611 Avoid unused variable warnings on 'val' and use builtin_expect.
37612 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37613 __builtin_expect.
e9258400
DM
37614 (INLINE_CLONE_SYSCALL): Likewise.
37615
3bd2c723
DM
376162012-03-05 David S. Miller <davem@davemloft.net>
37617
37618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37619
bbb78d03
AS
376202012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37621
884c5db4
AS
37622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37623
bbb78d03
AS
37624 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37625 only for |x| >= 40.
37626 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37627
1c9f702a 376282012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
37629
37630 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37631 Replace gettimeofday with __vdso_gettimeofday.
37632
7be16f82
RM
37633 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37634 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37635 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
37636
37637 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37638 time with __vdso_time.
37639
ed58a00f
JM
376402012-03-05 Joseph Myers <joseph@codesourcery.com>
37641
37642 * manual/lang.texi (size_t): Note types to which size_t may be
37643 equivalent with the GNU C Library, but do not describe when
37644 differences between them are significant.
37645
30ee4ced
AJ
376462012-03-05 Andreas Jaeger <aj@suse.de>
37647
37648 * sysdeps/i386/fpu/libm-test-ulps: Update.
37649
b7cd39e8
JM
376502012-03-05 Joseph Myers <joseph@codesourcery.com>
37651
37652 [BZ #3976]
37653 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37654 (__ieee754_pow): Save and restore rounding mode and use
37655 round-to-nearest for main computations.
37656 * math/libm-test.inc (pow_test_tonearest): New function.
37657 (pow_test_towardzero): Likewise.
37658 (pow_test_downward): Likewise.
37659 (pow_test_upward): Likewise.
37660 (main): Call the new functions.
37661 * sysdeps/i386/fpu/libm-test-ulps: Update.
37662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
37663
37664 [BZ #3976]
37665 * math/libm-test.inc (cosh_test_tonearest): New function.
37666 (cosh_test_towardzero): Likewise.
37667 (cosh_test_downward): Likewise.
37668 (cosh_test_upward): Likewise.
37669 (sinh_test_tonearest): Likewise.
37670 (sinh_test_towardzero): Likewise.
37671 (sinh_test_downward): Likewise.
37672 (sinh_test_upward): Likewise.
37673 (main): Call the new functions.
37674 * sysdeps/i386/fpu/libm-test-ulps: Update.
37675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37676
6c6a98c9
TV
376772012-03-05 Tom de Vries <tom@codesourcery.com>
37678
37679 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37680 default stack guard is set in last bytes.
37681 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37682
21bb2d2e 376832012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 37684
21bb2d2e 37685 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 37686
21bb2d2e
AJ
37687 [BZ #13656]
37688 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37689 possibly allocate from heap instead of stack.
37690 * stdio-common/bug-vfprintf-nargs.c: New file.
37691 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 37692
c6922934
AS
376932012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37694
37695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37696
bc957d53
MP
376972012-03-03 Marek Polacek <polacek@redhat.com>
37698
37699 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37700 * math/math_private.h: Likewise.
37701 * stdlib/tst-strtod.c: Likewise.
37702 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37703 * sysdeps/x86_64/bits/atomic.h: Likewise.
37704
6358490d
DM
377052012-03-02 David S. Miller <davem@davemloft.net>
37706
37707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37711 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37712 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37713 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37714 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37715
01ae168d
RM
377162012-03-02 Roland McGrath <roland@hack.frob.com>
37717
d9a17c07
RM
37718 [BZ #13792]
37719 * manual/examples/README: New file, says the example source files
37720 can be used under GPL>=2.
37721 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37722 line containing just "*/".
37723 * manual/examples/add.c: Add copyright header (GPL>=2).
37724 * manual/examples/argp-ex1.c: Likewise.
37725 * manual/examples/argp-ex2.c: Likewise.
37726 * manual/examples/argp-ex3.c: Likewise.
37727 * manual/examples/argp-ex4.c: Likewise.
37728 * manual/examples/atexit.c: Likewise.
37729 * manual/examples/db.c: Likewise.
37730 * manual/examples/dir.c: Likewise.
37731 * manual/examples/dir2.c: Likewise.
37732 * manual/examples/execinfo.c: Likewise.
37733 * manual/examples/filecli.c: Likewise.
37734 * manual/examples/filesrv.c: Likewise.
37735 * manual/examples/fmtmsgexpl.c: Likewise.
37736 * manual/examples/genpass.c: Likewise.
37737 * manual/examples/inetcli.c: Likewise.
37738 * manual/examples/inetsrv.c: Likewise.
37739 * manual/examples/isockad.c: Likewise.
37740 * manual/examples/longopt.c: Likewise.
37741 * manual/examples/memopen.c: Likewise.
37742 * manual/examples/memstrm.c: Likewise.
37743 * manual/examples/mkfsock.c: Likewise.
37744 * manual/examples/mkisock.c: Likewise.
37745 * manual/examples/mygetpass.c: Likewise.
37746 * manual/examples/pipe.c: Likewise.
37747 * manual/examples/popen.c: Likewise.
37748 * manual/examples/rprintf.c: Likewise.
37749 * manual/examples/search.c: Likewise.
37750 * manual/examples/select.c: Likewise.
37751 * manual/examples/setjmp.c: Likewise.
37752 * manual/examples/sigh1.c: Likewise.
37753 * manual/examples/sigusr.c: Likewise.
37754 * manual/examples/stpcpy.c: Likewise.
37755 * manual/examples/strdupa.c: Likewise.
37756 * manual/examples/strftim.c: Likewise.
37757 * manual/examples/strncat.c: Likewise.
37758 * manual/examples/subopt.c: Likewise.
37759 * manual/examples/swapcontext.c: Likewise.
37760 * manual/examples/termios.c: Likewise.
37761 * manual/examples/testopt.c: Likewise.
37762 * manual/examples/testpass.c: Likewise.
37763 * manual/examples/timeval_subtract.c: Likewise.
37764
01ae168d
RM
37765 [BZ #13792]
37766 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37767 function to ...
37768 * manual/timeval_subtract.c.texi: ... here, new file.
37769
49efa33d
DM
377702012-03-02 David S. Miller <davem@davemloft.net>
37771
37772 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37773
28afd92d
JM
377742012-03-02 Joseph Myers <joseph@codesourcery.com>
37775
804360ed
JM
37776 [BZ #3976]
37777 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37778 (__sin): Save and restore rounding mode and use round-to-nearest
37779 for all computations.
37780 (__cos): Save and restore rounding mode and use round-to-nearest
37781 for all computations.
37782 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37783 <fenv.h>.
37784 (tan): Save and restore rounding mode and use round-to-nearest for
37785 all computations.
37786 * math/libm-test.inc (cos_test_tonearest): New function.
37787 (cos_test_towardzero): Likewise.
37788 (cos_test_downward): Likewise.
37789 (cos_test_upward): Likewise.
37790 (sin_test_tonearest): Likewise.
37791 (sin_test_towardzero): Likewise.
37792 (sin_test_downward): Likewise.
37793 (sin_test_upward): Likewise.
37794 (tan_test_tonearest): Likewise.
37795 (tan_test_towardzero): Likewise.
37796 (tan_test_downward): Likewise.
37797 (tan_test_upward): Likewise.
37798 (main): Call the new functions.
37799 * sysdeps/i386/fpu/libm-test-ulps: Update.
37800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37801
a6d06d7b
JM
37802 [BZ #10135]
37803 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37804 small n, then large n, before computing and testing k+n.
37805 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37806 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37807 Likewise.
37808 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37809 Likewise.
37810 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37811 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37812 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37813 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37814 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37815 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37816 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37817 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37818 * math/libm-test.inc (scalbn_test): Add more tests.
37819 (scalbln_test): Likewise.
37820
07e12bb3
JM
37821 * manual/filesys.texi (mode_t): Describe constraints on size and
37822 signedness, not exact equivalence to a particular type.
37823 (ino_t): Likewise.
37824 (ino64_t): Likewise.
37825 (dev_t): Likewise.
37826 (nlink_t): Likewise.
37827 (blkcnt_t): Likewise.
37828 (blkcnt64_t): Likewise.
37829 * manual/llio.texi (off_t): Likewise.
37830
28afd92d
JM
37831 [BZ #3976]
37832 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37833 (__ieee754_exp): Save and restore rounding mode and use
37834 round-to-nearest for all computations.
37835 * math/libm-test.inc (exp_test_tonearest): New function.
37836 (exp_test_towardzero): Likewise.
37837 (exp_test_downward): Likewise.
37838 (exp_test_upward): Likewise.
37839 (main): Call the new functions.
37840 * sysdeps/i386/fpu/libm-test-ulps: Update.
37841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37842
b1eeb65d
CD
378432012-03-01 Chris Demetriou <cgd@google.com>
37844
37845 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37846 have predictable order.
37847
53362a4b
DM
378482012-03-01 David S. Miller <davem@davemloft.net>
37849
3c969083
DM
37850 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37851
759707de
DM
37852 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37853 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37854 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37855 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37856
dfdb8ff2
DM
37857 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37858 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37859 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37861 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37862 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37863 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37864 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37865 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37866
ead89f96
DM
37867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37868
7f66bd07
DM
37869 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37870 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37871 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37872
53362a4b
DM
37873 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37874 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37875 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37876 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37877 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37878 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37879 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37880 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37881 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37882 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37883 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37884 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37885 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37886 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37887 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37888 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37889 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37890 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37891 * sysdeps/sparc/elf/configure: Regenerated.
37892
7b1902cb
JM
378932012-03-01 Joseph Myers <joseph@codesourcery.com>
37894
bec039bc
JM
37895 * configure.in (AS, LD): Require binutils 2.20 or later.
37896 * configure: Regenerated.
37897 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37898 as required minimum version.
37899 * INSTALL: Regenerated.
37900
7b1902cb
JM
37901 [BZ #2541]
37902 [BZ #4108]
37903 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37904 before squaring exponent.
37905 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37906 bottom long double and 27 bits of top long double before squaring
37907 exponent.
37908 * math/libm-test.inc (erfc_test): Add more tests.
37909 * sysdeps/i386/fpu/libm-test-ulps: Update.
37910 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37912
f775c276
KT
379132012-03-01 Kai Tietz <ktietz@redhat.com>
37914
37915 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37916 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37917 containing bit-fields.
37918 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37919 * soft-fp/single.h (_FP_UNION_S): Likewise.
37920 * soft-fp/double.h (_FP_UNION_D): Likewise.
37921
5b8a4d4a
JM
379222012-02-29 Joseph Myers <joseph@codesourcery.com>
37923
0bab47b6
JM
37924 [BZ #13786]
37925 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37926 not include ../strcmp.S.
37927 [USE_AS_STRNCASECMP_L]: Likewise.
37928 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37929 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37930 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37931 (__strncasecmp_l_ia32): Define as alias to
37932 __strncasecmp_l_nonascii.
37933
0fcad3e2
JM
37934 [BZ #5794]
37935 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37936 * sysdeps/i386/fpu/libm-test-ulps: Update.
37937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37938
5b8a4d4a
JM
37939 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37941
8fdceb2e
JL
379422012-02-29 Jeff Law <law@redhat.com>
37943
37944 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37945 out of bounds read.
37946
1f393a11
MP
379472012-02-29 Marek Polacek <polacek@redhat.com>
37948
37949 [BZ #13706]
37950 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37951 * elf/Makefile: Add rules to run tst-unused-dep.out.
37952
8847f037
DM
379532012-02-28 David S. Miller <davem@davemloft.net>
37954
37955 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37956 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37957 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37958 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37959 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37960 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37961
169d7f11
JM
379622012-02-29 Joseph Myers <joseph@codesourcery.com>
37963
37964 * math/libm-test.inc (llround_test): Move one test from
37965 lround_test. Use TEST_f_L in moved test.
37966 (lround_test): Move misplaced test to llround_test. Add testcase
37967 from bug 2561.
37968
39adf059
UD
379692012-02-28 Ulrich Drepper <drepper@gmail.com>
37970
37971 * sysdeps/x86_64/fpu/e_expf.S: New file.
37972 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37973
71b5d1c5
SB
379742012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37975
37976 [BZ #13637]
37977 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37978 of remain_len that may cause incomplete multi-byte character and
37979 false match.
37980 * posix/bug-regex33.c: New file.
37981 * posix/Makefile (tests): Add bug-regex33.
37982
1f77f049
JM
379832012-02-28 Joseph Myers <joseph@codesourcery.com>
37984
37985 * manual/macros.texi: New file.
37986 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37987 * manual/libc.texinfo: Include macros.texi.
37988 * manual/creatute.texi: Likewise.
37989 * manual/install.texi: Likewise.
37990 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37991 @glibcadj{} in references to the GNU C Library.
37992 * manual/charset.texi: Likewise.
37993 * manual/conf.texi: Likewise.
37994 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37995 when not using those macros.
37996 * manual/creature.texi: Likewise.
37997 * manual/crypt.texi: Likewise.
37998 * manual/errno.texi: Likewise.
37999 * manual/filesys.texi: Likewise.
38000 * manual/header.texi: Likewise.
38001 * manual/install.texi: Likewise.
38002 * manual/intro.texi: Likewise.
38003 * manual/io.texi: Likewise.
38004 * manual/job.texi: Likewise.
38005 * manual/lang.texi: Likewise.
38006 * manual/libc.texiinfo: Likewise.
38007 * manual/llio.texi: Likewise.
38008 * manual/locale.texi: Likewise.
38009 * manual/maint.texi: Likewise.
38010 * manual/math.texi: Likewise.
38011 * manual/memory.texi: Likewise.
38012 * manual/message.texi: Likewise.
38013 * manual/nss.texi: Likewise.
38014 * manual/pattern.texi: Likewise.
38015 * manual/process.texi: Likewise.
38016 * manual/resource.texi: Likewise.
38017 * manual/search.texi: Likewise.
38018 * manual/setjmp.texi: Likewise.
38019 * manual/signal.texi: Likewise.
38020 * manual/socket.texi: Likewise.
38021 * manual/startup.texi: Likewise.
38022 * manual/stdio.texi: Likewise.
38023 * manual/string.texi: Likewise.
38024 * manual/sysinfo.texi: Likewise.
38025 * manual/syslog.texi: Likewise.
38026 * manual/terminal.texi: Likewise.
38027 * manual/time.texi: Likewise.
38028 * manual/users.texi: Likewise.
38029 * INSTALL: Regenerated.
38030 * NOTES: Regenerated.
d40c5d54 38031 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 38032
450bf206
AS
380332012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38034
38035 * include/dirent.h: Include <dirstream.h> before
38036 <dirent/dirent.h>.
38037
741a235b
DM
380382012-02-28 David S. Miller <davem@davemloft.net>
38039
38040 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38041 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38042 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38043 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38044
d6b5aa58
DM
380452012-02-27 David S. Miller <davem@davemloft.net>
38046
1aff59a3
DM
38047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38049 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38050 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38051
d6b5aa58
DM
38052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38053 frame pointer instead of stack pointer relative arg slot.
38054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38055 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38056 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38057
433f48bf
CD
380582012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38059
38060 [BZ #3992]
38061 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38062
d674b76d
DM
380632012-02-27 David S. Miller <davem@davemloft.net>
38064
38065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38069 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38070 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38071 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38072 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38073
0e7727f7
JM
380742012-02-27 Joseph Myers <joseph@codesourcery.com>
38075
38076 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38077 later. Allow versions 5-9.
43be4ca2 38078 * configure: Regenerated.
0e7727f7
JM
38079 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38080 required minimum version and 4.6 as recommended version. Do not
38081 mention bugs in GCC 2.7 and 2.8.
43be4ca2 38082 * INSTALL: Regenerated.
0e7727f7 38083
a78bc654
DM
380842012-02-27 David S. Miller <davem@davemloft.net>
38085
428d5830
DM
38086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38090 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38091 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38092 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38093 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38094
a78bc654
DM
38095 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38096 manipulate bits before adding and subtracting TWO112[sx].
38097 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38098
4579f81c
RM
380992012-02-27 Roland McGrath <roland@hack.frob.com>
38100
36c8acb4
RM
38101 [BZ #13775]
38102 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38103 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38104 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38105 being in POSIX, because they are in 1003.1-2008.
38106
84ad622b
RM
38107 * rt/tst-aio.c: Include <fcntl.h>.
38108 * rt/tst-aio7.c: Likewise.
38109 * rt/tst-aio64.c: Likewise.
38110
4579f81c
RM
38111 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38112
abd923db
JM
381132012-02-27 Joseph Myers <joseph@codesourcery.com>
38114
38115 * manual/install.texi (--with-headers): Describe headers as
38116 interface headers, not private headers.
38117 (Specific advice for GNU/Linux systems): Describe use of headers
38118 from "make headers_install", not private headers from older
38119 kernels.
43be4ca2 38120 * INSTALL: Regenerated.
abd923db
JM
38121 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38122 Change to 2.6.19.
38123 * sysdeps/unix/sysv/linux/configure: Regenerated.
38124
6664049b
JM
38125 * manual/llio.texi (fclean): Remove documentation.
38126
bb8b6697
JM
38127 * manual/Makefile (libc-texi-generated): New variable. Include
38128 version.texi.
38129 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38130 $(libc-texi-generated), not duplicated list of files.
38131 (version.texi, stamp-version): New rules.
38132 (realclean): Remove $(libc-texi-generated), not individual files
38133 from that list. Do not remove dir-add.texinfo.
38134 * manual/libc.texinfo: Comment out uses of edition numbers and
38135 references to printed manual. Remove last-updated dates.
38136 (EDITION): Comment out.
38137 (ISBN): Likewise.
38138 (VERSION, UPDATED): Remove.
38139 (version.texi): Include.
38140
12e5c3b9
AS
381412012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38142
38143 * sysdeps/posix/spawni.c: Include <signal.h>.
38144 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38145 * sysdeps/pthread/aio_fsync.c: Likewise.
38146
4efeffc1 381472012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 38148
ba63ba08
UD
38149 * conform/Makefile (tests): Run only when not cross-compiling and
38150 when fast-check is not defined.
38151
d94a4670
UD
38152 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38153 * conform/data/limits.h-data: Fixes for POSIX2008.
38154 * conform/run-conformtest.sh: Run all tests.
38155 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38156 headers.
38157 * include/bits/dlfcn.h: Likewise.
38158 * include/langinfo.h: Likewise.
38159 * include/monetary.h: Likewise.
38160 * include/sys/poll.h: Likewise.
38161
38162 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38163 for __USE_GNU.
38164 * posix/spawn.h: Define __need_sigset_t.
38165 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38166 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38167 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38168 to get sigevent_t only.
38169 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38170 only for __USE_GNU.
38171 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38172 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38173 process_vm_writev only for __USE_GNU.
38174 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
38175
38176 * conform/Makefile: For now ignore errors from run-conformtest.
38177 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38178 POSIX to avoid namespace pollution. Don't prepend headers.
38179 * conform/data/aio.h-data: Fixes for POSIX testing.
38180 * conform/data/fcntl.h-data: Likewise.
38181 * conform/data/glob.h-data: Likewise.
38182 * conform/data/grp.h-data: Likewise.
38183 * conform/data/pthread.h-data: Likewise.
38184 * conform/data/pwd.h-data: Likewise.
38185 * conform/data/signal.h-data: Likewise.
38186 * conform/data/spawn.h-data: Likewise.
38187 * conform/data/stdio.h-data: Likewise.
38188 * conform/data/stdlib.h-data: Likewise.
38189 * conform/data/stropts.h-data: Likewise.
38190 * conform/data/sys/mman.h-data: Likewise.
38191 * conform/data/sys/stat.h-data: Likewise.
38192 * conform/data/sys/types.h-data: Likewise.
38193 * conform/data/sys/wait.h-data: Likewise.
38194 * conform/data/time.h-data: Likewise.
38195 * conform/data/unistd.h-data: Likewise.
38196 * conform/data/utime.h-data: Likewise.
38197
38198 * io/sys/stat.h: fchmod was always in POSIX.
38199 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38200 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38201 * rt/aio.h: Define __need_timespec before including <time.h>.
38202 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38203 struct. Add forward declaration of pthread_attr_t and use it in
38204 sigevent.
38205 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38206 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38207 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38208 always remove CLK_TCK definition.
38209
c20105c3
AS
382102012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38211
38212 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38213
7a270350
UD
382142012-02-25 Ulrich Drepper <drepper@gmail.com>
38215
31341567
UD
38216 * conform/run-conformtest.sh: New file.
38217 * conform/Makefile: Run run-conformtest for tests.
38218 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38219 support.
38220
38221 * conform/data/uchar.h-data: New file.
38222 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38223 * conform/data/arpa/inet.h-data: Likewise.
38224 * conform/data/assert.h-data: Likewise.
38225 * conform/data/complex.h-data: Likewise.
38226 * conform/data/cpio.h-data: Likewise.
38227 * conform/data/ctype.h-data: Likewise.
38228 * conform/data/dirent.h-data: Likewise.
38229 * conform/data/dlfcn.h-data: Likewise.
38230 * conform/data/errno.h-data: Likewise.
38231 * conform/data/fcntl.h-data: Likewise.
38232 * conform/data/float.h-data: Likewise.
38233 * conform/data/fmtmsg.h-data: Likewise.
38234 * conform/data/fnmatch.h-data: Likewise.
38235 * conform/data/ftw.h-data: Likewise.
38236 * conform/data/glob.h-data: Likewise.
38237 * conform/data/grp.h-data: Likewise.
38238 * conform/data/iconv.h-data: Likewise.
38239 * conform/data/inttypes.h-data: Likewise.
38240 * conform/data/langinfo.h-data: Likewise.
38241 * conform/data/libgen.h-data: Likewise.
38242 * conform/data/limits.h-data: Likewise.
38243 * conform/data/locale.h-data: Likewise.
38244 * conform/data/math.h-data: Likewise.
38245 * conform/data/monetary.h-data: Likewise.
38246 * conform/data/mqueue.h-data: Likewise.
38247 * conform/data/ndbm.h-data: Likewise.
38248 * conform/data/net/if.h-data: Likewise.
38249 * conform/data/netdb.h-data: Likewise.
38250 * conform/data/netinet/in.h-data: Likewise.
38251 * conform/data/nl_types.h-data: Likewise.
38252 * conform/data/poll.h-data: Likewise.
38253 * conform/data/pthread.h-data: Likewise.
38254 * conform/data/pwd.h-data: Likewise.
38255 * conform/data/regex.h-data: Likewise.
38256 * conform/data/sched.h-data: Likewise.
38257 * conform/data/search.h-data: Likewise.
38258 * conform/data/semaphore.h-data: Likewise.
38259 * conform/data/setjmp.h-data: Likewise.
38260 * conform/data/signal.h-data: Likewise.
38261 * conform/data/spawn.h-data: Likewise.
38262 * conform/data/stdarg.h-data: Likewise.
38263 * conform/data/stdio.h-data: Likewise.
38264 * conform/data/stdlib.h-data: Likewise.
38265 * conform/data/string.h-data: Likewise.
38266 * conform/data/strings.h-data: Likewise.
38267 * conform/data/stropts.h-data: Likewise.
38268 * conform/data/sys/ipc.h-data: Likewise.
38269 * conform/data/sys/mman.h-data: Likewise.
38270 * conform/data/sys/msg.h-data: Likewise.
38271 * conform/data/sys/resource.h-data: Likewise.
38272 * conform/data/sys/select.h-data: Likewise.
38273 * conform/data/sys/sem.h-data: Likewise.
38274 * conform/data/sys/shm.h-data: Likewise.
38275 * conform/data/sys/socket.h-data: Likewise.
38276 * conform/data/sys/stat.h-data: Likewise.
38277 * conform/data/sys/statvfs.h-data: Likewise.
38278 * conform/data/sys/time.h-data: Likewise.
38279 * conform/data/sys/timeb.h-data: Likewise.
38280 * conform/data/sys/times.h-data: Likewise.
38281 * conform/data/sys/types.h-data: Likewise.
38282 * conform/data/sys/uio.h-data: Likewise.
38283 * conform/data/sys/un.h-data: Likewise.
38284 * conform/data/sys/utsname.h-data: Likewise.
38285 * conform/data/sys/wait.h-data: Likewise.
38286 * conform/data/syslog.h-data: Likewise.
38287 * conform/data/tar.h-data: Likewise.
38288 * conform/data/termios.h-data: Likewise.
38289 * conform/data/utime.h-data: Likewise.
38290 * conform/data/utmpx.h-data: Likewise.
38291 * conform/data/varargs.h-data: Likewise.
38292 * conform/data/wchar.h-data: Likewise.
38293 * conform/data/wctype.h-data: Likewise.
38294 * conform/data/wordexp.h-data: Likewise.
38295
38296 * include/stropts.h: New file.
38297 * include/uchar.h: New file.
38298 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38299 * include/assert.h: Likewise.
38300 * include/ctype.h: Likewise.
38301 * include/dirent.h: Likewise.
38302 * include/dlfcn.h: Likewise.
38303 * include/fcntl.h: Likewise.
38304 * include/fnmatch.h: Likewise.
38305 * include/glob.h: Likewise.
38306 * include/grp.h: Likewise.
38307 * include/libio.h: Likewise.
38308 * include/locale.h: Likewise.
38309 * include/math.h: Likewise.
38310 * include/net/if.h: Likewise.
38311 * include/netdb.h: Likewise.
38312 * include/netinet/in.h: Likewise.
38313 * include/pthread.h: Likewise.
38314 * include/pwd.h: Likewise.
38315 * include/regex.h: Likewise.
38316 * include/sched.h: Likewise.
38317 * include/search.h: Likewise.
38318 * include/setjmp.h: Likewise.
38319 * include/signal.h: Likewise.
38320 * include/stdio.h: Likewise.
38321 * include/stdlib.h: Likewise.
38322 * include/string.h: Likewise.
38323 * include/sys/cdefs.h: Likewise.
38324 * include/sys/mman.h: Likewise.
38325 * include/sys/msg.h: Likewise.
38326 * include/sys/resource.h: Likewise.
38327 * include/sys/select.h: Likewise.
38328 * include/sys/socket.h: Likewise.
38329 * include/sys/stat.h: Likewise.
38330 * include/sys/statvfs.h: Likewise.
38331 * include/sys/time.h: Likewise.
38332 * include/sys/times.h: Likewise.
38333 * include/sys/uio.h: Likewise.
38334 * include/sys/utsname.h: Likewise.
38335 * include/sys/wait.h: Likewise.
38336 * include/termios.h: Likewise.
38337 * include/time.h: Likewise.
38338 * include/ulimit.h: Likewise.
38339 * include/unistd.h: Likewise.
38340 * include/utime.h: Likewise.
38341 * include/wchar.h: Likewise.
38342 * include/wctype.h: Likewise.
38343 * include/wordexp.h: Likewise.
38344
38345 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38346
7a270350
UD
38347 * time/time.h: TIME_UTC must be a macro.
38348 Make timespec_get available for ISO C11 only as well.
38349
7724defc
UD
383502012-02-24 Ulrich Drepper <drepper@gmail.com>
38351
38352 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38353 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38354
6b1d1d46
JM
383552012-02-24 Joseph Myers <joseph@codesourcery.com>
38356
38357 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 38358
0f8bbd69
JM
383592012-02-24 Joseph Myers <joseph@codesourcery.com>
38360
38361 * manual/texinfo.tex: Update to version 2012-01-19.16.
38362
66ab80bc
JM
383632012-02-24 Joseph Myers <joseph@codesourcery.com>
38364
38365 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38366
74981cc5
RM
383672012-02-24 Roland McGrath <roland@hack.frob.com>
38368
ee968201
RM
38369 [BZ #13738]
38370 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38371 * manual/fdl-1.3.texi: New file.
38372 * manual/fdl-1.1.texi: File removed.
38373
74981cc5
RM
38374 [BZ #13738]
38375 * manual/libc.texinfo (FDL_VERSION): New @set.
38376 Use it for mention of FDL in cover text.
38377 (Documentation License): Use it in @include file name.
38378
7bb764bc
JM
383792012-02-22 Joseph Myers <joseph@codesourcery.com>
38380 Roland McGrath <roland@hack.frob.com>
38381
38382 [BZ #5461]
57f41c40
AS
38383 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38384 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
38385 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38386 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38387 name.
38388 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38389
6cbeae47
JM
383902012-02-22 Joseph Myers <joseph@codesourcery.com>
38391
38392 [BZ #2547]
38393 [BZ #11365]
38394 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38395 manipulate bits before adding and subtracting TWO23[sx].
38396 * math/libm-test.inc (nearbyint_test): Add more tests.
38397
fe45ce09
JM
383982012-02-22 Joseph Myers <joseph@codesourcery.com>
38399
38400 [BZ #2548]
38401 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38402 bits before adding and subtracting TWO23[sx].
38403 * math/libm-test.inc (rint_test): Add more tests.
38404 (rint_test_tonearest): Likewise.
38405 (rint_test_towardzero): Likewise.
38406 (rint_test_downward): Likewise.
38407 (rint_test_upward: Likewise.
38408
ff3b3d82
JM
384092012-02-22 Joseph Myers <joseph@codesourcery.com>
38410
38411 [BZ #10110]
38412 * include/stdc-predef.h: New file. Extracted from features.h.
38413 * include/features.h: Include stdc-predef.h.
38414 * Makefile (headers): Add stdc-predef.h.
38415 * CONFORMANCE (Compiler limitations): Update.
38416
ef0aab35
JM
384172012-02-22 Joseph Myers <joseph@codesourcery.com>
38418
38419 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38420
58639409
DM
384212012-02-21 David S. Miller <davem@davemloft.net>
38422
38423 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38424 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38425
c0e70b25
DM
384262012-02-20 David S. Miller <davem@davemloft.net>
38427
38428 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38429 using a normal save/restore sequence, rather than allocating a
38430 dummy stack frame just to store a frame pointer and restore.
38431 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38432
fb06851d
JM
384332012-02-21 Joseph Myers <joseph@codesourcery.com>
38434
38435 * manual/install.texi: Fix stray word in line-wrapped comment.
38436
7a8b71c3
DM
384372012-02-20 David S. Miller <davem@davemloft.net>
38438
d510c123
DM
38439 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38440 both binutils and gcc support GOTDATA.
38441
0722d7c2
DM
38442 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38443 "rd %pc" in the PIC register setup sequences.
38444
3d2b3019
DM
38445 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38446 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38447 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38448 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38449 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38450 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38451 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38452 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38453 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38454 (SYSCALL_ERROR_HANDLER): Likewise.
38455 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38456 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38457 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38458 (SYSCALL_ERROR_HANDLER): Likewise.
38459
c80098a9
DM
38460 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38461 (HAVE_GCC_GOTDATA): New.
38462 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38463 relocation support in both binutils and gcc.
38464 * sysdeps/sparc/elf/configure: Regenerate.
38465
3a2545a0
DM
38466 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38467 * sysdeps/sparc/sparc32/elf/configure: Delete.
38468 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38469 * sysdeps/sparc/sparc64/elf/configure: Delete.
38470 * sysdeps/sparc/elf/configure.in: New file.
38471 * sysdeps/sparc/elf/configure: Generate.
38472
7a8b71c3
DM
38473 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38474 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38475 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38476 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38477 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38478
f1e86fca
JM
384792012-02-21 Joseph Myers <joseph@codesourcery.com>
38480
38481 * manual/install.texi: Do not mention specific glibc version
38482 numbers.
38483 * manual/libc.texinfo (VERSION, UPDATED): Update.
38484 (@copying): Use @copyright{} and range of years.
38485
0e7dfaef
JM
384862012-02-21 Joseph Myers <joseph@codesourcery.com>
38487
38488 [BZ #13695]
38489 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38490 [crti.S not in sysdirs] (generated): Do not append.
38491 [crti.S not in sysdirs] (omit-deps): Likewise.
38492 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38493 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38494 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38495 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38496 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38497 Likewise.
38498 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38499 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38500 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38501 * csu/defs.awk: Remove file.
38502 * sysdeps/generic/initfini.c: Likewise.
38503 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38504 variable.
38505 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38506 Likewise.
38507
599af3ca
JM
385082012-02-20 Joseph Myers <joseph@codesourcery.com>
38509
38510 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38511 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38512 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38513 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38514 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38515 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38516 <bits/epoll.h>.
38517 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38518 (__EPOLL_PACKED): Define to empty if not defined by
38519 <bits/epoll.h>.
38520 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38521 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38522 bits/epoll.h.
38523
0e499750
JM
385242012-02-20 Joseph Myers <joseph@codesourcery.com>
38525
38526 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38527 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38528 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38529 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38530 <bits/timerfd.h>.
38531 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38532 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38533 bits/timerfd.h.
38534
5ad91f6e
JM
385352012-02-20 Joseph Myers <joseph@codesourcery.com>
38536
38537 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38538 in C locale.
38539 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38540 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38541 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38543
06b99b02
AJ
385442012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38545
38546 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38547 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38548
7638c0fd
AS
385492012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38550
38551 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38552 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38553 defined.
38554 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38555 Likewise.
38556 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38557 entry for 2.16.
38558
92221550
AJ
385592012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38560
38561 * math/w_acos.c: Use non-signaling floating-point comparisons.
38562 * math/w_acosf.c: Likewise.
38563 * math/w_acosh.c: Likewise.
38564 * math/w_acoshf.c: Likewise.
38565 * math/w_acoshl.c: Likewise.
38566 * math/w_acosl.c: Likewise.
38567 * math/w_asin.c: Likewise.
38568 * math/w_asinf.c: Likewise.
38569 * math/w_asinl.c: Likewise.
38570 * math/w_atanh.c: Likewise.
38571 * math/w_atanhf.c: Likewise.
38572 * math/w_atanhl.c: Likewise.
38573 * math/w_exp2.c: Likewise.
38574 * math/w_exp2f.c: Likewise.
38575 * math/w_exp2l.c: Likewise.
38576 * math/w_j0.c: Likewise.
38577 * math/w_j0f.c: Likewise.
38578 * math/w_j0l.c: Likewise.
38579 * math/w_j1.c: Likewise.
38580 * math/w_j1f.c: Likewise.
38581 * math/w_j1l.c: Likewise.
38582 * math/w_jn.c: Likewise.
38583 * math/w_jnf.c: Likewise.
38584 * math/w_log.c: Likewise.
38585 * math/w_log10.c: Likewise.
38586 * math/w_log10f.c: Likewise.
38587 * math/w_log10l.c: Likewise.
38588 * math/w_log2.c: Likewise.
38589 * math/w_log2f.c: Likewise.
38590 * math/w_log2l.c: Likewise.
38591 * math/w_logf.c: Likewise.
38592 * math/w_logl.c: Likewise.
38593 * math/w_sqrt.c: Likewise.
38594 * math/w_sqrtf.c: Likewise.
38595 * math/w_sqrtl.c: Likewise.
38596 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38597 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38598 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38599 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38600 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38601
ebaf36eb
JM
386022012-02-19 Joseph Myers <joseph@codesourcery.com>
38603
38604 [BZ #9739]
38605 * manual/string.texi (strnlen): Use correct parameter name in
38606 equivalent expression.
38607
71c254a6
JM
386082012-02-19 Joseph Myers <joseph@codesourcery.com>
38609
38610 [BZ #11174]
38611 * manual/users.texi (seteuid): Consistently use neweuid for
38612 argument name.
38613
16d2c631
JM
386142012-02-19 Joseph Myers <joseph@codesourcery.com>
38615
38616 [BZ #13704]
38617 * manual/nss.texi (Services in the NSS configuration): Correct
38618 list of services in example configuration file.
38619
cd837b09
NB
386202012-02-19 Nick Bowler <nbowler@draconx.ca>
38621
38622 [BZ #11322]
38623 * manual/arith.texi: Remove statements about negative zero
38624 behaving identically to zero.
38625
02c4bbad
JM
386262012-02-18 Joseph Myers <joseph@codesourcery.com>
38627
38628 [BZ #5993]
38629 * manual/install.texi: Do not document upgrading from libc5.
38630
366842e7
JM
386312012-02-18 Joseph Myers <joseph@codesourcery.com>
38632
38633 [BZ #4596]
38634 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38635
dd54084d
DM
386362012-02-18 David S. Miller <davem@davemloft.net>
38637
38638 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38639 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38640 %o7 across the call.
38641 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38642 instead.
38643 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38644 SETUP_PIC_REG_LEAF.
38645 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38646 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38647 * sysdeps/sparc/crtn.S: Likewise.
38648
2bcc53a3
UD
386492012-02-17 Ulrich Drepper <drepper@gmail.com>
38650
38651 * aout/Makefile: Remove.
38652
09c093b5
RK
386532012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38654
38655 [BZ #13058]
38656 * manual/examples/argp-ex1.c (main): Format definition in GNU
38657 style.
38658 * manual/examples/argp-ex2.c (main): Likewise.
38659 * manual/examples/argp-ex3.c (main): Likewise.
38660 * manual/examples/argp-ex4.c (main): Likewise.
38661 * manual/examples/longopt.c (main): Use new-style prototype
38662 definition.
38663 * manual/examples/strncat.c (main): Specify return type and use
38664 (void) for arguments.
38665 * manual/examples/subopt.c (main): Use char **argv argument.
38666
2ee633a2
JM
386672012-02-17 Joseph Myers <joseph@codesourcery.com>
38668
38669 [BZ #5077]
38670 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38671 rounding modes.
38672
0520adde
FB
386732012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38674
38675 [BZ #6907]
38676 * manual/string.texi (strchr): Change when strchrnul is
38677 recommended.
38678
3f4081cd
DGM
386792012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38680
38681 [BZ #174]
38682 * manual/locale.texi (setlocale): Document LOCPATH.
38683
d1b10e78
JM
386842012-02-17 Joseph Myers <joseph@codesourcery.com>
38685
38686 [BZ #10210]
38687 * manual/process.texi (execle): Move @dots{} before last argument.
38688
79c6869c
PB
386892012-02-17 Paul Bolle <pebolle@tiscali.nl>
38690
38691 [BZ #12047]
38692 * manual/charset.texi (Generic Charset Conversion): Fix typo
38693 (LC_TYPE -> LC_CTYPE).
38694
cc6e48bc
NB
386952012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38696
38697 [BZ #5805]
38698 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38699 (scalbnf): Likewise.
38700 (scalbnl): Likewise.
38701 (scalbln): Likewise.
38702 (scalblnf): Likewise.
38703 (scalblnl): Likewise.
38704 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38705 (vwarnx): Likewise.
38706 (verr): Likewise.
38707 (verrx): Likewise.
38708 * manual/filesys.texi (telldir): Use braces around return type.
38709 * manual/llio.texi (mmap): Add space after comma.
38710 (mmap64): Likewise.
38711 * manual/math.texi (jn): Use @var{} on parameter names.
38712 (jnf): Likewise.
38713 (jnl): Likewise.
38714 (yn): Likewise.
38715 (ynf): Likewise.
38716 (ynl): Likewise.
38717 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38718 line.
38719 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38720 "...".
38721 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38722 (sched_get_priority_max): Likewise.
38723 * manual/signal.texi (sigvec): Add space after comma.
38724 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38725 names.
38726 (if_indextoname): Likewise.
38727 (if_freenameindex): Likewise.
38728 (sendto): Use ',' instead of '.' in prototype.
38729 * manual/startup.texi (syscall): Use @dots{} instead of literal
38730 "...".
38731 * manual/stdio.texi (__fpending): Separate initial words of
38732 paragraph from @deftypefun line.
38733 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38734 "...".
38735 (vsyslog): Use @var{} on parameter names.
38736 * manual/terminal.texi (stty): Use @var{} on parameter names.
38737 * manual/users.texi (getutmp): Use @var{} on parameter names.
38738 (getutmpx): Likewise.
38739
5b23062f
JM
387402012-02-17 Joseph Myers <joseph@codesourcery.com>
38741
38742 [BZ #6884]
38743 * manual/stdio.texi (fopen): Fix typos in description of
38744 ",ccs=STRING".
38745
8dee4833
AJ
387462012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38747
38748 [BZ #4026]
38749 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38750 get clock_id definition.
38751
9078ce93
TS
387522012-02-17 Thomas Schwinge <thomas@schwinge.name>
38753
38754 [BZ #4822]
38755 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38756 (madvise): Cast every argument to void on its own.
38757
3835c55f
JM
387582012-02-17 Joseph Myers <joseph@codesourcery.com>
38759
38760 [BZ #9902]
38761 * manual/startup.texi (Exit Status): Fix typo.
38762
35c47e37
JM
387632012-02-17 Joseph Myers <joseph@codesourcery.com>
38764
38765 [BZ #10140]
38766 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38767 * manual/examples/argp-ex2.c: Likewise.
38768 * manual/examples/argp-ex3.c: Likewise.
38769
e3b69ca7
RH
387702012-02-16 Richard Henderson <rth@redhat.com>
38771
38772 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38773 * sysdeps/s390/s390-32/initfini.c: Remove.
38774 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38775 * sysdeps/s390/s390-64/initfini.c: Remove.
38776
df83af67
KK
387772012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38778
38779 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38780 compiler output for sysdeps/generic/initfini.c.
38781 * sysdeps/sh/elf/initfini.c: Remove file.
38782
f63f3380
DM
387832012-02-16 David S. Miller <davem@davemloft.net>
38784
fb59b3a4
DM
38785 [BZ #11494]
38786 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38787
f63f3380
DM
38788 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38789 * sysdeps/sparc/crti.S: New file.
38790 * sysdeps/sparc/crtn.S: New file.
38791 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38792 * sysdeps/sparc/sparc64/Makefile: Likewise.
38793
df6a4a4a
MF
387942012-02-15 Mike Frysinger <vapier@gentoo.org>
38795
6dd8f3dc 38796 [BZ #3335]
df6a4a4a
MF
38797 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38798
1cac7236
RM
387992012-02-15 Roland McGrath <roland@hack.frob.com>
38800
d2c736f8
RM
38801 [BZ #4822]
38802 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38803
1cac7236
RM
38804 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38805 (write, read, close): Likewise.
38806 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38807
8e475601
JM
388082012-02-15 Joseph Myers <joseph@codesourcery.com>
38809
38810 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38811 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38812 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38813 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38814 <bits/signalfd.h>.
38815 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38816 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38817 bits/signalfd.h.
38818
ed656b40
MP
388192012-02-14 Marek Polacek <polacek@redhat.com>
38820
38821 * sysdeps/x86_64/crti.S: New file.
38822 * sysdeps/x86_64/crtn.S: New file.
38823 * sysdeps/x86_64/elf/initfini.c: Remove file.
38824
2a979d3a
JM
388252012-02-13 Joseph Myers <joseph@codesourcery.com>
38826
38827 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38828 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38829 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38830 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38831 <bits/inotify.h>.
38832 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38834 bits/inotify.h.
38835
2a418ac3
JM
388362012-02-13 Joseph Myers <joseph@codesourcery.com>
38837
38838 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38839 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38840 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38841 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38842 <bits/eventfd.h>.
38843 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38844 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38845 bits/eventfd.h.
38846
fb779be7
TS
388472012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38848
e19e83c5
RM
38849 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38850 __feraiseexcept instead of feraiseexcept.
7c35ffed 38851
fb779be7
TS
38852 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38853 nanosleep invocations.
38854 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38855 strings, and add error checking for a nanosleep invocations.
38856
59ba27a6
PE
388572012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38858
38859 Replace FSF snail mail address with URLs, as per GNU coding standards.
38860 Most of the snail mail addresses were wrong anyway, and omitting
38861 them makes the source code easier to maintain. Almost all of the
38862 changes are to license notices and to locale LC_IDENTIFICATION
38863 addresses, except for this one:
38864 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38865 not its snail mail address.
38866
57b957eb
RH
388672012-02-09 Richard Henderson <rth@twiddle.net>
38868
af850b1c
RH
38869 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38870 of kernel-features.h.
38871
57b957eb
RH
38872 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38873
6b73181a
MP
388742012-02-08 Marek Polacek <polacek@redhat.com>
38875
38876 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38877 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38878 * sysdeps/gnu/_G_config.h: Likewise.
38879 * sysdeps/generic/_G_config.h: Likewise.
38880
26ecc33a
AS
388812012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38882
6c6dbc63
AS
38883 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38884 tests.
38885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38886
e216c012
AS
38887 * sysdeps/powerpc/powerpc32/crti.S: New file.
38888 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38889 * sysdeps/powerpc/powerpc64/crti.S: New file.
38890 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38891
26ecc33a
AS
38892 * Makeconfig (have-initfini): Don't set.
38893 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38894 * configure.in (nopic_initfini): Don't substitute.
38895 * config.h.in (HAVE_INITFINI): Don't #undef.
38896 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38897 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38898
3add8e13
JM
388992012-02-08 Joseph Myers <joseph@codesourcery.com>
38900
38901 Support crti.S and crtn.S provided directly by architectures.
38902 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38903 [crti.S in sysdirs] (omit-deps): Likewise.
38904 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38905 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38906 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38907 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38908 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38909 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38910 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38911 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38912 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38913 compiler output for sysdeps/generic/initfini.c.
38914 * sysdeps/i386/elf/Makefile: Remove file.
38915 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38916
a22f12b4
MP
389172012-02-07 Marek Polacek <polacek@redhat.com>
38918
38919 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38920 * sysdeps/gnu/_G_config.h: Likewise.
38921 * sysdeps/mach/hurd/_G_config.h: Likewise.
38922
148cf100
MP
389232012-02-07 Marek Polacek <polacek@redhat.com>
38924
38925 * math/Makefile (tests): Add tst-CMPLX2.
38926 * math/tst-CMPLX2.c: New file.
38927
cfdc0dd7
AS
389282012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38929
84ba42c4
AS
38930 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38931
cfdc0dd7
AS
38932 * math/libm-test.inc (jn_test): Add missing L suffix.
38933
622c86f4
MP
389342012-02-06 Marek Polacek <polacek@redhat.com>
38935
38936 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38937 * sysdeps/i386/fpu/e_powf.S: Likewise.
38938 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38939 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38940 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38941 * sysdeps/i386/fpu/e_pow.S: Likewise.
38942 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38943 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38944 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38945 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38946 * sysdeps/i386/fpu/e_log2.S: Likewise.
38947 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38948 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38949 * sysdeps/i386/fpu/e_powl.S: Likewise.
38950 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38951 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38952 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38953 * sysdeps/i386/fpu/e_logl.S: Likewise.
38954 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38955 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38956 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38957 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38958 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38959 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38960 * sysdeps/i386/fpu/e_log.S: Likewise.
38961 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38962 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38963 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38964 * sysdeps/i386/fpu/e_logf.S: Likewise.
38965 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38966 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38967 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38968 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38969 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38970 * sysdeps/i386/fpu/e_log10.S: Likewise.
38971 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38972 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38973 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38974 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38975 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38976 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38977 * sysdeps/i386/asm-syntax.h: Likewise.
38978 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38979 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38980 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38981 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38982 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38983 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38984 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38985 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38986 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38987 * sysdeps/powerpc/sysdep.h: Likewise.
38988 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38989 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38990
d4a54ac6
JM
389912012-02-06 Joseph Myers <joseph@codesourcery.com>
38992
38993 [BZ #411]
38994 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38995
314054ea
JM
389962012-02-06 Joseph Myers <joseph@codesourcery.com>
38997
38998 * sysdeps/i386/sysdep.h: Include <features.h>.
38999 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39000 version.
39001
d8e0ca50
JM
390022012-02-05 Joseph Myers <joseph@codesourcery.com>
39003
39004 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39005 Define.
39006 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39007 LOAD_PIC_REG_STR.
39008
b1da7dd9
JM
390092012-02-03 Joseph Myers <joseph@codesourcery.com>
39010
39011 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39012 (SETUP_PIC_REG): Use GET_PC_THUNK.
39013 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39014 macro.
39015
9a1d9254
JM
390162012-02-03 Joseph Myers <joseph@codesourcery.com>
39017
39018 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39019 for non-PIC compilation.
39020 (SETUP_PIC_REG): Add .p2align directive.
39021 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39022 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39023 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39024 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39025 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39026 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39027 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39028 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39029 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39030 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39031 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39032 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39033 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39034 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39035 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39036 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39037 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39038 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39039 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39040 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39041 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39042 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39043 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39044 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39045 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39046 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39047 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39048 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39049 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39050 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39051 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39052 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39053 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39054 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39055 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39056 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39057 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39058 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39059 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39060 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39061 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39062
65dc3b75
JM
390632012-02-03 Joseph Myers <joseph@codesourcery.com>
39064
39065 * math/tst-CMPLX.c: Include <stdio.h>.
39066
d55bf177
JM
390672012-01-31 Joseph Myers <joseph@codesourcery.com>
39068
39069 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39070 float.
39071 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39072 * sysdeps/sparc/bits/mathdef.h: Likewise.
39073
69db4f8f
MP
390742012-01-31 Marek Polacek <polacek@redhat.com>
39075
39076 * libio/libio.h: Don't define _PARAMS.
39077 * locale/programs/config.h: Don't define PARAMS.
39078 * stdlib/strtol_l.c: Likewise.
39079 (__strtol_l): Remove PARAMS from the prototype.
39080
41b81892
UD
390812012-01-31 Ulrich Drepper <drepper@gmail.com>
39082
3b49edc0
UD
39083 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39084 names. Just use the correct names. Remove unnecessary wrapper
39085 functions.
39086 * malloc/arena.c: Likewise.
39087 * malloc/hooks.c: Likewise.
39088
41b81892
UD
39089 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39090 ARENA_TEST says not to. Simplify test for creation of a new arena.
39091 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39092
27a25b6e
UD
390932012-01-30 Ulrich Drepper <drepper@gmail.com>
39094
39095 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39096 into tail calls.
39097 (update_get_addr): New function.
39098 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39099 GET_ADDR_MODULE parameter.
39100
c8a89e7d
JM
391012012-01-30 Joseph Myers <joseph@codesourcery.com>
39102
39103 * crypt/cert.c: Remove __STDC__ conditionals.
39104 * crypt/crypt-entry.c: Likewise.
39105 * crypt/crypt_util.c: Likewise.
39106 * libio/filedoalloc.c: Likewise.
39107 * libio/fileops.c: Likewise.
39108 * libio/genops.c: Likewise.
39109 * libio/iofclose.c: Likewise.
39110 * libio/iofdopen.c: Likewise.
39111 * libio/iofopen.c: Likewise.
39112 * libio/iofopen64.c: Likewise.
39113 * libio/iogetdelim.c: Likewise.
39114 * libio/iopopen.c: Likewise.
39115 * libio/obprintf.c: Likewise.
39116 * libio/oldfileops.c: Likewise.
39117 * libio/oldiofclose.c: Likewise.
39118 * libio/oldiofdopen.c: Likewise.
39119 * libio/oldiofopen.c: Likewise.
39120 * libio/oldiopopen.c: Likewise.
39121 * libio/wfiledoalloc.c: Likewise.
39122 * libio/wgenops.c: Likewise.
39123 * locale/programs/xmalloc.c: Likewise.
39124 * misc/syslog.c: Likewise.
39125 * stdio-common/xbug.c: Likewise.
39126 * string/memchr.c: Likewise.
39127 * string/memcmp.c: Likewise.
39128 * string/memrchr.c: Likewise.
39129 * string/rawmemchr.c: Likewise.
39130 * sysdeps/posix/getcwd.c: Likewise.
39131 * time/strftime_l.c: Likewise.
39132
3b100462
JM
391332012-01-30 Joseph Myers <joseph@codesourcery.com>
39134
39135 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
39136 * config.make.in (config-cflags-sse2avx): Define.
39137 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39138 Fix typo.
39139
607998af
CM
391402012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39141
39142 * scripts/config.guess: Update from upstream config git repository.
39143 * scripts/config.sub: Likewise.
39144
3601428f
CM
391452012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39146
3ac8b282
CM
39147 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39148 (EM_NUM): Update.
39149 (R_TILEPRO_*, R_TILEGX_*): New macros.
39150
e034841e
CM
39151 * scripts/firstversions.awk: Fix bug in version range handling.
39152
540d7568
CM
39153 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39154
3601428f
CM
39155 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39156
463de862
CM
39157 * include/sys/epoll.h: New file.
39158 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39159 libc_hidden_def.
39160
73139a76
UD
391612012-01-28 Ulrich Drepper <drepper@gmail.com>
39162
96bc5b45
UD
39163 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39164 Avoid unnecessary __WORDSIZE == 64 test.
39165 (fmaxf): Use VEX format if possible.
39166 (fmax): Likewise.
39167 (fminf): Likewise.
39168 (fmin): Likewise.
39169
56f6f6a2
UD
39170 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39171 * math/math_private.h: Remove libc_fegetround* and
39172 libc_fesetround*.
39173 * sysdeps/i386/configure.in: Check for -msse2avx.
39174 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39175 also if SSE2AVX is defined.
39176 Remove libc_fegetround* and libc_fesetround*.
39177 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39178 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39179 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39180 of HAS_YMM_USABLE.
39181 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39182 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39183 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39184 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39185 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39186
73139a76
UD
39187 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39188
d73f93a4
AZ
391892012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39190
39191 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39192 size is not set.
39193 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39194
6ee65ed6
UD
391952012-01-27 Ulrich Drepper <drepper@gmail.com>
39196
39197 [BZ #13618]
39198 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39199 relocation.
39200 * Makeconfig (libm): Define.
39201 * elf/Makefile: Add rules to build and run tst-relsort1.
39202 * elf/tst-relsort1.c: New file.
39203 * elf/tst-relsort1mod1.c: New file.
39204 * elf/tst-relsort1mod2.c: New file.
39205
8db21882
JM
392062012-01-27 Joseph Myers <joseph@codesourcery.com>
39207
39208 * math/s_ldexp.c: Remove __STDC__ conditionals.
39209 * math/s_ldexpf.c: Likewise.
39210 * math/s_ldexpl.c: Likewise.
39211 * math/s_nextafter.c: Likewise.
39212 * math/s_nexttowardf.c: Likewise.
39213 * math/s_significand.c: Likewise.
39214 * math/s_significandf.c: Likewise.
39215 * math/s_significandl.c: Likewise.
39216 * math/w_jnl.c: Likewise.
39217 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39218 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39219 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39220 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39221 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39222 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39223 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39224 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39225 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39226 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39227 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39228 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39229 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39230 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39231 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39232 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39233 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39234 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39235 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39236 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39237 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39238 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39239 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39240 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39241 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39242 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39243 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39244 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39245 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39246 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39247 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39248 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39249 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39250 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39251 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39252 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39253 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39254 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39255 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39256 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39257 * sysdeps/ieee754/k_standard.c: Likewise.
39258 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39259 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39260 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39261 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39262 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39263 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39264 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39265 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39266 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39267 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39268 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39269 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39270 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39271 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39272 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39273 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39274 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39275 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39276 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39277 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39278 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39279 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39280 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39281 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39282 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39283 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39284 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39285 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39286 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39287 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39288 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39289 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39290 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39291 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39292 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39293 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39294 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39295 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39296 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39297 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39298 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39299 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39300 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39301 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39302 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39303 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39304 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39305 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39306 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39307 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39308 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39309 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39310 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39311 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39312 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39313 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39314 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39315 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39316 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39317 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39318 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39319 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39320 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39321 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39322 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39323 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39324 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39325 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39326 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39327 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39328 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39329 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39330 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39331 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39332 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39333 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39334 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39335 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39336 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39337 * sysdeps/ieee754/s_matherr.c: Likewise.
39338 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39339 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39340 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39341 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39342
965a54a4
JM
393432012-01-26 Joseph Myers <joseph@codesourcery.com>
39344
39345 * crypt/md5.h: Remove __STDC__ conditionals.
39346 * libio/libioP.h: Likewise.
39347 * locale/programs/config.h: Likewise.
39348 * sysdeps/generic/sysdep.h: Likewise.
39349 * sysdeps/i386/asm-syntax.h: Likewise.
39350 * sysdeps/s390/asm-syntax.h: Likewise.
39351 * sysdeps/unix/sysdep.h: Likewise.
39352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39354
7071ad79
JM
393552012-01-26 Joseph Myers <joseph@codesourcery.com>
39356
39357 * libio/libio.h: Remove __STDC__ conditionals.
39358 * malloc/obstack.h: Likewise.
39359 * math/complex.h: Likewise.
39360 * math/math.h: Likewise.
39361 * sysdeps/generic/_G_config.h: Likewise.
39362 * sysdeps/gnu/_G_config.h: Likewise.
39363 * sysdeps/mach/hurd/_G_config.h: Likewise.
39364 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39365 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39366 * sysdeps/sparc/bits/mathdef.h: Likewise.
39367
afc5ed09
UD
393682012-01-26 Ulrich Drepper <drepper@gmail.com>
39369
39370 [BZ #13583]
39371 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 39372 Clean up HAS_* macros.
afc5ed09 39373 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
39374 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39375 possible.
39376 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39377 HAS_AVX.
39378 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39379 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39380 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39381 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39382 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 39383
bdb6de1d
JM
393842012-01-25 Joseph Myers <joseph@codesourcery.com>
39385
39386 * elf/tst-unique3.cc (gets): Remove declaration.
39387 * elf/tst-unique3lib.cc (gets): Likewise.
39388 * elf/tst-unique3lib2.cc (gets): Likewise.
39389 * elf/tst-unique4.cc (gets): Likewise.
39390
b15549e6
UD
393912012-01-24 Ulrich Drepper <drepper@gmail.com>
39392
39393 * include/stdio.h: Add C++ protection. Add gets declarations and
39394 definitions.
39395 * debug/tst-chk1.c: Don't declare gets here.
39396 * stdio-common/tst-gets.c: Likewise.
39397
a037381f
JM
393982012-01-24 Joseph Myers <joseph@codesourcery.com>
39399
39400 * posix/glob: Remove directory.
39401
f1d4aa75
JM
394022012-01-24 Joseph Myers <joseph@codesourcery.com>
39403
39404 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39405
81c0c964
PT
394062012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39407
39408 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39409 of the non-standard EPFNOSUPPORT.
39410
0ea698ae
ST
394112011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39412
39413 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39414 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39415 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39416
d220b117
UD
394172012-01-21 Ulrich Drepper <drepper@gmail.com>
39418
39419 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39420
3e1aa84e
UD
394212012-01-20 Ulrich Drepper <drepper@gmail.com>
39422
39423 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39424 transient errors.
39425 * nscd/grpcache.c (cache_addgr): Likewise.
39426 * nscd/hstcache.c (cache_addhst): Likewise.
39427 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39428 * nscd/pwdcache.c (cache_addpw): Likewise.
39429 * nscd/servicescache.c (cache_addserv): Likewise.
39430
400aa020
UD
394312012-01-16 Ulrich Drepper <drepper@gmail.com>
39432
d77e7869
UD
39433 * malloc/malloc.c: Various cleanups.
39434 * malloc/hooks.c: Likewise.
39435
400aa020
UD
39436 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39437 * stdlib/bug-fmtmsg1.c: New file.
39438
39439 * stdlib/fmtmsg.c (init): Add missing unlock.
39440 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39441
e0a309cf
MP
394422012-01-12 Marek Polacek <polacek@redhat.com>
39443
39444 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39445 and _GNU_SOURCE.
39446
929d11c7
WS
394472012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39448
39449 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39450 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39451 macro to ensure uniqueness of label name.
39452 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39453 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39454
41d0e869
UD
394552012-01-11 Ulrich Drepper <drepper@gmail.com>
39456
0cc5ed3b
UD
39457 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39458
41d0e869
UD
39459 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39460 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39461 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39462 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39463
a47a831a
UD
394642012-01-10 Ulrich Drepper <drepper@gmail.com>
39465
daa891c0
UD
39466 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39467
39468 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39469 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39470 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39471
e58ef0f2
UD
39472 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39473
a47a831a 39474 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
39475 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39476 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 39477 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
39478
39479 * math/bits/math-finite.h: Add ldexp support.
39480
a0bfc9c7
MP
394812012-01-10 Marek Polacek <polacek@redhat.com>
39482
39483 * locale/programs/localedef.h (show_archive_content): Add noreturn
39484 attribute.
39485
d6e97a1d
UD
394862012-01-09 Ulrich Drepper <drepper@gmail.com>
39487
39488 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39489
d5835c26
UD
394902012-01-08 Ulrich Drepper <drepper@gmail.com>
39491
e5f484c6
UD
39492 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39493
d5835c26
UD
39494 * io/Makefile (headers): Add bits/poll2.h.
39495
d1f741e9
WS
394962011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39497
39498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39499 typo #include statement.
39500
ec09c1c4
UD
395012012-01-08 Ulrich Drepper <drepper@gmail.com>
39502
39503 * include/sys/cdefs.h: Define __attribute_alloc_size.
39504 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39505 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39506 * elf/pldd.c: Likewise.
39507 * iconv/iconv_charmap.c: Likewise.
39508 * iconv/iconvconfig.c: Likewise.
39509 * iconv/strtab.c: Likewise.
39510 * locale/programs/locale.c: Likewise.
39511 * locale/programs/localedef.h: Likewise.
39512 * locale/programs/simple-hash.c: Likewise.
39513 * nscd/nscd.h: Likewise.
39514 * nss/makedb.c: Likewise.
39515 * sysdeps/generic/ldconfig.h: Likewise.
39516 * locale/programs/localedef.c: Remove xmalloc prototype.
39517 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39518
20b38e03
PP
395192012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39520
39521 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39522 appropriate.
39523
a0da5fe1
UD
395242012-01-08 Ulrich Drepper <drepper@gmail.com>
39525
1d5a644a 39526 * math/Makefile (tests): Add tst-CMPLX.
669704fd 39527 * math/tst-CMPLX.c: New file.
1d5a644a 39528
8784a6db
UD
39529 * math/complex.h (CMPLXL): Fix typo.
39530
d9a216c0
UD
39531 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39532 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39533 GLIBC_2.16.
39534 * debug/tst-chk1.c: Add poll and ppoll tests.
39535 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39536 * include/sys/poll.h: Add hidden proto for ppoll.
39537 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39538 * sysdeps/mach/hurd/ppoll.c: Likewise.
39539 * io/ppoll.c: Likewise.
39540 * debug/poll_chk.c: New file.
39541 * debug/ppoll_chk.c: New file.
39542 * include/bits/poll2.h: New file.
39543 * io/bits/poll2.h: New file.
39544
ac097f5c
UD
39545 [BZ #1350]
39546 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39547
2119dcfa
UD
39548 * configure.in: static is always set to yes. Remove.
39549 * config.make.in: Don't set build-static.
39550 * Makeconfig: Remove use of build-static.
39551 * dlfcn/Makefile: Likewise.
39552 * elf/Makefile: Likewise.
39553 * math/Makefile: Likewise.
39554 * misc/Makefile: Likewise.
39555 * nptl/Makefile: Likewise.
39556 * sysdeps/mach/hurd/Makefile: Likewise.
39557
121766a9
UD
39558 * configure.in: PWD_P is not used anymore.
39559 * config.make.in: Remove PWD_P entry.
39560
51a1d39c 39561 * configure.in: Remove last remnants of RANLIB.
8720d066 39562 No need to check for signed size_t anymore.
215f4bdc
UD
39563 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39564 and IA-64.
3857022a 39565 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
39566 * aclocal.m4: Likewise.
39567
d3ed7225
UD
39568 * wcsmbs/mbrtoc16.c: Implement using towc function.
39569 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39570 * wcsmbs/wcsmbsload.c: Likewise.
39571 * iconv/gconv_simple.c: Likewise.
39572 * iconv/gconv_int.h: Likewise.
39573 * iconv/gconv_builtin.h: Likewise.
39574 * iconv/iconv_prog.c: Remove CHAR16 handling.
39575
39576 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39577
39578 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39579
a0da5fe1
UD
39580 * configure.in: Remove --with-elf and --enable-bounded options.
39581 Dont set base_machine for ia64. More non-ELF conditions removed.
39582 Remove testing and setting of leading underscore information.
39583 * config.make.in (build-bounded): Set to no.
39584 * config.h.in: Remove NO_UNDERSCORES entry.
39585 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39586 them.
39587 * csu/start.c: Remove !NO_UNDERSCORE code.
39588 * locale/localeinfo.h: Likewise.
39589 * sysdeps/generic/machine-gmon.h: Likewise.
39590 * sysdeps/generic/sysdep.h: Likewise.
39591 * sysdeps/i386/sysdep.h: Likewise.
39592 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39593 * sysdeps/mach/sysdep.h: Likewise.
39594 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39595 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39596 * sysdeps/sh/sysdep.h: Likewise.
39597 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39598 * sysdeps/unix/i386/sysdep.S: Likewise.
39599 * sysdeps/unix/sparc/start.c: Likewise.
39600 * sysdeps/unix/sparc/sysdep.S: Likewise.
39601 * sysdeps/unix/sparc/sysdep.h: Likewise.
39602 * sysdeps/unix/start.c: Likewise.
39603 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39604 * sysdeps/x86_64/sysdep.h: Likewise.
39605
df78418a
UD
396062012-01-07 Ulrich Drepper <drepper@gmail.com>
39607
a784e502
UD
39608 [BZ #13553]
39609 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39610 for non-gcc.
39611 * argp/argp-fmtstream.h: Use const instead __const.
39612 * argp/argp.h: Likewise.
39613 * assert/assert.h: Likewise.
39614 * bits/fenv.h: Likewise.
39615 * bits/sched.h: Likewise.
39616 * bits/sigset.h: Likewise.
39617 * bits/sigthread.h: Likewise.
39618 * catgets/nl_types.h: Likewise.
39619 * conform/data/pthread.h-data: Likewise.
39620 * crypt/crypt-private.h: Likewise.
39621 * crypt/crypt.h: Likewise.
39622 * crypt/crypt_util.c: Likewise.
39623 * ctype/ctype.h: Likewise.
39624 * debug/execinfo.h: Likewise.
39625 * debug/mbsnrtowcs_chk.c: Likewise.
39626 * debug/mbsrtowcs_chk.c: Likewise.
39627 * debug/wcsnrtombs_chk.c: Likewise.
39628 * debug/wcsrtombs_chk.c: Likewise.
39629 * debug/wcstombs_chk.c: Likewise.
39630 * dirent/dirent.h: Likewise.
39631 * dlfcn/dlfcn.h: Likewise.
39632 * elf/neededtest4.c: Likewise.
39633 * grp/grp.h: Likewise.
39634 * gshadow/gshadow.h: Likewise.
39635 * iconv/gconv.h: Likewise.
39636 * iconv/gconv_int.h: Likewise.
39637 * iconv/gconv_simple.c: Likewise.
39638 * iconv/iconv.h: Likewise.
39639 * iconv/loop.c: Likewise.
39640 * iconv/skeleton.c: Likewise.
39641 * include/aio.h: Likewise.
39642 * include/aliases.h: Likewise.
39643 * include/argz.h: Likewise.
39644 * include/arpa/inet.h: Likewise.
39645 * include/assert.h: Likewise.
39646 * include/dirent.h: Likewise.
39647 * include/dlfcn.h: Likewise.
39648 * include/execinfo.h: Likewise.
39649 * include/fcntl.h: Likewise.
39650 * include/fenv.h: Likewise.
39651 * include/glob.h: Likewise.
39652 * include/grp.h: Likewise.
39653 * include/libintl.h: Likewise.
39654 * include/mntent.h: Likewise.
39655 * include/netdb.h: Likewise.
39656 * include/pwd.h: Likewise.
39657 * include/rpc/netdb.h: Likewise.
39658 * include/sched.h: Likewise.
39659 * include/search.h: Likewise.
39660 * include/shadow.h: Likewise.
39661 * include/signal.h: Likewise.
39662 * include/stdio.h: Likewise.
39663 * include/stdlib.h: Likewise.
39664 * include/string.h: Likewise.
39665 * include/sys/socket.h: Likewise.
39666 * include/sys/stat.h: Likewise.
39667 * include/sys/statfs.h: Likewise.
39668 * include/sys/statvfs.h: Likewise.
39669 * include/sys/syslog.h: Likewise.
39670 * include/sys/time.h: Likewise.
39671 * include/sys/uio.h: Likewise.
39672 * include/time.h: Likewise.
39673 * include/unistd.h: Likewise.
39674 * include/utmp.h: Likewise.
39675 * include/wchar.h: Likewise.
39676 * include/wctype.h: Likewise.
39677 * inet/aliases.h: Likewise.
39678 * inet/arpa/inet.h: Likewise.
39679 * inet/netinet/ether.h: Likewise.
39680 * inet/netinet/in.h: Likewise.
39681 * intl/libintl.h: Likewise.
39682 * io/bits/fcntl2.h: Likewise.
39683 * io/fcntl.h: Likewise.
39684 * io/ftw.h: Likewise.
39685 * io/sys/poll.h: Likewise.
39686 * io/sys/stat.h: Likewise.
39687 * io/sys/statfs.h: Likewise.
39688 * io/sys/statvfs.h: Likewise.
39689 * io/utime.h: Likewise.
39690 * libio/bits/stdio.h: Likewise.
39691 * libio/bits/stdio2.h: Likewise.
39692 * libio/libio.h: Likewise.
39693 * libio/libioP.h: Likewise.
39694 * libio/stdio.h: Likewise.
39695 * locale/lc-ctype.c: Likewise.
39696 * locale/locale.h: Likewise.
39697 * login/utmp.h: Likewise.
39698 * malloc/arena.c: Likewise.
39699 * malloc/malloc.c: Likewise.
39700 * malloc/malloc.h: Likewise.
39701 * malloc/mcheck.c: Likewise.
39702 * malloc/mtrace.c: Likewise.
39703 * math/bits/mathcalls.h: Likewise.
39704 * math/fenv.h: Likewise.
39705 * math/math_private.h: Likewise.
39706 * misc/bits/error.h: Likewise.
39707 * misc/bits/syslog.h: Likewise.
39708 * misc/err.h: Likewise.
39709 * misc/error.h: Likewise.
39710 * misc/fstab.h: Likewise.
39711 * misc/mntent.h: Likewise.
39712 * misc/regexp.h: Likewise.
39713 * misc/search.h: Likewise.
39714 * misc/sgtty.h: Likewise.
39715 * misc/sys/mman.h: Likewise.
39716 * misc/sys/syslog.h: Likewise.
39717 * misc/sys/uio.h: Likewise.
39718 * misc/sys/xattr.h: Likewise.
39719 * misc/ttyent.h: Likewise.
39720 * nis/rpcsvc/ypclnt.h: Likewise.
39721 * nss/nss.h: Likewise.
39722 * posix/bits/unistd.h: Likewise.
39723 * posix/fnmatch.h: Likewise.
39724 * posix/glob.h: Likewise.
39725 * posix/sched.h: Likewise.
39726 * posix/spawn.h: Likewise.
39727 * posix/sys/wait.h: Likewise.
39728 * posix/unistd.h: Likewise.
39729 * posix/wordexp.h: Likewise.
39730 * pwd/pwd.h: Likewise.
39731 * resolv/netdb.h: Likewise.
39732 * resource/sys/resource.h: Likewise.
39733 * rt/aio.h: Likewise.
39734 * rt/bits/mqueue2.h: Likewise.
39735 * rt/mqueue.h: Likewise.
39736 * shadow/shadow.h: Likewise.
39737 * signal/signal.h: Likewise.
39738 * socket/send.c: Likewise.
39739 * socket/sendto.c: Likewise.
39740 * socket/sys/socket.h: Likewise.
39741 * stdio-common/printf.h: Likewise.
39742 * stdlib/bits/stdlib.h: Likewise.
39743 * stdlib/fmtmsg.h: Likewise.
39744 * stdlib/monetary.h: Likewise.
39745 * stdlib/stdlib.h: Likewise.
39746 * stdlib/ucontext.h: Likewise.
39747 * streams/stropts.h: Likewise.
39748 * string/argz.h: Likewise.
39749 * string/bits/string2.h: Likewise.
39750 * string/string.h: Likewise.
39751 * string/strings.h: Likewise.
39752 * sunrpc/rpc/auth.h: Likewise.
39753 * sunrpc/rpc/auth_des.h: Likewise.
39754 * sunrpc/rpc/clnt.h: Likewise.
39755 * sunrpc/rpc/netdb.h: Likewise.
39756 * sunrpc/rpc/pmap_clnt.h: Likewise.
39757 * sunrpc/rpc/xdr.h: Likewise.
39758 * sysdeps/generic/inttypes.h: Likewise.
39759 * sysdeps/generic/net/if.h: Likewise.
39760 * sysdeps/generic/sys/swap.h: Likewise.
39761 * sysdeps/gnu/net/if.h: Likewise.
39762 * sysdeps/gnu/utmpx.h: Likewise.
39763 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39764 * sysdeps/i386/i486/bits/string.h: Likewise.
39765 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39766 * sysdeps/s390/bits/string.h: Likewise.
39767 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39768 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39769 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39770 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39771 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39772 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39773 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39774 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39775 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39776 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39777 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39778 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39779 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39780 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39781 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39782 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39783 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39784 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39785 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39786 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39787 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39788 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39789 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39790 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39791 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39792 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39793 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39794 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39795 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39796 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39797 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39798 * sysvipc/sys/ipc.h: Likewise.
39799 * sysvipc/sys/msg.h: Likewise.
39800 * sysvipc/sys/sem.h: Likewise.
39801 * sysvipc/sys/shm.h: Likewise.
39802 * termios/termios.h: Likewise.
39803 * time/sys/time.h: Likewise.
39804 * time/time.h: Likewise.
39805 * wcsmbs/bits/wchar2.h: Likewise.
39806 * wcsmbs/uchar.h: Likewise.
39807 * wcsmbs/wchar.h: Likewise.
39808 * wctype/wctype.h: Likewise.
39809
0269750c
UD
39810 [BZ #13551]
39811 * Makeconfig: Remove all but ELF support including AIX support.
39812 * Makerules: Likewise.
39813 * config.h.in: Likewise.
39814 * config.make.in: Likewise.
39815 * configure: Likewise.
39816 * configure.in: Likewise.
39817 * csu/Makefile: Likewise.
39818 * csu/version.c: Likewise.
39819 * debug/Makefile: Likewise.
39820 * dlfcn/Makefile: Likewise.
39821 * elf/Makefile: Likewise.
39822 * extra-lib.mk: Likewise.
39823 * iconv/Makefile: Likewise.
39824 * include/libc-symbols.h: Likewise.
39825 * include/shlib-compat.h: Likewise.
39826 * resolv/Makefile: Likewise.
39827 * resolv/res_libc.c: Likewise.
39828 * rt/Makefile: Likewise.
39829 * sysdeps/i386/asm-syntax.h: Likewise.
39830 * sysdeps/i386/sysdep.h: Likewise.
39831 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39832 * sysdeps/mach/sysdep.h: Likewise.
39833 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39834 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39835 * sysdeps/s390/asm-syntax.h: Likewise.
39836 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39837 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39838 * sysdeps/sh/sysdep.h: Likewise.
39839 * sysdeps/unix/sparc/sysdep.h: Likewise.
39840 * sysdeps/wordsize-32/divdi3.c: Likewise.
39841 * sysdeps/x86_64/sysdep.h: Likewise.
39842
00bbd29b
UD
39843 * argp/Versions: Remove _argp_unlock_xxx.
39844
39845 [BZ #13559]
39846 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39847 * abilist/libBrokenLocale.abilist: Likewise.
39848 * abilist/libanl.abilist: Likewise.
39849 * abilist/libc.abilist: Likewise.
39850 * abilist/libcrypt.abilist: Likewise.
39851 * abilist/libdl.abilist: Likewise.
39852 * abilist/libm.abilist: Likewise.
39853 * abilist/libnsl.abilist: Likewise.
39854 * abilist/libpthread.abilist: Likewise.
39855 * abilist/libresolv.abilist: Likewise.
39856 * abilist/librt.abilist: Likewise.
39857 * abilist/libthread_db.abilist: Likewise.
39858 * abilist/libutil.abilist: Likewise.
39859 * abilist/libnss_db.abilist: New file.
39860
39861 * scripts/abilist.awk: Add support for indirect functions.
39862
a2693a0e
UD
39863 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39864
3f05895f
UD
39865 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39866
ecb6fb48
UD
39867 * shlib-versions: Remove entries for ports architectures.
39868
664f8cb9
UD
39869 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39870 files in ports.
39871 * elf/stackguard-macros.h: Remove support for IA-64.
39872 * elf/tst-auditmod1.c: Likewise.
39873 * sysdeps/generic/ldsodefs.h: Likewise.
39874
7ae81d88
UD
39875 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39876 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39877 configure files.
39878
bdeba135
UD
39879 [BZ #13552]
39880 * configure.in: Remove --enable-omitfp support.
39881 * FAQ.in: Adjust.
39882 * config.make.in: Likewise.
39883 * Makeconfig: Likewise.
39884 * manual/install.texi: Likewise.
39885
d75a0a62
UD
39886 In case anyone cares, the IA-64 architecture could move to ports.
39887 * sysdeps/ia64/*: Removed.
39888 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 39889 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 39890
dcc9756b
UD
39891 [BZ #13555]
39892 * configure.in: Remove entries for unsupported architectures.
39893
d3761ebc 39894 [BZ #13533]
9954432e
UD
39895 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39896 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39897 routines.
39898 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39899 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39900 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39901 fall back to using wcrtomb.
39902 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39903 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39904 renaming.
39905 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39906 * wcsmbs/tst-c16c32-1.c: New file.
39907
39908 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39909 local variable.
39910
c3a87236
UD
39911 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39912
28926a1b
UD
39913 * elf/tst-unique3.cc: Add explicit declaration of gets.
39914 * elf/tst-unique3lib.cc: Likewise.
39915 * elf/tst-unique3lib2.cc: Likewise.
39916 * elf/tst-unique4.cc: Likewise.
39917
df78418a
UD
39918 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39919
8ecd6b2a
JM
399202012-01-06 Joseph Myers <joseph@codesourcery.com>
39921
39922 [BZ #13566]
39923 * assert/assert.h (static_assert): Don't define for C++.
39924 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39925 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39926
9f115170
UD
399272012-01-03 Ulrich Drepper <drepper@gmail.com>
39928
5e0d0300
UD
39929 * iconv/loop.c (single loop): Fix assertion in storing of
39930 remaining bytes.
39931
9f115170
UD
39932 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39933
81fb02b0
UD
399342012-01-01 Ulrich Drepper <drepper@gmail.com>
39935
39936 * posix/getconf.c: Update copyright year.
39937 * nss/getent.c: Likewise.
a316c1f6 39938 * nss/makedb.c: Likewise.
81fb02b0
UD
39939 * iconv/iconvconfig.c: Likewise.
39940 * iconv/iconv_prog.c: Likewise.
39941 * elf/ldconfig.c: Likewise.
a316c1f6
UD
39942 * elf/pldd.c: Likewise.
39943 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
39944 * catgets/gencat.c: Likewise.
39945 * csu/version.c: Likewise.
39946 * elf/ldd.bash.in: Likewise.
39947 * elf/sprof.c (print_version): Likewise.
39948 * locale/programs/locale.c: Likewise.
39949 * locale/programs/localedef.c: Likewise.
a316c1f6 39950 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
39951 * nscd/nscd.c (print_version): Likewise.
39952 * debug/xtrace.sh: Likewise.
39953 * malloc/memusage.sh: Likewise.
39954 * malloc/mtrace.pl: Likewise.
39955 * debug/catchsegv.sh: Likewise.
39956
2ba92745
JJ
399572011-12-30 Jakub Jelinek <jakub@redhat.com>
39958
39959 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39960 pure attribute.
39961
dadebdae
UD
399622011-12-24 Ulrich Drepper <drepper@gmail.com>
39963
d3761ebc 39964 [BZ #13533]
db6af3eb
UD
39965 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39966 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39967 transformations.
39968 * iconv/gconv_int.h: Likewise.
39969 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39970 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39971 from libc for GLIBC_2.16.
39972 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39973 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39974 * wcsmbs/uchar.h: Really define mbstate_t.
39975 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39976 * wcsmbs/c16rtomb.c: New file.
39977 * wcsmbs/mbrtoc16.c: New file.
39978 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39979 for C/POSIX locale.
39980 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39981 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39982
dadebdae
UD
39983 * wcsmbs/wchar.h: Add missing __restrict.
39984
67371b56
UD
399852011-12-23 Ulrich Drepper <drepper@gmail.com>
39986
74033a25
UD
39987 [BZ #13532]
39988 * time/Makefile (routines): Add timespec_get.
39989 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39990 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39991 timespec for ISO C11.
39992 * time/timespec_get.c: New file.
39993 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39994 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39995
380d7e87
UD
39996 [BZ #13531]
39997 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39998 * stdlib/stdlib.h: Declare aligned_alloc.
39999 * Versions.def: Add GLIBC_2.16 for libc.
40000 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40001
4e9e7a35
UD
40002 [BZ 13527]
40003 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40004 ISO C11.
40005
380d7e87 40006 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
40007 code.
40008
03a71829
UD
40009 [BZ #13528]
40010 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40011
839e283e
UD
40012 [BZ #13529]
40013 * assert/assert.h (static_assert): Define.
40014
ce5294e2 40015 * version.h: Update for 2.16 development version.
90fa7312 40016
8d44e150 40017 [BZ #13526]
d7809905
UD
40018 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40019 _ISOC11_SOURCE.
40020
c0da14cd
UD
40021 * version.h (RELEASE): Bump for 2.15 release.
40022 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40023
530a3249
MP
40024 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40025 Patch by Marek Polacek <mpolacek@redhat.com>.
40026
67371b56
UD
40027 * bits/byteswap.h: Protect long long constants with __extension__.
40028 * sysdeps/i386/bits/byteswap.h: Likewise.
40029 * sysdeps/ia64/bits/byteswap.h: Likewise.
40030 * sysdeps/s390/bits/byteswap.h: Likewise.
40031 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40032
15db4de1
LD
400332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40034
40035 [BZ #13540]
bbe315ea
LD
40036 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40037 destination buffer.
15db4de1
LD
40038 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40039
2b2596b1
MP
400402011-12-23 Marek Polacek <polacek@redhat.com>
40041
40042 * elf/dl-addr.c (determine_info): Add inline keyword.
40043 * elf/tst-auditmod4b.c (check_avx): Likewise.
40044 * elf/tst-auditmod6b.c (check_avx): Likewise.
40045 * elf/tst-auditmod6c.c (check_avx): Likewise.
40046 * elf/tst-auditmod7b.c (check_avx): Likewise.
40047
70c6c246
UD
400482011-12-23 Ulrich Drepper <drepper@gmail.com>
40049
40050 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40051 !__SSE_MATH__.
40052
c044cf14
LD
400532011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40054
15db4de1 40055 [BZ #13540]
c044cf14
LD
40056 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40057 processing for last bytes.
40058
6b13d9d9
BH
400592011-08-06 Bruno Haible <bruno@clisp.org>
40060
d455f537
BH
40061 [BZ #13061]
40062 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40063 U+0385, not to U+1FEE.
40064
6b13d9d9
BH
40065 [BZ #13062]
40066 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40067 entry for U+00A5 U+0301.
40068
db910efd
UD
400692011-12-22 Ulrich Drepper <drepper@gmail.com>
40070
27deeafc
UD
40071 [BZ #13166]
40072 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40073 buffer for the output is too small.
40074
aed9d171
UD
40075 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40076 optimization.
40077
db910efd
UD
40078 [BZ #13185]
40079 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40080 SSE flags if possible.
40081
2bd779ae
LD
400822011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40083
e7f9dac3 40084 [BZ #13540]
2bd779ae
LD
40085 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40086 processing for last bytes.
40087
154bfc16
JM
400882011-12-22 Joseph Myers <joseph@codesourcery.com>
40089
40090 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40091 (syscall-list-default-options, syscall-list-default-condition)
40092 (syscall-list-includes): Define.
40093 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40094 list of ABIs and options and #if conditions for each ABI. Do not
40095 handle common syscalls between ABIs specially.
40096 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40097 Remove.
40098 (syscall-list-variants, syscall-list-32bit-options)
40099 (syscall-list-32bit-condition, syscall-list-64bit-options)
40100 (syscall-list-64bit-condition): Define.
40101 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40102 (syscall-list-variants, syscall-list-32bit-options)
40103 (syscall-list-32bit-condition, syscall-list-64bit-options)
40104 (syscall-list-64bit-condition): Define.
40105 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40106 Remove.
40107 (syscall-list-variants, syscall-list-32bit-options)
40108 (syscall-list-32bit-condition, syscall-list-64bit-options)
40109 (syscall-list-64bit-condition): Define.
40110 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40111 Remove.
40112 (syscall-list-variants, syscall-list-32bit-options)
40113 (syscall-list-32bit-condition, syscall-list-64bit-options)
40114 (syscall-list-64bit-condition): Define.
40115
21eaf3a5
UD
401162011-12-22 Ulrich Drepper <drepper@gmail.com>
40117
16c6f992
UD
40118 * locale/iso-639.def: Add brx entry.
40119
41043168
UD
40120 [BZ #13328]
40121 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40122 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40123
21eaf3a5
UD
40124 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40125 __feraiseexcept_renamed.
40126
e3a851a2
UD
401272011-12-21 Ulrich Drepper <drepper@gmail.com>
40128
4920765e
UD
40129 [BZ #13538]
40130 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40131 EPOLLET with unsigned values.
40132 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40133 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40134
e3a851a2
UD
40135 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40136 to large cancellation.
40137 * math/s_cacoshf.c: Likewise.
40138 * math/s_cacoshl.c: Likewise.
40139
b27e24b8
RK
401402011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40141
40142 [BZ #13305]
aebefeee 40143 [BZ #12786]
b27e24b8
RK
40144 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40145 * math/s_cacoshf.c: Likewise.
40146 * math/s_cacoshl.c: Likewise.
40147
ee190f67
UD
401482011-12-21 Ulrich Drepper <drepper@gmail.com>
40149
40150 [BZ #13439]
40151 * iconv/gconv.h: Define __GCONV_SWAP.
40152 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40153 * iconvdata/utf-16.c: Likewise.
40154 * iconvdata/utf-32.c: Likewise.
40155
707f25df
AS
401562011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40157
40158 [BZ #13524]
40159 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40160 numerator after shifting it by one limb.
40161
d2daaa1e
RÁE
401622011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40163
40164 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40165 under [__USE_EXTERN_INLINES].
40166
a4647e72
UD
401672011-12-17 Ulrich Drepper <drepper@gmail.com>
40168
40169 [BZ #13446]
40170 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40171
f0b264f1
AZ
401722011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40173
40174 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40175 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40176 optimized code.
40177 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40178 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40179 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40180 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40181 for strncasecmp/strncasecmp_l compilation.
40182 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40183 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40184
8ef4f244
MP
401852011-12-08 Marek Polacek <mpolacek@redhat.com>
40186
40187 [BZ #13484]
40188 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40189 of __asm__.
40190
97ac2654
UD
401912011-12-17 Ulrich Drepper <drepper@gmail.com>
40192
40193 [BZ #13506]
40194 * time/tzfile.c (__tzfile_read): Check values from file header.
40195
91d2a845
WS
401962011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40197
40198 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40199 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40200 * powerpc/powerpc32/dl-start.S: Likewise.
40201 * powerpc/powerpc32/elf/start.S: Likewise.
40202 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40203 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40204 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40205 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40206 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40207 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40208 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40209 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40210 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40211 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40212 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40213 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40214 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40215 * powerpc/powerpc32/memset.S: Likewise.
40216 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40217 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40218 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40219 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40220 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40221 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40222 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40223 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40224 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40225 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40226 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40227 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40228 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40229
a1267ba1
AZ
402302011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40231
40232 * math/libm-test.inc: Added more nearbyint tests.
40233 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40234 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40235 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40236 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40237
ad8ac1bd
RL
402382011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40239
40240 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40241 FD_CLOEXEC.
40242
1d3e4b61
UD
402432011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40244
40245 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40246 Add wcscpy-ssse3 wcscpy-c.
40247 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40248 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40249 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40250 * sysdeps/x86_64/wcschr.S: New file.
40251 * sysdeps/x86_64/wcsrchr.S: New file.
40252 * string/test-strcmp.c: Remove checking of wcscmp function for
40253 wrong alignments.
40254 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40255 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40256 wcsrchr-sse2 wcsrchr-c.
40257 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40258 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40259 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40260 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40261 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40262 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40263 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40264 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40265 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40266 * wcsmbc/wcschr.c (WCSCHR): New macro.
40267
5b330a2d
UD
402682011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40269
40270 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40271 * wcsmbs/test-wcsrchr.c: New file.
40272 * string/test-strrchr.c: Add wcsrchr support.
40273 (WIDE): New macro.
40274 * wcsmbs/test-wcscpy.c: New file.
40275 * string/test-strcpy.c: Add wcscpy support.
40276 (WIDE): New macro.
26428b7c 40277
f039c043
UD
402782011-12-10 Ulrich Drepper <drepper@gmail.com>
40279
40280 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40281 the inner loop.
40282
850fb039
AS
402832011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40284
40285 [BZ #13472]
40286 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40287
4efbd5cb
UD
402882011-12-04 Ulrich Drepper <drepper@gmail.com>
40289
52ff5dd0 40290 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 40291 Minor optimizations.
52ff5dd0 40292
4efbd5cb
UD
40293 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40294 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40295 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40296
8a426e12
UD
402972011-12-03 Ulrich Drepper <drepper@gmail.com>
40298
aff2453d
UD
40299 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40300 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40301 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40302 for gcc to avoid warnings.
40303 * inet/Makefile (tests): Add tst-checks.
40304 * inet/tst-checks.c: New file.
40305
40306 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40307 warning.
40308
40309 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40310 __wmemcmp_sse2.
40311
40312 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40313 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40314
8a426e12
UD
40315 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40316
9bea3473
UD
403172011-12-02 Ulrich Drepper <drepper@gmail.com>
40318
3a965496
UD
40319 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40320 problem.
40321
9bea3473
UD
40322 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40323
f101631b
UD
403242011-11-29 Joseph Myers <joseph@codesourcery.com>
40325
40326 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40327 conditional on GCC version.
40328 (__arch_compare_and_exchange_val_8_acq)
40329 (__arch_compare_and_exchange_val_16_acq)
40330 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40331 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40332 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40333
a98275aa
UD
403342011-12-02 Joseph Myers <joseph@codesourcery.com>
40335
40336 * sysdeps/sh/backtrace.c: New file.
40337
d4cc29a2
AS
403382011-12-02 Andreas Schwab <schwab@redhat.com>
40339
40340 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40341 parenthesis.
40342
6257af2d
AS
403432011-12-01 Andreas Schwab <schwab@redhat.com>
40344
40345 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40346 falling back to utime.
40347
b5f44c1a
AS
403482011-11-30 Andreas Schwab <schwab@redhat.com>
40349
40350 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40351 expectations for float.
40352
f3a6cc0a
AS
403532011-11-29 Andreas Schwab <schwab@redhat.com>
40354
40355 * locale/weight.h (findidx): Add parameter len.
40356 * locale/weightwc.h (findidx): Likewise.
40357 * posix/fnmatch_loop.c (FCT): Adjust caller.
40358 * posix/regcomp.c (build_equiv_class): Likewise.
40359 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40360 * posix/regexec.c (check_node_accept_bytes): Likewise.
40361 * string/strcoll_l.c (STRCOLL): Likewise.
40362 * string/strxfrm_l.c (STRXFRM): Likewise.
40363
9d65ea3a
UD
403642011-11-17 Ulrich Drepper <drepper@gmail.com>
40365
40366 * Makefile.in: Remove CVSOPT handling.
40367 * configure.in: Remove use of AC_REVISION.
40368 * iconvdata/Makefile (distribute): No need to filter out CVS.
40369 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40370 handling.
40371
5583a086
AS
403722011-11-16 Andreas Schwab <schwab@redhat.com>
40373
40374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40375 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40376 [USE_AS_STRNCASECMP_L]: Likewise.
40377 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40378 NO_TLS_DIRECT_SEG_REFS.
40379 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40380 Fix argument offsets for non-PIC.
40381 [USE_AS_STRNCASECMP_L]: Likewise.
40382 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40383 NO_TLS_DIRECT_SEG_REFS.
40384
d62a8200
UD
403852011-11-15 Ulrich Drepper <drepper@gmail.com>
40386
9d65ea3a 40387 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
40388 O_CLOEXEC.
40389 * locale/loadlocale.c (_nl_load_locale): Likewise.
40390
09f93bd3
AS
403912011-11-15 Andreas Schwab <schwab@redhat.com>
40392
446514f9
AS
40393 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40394 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40395 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40396 (SYSCALL_GETTIME): Set errno on error.
40397
09f93bd3
AS
40398 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40399 count references to noai6ai_cached.
40400
312be3f9
UD
404012011-11-15 Ulrich Drepper <drepper@gmail.com>
40402
40403 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40404
40405 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40406 FD_CLOEXEC for /proc/self/maps.
40407
40408 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40409 FD_CLOEXEC for /proc/meminfo.
40410
40411 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40412 gai.conf.
40413
40414 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40415 FD_CLOEXEC for given file.
40416
40417 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40418
40419 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40420 FD_CLOEXEC for /etc/hosts.
40421 (_gethtent): Likewise.
40422
40423 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40424
40425 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40426 cancellation and set FD_CLOEXEC for /etc/netgroup.
40427
40428 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40429 reading /etc/publickey.
40430
40431 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40432 allow cancellation when reading /etc/group.
40433
40434 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40435 cancellation.
40436 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40437
40438 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40439 when using data file.
40440
40441 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40442
40443 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40444 (write_nis_obj): Use "c" and "e" in fopen.
40445
40446 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40447
40448 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40449
40450 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40451
40452 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40453
40454 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40455 locale.alias.
40456
40457 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40458
40459 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40460
40461 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40462
40463 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40464 file parsing and set FD_CLOEXEC.
40465
82af0fa8
UD
404662011-11-14 Ulrich Drepper <drepper@gmail.com>
40467
40468 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40469
a5fb313c
AS
404702011-11-14 Andreas Schwab <schwab@redhat.com>
40471
40472 * malloc/arena.c (arena_get2): Don't call reused_arena when
40473 _int_new_arena failed.
40474
6abf3465
UD
404752011-11-14 Ulrich Drepper <drepper@gmail.com>
40476
40477 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40478 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40479 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40480 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40481 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40482 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40483 to compile strcasecmp and strncasecmp.
40484 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40485 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40486
40487 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40488
76e3966e
UD
404892011-11-13 Ulrich Drepper <drepper@gmail.com>
40490
40491 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40492 locale-defines.sym to gen-as-const-headers.
40493 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40494 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40495 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40496 to compile strcasecmp and strncasecmp.
40497 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40498 strcasecmp_l and strncasecmp_l.
40499 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40500 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40501 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40502 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40503 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40504 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40505 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40506 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40507 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40508 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40509 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40510
ab26144e
UD
405112011-11-12 Ulrich Drepper <drepper@gmail.com>
40512
7edb22ef
UD
40513 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40514 result of SYSDEP_GETTIME_CPU to retval.
40515 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40516 parameter list to macro. Remove trailing semicolon. Adjust users.
40517
9694fc44
UD
40518 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40519 variable.
40520
8ad89ef8
UD
40521 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40522 mantissa words.
40523 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40524
0c822ef9
UD
40525 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40526 from unused variable.
40527
874e0564
UD
40528 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40529 DWARF definitions.
40530 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40531 for assembling.
40532
3a2edc79
UD
40533 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40534 over namespaces.
40535
f3c2577f
UD
40536 * sunrpc/rpc_prot.c (rejected): Fix case value.
40537
294ce126
UD
40538 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40539 unsigned long long int to avoid warnings in shift.
40540
5e2b63c6
UD
40541 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40542 of use of trans.
40543 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40544 variable tmp.
40545
e7f4b08e
UD
40546 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40547 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40548 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40549
ab26144e
UD
40550 * nis/nis_table.c (nis_list): Use variable of correct type for
40551 result of __follow_path call.
40552
8a6d5255
AZ
405532011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40554
40555 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40556 of math functions ceil, trunc, floor, round, and sqrt, when
40557 avaliable on the platform.
40558 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40559 name clash.
40560 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40561 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40562 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40563
aaddc98c
MP
405642011-10-30 Marek Polacek <mpolacek@redhat.com>
40565
40566 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40567 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40568
95b7042b
RM
405692011-11-11 Roland McGrath <roland@hack.frob.com>
40570
40571 * include/unistd.h: Fix __readlink return type.
40572 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40573
57769839
UD
405742011-11-11 Ulrich Drepper <drepper@gmail.com>
40575
40576 * stdlib/ucontext.h: Undo last change for makecontext.
40577
edc5984d
AS
405782011-11-11 Andreas Schwab <schwab@redhat.com>
40579
98591e58
AS
40580 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40581
edc5984d
AS
40582 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40583 * setjmp/setjmp.h: Mark functions as non-leaf.
40584 * setjmp/bits/setjmp2.h: Likewise.
40585 * stdlib/ucontext.h: Likewise.
40586
77cdc054
AS
405872011-11-10 Andreas Schwab <schwab@redhat.com>
40588
40589 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40590 (reused_arena): Don't check arena limit.
40591 (arena_get2): Atomically check arena limit.
40592
fe72eebd
UD
405932011-11-08 Ulrich Drepper <drepper@gmail.com>
40594
5f078c32
UD
40595 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40596 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40597
fe72eebd
UD
40598 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40599 instructions.
40600
ae1bc2fa
AS
406012011-11-07 Andreas Schwab <schwab@redhat.com>
40602
7583a88d
AS
40603 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40604 handler when locking.
40605
ae1bc2fa
AS
40606 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40607 Fix size of allocated buffer.
40608
10fb0bfa
AS
406092011-11-04 Andreas Schwab <schwab@redhat.com>
40610
998832a4
AS
40611 [BZ #10103]
40612 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40613 declarations for long double functions.
40614 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40615
10fb0bfa
AS
40616 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40617
3d7ba52b
AS
406182011-11-03 Andreas Schwab <schwab@redhat.com>
40619
a9ae54a1
AS
40620 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40621 installed.
40622
3d7ba52b
AS
40623 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40624 is disabled.
40625
bc8db248
ST
406262011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40627
40628 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40629
45b96dd6
AS
406302011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40631
647776f6
AS
40632 * include/alloca.h (stackinfo_alloca_round): Define.
40633 (extend_alloca): Use it.
40634 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40635 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40636 here.
40637
d91a8b93
AS
40638 * scripts/check-local-headers.sh: Ignore libaudit.h.
40639
45b96dd6
AS
40640 * nscd/Makefile (extra-objs): Make recursively expanded.
40641
432d41ce
UD
406422011-11-01 Ulrich Drepper <drepper@gmail.com>
40643
34372fc6
UD
40644 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40645 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40646
fadb59f8
UD
40647 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40648 * posix/tst-rfc3484-2.c: Likewise.
40649 * posix/tst-rfc3484-3.c: Likewise.
40650
78239589
UD
40651 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40652 process_vm_writev.
40653 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40654 process_vm_writev.
40655 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40656 process_vm_writev from libc using GLIBC_2.15 version.
40657
432d41ce
UD
40658 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40659
02f9c6cf
PP
406602011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40661
40662 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40663 stack usage.
40664
3a2c0242
UD
406652011-10-31 Ulrich Drepper <drepper@gmail.com>
40666
f4ec4833
UD
40667 [BZ #13367]
40668 * nss/getent.c (initgroups_keys): Show error message in case no group
40669 names are given.
40670
3a2c0242
UD
40671 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40672 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40673 __bump_nl_timestamp.
40674 * nscd/connections (nscd_init): When host database is served open
40675 netlink socket and request notification about configuration changes.
40676 (main_loop_poll): Track netlink file descriptor and bump timestamp
40677 in case data becomes available.
40678 (main_loop_epoll): Likewise.
40679 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40680 (database_pers_head): Add extra_data fileds.
40681 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40682 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40683 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40684 Adjust caller.
40685 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40686 in6ai data, call __free_in6ai.
40687 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40688 Add -DHAVE_NETLINK.
40689 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40690 interface information. Reuse previous data if netlink timestamp
40691 is not changed.
40692 (__bump_nl_timestamp): New function.
40693 (__free_in6ai): New function.
40694
636064eb
UD
406952011-10-30 Ulrich Drepper <drepper@gmail.com>
40696
40697 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40698 close_not_cancel_no_status here.
40699 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40700
9beb2334
UD
407012011-10-29 Ulrich Drepper <drepper@gmail.com>
40702
6ef76f3b
UD
40703 [BZ #13276]
40704 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40705 return value.
40706
0ffc4f3e 40707 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
40708 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40709 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40710
cb95113e
UD
407112011-07-03 Andreas Jaeger <aj@suse.de>
40712
40713 [BZ #10709]
40714 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40715 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40716 * math/libm-test.inc (sin_test): Add test case.
40717
a1b560ff
UD
407182011-10-29 Ulrich Drepper <drepper@gmail.com>
40719
c9aaface
UD
40720 [BZ #13337]
40721 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40722 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40723
d272e7f1
UD
40724 * elf/chroot_canon.c (chroot_canon): Cleanups.
40725
1bc33071
UD
40726 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40727
1760874d
TJ
40728 [BZ #13335]
40729 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40730 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40731
51d91b18
UD
40732 * string/test-strchr.c: Make usable for strchrnul testing.
40733 * string/test-strchrnul.c: New file.
40734 * string/Makefile (strop-tests): Add strchrnul.
40735
a1b560ff 40736 * po/it.po: Update from translation team.
b611fb81 40737 * po/es.po: Likewise.
a1b560ff 40738
a5b81e1f
UD
407392011-10-28 Ulrich Drepper <drepper@gmail.com>
40740
fd52bc6d
UD
40741 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40742 the three constants needed as parameters. Drop the others.
40743 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40744 __m128i_strloadu_tolower.
52e4b9eb
UD
40745 Create and initialize variable zero and use it in all the places
40746 where _mm_setzero_si128 was used.
fd52bc6d 40747
a5b81e1f
UD
40748 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40749 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40750 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40751 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40752 anymore.
40753 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40754 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40755 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40756 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40757 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40758 __mpranred, __mptan.
40759 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40760 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40761 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40762 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40763 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40764 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40765 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40766 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40767 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40768
b4343346
AS
407692011-10-28 Andreas Schwab <schwab@redhat.com>
40770
0c92d8a8
AS
40771 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40772 redefine if SHARED.
40773 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40774
b4343346
AS
40775 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40776 wide char related routines to wcsmbs subdir.
40777
3871f58f
AS
407782011-10-27 Andreas Schwab <schwab@redhat.com>
40779
40780 [BZ #13344]
40781 * misc/sys/cdefs.h (__THROWNL): Define.
40782 * posix/unistd.h: Use __THREADNL instead of __THREAD
40783 for memory synchronization functions.
40784
94d44d9f
RM
407852011-10-26 Roland McGrath <roland@hack.frob.com>
40786
21b64b15 40787 [BZ #13349]
94d44d9f
RM
40788 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40789 doesn't exist.
40790 * manual/stdio.texi (Obstack Streams): Node removed.
40791
f6ce9294
AS
407922011-10-26 Andreas Schwab <schwab@redhat.com>
40793
80479147
AS
40794 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40795 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40796 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40797
f6ce9294
AS
40798 * math/math_private.h (math_force_eval): Allow non-addressable
40799 arguments.
40800 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40801
618280a1
UD
408022011-10-25 Ulrich Drepper <drepper@gmail.com>
40803
e0016b11
UD
40804 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40805 file is not needed.
40806
40807 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40808 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40809 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40810 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40811 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40812 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40813 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40814 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40815 Add AVX variants.
40816 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40817 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40818 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40819 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40820 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40821 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40822 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40823 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40824 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40825 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40826 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40827 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40828 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40829 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40830 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40831 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40832 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40833 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40834 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40835
40836 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40837 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40838
618280a1
UD
40839 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40840 place. Use VEX encoding when compiling for AVX.
40841
37822576
AS
408422011-10-25 Andreas Schwab <schwab@redhat.com>
40843
1f1e1947
AS
40844 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40845 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40846
37822576
AS
40847 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40848
31ea014d
UD
408492011-10-25 Ulrich Drepper <drepper@gmail.com>
40850
d7826aa1 40851 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 40852 useless if() expression.
d7826aa1
UD
40853 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40854 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40855 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40856 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40857 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40858 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40859 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40860 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40861 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40862 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40863 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40864 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40865 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40866 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40867 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40868 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40869 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40870 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40871 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40872
31ea014d
UD
40873 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40874
16437fec
AS
408752011-10-25 Andreas Schwab <schwab@redhat.com>
40876
40877 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40878 condition.
40879 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40880
31d3cc00
UD
408812011-10-25 Ulrich Drepper <drepper@gmail.com>
40882
40883 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40884 .text section. Avoid duplicate constants.
40885 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40886 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40887 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40888 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40889 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40890 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40891 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40892 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40893 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40894 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40895 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40896 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40897 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40898 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40899 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40900 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40901 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40902 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40903 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40904 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40905 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40906 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40907 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40908 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40909 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40910 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40911 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40912 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40913 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40914 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40915 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40916 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40917 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40918 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40919 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40920 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40921 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40922 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40923 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40924 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40925 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40926 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40927 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40928 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40929 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40930
58985aa9
UD
409312011-10-24 Ulrich Drepper <drepper@gmail.com>
40932
202c9deb
UD
40933 * sysdeps/x86_64/dla.h: Move to ...
40934 * sysdeps/x86_64/fpu/dla.h: ...here.
40935 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40936 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 40937
af968f62
UD
40938 * config.make.in: Add have-mfma4 entry.
40939 * configure.in: Substitute libc_cv_cc_fma4.
40940 * math/Makefile (dbl-only-routines): Add sincostab.
40941 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40942 Use __sincostab not sincos.
40943 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40944 name is a macro.
40945 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40947 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40948 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40949 using __copysign.
40950 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40951 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40952 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40953 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40954 and __inv.
40955 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40956 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40957 __copysign.
40958 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40959 define aliases when function name is a macro.
40960 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40961 sysdeps/ieee754/dbl-64/sincos.tbl.
40962 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40963 fma4-enabled routines.
40964 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40965 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40966 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40967 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40968 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40969 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40970 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40971 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40972 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40973 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40974 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40975 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40976 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40977 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40978 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40979 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40980 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40981 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40982 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40983 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40984 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40985 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40986 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40987 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40988 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40989 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40990 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40991 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40992 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40993 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40994
58985aa9
UD
40995 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40996 rename.
40997 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40998 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40999 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41000 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41001 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41002 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41003 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41004 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41005
a201fbcf
AS
410062011-10-24 Andreas Schwab <schwab@redhat.com>
41007
41008 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41009
fc2ee42a
LD
410102011-10-23 Ulrich Drepper <drepper@gmail.com>
41011
bb3129bd
UD
41012 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41013
0275fff8
UD
41014 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41015 prediction.
41016 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41017
2fa2ae85
UD
41018 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41019 Remove unused variable magic_bits.
41020 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41021
fc2ee42a
LD
41022 * string/strnlen.c: Define and use STRNLEN macro.
41023 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41024 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41025 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41026 * wcsmbs/wcslen.c: Define and use WCSLEN.
41027 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41028 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41029 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41030 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41031 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41032 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41033 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41034
ce7dd29f
LD
410352011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41036
41037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41038 strnlen-sse2-no-bsf.
41039 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41040 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41041 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41042 Add strnlen support.
41043 (USE_AS_STRNLEN): New macro.
41044 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41045 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41046 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41047 * sysdeps/x86_64/wcslen.S: New file.
41048
979c70a3
MZ
410492011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41050
41051 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41052 XMM-moves are used for copying on small sizes.
41053
2d09f82f
LD
410542011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41055
41056 * wcsmbs/Makefile (strop-tests): Add wcschr.
41057 * wcsmbs/test-wcschr.c: New file.
41058 * string/test-strchr.c: Update.
41059 Add wcschr support.
41060 (WIDE): New macro.
41061
619fccca
LD
410622011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41063
2d09f82f 41064 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
41065 * wcsmbs/test-wcslen.c: New file.
41066 * string/test-strlen.c: Update.
41067 Add wcslen support.
41068 (WIDE): New macro.
41069
09f699ea
UD
410702011-10-23 Ulrich Drepper <drepper@gmail.com>
41071
41072 * po/it.po: Update from translation team.
41073
95584d3b
LD
410742011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41075
41076 * sysdeps/x86_64/wcscmp.S: Update.
41077 Fix wrong comparison semantics.
41078 wcscmp shall use signed comparison not unsigned.
41079 Don't use substraction to avoid overflow bug.
41080 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41081 * wcsmbc/wcscmp.c: Likewise.
41082 * string/test-strcmp.c: Likewise.
41083 Add new tests to check cases with negative values.
41084
c8b3296b
UD
410852011-10-23 Ulrich Drepper <drepper@gmail.com>
41086
41087 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41088 * sysdeps/x86_64/dla.h: ...here. New file.
41089 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41090 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41091 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41092 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41093 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41094 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41095 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41096 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41097 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41098
246ad57a
AS
410992011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41100
41101 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41102 __ynl_finite aliases.
41103
a1a87169
UD
411042011-10-22 Ulrich Drepper <drepper@gmail.com>
41105
0d355eb7
UD
41106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41107
a1a87169
UD
41108 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41109 define DLA_FMA.
41110 [DLA_FMA] (EMULV): Use DLA_FMA.
41111 [DLA_FMA] (MUL12): Use EMULV.
41112 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41113 that are not needed.
41114 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41115 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41117 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41118 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41119 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41120 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41121
ee2aafe0
AS
411222011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41123
41124 * math/s_nan.c: Undef __nan.
41125 * math/s_nanf.c: Undef __nanf.
41126 * math/s_nanl.c: Undef __nanl.
41127 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41128 "math_private.h".
41129
bc62c2fb
UD
411302011-10-22 Ulrich Drepper <drepper@gmail.com>
41131
77425c63
UD
41132 * math/s_catan.c: Add branch predictions.
41133 * math/s_catanf.c: Likewise.
41134 * math/s_catanh.c: Likewise.
41135 * math/s_catanhf.c: Likewise.
41136 * math/s_catanhl.c: Likewise.
41137 * math/s_catanl.c: Likewise.
41138 * math/s_cexp.c: Likewise.
41139 * math/s_cexpf.c: Likewise.
41140 * math/s_cexpl.c: Likewise.
41141 * math/s_clog.c: Likewise.
41142 * math/s_clog10.c: Likewise.
41143 * math/s_clog10f.c: Likewise.
41144 * math/s_clog10l.c: Likewise.
41145 * math/s_clogf.c: Likewise.
41146 * math/s_clogl.c: Likewise.
41147 * math/s_csqrt.c: Likewise.
41148 * math/s_csqrtf.c: Likewise.
41149 * math/s_csqrtl.c: Likewise.
41150 * math/s_ctanf.c: Likewise.
41151 * math/s_ctanh.c: Likewise.
41152 * math/s_ctanhf.c: Likewise.
41153 * math/s_ctanhl.c: Likewise.
41154 * math/s_ctanl.c: Likewise.
41155
bc62c2fb
UD
41156 * math/math_private.h: Define __nan, __nanf, __nanl.
41157 * math/s_cacosh.c: Include <math_private.h>.
41158 * math/s_cacoshl.c: Likewise.
41159 * math/s_casinh.c: Likewise.
41160 * math/s_casinhf.c: Likewise.
41161 * math/s_casinhl.c: Likewise.
41162 * math/s_ccos.c: Rely entire on ccosh.
41163 * math/s_ccosf.c: Rely entire on ccoshf.
41164 * math/s_ccosl.c: Rely entirely on ccoshl.
41165 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41166 Remove tests for FE_INVALID.
41167 * math/s_ccoshf.c: Likewise.
41168 * math/s_ccoshl.c: Likewise.
41169 * math/s_csin.c: Likewise.
41170 * math/s_csinf.c: Likewise.
41171 * math/s_csinh.c Likewise.
41172 * math/s_csinhf.c: Likewise.
41173 * math/s_csinhl.c: Likewise.
41174 * math/s_csinl.c: Likewise.
41175 * math/s_ctan.c: Likewise.
41176 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41177 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41178 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41179
8ec250a4
UD
411802011-10-21 Ulrich Drepper <drepper@gmail.com>
41181
c196fed8
UD
41182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41183 compilation problems.
41184
8ec250a4
UD
41185 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41186 __builtin_expect.
41187
8d4f46c6
UD
411882011-10-20 Ulrich Drepper <drepper@gmail.com>
41189
ed72b654
UD
41190 * sysdeps/i386/configure.in: Test for -mfma4 option.
41191 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41192 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41193 COMMON_CPUID_INDEX_80000001.
41194 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41195 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41196 use it if FMA3 is not supported.
41197 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41198
8d4f46c6
UD
41199 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41200 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41201
d45c60c2
AS
412022011-10-20 Andreas Schwab <schwab@redhat.com>
41203
41204 [BZ #12892]
41205 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41206 it would create a cycle with a link time dependency.
41207
d9a4d2ab
UD
412082011-10-19 Ulrich Drepper <drepper@gmail.com>
41209
855d1560
UD
41210 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41211 instruction.
41212 * string/Makefile (strop-tests): Add rawmemchr.
41213 * string/test-rawmemchr.c: New file.
41214
d9a4d2ab
UD
41215 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41216 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41217 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41218 when compiling str{,n}casecmp and when AVX is available. Hook up
41219 new optimized code in initializers.
41220
8f3b1ffe
AS
412212011-10-19 Andreas Schwab <schwab@redhat.com>
41222
41223 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41224 __feraiseexcept instead of feraiseexcept.
41225
d38f1dba
UD
412262011-10-18 Ulrich Drepper <drepper@gmail.com>
41227
d9a8d0ab
UD
41228 * math/math_private.h: Define defaults for libc_fetestexcept and
41229 libc_feupdateenv.
41230 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41231 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41232 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41233 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41234 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41235 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41236 libc_fetestexcept and libc_feupdateenv.
41237
4855e3dd
UD
41238 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41239 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41240 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41241 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41242 libc_feholdexcept_setround.
41243
581d30e3
UD
41244 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41245 Add s_nearbyint-c and s_nearbyintf-c.
41246 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41247 nearbyintf inlines.
41248 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41249 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41250 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41251 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41252
d38f1dba
UD
41253 * math/math_private.h: Define defaults for libc_fegetround,
41254 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41255 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41256 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41257 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41258 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41259 standard functions.
41260 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41261 Remove comments and hacks for old compiler versions.
41262 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41263 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41264 libc_feholdexceptl.
41265
caa6c9d8
AS
412662011-10-18 Andreas Schwab <schwab@redhat.com>
41267
41268 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
41269 (__feraiseexcept_renamed): Add __NTH.
41270 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
41271 namespace violations.
41272
97c066e6
UD
412732011-10-17 Ulrich Drepper <drepper@gmail.com>
41274
99ce7b04
UD
41275 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41276
1004d182
UD
41277 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41278
228a984d
UD
41279 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41280 recently added interfaces.
41281 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41282
c8553a6a
UD
41283 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41284 about macro parameter expansion.
41285
ed22dcf6
UD
41286 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41287 __NO_MATH_INLINES is defined. Cleanups.
41288
41289 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41290 and __floorf is target has SSE4.1.
41291 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41292 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41293 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41294 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41295
b171c137
UD
41296 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41297 name.
41298 (floorf): Likewise.
41299
97c066e6
UD
41300 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41301
629f62ef
AS
413022011-10-17 Andreas Schwab <schwab@redhat.com>
41303
49a43d80
AS
41304 * misc/sys/cdefs.h: Fix last change.
41305
629f62ef
AS
41306 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41307 database lookup.
41308
e453f6cd
UD
413092011-10-16 Ulrich Drepper <drepper@gmail.com>
41310
aa78043a
UD
41311 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41312
ad0f5cad
UD
41313 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41314 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41315 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41316 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41317 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41318 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41319 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41320 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41321 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41322 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41323 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41324 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41325 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41326 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41327 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41328 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41329 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41330 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41331 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41332 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41333 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41334 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41335
41336 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41337 ceil, ceilf, floor, floorf.
41338
41339 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41340 Perform IRELATIVE relocations last.
41341
e453f6cd
UD
41342 * elf/do-rel.h: Add another parameter nrelative, replacing the
41343 local variable with the same name. Change name of the function
41344 to end in Rel or Rela (uppercase).
41345 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41346 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41347 elf_dynamic_do_##reloc function.
41348
fd5bdc09
UD
413492011-10-15 Ulrich Drepper <drepper@gmail.com>
41350
79b195b5
UD
41351 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41352 is sufficient, at least on modern CPUs.
41353
d4a28569
UD
41354 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41355
b61099b5
UD
41356 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41357 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41358
bcf01e6d
UD
41359 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41360 __expl_finite.
41361 * math/bits/math-finite.h: Add entries for exp.
41362 * math/e_expl.c: Add __*_finite alias.
41363 * sysdeps/i386/fpu/e_exp.S: Likewise.
41364 * sysdeps/i386/fpu/e_expf.S: Likewise.
41365 * sysdeps/i386/fpu/e_expl.c: Likewise.
41366 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41367 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41368 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41369 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41370 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41371 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41372 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41373
ba1a0d59
UD
41374 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41375 is sufficient, at least on modern CPUs.
41376
fd5bdc09
UD
41377 * ctype/ctype-info.c (__ctype_init): Define.
41378 * include/ctype.h (__ctype_init): Declare.
41379 (__ctype_b_loc): The variable is always initialized.
41380 (__ctype_toupper_loc): Likewise.
41381 (__ctype_tolower_loc): Likewise.
41382 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41383 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41384
7872cfb0
AS
413852011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41386
b468825a
AS
41387 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41388
7872cfb0
AS
41389 * configure.in: Also look in $cxxmachine/include for C++ system
41390 headers.
41391
be13f7bf
LD
413922011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41393
41394 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41395 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41396 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41397 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41398 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41399 (USE_AS_WMEMCMP): New macro.
41400 Fixing indents.
41401 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41402 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41403 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41404 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41406 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41407 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41408 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41409 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41410 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41411 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41412 (USE_AS_WMEMCMP): New macro.
41413 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41414 * sysdeps/string/test-memcmp.c: Update.
41415 Fix simple_wmemcmp.
41416 Add new tests.
41417 * wcsmbs/wmemcmp.c: Update.
41418 (WMEMCMP): New macro.
41419 Fix overflow bug.
41420
556a2007
AJ
414212011-10-12 Andreas Jaeger <aj@suse.de>
41422
41423 [BZ #13268]
41424 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41425
538faaa7
UD
414262011-10-15 Ulrich Drepper <drepper@gmail.com>
41427
ab6737ff
UD
41428 * libio/iofwide.c (do_length): Avoid warning.
41429
538faaa7
UD
41430 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41431
396a21b1
UD
414322011-10-14 Ulrich Drepper <drepper@gmail.com>
41433
cdf2901f
UD
41434 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41435
38ad40ce
UD
41436 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41437 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41438 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41439 * sysdeps/i386/i686/fpu/e_log.S: New file.
41440 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41441 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41442
396a21b1
UD
41443 * ctype/ctype.h: Add support for inlined isXXX functions when
41444 compiling C++ code.
41445
6b1f68c9
AS
414462011-10-14 Andreas Schwab <schwab@redhat.com>
41447
349290c0
AS
41448 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41449
6b1f68c9
AS
41450 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41451
f2282d42
RM
414522011-10-13 Roland McGrath <roland@hack.frob.com>
41453
41454 [BZ #13291]
41455 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41456
5298ffa8
AS
414572011-10-13 Andreas Schwab <schwab@redhat.com>
41458
714fad23
AS
41459 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41460 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41461 feraiseexcept.
41462
81dcc7fb
AS
41463 * sysdeps/x86_64/memrchr.S: Check for zero size.
41464
5298ffa8
AS
41465 * string/stratcliff.c: Add memrchr tests.
41466
951fbcec
LD
414672011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41468
41469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41470 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41471 rawmemchr-sse2 rawmemchr-sse2-bsf.
41472 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41473 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41474 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41475 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41476 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41477 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41478 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41479 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41480 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41481 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41482 * string/memrchr.c (MEMRCHR): New macro.
41483
0ac5ae23
UD
414842011-10-12 Ulrich Drepper <drepper@gmail.com>
41485
41486 Add integration with gcc's -ffinite-math-only and optimize wrapper
41487 functions in libm.
41488 * Versions.def: Define GLIBC_2.15 version for libm.
41489 * math/Makefile (headers): Add bits/math-finite.h.
41490 * math/bits/math-finite.h: New file.
41491 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41492 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41493 * math/e_acoshl.c: Add __*_finite alias.
41494 * math/e_acosl.c: Likewise.
41495 * math/e_asinl.c: Likewise.
41496 * math/e_atan2l.c: Likewise.
41497 * math/e_atanhl.c: Likewise.
41498 * math/e_coshl.c: Likewise.
41499 * math/e_exp10.c: Likewise.
41500 * math/e_exp10f.c: Likewise.
41501 * math/e_exp10l.c: Likewise.
41502 * math/e_exp2l.c: Likewise.
41503 * math/e_fmodl.c: Likewise.
41504 * math/e_gammal_r.c: Likewise.
41505 * math/e_hypotl.c: Likewise.
41506 * math/e_j0l.c: Likewise.
41507 * math/e_j1l.c: Likewise.
41508 * math/e_jnl.c: Likewise.
41509 * math/e_lgammal_r.c: Likewise.
41510 * math/e_log10l.c: Likewise.
41511 * math/e_log2l.c: Likewise.
41512 * math/e_logl.c: Likewise.
41513 * math/e_powl.c: Likewise.
41514 * math/e_sinhl.c: Likewise.
41515 * math/e_sqrtl.c: Likewise.
41516 * math/e_scalb.c: Completely rewritten and optimized.
41517 * math/e_scalbf.c: Likewise.
41518 * math/e_scalbl.c: Likewise.
41519 * math/w_acos.c: Likewise.
41520 * math/w_acosf.c: Likewise.
41521 * math/w_acosl.c: Likewise.
41522 * math/w_acosh.c: Likewise.
41523 * math/w_acoshf.c: Likewise.
41524 * math/w_acoshl.c: Likewise.
41525 * math/w_asin.c: Likewise.
41526 * math/w_asinf.c: Likewise.
41527 * math/w_asinl.c: Likewise.
41528 * math/w_atan2.c: Likewise.
41529 * math/w_atan2f.c: Likewise.
41530 * math/w_atan2l.c: Likewise.
41531 * math/w_atanh.c: Likewise.
41532 * math/w_atanhf.c: Likewise.
41533 * math/w_atanhl.c: Likewise.
41534 * math/w_exp10.c: Likewise.
41535 * math/w_exp10f.c: Likewise.
41536 * math/w_exp10l.c: Likewise.
41537 * math/w_fmod.c: Likewise.
41538 * math/w_fmodf.c: Likewise.
41539 * math/w_fmodl.c: Likewise.
41540 * math/w_j0.c: Likewise.
41541 * math/w_j0f.c: Likewise.
41542 * math/w_j0l.c: Likewise.
41543 * math/w_j1.c: Likewise.
41544 * math/w_j1f.c: Likewise.
41545 * math/w_j1l.c: Likewise.
41546 * math/w_jn.c: Likewise.
41547 * math/w_jnf.c: Likewise.
41548 * math/w_log.c: Likewise.
41549 * math/w_logf.c: Likewise.
41550 * math/w_logl.c: Likewise.
41551 * math/w_log10.c: Likewise.
41552 * math/w_log10f.c: Likewise.
41553 * math/w_log10l.c: Likewise.
41554 * math/w_log2.c: Likewise.
41555 * math/w_log2f.c: Likewise.
41556 * math/w_log2l.c: Likewise.
41557 * math/w_pow.c: Likewise.
41558 * math/w_powf.c: Likewise.
41559 * math/w_powl.c: Likewise.
41560 * math/w_remainder.c: Likewise.
41561 * math/w_remainderf.c: Likewise.
41562 * math/w_remainderl.c: Likewise.
41563 * math/w_scalb.c: Likewise.
41564 * math/w_scalbf.c: Likewise.
41565 * math/w_scalbl.c: Likewise.
41566 * math/w_sqrt.c: Likewise.
41567 * math/w_sqrtf.c: Likewise.
41568 * math/w_sqrtl.c: Likewise.
41569 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41570 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41571 used.
41572 * math/math_private.h: Declare __kernel_standard_f.
41573 * math/w_cosh.c: Remove cruft and optimize a bit.
41574 * math/w_coshf.c: Likewise.
41575 * math/w_coshl.c: Likewise.
41576 * math/w_exp2.c: Likewise.
41577 * math/w_exp2f.c: Likewise.
41578 * math/w_exp2l.c: Likewise.
41579 * math/w_hypot.c: Likewise.
41580 * math/w_hypotf.c: Likewise.
41581 * math/w_hypotl.c: Likewise.
41582 * math/w_lgamma.c: Likewise.
41583 * math/w_lgamma_r.c: Likewise.
41584 * math/w_lgammaf.c: Likewise.
41585 * math/w_lgammaf_r.c: Likewise.
41586 * math/w_lgammal.c: Likewise.
41587 * math/w_lgammal_r.c: Likewise.
41588 * math/w_sinh.c: Likewise.
41589 * math/w_sinhf.c: Likewise.
41590 * math/w_sinhl.c: Likewise.
41591 * math/w_tgamma.c: Likewise.
41592 * math/w_tgammaf.c: Likewise.
41593 * math/w_tgammal.c: Likewise.
41594 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41595 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41596 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41597 Minor optimizations. Pretty printing. Remove cruft.
41598 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41599 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41600 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41601 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41602 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41603 * sysdeps/i386/fpu/e_asin.S: Likewise.
41604 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41605 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41606 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41607 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41608 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41609 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41610 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41611 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41612 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41613 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41614 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41615 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41616 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41617 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41618 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41619 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41620 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41621 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41622 * sysdeps/i386/fpu/e_log.S: Likewise.
41623 * sysdeps/i386/fpu/e_log10.S: Likewise.
41624 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41625 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41626 * sysdeps/i386/fpu/e_log2.S: Likewise.
41627 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41628 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41629 * sysdeps/i386/fpu/e_logf.S: Likewise.
41630 * sysdeps/i386/fpu/e_logl.S: Likewise.
41631 * sysdeps/i386/fpu/e_pow.S: Likewise.
41632 * sysdeps/i386/fpu/e_powf.S: Likewise.
41633 * sysdeps/i386/fpu/e_powl.S: Likewise.
41634 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41635 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41636 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41637 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41638 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41639 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41640 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41641 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41642 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41643 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41644 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41645 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41646 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41647 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41648 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41649 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41650 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41651 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41652 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41653 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41654 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41655 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41656 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41657 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41658 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41659 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41660 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41661 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41662 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41663 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41664 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41665 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41666 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41667 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41668 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41669 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41670 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41671 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41672 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41673 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41674 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41675 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41676 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41677 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41678 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41679 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41680 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41681 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41682 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41683 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41684 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41685 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41686 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41687 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41688 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41689 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41690 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41691 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41692 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41693 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41694 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41695 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41696 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41697 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41698 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41699 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41700 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41701 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41702 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41703 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41704 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41705 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41706 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41707 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41708 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41709 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41710 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41711 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41712 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41713 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41714 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41715 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41716 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41717 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41718 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41719 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41720 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41721 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41722 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41723 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41724 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41725 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41726 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41727 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41728 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41729 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41730 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41731 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41732 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41733 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41734 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41735 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41736 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41737 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41738 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41739 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41740 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41741 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41742 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41743 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41744 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41745 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41746 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41747 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41748 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41749 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41750 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41751 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41752 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41753 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41754 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41755 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41756 (__isnanf): Likewise.
41757 (__isinf_ns): Likewise.
41758 (__isinf_nsf): Likewise.
41759 (__finite): Likewise.
41760 (__finitef): Likewise.
41761 (__ieee754_sqrt): Define as macro.
41762 (__ieee754_sqrtf): Define as macro.
41763 (__ieee754_sqrtl): Define as macro.
41764 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41765 inlined copy.
41766 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41767 __FINITE_MATH_ONLY__ consistent.
41768 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41769
12cc2fcd
AS
417702011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41771
a843a204
AS
41772 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41773 of rawmemchr.
41774
12cc2fcd
AS
41775 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41776
c853acd5
UD
417772011-10-09 Ulrich Drepper <drepper@gmail.com>
41778
41779 * po/ja.po: Update from translation team.
41780
c658d255
RM
417812011-10-08 Roland McGrath <roland@hack.frob.com>
41782
110946e4
RM
41783 * locale/programs/locarchive.c (prepare_address_space): New function.
41784 (create_archive, enlarge_archive, open_archive): Use it.
41785
50604220
RM
41786 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41787 inside [SHARED], where it is used.
41788
c658d255
RM
41789 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41790
41791 * nss/getent.c (netgroup_keys): Remove unused variable.
41792 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41793
6a621eb7
UD
417942011-10-08 Ulrich Drepper <drepper@gmail.com>
41795
7edb55ce
UD
41796 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41797 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41798 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41799 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41800 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41801 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41802 * math/Makefile (libm-calls): Add s_isinf_ns.
41803 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41804 * math/multc3.c: Likewise.
41805 * math/s_casin.c: Likewise.
41806 * math/s_casinf.c: Likewise.
41807 * math/s_casinl.c: Likewise.
41808 * math/s_ccos.c: Likewise.
41809 * math/s_ccosf.c: Likewise.
41810 * math/s_ccosl.c: Likewise.
41811 * math/s_ctan.c: Likewise.
41812 * math/s_ctanf.c: Likewise.
41813 * math/s_ctanh.c: Likewise.
41814 * math/s_ctanhf.c: Likewise.
41815 * math/s_ctanhl.c: Likewise.
41816 * math/s_ctanl.c: Likewise.
41817 * math/w_fmod.c: Likewise.
41818 * math/w_fmodf.c: Likewise.
41819 * math/w_fmodl.c: Likewise.
41820 * math/w_remainder.c: Likewise.
41821 * math/w_remainderf.c: Likewise.
41822 * math/w_remainderl.c: Likewise.
41823 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41824 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41825 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41826 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41827 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41828 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41829 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41830 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41831
187da0ae
UD
41832 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41833 of the number.
41834 * stdio-common/printf_fphex.c: Likewise.
41835 * stdio-common/printf_size.c: Likewise.
41836
9277c064
UD
41837 * math/e_exp10.c: Include math_private.h using <...> not "...".
41838 * math/e_exp10f.c: Likewise.
41839 * math/e_exp10l.c: Likewise.
41840 * math/e_exp2l.c: Likewise.
41841 * math/e_j0l.c: Likewise.
41842 * math/e_j1l.c: Likewise.
41843 * math/e_jnl.c: Likewise.
41844 * math/e_lgammal_r.c: Likewise.
41845 * math/e_rem_pio2l.c: Likewise.
41846 * math/e_scalb.c: Likewise.
41847 * math/e_scalbf.c: Likewise.
41848 * math/e_scalbl.c: Likewise.
41849 * math/k_cosl.c: Likewise.
41850 * math/k_sinl.c: Likewise.
41851 * math/k_tanl.c: Likewise.
41852 * math/s_cacoshf.c: Likewise.
41853 * math/s_catan.c: Likewise.
41854 * math/s_catanf.c: Likewise.
41855 * math/s_catanh.c: Likewise.
41856 * math/s_catanhf.c: Likewise.
41857 * math/s_catanhl.c: Likewise.
41858 * math/s_catanl.c: Likewise.
41859 * math/s_ccosh.c: Likewise.
41860 * math/s_ccoshf.c: Likewise.
41861 * math/s_ccoshl.c: Likewise.
41862 * math/s_cexp.c: Likewise.
41863 * math/s_cexpf.c: Likewise.
41864 * math/s_cexpl.c: Likewise.
41865 * math/s_clog.c: Likewise.
41866 * math/s_clog10.c: Likewise.
41867 * math/s_clog10f.c: Likewise.
41868 * math/s_clog10l.c: Likewise.
41869 * math/s_clogf.c: Likewise.
41870 * math/s_clogl.c: Likewise.
41871 * math/s_csin.c: Likewise.
41872 * math/s_csinf.c: Likewise.
41873 * math/s_csinh.c: Likewise.
41874 * math/s_csinhf.c: Likewise.
41875 * math/s_csinhl.c: Likewise.
41876 * math/s_csinl.c: Likewise.
41877 * math/s_csqrt.c: Likewise.
41878 * math/s_csqrtf.c: Likewise.
41879 * math/s_csqrtl.c: Likewise.
41880 * math/s_ctan.c: Likewise.
41881 * math/s_ctanf.c: Likewise.
41882 * math/s_ctanh.c: Likewise.
41883 * math/s_ctanhf.c: Likewise.
41884 * math/s_ctanhl.c: Likewise.
41885 * math/s_ctanl.c: Likewise.
41886 * math/s_ldexp.c: Likewise.
41887 * math/s_ldexpf.c: Likewise.
41888 * math/s_ldexpl.c: Likewise.
41889 * math/s_significand.c: Likewise.
41890 * math/s_significandf.c: Likewise.
41891 * math/s_significandl.c: Likewise.
41892 * math/w_acos.c: Likewise.
41893 * math/w_acosf.c: Likewise.
41894 * math/w_acosh.c: Likewise.
41895 * math/w_acoshf.c: Likewise.
41896 * math/w_acoshl.c: Likewise.
41897 * math/w_acosl.c: Likewise.
41898 * math/w_asin.c: Likewise.
41899 * math/w_asinf.c: Likewise.
41900 * math/w_asinl.c: Likewise.
41901 * math/w_atan2.c: Likewise.
41902 * math/w_atan2f.c: Likewise.
41903 * math/w_atan2l.c: Likewise.
41904 * math/w_atanh.c: Likewise.
41905 * math/w_atanhf.c: Likewise.
41906 * math/w_atanhl.c: Likewise.
41907 * math/w_cosh.c: Likewise.
41908 * math/w_coshf.c: Likewise.
41909 * math/w_coshl.c: Likewise.
41910 * math/w_dremf.c: Likewise.
41911 * math/w_exp10.c: Likewise.
41912 * math/w_exp10f.c: Likewise.
41913 * math/w_exp10l.c: Likewise.
41914 * math/w_exp2.c: Likewise.
41915 * math/w_exp2f.c: Likewise.
41916 * math/w_fmod.c: Likewise.
41917 * math/w_fmodf.c: Likewise.
41918 * math/w_fmodl.c: Likewise.
41919 * math/w_hypot.c: Likewise.
41920 * math/w_hypotf.c: Likewise.
41921 * math/w_hypotl.c: Likewise.
41922 * math/w_j0.c: Likewise.
41923 * math/w_j0f.c: Likewise.
41924 * math/w_j0l.c: Likewise.
41925 * math/w_j1.c: Likewise.
41926 * math/w_j1f.c: Likewise.
41927 * math/w_j1l.c: Likewise.
41928 * math/w_jn.c: Likewise.
41929 * math/w_jnf.c: Likewise.
41930 * math/w_jnl.c: Likewise.
41931 * math/w_lgamma.c: Likewise.
41932 * math/w_lgamma_r.c: Likewise.
41933 * math/w_lgammaf.c: Likewise.
41934 * math/w_lgammaf_r.c: Likewise.
41935 * math/w_lgammal.c: Likewise.
41936 * math/w_lgammal_r.c: Likewise.
41937 * math/w_log.c: Likewise.
41938 * math/w_log10.c: Likewise.
41939 * math/w_log10f.c: Likewise.
41940 * math/w_log10l.c: Likewise.
41941 * math/w_log2.c: Likewise.
41942 * math/w_log2f.c: Likewise.
41943 * math/w_log2l.c: Likewise.
41944 * math/w_logf.c: Likewise.
41945 * math/w_logl.c: Likewise.
41946 * math/w_pow.c: Likewise.
41947 * math/w_powf.c: Likewise.
41948 * math/w_powl.c: Likewise.
41949 * math/w_remainder.c: Likewise.
41950 * math/w_remainderf.c: Likewise.
41951 * math/w_remainderl.c: Likewise.
41952 * math/w_scalb.c: Likewise.
41953 * math/w_scalbf.c: Likewise.
41954 * math/w_scalbl.c: Likewise.
41955 * math/w_sinh.c: Likewise.
41956 * math/w_sinhf.c: Likewise.
41957 * math/w_sinhl.c: Likewise.
41958 * math/w_sqrt.c: Likewise.
41959 * math/w_sqrtf.c: Likewise.
41960 * math/w_sqrtl.c: Likewise.
41961 * math/w_tgamma.c: Likewise.
41962 * math/w_tgammaf.c: Likewise.
41963 * math/w_tgammal.c: Likewise.
41964
6a621eb7
UD
41965 * po/ja.po: Update from translation team.
41966
bf582445
AJ
419672011-09-29 Andreas Jaeger <aj@suse.de>
41968
f9efbf3a
AJ
41969 [BZ #13179]
41970 * sunrpc/netname.c (netname2host): Fix logic.
41971
bf582445
AJ
41972 [BZ #6779]
41973 [BZ #6783]
41974 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41975 correctly.
41976 * math/w_remainder.c (__remainder): Likewise.
41977 * math/w_remainderf.c (__remainderf): Likewise.
41978 * math/libm-test.inc (remainder_test): Add test cases.
41979
48693bea
AK
419802011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41981
41982 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41983 sdiv_qrnnd.
41984
42622229
LD
419852011-10-07 Ulrich Drepper <drepper@gmail.com>
41986
41987 * string/test-memcmp.c: Avoid unncessary #defines.
41988 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41989
093ecf92
LD
419902011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41991
41992 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41993 Use new sse2 version for core i3 - i7 as it's faster
41994 than sse42 version.
41995 (bit_Prefer_PMINUB_for_stringop): New.
41996 * sysdeps/x86_64/rawmemchr.S: Update.
41997 Replace with faster SSE2 version.
41998 * sysdeps/x86_64/memrchr.S: New file.
41999 * sysdeps/x86_64/memchr.S: Update.
42000 Replace with faster SSE2 version.
42001
fde56e5c
MP
420022011-09-12 Marek Polacek <mpolacek@redhat.com>
42003
42004 * elf/dl-load.c (lose): Add cast to avoid warning.
42005
21fd49a9
UD
420062011-10-07 Ulrich Drepper <drepper@gmail.com>
42007
5a06e643
UD
42008 * po/ca.po: Update from translation team.
42009
684ae515
UD
42010 * inet/getnetgrent_r.c: Hook up nscd.
42011 * nscd/Makefile (routines): Add nscd_netgroup.
42012 (nscd-modules): Add netgroupcache.
42013 (CFLAGS-netgroupcache.c): Define.
42014 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42015 (cache_search): Add const to second parameter.
42016 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42017 INNETGR.
42018 (dbs): Add netgrdb entry.
42019 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42020 (verify_persistent_db): Handle netgrdb.
42021 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42022 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42023 GETFDNETGR.
42024 (netgroup_response_header): Define.
42025 (innetgroup_response_header): Define.
42026 (datahead): Add netgroup_response_header and innetgroup_response_header
42027 elements.
42028 * nscd/nscd.conf: Add entries for netgroup cache.
42029 * nscd/nscd.h (dbtype): Add netgrdb.
42030 (_PATH_NSCD_NETGROUP_DB): Define.
42031 (netgroup_iov_disabled): Declare.
42032 (xmalloc, xcalloc, xrealloc): Move declarations here.
42033 (cache_search): Adjust prototype.
42034 Add netgroup-related prototypes.
42035 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42036 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42037 (__nscd_innetgr): Declare.
42038 * nscd/selinux.c (perms): Use access_vector_t as element type and
42039 add netgroup-related initializers.
42040 * nscd/netgroupcache.c: New file.
42041 * nscd/nscd_netgroup.c: New file.
42042 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42043 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42044 For four parameters use innetgr.
42045 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42046 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42047 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42048 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42049
21fd49a9
UD
42050 * nscd/connections.c (register_traced_file): Don't register file
42051 for disabled databases.
42052
054c0457
UD
420532011-10-06 Ulrich Drepper <drepper@gmail.com>
42054
32b63198
UD
42055 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42056
054c0457
UD
42057 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42058 from tree and freeing node.
42059
64031225
JO
420602011-09-25 Jiri Olsa <jolsa@redhat.com>
42061
42062 * nss/nsswitch.c (__nss_database_lookup): Handle
42063 nss_parse_service_list out of memory case.
42064
0490345c
JO
420652011-09-15 Jiri Olsa <jolsa@redhat.com>
42066
42067 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42068 out of memory case.
42069
3a62d00d
AS
420702011-10-04 Andreas Schwab <schwab@redhat.com>
42071
42072 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42073 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42074 pass it down.
42075 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42076 elf_machine_rela, elf_machine_lazy_rel.
42077 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42078 (ELF_DYNAMIC_DO_REL): Likewise.
42079 (ELF_DYNAMIC_DO_RELA): Likewise.
42080 (ELF_DYNAMIC_RELOCATE): Likewise.
42081 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42082 to ELF_DYNAMIC_DO_REL.
42083 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42084 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42085 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42086 elf_machine_rela.
42087 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42088 skip_ifunc, don't call ifunc function if non-zero.
42089 (elf_machine_rela): Likewise.
42090 (elf_machine_lazy_rel): Likewise.
42091 (elf_machine_lazy_rela): Likewise.
42092 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42093 (elf_machine_lazy_rel): Likewise.
42094 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42095 Likewise.
42096 (elf_machine_lazy_rel): Likewise.
42097 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42098 Likewise.
42099 (elf_machine_lazy_rel): Likewise.
42100 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42101 (elf_machine_lazy_rel): Likewise.
42102 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42103 (elf_machine_lazy_rel): Likewise.
42104 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42105 (elf_machine_lazy_rel): Likewise.
42106 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42107 (elf_machine_lazy_rel): Likewise.
42108 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42109 (elf_machine_lazy_rel): Likewise.
42110 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42111 (elf_machine_lazy_rel): Likewise.
42112
68577918
UD
421132011-09-28 Ulrich Drepper <drepper@gmail.com>
42114
42115 * nss/nss_files/files-init.c (_nss_files_init): Use static
42116 initialization for all the *_traced_file variables.
42117
68822d74
AS
421182011-09-28 Andreas Schwab <schwab@redhat.com>
42119
42120 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42121
2056100b
RM
421222011-09-27 Roland McGrath <roland@hack.frob.com>
42123
42124 [BZ #13226]
42125 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42126
32c76b63
AS
421272011-09-27 Andreas Schwab <schwab@redhat.com>
42128
42129 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42130 Reread the line before reparsing it.
42131
bf972c9d
AS
421322011-09-26 Andreas Schwab <schwab@redhat.com>
42133
42134 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42135
e057a1b5
JM
421362011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42137 Maxim Kuvyrkov <maxim@codesourcery.com>
42138 Joseph Myers <joseph@codesourcery.com>
42139
42140 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42141 if needed for __stack_chk_guard.
42142
bc7e1c36
RM
421432011-09-19 Roland McGrath <roland@hack.frob.com>
42144
ecb1482f
RM
42145 * sysdeps/posix/spawni.c (script_execute): Always define it.
42146 It will be optimized away if unused.
42147 (maybe_script_execute): New function.
42148 (__spawni): Call it.
42149
bc7e1c36
RM
42150 * Makerules: Don't include tls.make.
42151 (config-tls): Always set to thread.
42152 * tls.make.c: File removed.
42153
1c3b002b
MF
421542011-09-19 Mike Frysinger <vapier@gentoo.org>
42155
42156 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42157 * config.make.in (CPPFLAGS-config): New substituted variable.
42158
2840865d
UD
421592011-09-15 Ulrich Drepper <drepper@gmail.com>
42160
88738eb6
UD
42161 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42162
cbf645a6 42163 [BZ #13192]
2840865d
UD
42164 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42165 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42166
b402e91a
RM
421672011-09-15 Roland McGrath <roland@hack.frob.com>
42168
42169 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42170 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42171 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42172 (CALL_FAIL): Likewise.
42173 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42174 (CALL_FAIL): Macro removed.
42175 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42176
4c1a1f71
UD
421772011-09-15 Ulrich Drepper <drepper@gmail.com>
42178
42179 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42180 for __FINITE_MATH_ONLY__ == 1.
42181
edc121be
AS
421822011-09-15 Andreas Schwab <schwab@redhat.com>
42183
42184 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42185 __ieee754_sqrt instead of sqrt.
42186 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42187 __ieee754_sqrtf instead of sqrtf.
42188 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42189 __floorf instead of floorf.
42190 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42191 __floorf, __truncf instead of floorf, truncf.
42192
cd205654
UD
421932011-09-14 Ulrich Drepper <drepper@gmail.com>
42194
ee4d0315
UD
42195 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42196
cd205654
UD
42197 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42198 __extern_always_inline.
42199 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42200 32-bit.
42201
48b67d71
AS
422022011-09-14 Andreas Schwab <schwab@redhat.com>
42203
42204 * elf/rtld.c (dl_main): Also relocate in dependency order when
42205 doing symbol dependency testing.
42206
1ae12c75
AS
422072011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42208
42209 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42210 Always define `refsym'.
42211
995a80df
AS
422122011-09-13 Andreas Schwab <schwab@redhat.com>
42213
e529793b
AS
42214 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42215 (__FD_ELT): Renamed from __FDELT.
42216 * misc/bits/select2.h (__FD_ELT): Likewise.
42217 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42218 __FD_MASK instead of __FDELT, __FDMASK.
42219 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42220 Likewise.
42221 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42222 Likewise.
42223
52d4fef8
AS
42224 * elf/Makefile (gen-ldd): Fix pattern.
42225
995a80df
AS
42226 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42227 (init_tls): Likewise.
42228
8682f8b0
UD
422292011-09-12 Ulrich Drepper <drepper@gmail.com>
42230
42231 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42232
de82006d
AS
422332011-09-12 Andreas Schwab <schwab@redhat.com>
42234
a7c8e6a1
AS
42235 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42236 `struct cmsghdr *' instead of `void *'.
42237 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42238 Likewise.
42239
0f31fe77
AS
422402011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42241
42242 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42243 if non-absolute.
42244 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42245 ldd_rewrite_script.
0f31fe77 42246
32b4c839
UD
422472011-09-11 Ulrich Drepper <drepper@gmail.com>
42248
83cd1420
UD
42249 * configure.in: Remove --with-tls option.
42250 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42251 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42252 out in case it is missing.
42253 * sysdeps/ia64/elf/configure.in: Likewise.
42254 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42255 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42256 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42257 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42258 * sysdeps/sh/elf/configure.in: Likewise.
42259 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42260 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42261 * sysdeps/x86_64/elf/configure.in: Likewise.
42262 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42263 * sysdeps/mach/hurd/tls.h: Likewise.
42264
633f745d
UD
42265 [BZ #13067]
42266 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42267
f318beb8
UD
42268 [BZ #13090]
42269 * configure.in: Fix use of AC_INIT.
42270
32b4c839
UD
42271 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42272
3ce1f295
UD
422732011-09-10 Ulrich Drepper <drepper@gmail.com>
42274
bb016596
UD
42275 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42276 __set_errno.
8e58439c
UD
42277 * malloc/hooks.c: Likewise.
42278
aebae053 42279 [BZ #11929]
02d46fc4
UD
42280 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42281 variables statically.
42282 (narenas): Initialize.
42283 (list_lock): Initialize.
bb016596
UD
42284 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42285 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
42286 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42287 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42288 Add initializers to main_arena and mp_.
42289 (malloc_state): Remove pagesize member. Change all users to use
42290 GLRO(dl_pagesize).
42291
42292 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42293 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42294 is always initialized.
42295
22a89187
UD
42296 * malloc/malloc.c: Removed unused configurations and dead code.
42297 * malloc/arena.c: Likewise.
42298 * malloc/hooks.c: Likewise.
02d46fc4 42299 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 42300
d063d164
UD
42301 * include/tls.h: Removed. USE___THREAD must always be defined.
42302 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42303 * elf/dl-libc.c: Likewise.
42304 * elf/dl-tsd.c: Likewise.
42305 * include/errno.h: Likewise.
42306 * include/netdb.h: Likewise.
42307 * include/resolv.h: Likewise.
42308 * inet/herrno-loc.c: Likewise.
42309 * inet/herrno.c: Likewise.
42310 * malloc/arena.c: Likewise.
42311 * malloc/hooks.c: Likewise.
42312 * malloc/malloc.c: Likewise.
42313 * resolv/res-state.c: Likewise.
42314 * resolv/res_libc.c: Likewise.
42315 * sysdeps/i386/dl-machine.h: Likewise.
42316 * sysdeps/ia64/dl-machine.h: Likewise.
42317 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42318 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42319 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42320 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42321 * sysdeps/sh/dl-machine.h: Likewise.
42322 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42323 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42324 * sysdeps/unix/i386/sysdep.S: Likewise.
42325 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42326 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42327 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42328 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42329 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42330 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42331 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42332 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42333 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42334 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42335 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42336 * sysdeps/x86_64/dl-machine.h: Likewise.
42337 * tls.make.c: Likewise.
42338
3ce1f295
UD
42339 * configure.in: Remove --with-__thread option. Make tests for
42340 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42341 tls_model attribute fail if no support is available. Remove
42342 USE_IN_LIBIO.
42343 * Makeconfig: Adjust for dropped configure option. All features are
42344 now mandatory.
42345 * Makerules: Likewise.
42346 * Versions.def: Likewise.
42347 * argp/argp-fmtstream.c: Likewise.
42348 * argp/argp-fmtstream.h: Likewise.
42349 * argp/argp-help.c: Likewise.
42350 * assert/assert.c: Likewise.
42351 * config.h.in: Likewise.
42352 * config.make.in: Likewise.
42353 * configure: Likewise.
42354 * configure.in: Likewise.
42355 * csu/Versions: Likewise.
42356 * csu/init.c: Likewise.
42357 * elf/tst-audit2.c: Likewise.
42358 * elf/tst-tls10.c: Likewise.
42359 * elf/tst-tls10.h: Likewise.
42360 * elf/tst-tls11.c: Likewise.
42361 * elf/tst-tls12.c: Likewise.
42362 * elf/tst-tls14.c: Likewise.
42363 * elf/tst-tlsmod11.c: Likewise.
42364 * elf/tst-tlsmod12.c: Likewise.
42365 * elf/tst-tlsmod13.c: Likewise.
42366 * elf/tst-tlsmod13a.c: Likewise.
42367 * elf/tst-tlsmod14a.c: Likewise.
42368 * elf/tst-tlsmod15b.c: Likewise.
42369 * elf/tst-tlsmod16a.c: Likewise.
42370 * elf/tst-tlsmod16b.c: Likewise.
42371 * elf/tst-tlsmod7.c: Likewise.
42372 * elf/tst-tlsmod8.c: Likewise.
42373 * elf/tst-tlsmod9.c: Likewise.
42374 * gmon/gmon.c: Likewise.
42375 * grp/fgetgrent_r.c: Likewise.
42376 * grp/putgrent.c: Likewise.
42377 * hurd/fopenport.c: Likewise.
42378 * include/libc-symbols.h: Likewise.
42379 * include/tls.h: Likewise.
42380 * intl/gettextP.h: Likewise.
42381 * intl/loadinfo.h: Likewise.
42382 * locale/global-locale.c: Likewise.
42383 * locale/localeinfo.h: Likewise.
42384 * mach/devstream.c: Likewise.
42385 * malloc/arena.c: Likewise.
42386 * malloc/set-freeres.c: Likewise.
42387 * misc/err.c: Likewise.
42388 * misc/getttyent.c: Likewise.
42389 * misc/mntent_r.c: Likewise.
42390 * posix/getopt.c: Likewise.
42391 * posix/wordexp.c: Likewise.
42392 * pwd/fgetpwent_r.c: Likewise.
42393 * resolv/Versions: Likewise.
42394 * resolv/res_hconf.c: Likewise.
42395 * shadow/fgetspent_r.c: Likewise.
42396 * shadow/putspent.c: Likewise.
42397 * stdio-common/printf_fphex.c: Likewise.
42398 * stdio-common/tmpfile.c: Likewise.
42399 * stdlib/abort.c: Likewise.
42400 * stdlib/fmtmsg.c: Likewise.
42401 * sunrpc/auth_unix.c: Likewise.
42402 * sunrpc/clnt_perr.c: Likewise.
42403 * sunrpc/clnt_tcp.c: Likewise.
42404 * sunrpc/clnt_udp.c: Likewise.
42405 * sunrpc/clnt_unix.c: Likewise.
42406 * sunrpc/openchild.c: Likewise.
42407 * sunrpc/svc_simple.c: Likewise.
42408 * sunrpc/svc_tcp.c: Likewise.
42409 * sunrpc/svc_udp.c: Likewise.
42410 * sunrpc/svc_unix.c: Likewise.
42411 * sunrpc/xdr.c: Likewise.
42412 * sunrpc/xdr_array.c: Likewise.
42413 * sunrpc/xdr_rec.c: Likewise.
42414 * sunrpc/xdr_ref.c: Likewise.
42415 * sunrpc/xdr_stdio.c: Likewise.
42416
1248c1c4
PB
424172011-09-09 Ulrich Drepper <drepper@gmail.com>
42418
42419 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42420
424212011-07-03 Andreas Jaeger <aj@suse.de>
42422
42423 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42424 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42425 regenerate with gen-libm-tests.pl.
42426
424272010-05-12 Petr Baudis <pasky@suse.cz>
42428
42429 [BZ #11589]
42430 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42431 around j0() zero points by switching to j1().
42432 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42433 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42434 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42435 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42436
f22e1074
UD
424372011-09-09 Ulrich Drepper <drepper@gmail.com>
42438
f19009c1
UD
42439 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42440 instead of 0.
42441 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 42442 instead of 0.
f19009c1
UD
42443 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42444 Patch in part by Pavel Roskin <proski@gnu.org>.
42445
3f8cc204
UD
42446 [BZ #13138]
42447 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42448 realloc.
42449 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42450 Free memory block if necessary.
42451
f22e1074
UD
42452 [BZ #12847]
42453 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42454 be NULL. Don't lock in this case.
42455
0a2349f9
RM
424562011-09-09 Roland McGrath <roland@hack.frob.com>
42457
42458 * elf/elf.h (ELFOSABI_GNU): New macro.
42459 (ELFOSABI_LINUX): Define to that.
42460
f3cdd467
DZ
424612011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42462
42463 * string/strncat.c (strncat): Undef the symbol in case it has been
42464 defined in bits/string.h.
42465
74718d13
UD
424662011-09-09 Ulrich Drepper <drepper@gmail.com>
42467
633e9e0f
UD
42468 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42469
0a2349f9 42470 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
42471 link map.
42472
f9924780
AJ
424732011-08-17 Andreas Jaeger <aj@suse.de>
42474
42475 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42476
7f5517aa
PP
424772011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42478 Ian Lance Taylor <iant@google.com>
42479
42480 * math/libm-test.inc (lround_test): New testcase.
42481 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42482
762011fe
UD
424832011-09-08 Ulrich Drepper <drepper@gmail.com>
42484
92963737
UD
42485 * Makefile: Remove support for automatic cvs check-ins.
42486 * Makerules: Likewise.
42487 * config.make.in: Likewise.
42488 * configure.in: Likewise.
42489 * intl/Makefile: Likewise.
42490 * locale/Makefile: Likewise.
42491 * po/Makefile: Likewise.
42492 * posix/Makefile: Likewise.
42493 * sysdeps/gnu/Makefile: Likewise.
42494 * sysdeps/mach/hurd/Makefile: Likewise.
42495 * sysdeps/sparc/sparc32/Makefile: Likewise.
42496
b0727fd8
JS
42497 [BZ #13118]
42498 * posix/Makefile (bug-regex32-ENV): Define.
42499 Patch by John Stanley <jpsinthemix@verizon.net>.
42500
a0f33f99
UD
42501 * misc/Makefile (headers): Add bits/select2.h.
42502 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42503 * misc/bits/select2.h: New file.
42504 * include/bits/select2.h: New file.
42505 * debug/Makefile (routines): Add fdelt_chk.
42506 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42507 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42508 FD_ISSET.
42509 * debug/fdelt_chk.c: New file.
42510
762011fe
UD
42511 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42512 * wcsmbs/test-wmemcmp.c: Likewise.
42513 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 42514 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
42515
425162011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42517
42518 * string/Makefile (strop-tests): Add memcmp.
42519 * string/test-wmemcmp.c: New file.
42520 * string/test-memcmp.c: Add wmemcmp support.
42521
7f513ec8
RM
425222011-09-08 Roland McGrath <roland@hack.frob.com>
42523
0442afb4
RM
42524 [BZ #13153]
42525 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42526 2011-07-19 change.
42527
7f513ec8
RM
42528 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42529 garbage value in a __mach_port_mod_refs call in the cases of the
42530 task-self and thread-self ports.
42531
a12b2239
ST
425322011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42533
42534 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42535
610f9ab4
AS
425362011-09-08 Andreas Schwab <schwab@redhat.com>
42537
7f513ec8 42538 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 42539
48882a1a
LD
425402011-09-07 Ulrich Drepper <drepper@gmail.com>
42541
b49865be
UD
42542 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42543
fdc86bc9
UD
42544 * elf/dl-libc.c (dlerror_run): Pass back error code from
42545 dl_catch_error.
42546
c966526a
UD
42547 [BZ #13123]
42548 * elf/dl-load.c (lose): Free l_origin if it is valid.
42549
48882a1a
LD
42550 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42551 names.
42552 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42553 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42554 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42555 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42556 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42557 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42558
77a2a8b4
AZ
425592011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42560
42561 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42562 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42563 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42564 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42565 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42566 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42567 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42568 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42569 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42570 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42571
24f579d8
AM
425722011-08-15 Alan Modra <amodra@gmail.com>
42573
42574 [BZ #13092]
42575 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42576 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42577 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42578 ppc_mcount to static-only-routines.
42579 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42580 __mcount_internal.
42581 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42582 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42583
3d4837df
UD
425842011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42585
42586 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42587 for finite and infinity parameters.
42588
22700377
WS
425892011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42590
42591 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42592 and add nop instructions for throughput optimization.
42593 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42594
5025581e
WS
425952011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42596
42597 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42598 aligned copy for power7 with vector-scalar instructions.
42599 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42600
08a300c9
L
426012011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42602
42603 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42604 AVX check.
42605
59178ef9
AS
426062011-09-07 Andreas Schwab <schwab@redhat.com>
42607
42608 [BZ #13144]
42609 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42610 last change.
42611
e38ba7ab
UD
426122011-09-07 Ulrich Drepper <drepper@gmail.com>
42613
42614 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42615 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42616 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42617 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42618 clock_gettime.
42619
d53a73ac
UD
426202011-09-06 Ulrich Drepper <drepper@gmail.com>
42621
fc8bffcc
UD
42622 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42623 Forgot to demangle the pointer.
42624
ceaa0c5d
UD
42625 * sysdeps/i386/sysdep.h: Define atom_text_section.
42626 * sysdeps/x86_64/sysdep.h: Likewise.
42627 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42628 section with atom_text_section.
42629 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42630 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42631 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42632 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42633 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42634
a77d3c17
UD
42635 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42636 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42637 already be defined. Change to take two parameters and don't assign
42638 result to variable. Adjust all users.
42639 Define INTERNAL_GETTIME if not already defined.
42640 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42641 call.
42642 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42643 HAVE_CLOCK_GETTIME_VSYSCALL.
42644 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42645
d53a73ac
UD
42646 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42647 gettimeofday vsyscall, just use time.
42648
a8f84144
AS
426492011-09-06 Andreas Schwab <schwab@redhat.com>
42650
42651 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42652 <errno.h>.
42653
ef606249
UD
426542011-09-06 Ulrich Drepper <drepper@gmail.com>
42655
42656 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42657 syscall on x86-64.
42658 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42659 syscall.
42660 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42661 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42662 syscall if possible.
42663
6585cb60
UD
426642011-09-05 Ulrich Drepper <drepper@gmail.com>
42665
42666 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42667 e_ident. Don't pass to find_mapsXX.
42668 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42669
a5f524e4
LD
426702011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42671
42672 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42673 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42674 * sysdeps/x86_64/multiarch/strchr.S: Update.
42675 Check bit_slow_BSF bit.
42676 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42677 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42678 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42679
554881ef
UD
426802011-09-05 Ulrich Drepper <drepper@gmail.com>
42681
d96de963
UD
42682 [BZ #13134]
42683 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42684 before glibc 2.15.
42685 (tryshell): Define.
42686 (__spawni): Change last parameter to be flag. Test
42687 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42688 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42689 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42690 * posix/spawni.c: Likewise.
42691 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42692 * posix/spawnp.c: Likewise. Change normal version to use
42693 SPAWN_XFLAGS_USE_PATH.
42694 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42695 SPAWN_XFLAGS_TRY_SHELL.
42696
d48e5868
UD
42697 [BZ #13150]
42698 * posix/glob.h: Remove gcc 1.x support.
42699
554881ef
UD
42700 [BZ #13068]
42701 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42702
693fb948
LD
427032011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42704
42705 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42706 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42707 strrchr-sse2-bsf
42708 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42709 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42710 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42711 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42712 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42713 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42714
1b48c537
UD
427152011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42716
49d42c37
UD
42717 * sysdeps/x86_64/wcscmp.S: New file.
42718
1b48c537
UD
42719 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42720 wcscmp-c wcscmp-sse2
42721 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42722 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42723 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42724 * wcsmbs/wcscmp.c: Allow renaming.
42725
15c95c5d
DM
427262011-09-05 David S. Miller <davem@davemloft.net>
42727
42728 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42729 stack slot, rather than the struct return pointer slot.
42730 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42731 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42733 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42734
2f0ad8f3
UD
427352011-09-05 Ulrich Drepper <drepper@gmail.com>
42736
d88ae418
UD
42737 * po/ja.po: Update from translation team.
42738
2f0ad8f3
UD
42739 [BZ #13144]
42740 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42741 kernel in 64-bit binaries.
42742
5f4318d1
DM
427432011-09-01 David S. Miller <davem@davemloft.net>
42744
42745 * elf/elf.h (HWCAP_SPARC_*): Move to..
42746 * sysdeps/sparc/sysdep.h: this new file and add new values.
42747 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42748 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42749 _DL_HWCAP_COUNT to 24.
42750 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42751 entries.
42752 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42753 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42754 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42755 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42756 instead of magic constants.
42757 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42758
3ba57516
DM
427592011-08-31 David S. Miller <davem@davemloft.net>
42760
42761 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42762 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42763 Reimplement to do errno handling inline.
42764 (SYSCALL_ERROR_HANDLER): New macro.
42765 (__SYSCALL_STRING): Do not do errno handling in asm.
42766 (__CLONE_SYSCALL_STRING): Delete.
42767 (__INTERNAL_SYSCALL_STRING): Delete.
42768 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42769 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42770 (PSEUDO): Reimplement to do errno handling inline.
42771 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42772 (SYSCALL_ERROR_HANDLER): New macro.
42773 (__SYSCALL_STRING): Do not do errno handling in asm.
42774 (__CLONE_SYSCALL_STRING): Delete.
42775 (__INTERNAL_SYSCALL_STRING): Delete.
42776 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42777 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42778 i386.
42779 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42780 (inline_syscall*): Add 'err' argument.
42781 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42782 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42783 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42784 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42785
42786 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42787 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42788
2bc17433
AS
427892011-08-30 Andreas Schwab <schwab@redhat.com>
42790
42791 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42792
fbeb5f4d
JO
427932011-08-29 Jiri Olsa <jolsa@redhat.com>
42794
42795 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42796 directive.
42797
ad69cc26
DM
427982011-08-24 David S. Miller <davem@davemloft.net>
42799
42800 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42801
39dd69df
AS
428022011-08-24 Andreas Schwab <schwab@redhat.com>
42803
42804 * elf/Makefile: Add rules to build and run unload8 test.
42805 * elf/unload8.c: New file.
42806 * elf/unload8mod1.c: New file.
42807 * elf/unload8mod1x.c: New file.
42808 * elf/unload8mod2.c: New file.
42809 * elf/unload8mod3.c: New file.
42810
42811 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42812 it wasn't used.
42813
2c0b250a
DM
428142011-08-23 David S. Miller <davem@davemloft.net>
42815
42816 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42817 subtract stack bias.
42818 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42819 %sp not %fp in calculations.
42820 (_JMPBUF_UNWINDS_ADJ): Likewise.
42821
22044b48
DM
42822 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42823 (aio_suspend): Call it to force an exception region around the
42824 AIO_MISC_WAIT() invocation.
42825
2cae4995
AS
428262011-08-23 Andreas Schwab <schwab@redhat.com>
42827
42828 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42829 backslash.
42830
873a772e
AJ
428312011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42832
42833 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42834 protection macro.
42835 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42836 and <dl-machine.h>.
42837 (Elf64_FuncDesc): Remove.
42838
25ad0df1
DM
428392011-08-22 David S. Miller <davem@davemloft.net>
42840
42841 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42842 sigaltstack check, add missing cfi directives.
42843 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42844 missing cfi directives, and sigaltstack handling.
42845
e888bcbe
AS
428462011-08-16 Andreas Schwab <schwab@redhat.com>
42847
42848 [BZ #11724]
42849 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42850 object is seen twice.
42851 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42852
42853 * elf/Makefile (distribute): Add tst-initorder2.c.
42854 (tests): Add tst-initorder2.
42855 (modules-names): Add tst-initorder2a tst-initorder2b
42856 tst-initorder2c tst-initorder2d. Add rules to build them.
42857 ($(objpfx)tst-initorder2.out): New rule.
42858 * elf/tst-initorder2.c: New file.
42859 * elf/tst-initorder2.exp: New file.
42860
87162f46
AS
428612011-08-22 Andreas Schwab <schwab@redhat.com>
42862
70538b7f
AS
42863 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42864
f55ffe58
AS
42865 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42866 dependencies back to end of function.
42867
87162f46
AS
42868 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42869 $(elfobjdir)/ld.so.
42870
91b392a4
UD
428712011-08-21 Ulrich Drepper <drepper@gmail.com>
42872
42873 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42874 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42875 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42876 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42877 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42878 of __vdso_gettimeofday.
42879 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42880 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42881 attribute_hidden.
42882 (_libc_vdso_platform_setup): Remove initialization of
42883 __vdso_gettimeofday and __vdso_time.
42884
5c43483f
UD
428852011-08-20 Ulrich Drepper <drepper@gmail.com>
42886
775a77e7
UD
42887 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42888 and fgetc_unlocked.
42889 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42890 getc_unlocked.
89f447ed 42891
49c74ba9
UD
42892 * elf/dl-open.c (add_to_global): Report additions to the global scope
42893 for LD_DEBUG=scopes.
42894 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 42895 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 42896
5c43483f
UD
42897 [BZ #13114]
42898 * stdio-common/Makefile (tests): Add bug24.
42899 * stdio-common/bug24.c: New file.
42900
a101b025
AJ
429012011-08-19 Andreas Jaeger <aj@suse.de>
42902
42903 [BZ #13114]
42904 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42905 non-existant file when using close-on-exec mode.
42906
c88f1766
UD
429072011-08-20 Ulrich Drepper <drepper@gmail.com>
42908
0276a718
UD
42909 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42910 the very first instruction.
42911
c88f1766
UD
42912 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42913 the CFI state in the end.
42914 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42915 inclusion of dl-trampoline.h.
42916 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42917
51ccffa0
AS
429182011-08-19 Andreas Schwab <schwab@redhat.com>
42919
94d7165f
AS
42920 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42921 expectations for long double.
42922
51ccffa0
AS
42923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42924 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42925
fd708658 429262011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
42927
42928 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42929 artificual limit depends upon the system page size.
42930
44f0a71e
UD
429312011-08-17 Ulrich Drepper <drepper@gmail.com>
42932
42933 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42934 * resolv/Makefile: Define CFLAGS-libresolv.
42935
8de79a24
AS
429362011-08-17 Andreas Schwab <schwab@redhat.com>
42937
42938 * nss/makedb.c (compute_tables): Make variables used in nested
42939 function static.
42940
27724598
UD
429412011-08-17 Ulrich Drepper <drepper@gmail.com>
42942
c5305d88
UD
42943 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42944 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42945 if buffer was too small.
42946
27724598
UD
42947 * elf/pldd.c (main): Attach to all threads in the process.
42948 Rewrite /proc handling to use *at functions.
42949
076fe015
UD
429502011-08-16 Ulrich Drepper <drepper@gmail.com>
42951
174baab3
UD
42952 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42953 specifies first scope to show.
42954 (dl_open_worker): Update callers. Move printing scope of new
42955 object to before the relocation.
44f0a71e 42956 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
42957 * sysdeps/generic/ldsodefs.h: Update declaration.
42958
076fe015
UD
42959 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42960 string for the scope number.
42961
a60df2c3
UD
429622011-08-14 Ulrich Drepper <drepper@gmail.com>
42963
42964 * nscd/servicescache.c (cache_addserv): Make sure written is always
42965 initialized.
42966
5e4287d1
RM
429672011-08-14 Roland McGrath <roland@hack.frob.com>
42968
85ae0589
RM
42969 * sysdeps/i386/i486/bits/atomic.h
42970 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42971 statement expression, so as to suppress "set but not used" warning.
42972 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42973
69f63097
RM
42974 * string/strncat.c (STRNCAT): Use prototype definition.
42975
675456ef
RM
42976 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42977 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42978 -Iprograms here.
42979 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42980 (localedef-modules): Add localedef.
42981 (locale-modules): Add locale.
42982
5e4287d1
RM
42983 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42984 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42985 to avoid a warning.
42986
9c96ff23
DM
429872011-08-14 David S. Miller <davem@davemloft.net>
42988
42989 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42990 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42991
f9ddf089
UD
429922011-08-13 Ulrich Drepper <drepper@gmail.com>
42993
44f0a71e 42994 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
42995 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42996 * elf/rtld.c (dl_main): Set l_name of vDSO.
42997 Call _dl_show_scope when DL_DEBUG_SCOPES.
42998 (process_dl_debug): Recognize scopes flag and also set it for all.
42999 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43000 Declare _dl_show_scope.
43001
1dc27704
UD
43002 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43003 (do_dlopen): Pass caller_dlopen to dl_open.
43004 (__libc_dlopen_mode): Initialize caller_dlopen.
43005
f9ddf089
UD
43006 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43007 of libc. Make tolower call locale-independent. Optimize a bit by
43008 using isdigit instead of isalnum.
43009 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43010
9ac533d3
UD
430112011-08-12 Ulrich Drepper <drepper@gmail.com>
43012
43013 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43014 was a dependency or dynamically loaded.
43015
89edf2e9
UD
430162011-08-11 Ulrich Drepper <drepper@gmail.com>
43017
8e999d29
UD
43018 * intl/l10nflist.c: Allow architecture-specific pop function.
43019 * sysdeps/x86_64/l10nflist.c: New file.
43020
89edf2e9
UD
43021 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43022 classification.
43023
14d96785
AS
430242011-08-10 Andreas Schwab <schwab@redhat.com>
43025
43026 * include/dirent.h: Add libc_hidden_proto for scandirat and
43027 scandirat64. Don't declare __scandirat64.
43028 * dirent/scandirat.c: Add libc_hidden_def.
43029 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43030 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43031
6761ac04
DM
430322011-08-10 David S. Miller <davem@davemloft.net>
43033
43034 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43035 enum.
43036 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43037 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43038 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43039
c55fbd1e
UD
430402011-08-09 Ulrich Drepper <drepper@gmail.com>
43041
43042 * Versions.def [libc]: Add GLIBC_2.15.
43043 * dirent/Makefile (routines): Add scandirat and scandirat64.
43044 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43045 GLIBC_2.15.
43046 * dirent/dirent.h: Declare scandirat and scandirat64.
43047 * dirent/scandirat.c: New file.
43048 * dirent/scandirat64.c: New file.
43049 * sysdeps/wordsize-64/scandirat.c: New file.
43050 * sysdeps/wordsize-64/scandirat64.c: New file.
43051 * dirent/opendir.c: Define opendirat.
43052 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43053 using scandirat.
43054 * dirent/scandir64.c: Adjust for scandir.c change.
43055 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43056 __scandirat64, and __scandir_cancel_handler.
43057 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43058 additional parameter and use openat instead of open (outside of ld.so).
43059 Add new __opendir as wrapper around __opendirat.
43060 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43061 here without requiring old scandirat implementation.
43062
879165f2
UD
430632011-08-08 Ulrich Drepper <drepper@gmail.com>
43064
43065 * dirent/scandir.c (cancel_handler): Renamed to
43066 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43067 defined. Adjust users.
43068 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43069 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43070
cb7e923b
UD
430712011-08-04 Ulrich Drepper <drepper@gmail.com>
43072
16292edd
UD
43073 * string/test-string.h (IMPL): Use __STRING to expand name and then
43074 stringify it.
43075
cb7e923b
UD
43076 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43077 of cleanups.
43078
cff82933
LD
430792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43080
43081 * string/Makefile: Update.
43082 (strop-tests): Append strncat.
43083 * string/test-wcscmp.c: New file.
43084 New comprehensive test for wcscmp.
43085 * string/test-strcmp.c: Update.
43086 (WIDE): New define.
43087
9be9bfcc
AS
430882011-07-22 Andreas Schwab <schwab@redhat.com>
43089
43090 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43091 line.
43092
2e96f1c7
AS
430932011-07-26 Andreas Schwab <schwab@redhat.com>
43094
43095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43096 encoding to ACE if AI_IDN.
43097
85188888
JJ
430982011-08-01 Jakub Jelinek <jakub@redhat.com>
43099
43100 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43101 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43102
5fa16e9b
LD
431032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43104
43105 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43106 Fix overflow bug in strncat.
43107 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43108
43109 * string/test-strncat.c: Update.
43110 Add new tests for checking overflow bugs.
43111
431122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43113
43114 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43115 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43116 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43117 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43118 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43119 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43120 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43121 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43122 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43123
43124 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43125 (USE_AS_STRCAT): Define.
43126 Add strcat and strncat support.
43127 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43128
8c1a459f
AS
431292011-07-25 Andreas Schwab <schwab@redhat.com>
43130
43131 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43132 __n bigger than INT_MAX+1.
43133 (__strncmp_g): Likewise.
43134
bba33c28
UD
431352011-07-23 Ulrich Drepper <drepper@gmail.com>
43136
798be72d
UD
43137 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43138 * libio/stido.h: Likewise.
43139
8accd4dc
UD
43140 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43141 (AF_NFC): Define.
43142 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43143 (AF_NFC): Define.
43144
cbff0d96
UD
43145 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43146 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43147 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43148 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43149 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43150
9191c04a
UD
43151 [BZ #13021]
43152 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43153 installed.
43154
bba33c28
UD
43155 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43156 typo.
43157 (_dl_x86_64_save_sse): Likewise.
43158
90f139dd
UD
431592011-07-22 Ulrich Drepper <drepper@gmail.com>
43160
1aae088a
UD
43161 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43162 OSXSAVE.
43163 (_dl_x86_64_save_sse): Likewise.
43164
8e2045f5
UD
43165 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43166
90f139dd
UD
43167 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43168
1d002f25
AS
431692011-07-21 Andreas Schwab <schwab@redhat.com>
43170
43171 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43172 change.
43173 (_dl_x86_64_save_sse): Use correct AVX check.
43174
21137f89
UD
431752011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43176
43177 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43178 bug in strncpy/strncat.
43179 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43180
a65c0b7a
UD
431812011-07-21 Ulrich Drepper <drepper@gmail.com>
43182
43183 * string/tester.c (test_strcat): Add tests for different alignments
43184 of source and destination.
43185 (test_strncat): Likewise.
43186
6986b98a
UD
431872011-07-20 Ulrich Drepper <drepper@gmail.com>
43188
90bb2039
UD
43189 [BZ #12852]
43190 * posix/glob.c (glob): Check passed in values before using them in
43191 expressions to avoid some overflows.
43192 (glob_in_dir): Likewise.
43193
5644ef54
UD
43194 [BZ #13007]
43195 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43196 check for AVX enablement so that we don't crash with old kernels and
43197 new hardware.
43198 * elf/tst-audit4.c: Add same checks here.
43199 * elf/tst-audit6.c: Likewise.
43200
43201 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 43202
bfc9dc9b
AS
432032011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43204
43205 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43206
702e64bb
UD
432072011-07-20 Ulrich Drepper <drepper@gmail.com>
43208
43209 * po/cs.po: Update from translation team.
43210 * po/bg.po: Likewise.
43211
295e904f
MP
432122011-07-12 Marek Polacek <mpolacek@redhat.com>
43213
43214 * misc/sys/cdefs.h: Add support for const attribute.
43215 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43216 to gnu_dev_{major,minor,makedev} functions.
43217
3ff94596
MP
432182011-07-20 Marek Polacek <mpolacek@redhat.com>
43219
43220 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43221
28b59fca
AS
432222011-07-20 Andreas Schwab <schwab@redhat.com>
43223
43224 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43225 strlen results.
43226
19df733e
AK
432272011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43228
43229 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43230 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43231 register in order to avoid conflicts with the soft frame pointer
43232 being held in r11 when necessary.
43233 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43234 (INTERNAL_VSYSCALL_NCS): Likewise.
43235
c8835729
MP
432362011-07-14 Marek Polacek <mpolacek@redhat.com>
43237
43238 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43239 * elf/dl-fini.c (_dl_fini): Adjust caller.
43240 * elf/dl-close.c (_dl_close_worker): Likewise.
43241 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43242
b902330c
MP
432432011-07-15 Marek Polacek <mpolacek@redhat.com>
43244
8991e135
MP
43245 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43246 "aux_cache->nlibs < 0".
43247
b902330c
MP
43248 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43249 in the reload-count case.
43250
99710781
LD
432512011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43252
43253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43254 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43255 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43256 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43257 * sysdeps/x86_64/multiarch/strcat.S: New file.
43258 * sysdeps/x86_64/multiarch/strncat.S: New file.
43259 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43260 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43261 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43262 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43263 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43264 (USE_AS_STRCAT): Define.
43265 Add strcat and strncat support.
43266 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43267 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43268 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43269 * string/strncat.c: Update.
43270 (USE_AS_STRNCAT): Define.
43271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43272 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43273 and i7.
43274 * sysdeps/x86_64/multiarch/init-arch.h
43275 (bit_Prefer_PMINUB_for_stringop): New.
43276 (index_Prefer_PMINUB_for_stringop): Likewise.
43277 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43278 bit_Prefer_PMINUB_for_stringop.
43279
7dc6bd90
UD
432802011-07-19 Ulrich Drepper <drepper@gmail.com>
43281
43282 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43283 buffer64.
43284 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43285 of casting of buffer.
43286 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43287 buffer32 and buffer64.
43288 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43289 writes instead of casting of buffer.
43290 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43291 buffer32.
43292 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43293 casting of buffer.
43294
e0e72284
AS
432952011-07-19 Andreas Schwab <schwab@redhat.com>
43296
43297 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43298
feb1eb0b
UD
432992011-07-19 Ulrich Drepper <drepper@gmail.com>
43300
43301 * nscd/nscd.c (termination_handler): Don't do anything for a database
43302 if it has not yet been initialized.
43303
298711ff
UD
433042011-07-18 Ulrich Drepper <drepper@gmail.com>
43305
43306 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43307
433082011-07-15 Marek Polacek <mpolacek@redhat.com>
43309
43310 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43311
f9d68389
UD
433122011-07-18 Ulrich Drepper <drepper@gmail.com>
43313
43314 * po/nl.po: Update from translation team.
43315 * po/sv.po: Likewise.
43316
db290cf5
RM
433172011-07-16 Roland McGrath <roland@hack.frob.com>
43318
43319 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43320 now disallowed by GCC.
5c550700 43321
fd5e21c7
RM
43322 * configure.in (use-default-link): Default to yes if a test -shared
43323 link meets our qualifications.
43324 * configure: Regenerated.
43325
5c550700
RM
43326 * config.make.in (output-format): New variable.
43327 * configure.in: Check for ld --print-output-format support.
43328 * configure: Regenerated.
43329 * Makerules ($(common-objpfx)format.lds)
43330 [$(output-format) != unknown]: Just use $(output-format),
43331 instead of the linker-script munging.
43332
9fa2c032
RM
433332011-07-14 Roland McGrath <roland@hack.frob.com>
43334
a6928d51
RM
43335 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43336 of $(common-objpfx)shlib.lds.
43337 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43338
661607b3
RM
43339 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43340 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43341
9fa2c032
RM
43342 * configure.in (-z relro check): Adjust test code to add a large
43343 writable data section after it.
43344 * configure: Regenerated.
43345
defe9061
RM
433462011-07-11 Roland McGrath <roland@hack.frob.com>
43347
43348 * configure.in (-z relro check): Fix test code to make the variable
43349 truly const.
43350 * configure: Regenerated.
43351
319b9ad4
UD
433522011-07-11 Ulrich Drepper <drepper@gmail.com>
43353
43354 * nscd/nscd.h (struct traced_file): Define.
43355 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43356 elements. Add traced_files.
43357 (inotify_fd): Declare.
43358 (register_traced_file): Declare.
43359 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43360 (inotify_fd): Export.
43361 (resolv_conf_descr): Remove.
43362 (nscd_init): Move inotify descriptor creation to main.
43363 Don't register files for notification here.
43364 (register_traced_file): New function.
43365 (invalidate_cache): Don't use reset_res to determine whether to call
43366 res_init, go through the list of registered files.
43367 (main_loop_poll): The inotify descriptors are now stored in the
43368 structures for the traced files.
43369 (main_loop_epoll): Likewise
43370 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43371 to __nss_disable_nscd.
43372 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43373 for a database anymore. Check the records for all the registered
43374 files instead.
43375 * nss/Makefile (libnss_files-routines): Add files-init.
43376 (libnss_db-routines): Add db-init.
43377 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43378 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43379 * nss/nss_db/db-init.c: New file.
43380 * nss/nss_files/files-init.c: New file.
43381 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43382 __nss_lookup_function.
43383 (__nss_lookup_function): Call nss_load_library.
43384 (nss_load_all_libraries): New function.
43385 (__nss_disable_nscd): Take parameter with callback function for files
43386 to register. Set is_nscd. Load all the DSOs for the NSS modules
43387 used for the cached services.
43388 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43389 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43390 options for features to all the files in nscd.
43391
43392 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43393
23bee3e8
RM
433942011-07-10 Roland McGrath <roland@hack.frob.com>
43395
43396 * csu/elf-init.c (__libc_csu_init): Comment typo.
43397
46a5b7f0
UD
433982011-07-09 Ulrich Drepper <drepper@gmail.com>
43399
43400 * po/pl.po: Update from translation team.
43401 * po/ja.po: Likewise.
43402 * po/ru.po: Likewise.
43403 * po/ko.po: Likewise.
43404 * po/fr.po: Likewise.
43405
d30cf5bb
RM
434062011-07-09 Roland McGrath <roland@hack.frob.com>
43407
113ddea4
RM
43408 * configure.in (.ctors/.dtors header and trailer check):
43409 Use an empirical test on a built program.
43410 * configure: Regenerated.
43411
574920b4
RM
43412 * configure.in (-z relro check): Use an empirical test on a built DSO.
43413 Detect, but do not require, on ia64.
43414 * configure: Regenerated.
43415
d30cf5bb
RM
43416 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43417 Update tests that use readelf to use $READELF instead.
43418 * configure: Regenerated.
43419
8538fdb3
UD
434202011-07-08 Ulrich Drepper <drepper@gmail.com>
43421
43422 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43423 if the result is not used.
43424
04d08991
AJ
434252011-07-05 Andreas Jaeger <aj@suse.de>
43426
43427 [BZ#9696]
43428 * stdlib/tst-strtod.c: Add testcase.
43429
de283087
AD
434302011-07-07 Ulrich Drepper <drepper@gmail.com>
43431
4e5f31c8 43432 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 43433 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
43434 The latter has a higher limit. Take additional parameter to pass to
43435 the new function.
43436 (__pathconf): Pass file to __statfs_link_max.
43437 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43438 __statfs_link_max.
43439 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43440 __statfs_link_max.
43441
de283087
AD
43442 [BZ #12868]
43443 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43444 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43445 Handle Lustre.
43446 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43447 (__statfs_filesize_max): Likewise.
43448 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43449
c75fa153
AJ
434502011-07-05 Andreas Jaeger <aj@suse.de>
43451
43452 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43453
1a544854
UD
434542011-07-06 Marek Polacek <mpolacek@redhat.com>
43455
43456 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43457 `status' variable.
43458 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43459 Likewise.
43460
6f0eec67
UD
434612011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43462
43463 * Makefile (strop-tests): Add strncat.
43464 * string/test-strncat.c: New file.
43465
aae30307
UD
434662011-06-30 Marek Polacek <mpolacek@redhat.com>
43467
43468 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43469
c0cfb5eb
UD
434702011-06-21 Andreas Jaeger <aj@suse.de>
43471
43472 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43473 Copy rule from iconvdata/Makefile.
43474
01636b21
UD
434752011-07-06 Ulrich Drepper <drepper@gmail.com>
43476
43477 [BZ #12922]
43478 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43479 but no long options are defined, just return 'W'.
43480
9895c8bc
UD
434812011-06-22 Marek Polacek <mpolacek@redhat.com>
43482
43483 [BZ #9696]
43484 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43485
5d4cf042
UD
434862011-07-06 Ulrich Drepper <drepper@gmail.com>
43487
43488 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43489 netgroups to read.
960e5535 43490 (innetgr): Likewise.
5d4cf042 43491
751eb97e
RM
434922011-07-05 Roland McGrath <roland@hack.frob.com>
43493
43494 * config.make.in (install_root): Default to $(DESTDIR).
43495
f15f1e45
UD
434962011-07-05 Ulrich Drepper <drepper@gmail.com>
43497
43498 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43499
4e34ac6a
RM
435002011-07-02 Roland McGrath <roland@hack.frob.com>
43501
5e9b6af4
RM
43502 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43503
84f9ea0f
RM
43504 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43505 containing directory rather than embedding absolute directory names.
43506
ea5ee9f7
RM
43507 * scripts/check-local-headers.sh: Rewritten using awk.
43508 Match by word, not by line. Print error messages for matches.
43509 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43510
1b74661a
RM
43511 * Makerules [shlib-lds-flags empty]:
43512 ($(common-objpfx)libc_pic.opts): New target.
43513 ($(common-objpfx)libc_pic.os.clean): New target.
43514 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43515
43516 * config.make.in (OBJCOPY): New variable.
43517 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43518 * configure: Regenerated.
43519
f781ef40
RM
43520 * config.make.in (use-default-link): New variable.
43521 * configure.in (use_default_link): Grok --with-default-link to set it.
43522 * configure: Regenerated.
43523 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43524 (shlib-lds, shlib-lds-flags): Define to empty.
43525
2d4fa81e
RM
43526 * Makerules (shlib-lds): New variable.
43527 (shlib-lds-flags): New variable.
43528 (build-shlib, build-moduile, build-module-asneeded): Use it.
43529 ($(common-objpfx)libc.so): Use $(shlib-lds).
43530 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43531 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43532
31fffa6b
RM
43533 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43534 DT_FLAGS/DT_FLAGS_1 with zero flags.
43535
4e34ac6a
RM
43536 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43537 linker script munging.
43538
fcfc776b
UD
435392011-07-02 Ulrich Drepper <drepper@gmail.com>
43540
43541 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43542 as 128-bit value.
43543 * crypt/sha512.c (sha512_process_block): Perform total addition using
43544 128-bit if possible.
43545 (__sha512_finish_ctx): Likewise.
43546 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43547 as 64-bit value.
43548 * crypt/sha256.c (SWAP64): Define.
43549 (sha256_process_block): Perform total addition using 64-bit if
43550 possible.
43551 (__sha256_finish_ctx): Likewise.
43552
99231d9a
UD
435532011-07-01 Ulrich Drepper <drepper@gmail.com>
43554
43555 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43556 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43557 * nscd/hstcache.c (cache_addhst): Likewise.
43558 * nscd/grpcache.c (cache_addgr): Likewise.
43559 * nscd/aicache.c (addhstaiX): Likewise
43560 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43561
445b4a53
TK
435622011-07-01 Thorsten Kukuk <kukuk@suse.de>
43563
43564 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43565 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43566 * nscd/hstcache.c (cache_addhst): Likewise.
43567 * nscd/grpcache.c (cache_addgr): Likewise.
43568 * nscd/aicache.c (addhstaiX): Likewise
43569
6d4d8e8e
AS
435702011-07-01 Andreas Schwab <schwab@redhat.com>
43571
43572 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43573 domain only when needed.
43574
89f654c5
AS
435752011-06-30 Andreas Schwab <schwab@redhat.com>
43576
43577 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43578 is always restored.
43579
cf3b23ff
UD
435802011-06-29 Ulrich Drepper <drepper@gmail.com>
43581
43582 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43583 are re-adding the entry.
43584 * nscd/servicescache.c (cache_addserv): Likewise.
43585
751626f9
AJ
435862011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43587
43588 * sysdeps/generic/dl-irel.h: fix protection against multiple
43589 inclusions.
43590 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43591
9113ea1f
UD
435922011-06-28 Ulrich Drepper <drepper@gmail.com>
43593
5c0b8d90
UD
43594 [BZ #12935]
43595 * malloc/memusage.sh: Fix quoting in message.
43596 * debug/xtrace.sh: Likewise.
43597
9113ea1f
UD
43598 * configure.in: Remove support for --experimental-malloc option, make
43599 it the default.
43600 * config.make.in: Likewise.
43601 * malloc/Makefile: Likewise.
43602
a4172181
AS
436032011-06-27 Andreas Schwab <schwab@redhat.com>
43604
43605 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43606 two-byte characters.
43607
78a7eee7
RM
436082011-06-27 Roland McGrath <roland@hack.frob.com>
43609
62bede13
RM
43610 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43611 AC_CACHE_CHECK invocation.
43612 * configure: Regenerated.
43613
78a7eee7
RM
43614 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43615
5ce33a62
UD
436162011-06-27 Ulrich Drepper <drepper@gmail.com>
43617
034807a9
UD
43618 [BZ #12350]
43619 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43620 bit from old_res_options.
43621
4902da17
UD
43622 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43623
5ce33a62
UD
43624 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43625 value type for setfct.
43626
c2344f56
L
436272011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43628
43629 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43630 __gettimeofday instead of gettimeofday.
43631
68468076
UD
436322011-06-26 Ulrich Drepper <drepper@gmail.com>
43633
43634 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43635
acb0d739
L
436362011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43637
43638 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43639
43640 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43641 info.
43642
8912479f
L
436432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43644
43645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43646 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43647 strcpy-sse2-unaligned strncpy-sse2-unaligned
43648 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43649 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43650 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43651 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43652 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43653 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43654 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43655 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43656 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43657 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43658 (STRCPY): Support SSE2 and SSSE3 versions.
43659
d5495a11
UD
436602011-06-24 Ulrich Drepper <drepper@gmail.com>
43661
43662 [BZ #12874]
43663 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43664 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43665 kernels which artificially limit size of requests.
43666
0b1cbaae
L
436672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43668
43669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43670 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43671 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43672 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43673 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43674 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43675 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43676 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43677 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43678 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43679 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43680 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43681 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43682 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43683 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43685 Enable unaligned load optimization for Intel Core i3, i5 and i7
43686 processors.
43687 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43688 Define.
43689 (index_Fast_Unaligned_Load): Define.
43690 (HAS_FAST_UNALIGNED_LOAD): Define.
43691
07f494a0
MP
436922011-06-23 Marek Polacek <mpolacek@redhat.com>
43693
43694 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43695
fa3fc0fe
UD
436962011-06-22 Ulrich Drepper <drepper@gmail.com>
43697
43698 [BZ #12907]
43699 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43700 until it is clear that the information is realy needed.
43701 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43702
e12df166
AS
437032011-06-22 Andreas Schwab <schwab@redhat.com>
43704
43705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43706
852eb34d
UD
437072011-06-22 Ulrich Drepper <drepper@gmail.com>
43708
84e2a551
UD
43709 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43710 /sys/devices/system/cpu/online if it is usable.
43711
852eb34d
UD
43712 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43713 reading the information from the /proc filesystem to once a second.
43714
6e502e19
UD
437152011-06-21 Andreas Jaeger <aj@suse.de>
43716
43717 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43718 NULL after inclusion of kernel headers.
43719
75d39ff2
UD
437202011-06-21 Ulrich Drepper <drepper@gmail.com>
43721
51f9aa6a
UD
43722 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43723 calls to internal_setent.
43724
c0244a9d
UD
43725 [BZ #12885]
43726 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43727 addresses using gethostbyname4_r ignore IPv4 addresses.
43728
c5e3c2ae
UD
43729 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43730 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43731
75d39ff2
UD
43732 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43733
42675c6f
DM
437342011-06-20 David S. Miller <davem@davemloft.net>
43735
43736 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43737 inclusions.
43738 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43739
43740 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43741 (elf_irel): Use it.
43742 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43743 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43744 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43745 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43746 * sysdeps/x86_64/dl-irel.h: Likewise.
43747
43748 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43749 * elf/dl-sym.c: Likewise.
43750
57912a71
UD
437512011-06-15 Ulrich Drepper <drepper@gmail.com>
43752
43753 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43754 need to dereference resplen2.
43755
ee22793d
AS
437562011-06-14 Andreas Schwab <schwab@redhat.com>
43757
43758 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43759
a9e836b0
UD
437602011-06-15 Ulrich Drepper <drepper@gmail.com>
43761
77fb9117
UD
43762 * Makeconfig: Define vardbdir and inst_vardbdir.
43763 * nss/Makefile: Add rules to install db-Makefile.
43764
40c1b22c
UD
43765 * nss/nss_db/db-XXX.c: Cleanup.
43766
9f2da732
UD
43767 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43768 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43769 GLIBC_PRIVATE.
43770 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43771 * nss/makedb.c: Implement -g option to specify that value strings
43772 are generated and should not be added to table iterated over for
43773 get*ent calls.
43774 * nss/nss_db/db-initgroups.c: New file.
43775
82e9a1f7
UD
43776 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43777 interface.
43778
c41af17e
UD
43779 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43780 (internal_getgrouplist): Adjust to name change.
43781 Update use_initgroups_entry if this is not the first call.
43782 * nss/databases.def: Add initgroups entry.
43783
a9e836b0
UD
43784 * nss/makedb.c (compute_tables): Check result of multiple hash table
43785 sizes to minimize maximum chain length.
43786
2666d441
UD
437872011-06-14 Ulrich Drepper <drepper@gmail.com>
43788
43789 * Versions.def: Add entry for libnss_db.
43790 * shlib-versions: Likewise.
43791 * nss/Makefile: Add rules to build libnss_db.
43792 * nss/Versions: Add libnss_db information. Organize libnss_files
43793 entries better.
43794 * nss/db-Makefile: Add gshadow support. Change rules for the new
43795 makedb progra. Some minor improvements to generate smaller files.
43796 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43797 here from...
43798 * nss/makedb.c: ...here.
43799 Improve database format to be smaller and require less memory at
43800 runtime.
43801 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43802 db anymore.
43803 * nss/nss_db/db-netgrp.c: Likewise.
43804 * nss/nss_db/db-open.c: Likewise.
43805 * nss/nss_files/flies-XXX.x: Adjust comments.
43806 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43807 * nss/nss_files/files-grp.c: Likewise.
43808 * nss/nss_files/files-hosts.c: Likewise.
43809 * nss/nss_files/files-network.c: Likewise.
43810 * nss/nss_files/files-proto.c: Likewise.
43811 * nss/nss_files/files-pwd.c: Likewise.
43812 * nss/nss_files/files-rpc.c: Likewise.
43813 * nss/nss_files/files-service.c: Likewise.
43814 * nss/nss_files/files-sgrp.c: Likewise.
43815 * nss/nss_files/files-spwd.c: Likewise.
43816 * nss/nss_db/db-alias.c: Removed.
43817 * nss/nss_db/dummy-db.h: Removed.
43818
9ee76b5a
UD
438192011-06-02 Ulrich Drepper <drepper@gmail.com>
43820
43821 * nss/makedb.c: Rewritten to not use database library.
43822 * nss/Makefile: Update to build new makedb program.
43823
c71ca1f8
AJ
438242011-06-14 Andreas Jaeger <aj@suse.de>
43825
43826 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43827 memset declaration.
43828
3154bfb8
UD
438292011-06-10 Andreas Schwab <schwab@redhat.com>
43830
43831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43832 tmpbuf.
43833
b350afab
RM
438342011-06-10 Roland McGrath <roland@hack.frob.com>
43835
decd4e50
RM
43836 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43837 * elf/Makefile ($(objpfx)ld.so): Likewise.
43838
5615eaf2
RM
43839 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43840 Don't list ld.so twice in dependencies.
43841
43842 * posix/bug-regex31.c: Include <stdlib.h>.
43843
43844 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43845
43846 * nis/nss_compat/compat-spwd.c
43847 (getspent_next_nss_netgr): Remove unused variable.
43848 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43849
43850 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43851 nonmembers" output to use the right array.
43852
43853 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43854
43855 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43856
43857 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43858 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43859 * catgets/gencat.c (read_input_file): Likewise.
43860 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43861
43862 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43863 variable definition inside #if's controlling its use.
43864
43865 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43866
43867 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43868
43869 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43870
43871 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43872 unreachable code.
43873
43874 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43875
b68e08db
RM
43876 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43877 * configure: Regenerated.
43878
b350afab
RM
43879 * Makerules: Revert last change.
43880 * elf/Makefile: Likewise.
43881
28368601
RM
438822011-06-09 Roland McGrath <roland@hack.frob.com>
43883
43884 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43885 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43886 (reloc-link): Likewise.
43887
11988f8f
UD
438882011-06-09 Ulrich Drepper <drepper@gmail.com>
43889
43890 * elf/Makefile: Add rules to build pldd.
43891 * elf/pldd.c: New file.
43892 * elf/pldd-xx.c: New file.
43893
e80fab37
UD
438942011-06-07 Ulrich Drepper <drepper@gmail.com>
43895
43896 * version.h: Update for 2.15 development version.
43897
9b849836
DM
438982011-06-07 David S. Miller <davem@davemloft.net>
43899
43900 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43901 ifuncs.
43902 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43903 elf_machine_lazy_rel): Likewise.
43904 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43905 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43906 elf_machine_lazy_rel): Likewise.
43907 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43908 dl_hwcap via passed in argument.
43909 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43910 Likewise.
43911
5a31b283
AK
439122011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43913
43914 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43915
069e52f8
RM
439162011-06-06 Roland McGrath <roland@hack.frob.com>
43917
43918 [BZ #12849]
43919 * manual/fdl-1.1.texi: New file, verbatim from:
43920 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43921 * manual/lgpl-2.1.texi: New file, verbatim from:
43922 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43923 * manual/Makefile (licenses): New variable, list those new file names.
43924 (texis): Use it.
43925 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43926
43927 * manual/fdl.texi: File removed.
43928 * manual/lesser.texi: File removed.
43929 * manual/libc.texinfo (Copying, Documentation License):
43930 Use new @include file names, put @appendix directive before @include.
43931
f16846a5
JJ
439322011-06-04 Jakub Jelinek <jakub@redhat.com>
43933
43934 [BZ #12841]
43935 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43936 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43937 (mq_open): Add __NTH.
43938
3d29045b
L
439392011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43940
43941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43942 Assume Intel Core i3/i5/i7 processor if AVX is available.
43943
8c297311
UD
439442011-05-31 Ulrich Drepper <drepper@gmail.com>
43945
43946 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43947 typo.
43948
c8fc0c91
UD
439492011-05-31 Andreas Schwab <schwab@redhat.com>
43950
43951 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43952 memory. Use alloca_account. Fix memory leak when retrying.
43953
5b27a807
UD
439542011-05-31 Ulrich Drepper <drepper@gmail.com>
43955
356f8bc6
UD
43956 * version.h (RELEASE): Bump for 2.14 release.
43957 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43958
5b27a807
UD
43959 * config.make.in (RANLIB): Remove entry.
43960
01f16ab0
UD
439612011-05-30 Ulrich Drepper <drepper@gmail.com>
43962
41fce8bd
UD
43963 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43964 (libc.pot): Work around missing support for .ksh extension in xgettext.
43965
4769ae77
UD
43966 [BZ #12684]
43967 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43968 if both request failed.
43969 (send_dg): In case of server errors clear resplen or *resplen2.
43970
6b1e7d19
UD
43971 [BZ #12454]
43972 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43973 when there are multiple maps.
43974 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43975 (_dl_fini): Remove test here.
43976
01f16ab0
UD
43977 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43978
b1ebd700
UD
439792011-05-29 Ulrich Drepper <drepper@gmail.com>
43980
7ae22829
UD
43981 [BZ #12350]
43982 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43983 bit from old_res_options.
43984 (gaih_inet): Likewise.
43985
553149f6 43986 [BZ #11099]
18a84741 43987 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
43988 as signed.
43989
652ffab1
UD
43990 * resolv/res_init.c (res_setoptions): Make the code more compact.
43991
16985fd0
UD
43992 [BZ #11558]
43993 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43994 set RES_USEVC.
43995
0464f746
UD
43996 [BZ #11634]
43997 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43998
7d17596c
UD
43999 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44000
cf6bbbd7
UD
44001 [BZ #11781]
44002 * malloc/malloc.h: Declare malloc hook variables as volatile.
44003
13f1ab36
UD
44004 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44005 in last patch.
44006
b1ebd700
UD
44007 [BZ #11799]
44008 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 44009 raise in the comment.
80e2212d
UD
44010 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44011 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44012 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 44013
ce67228d
UD
440142011-05-28 Ulrich Drepper <drepper@gmail.com>
44015
8887a920
UD
44016 [BZ #12811]
44017 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44018 grow the buffers more if it already has to be sufficient.
44019 (build_wcs_upper_buffer): Likewise.
44020 * posix/regexec.c (check_matching): Likewise.
44021 (clean_state_log_if_needed): Likewise.
44022 (extend_buffers): Don't enlarge buffers beyond size of the input
44023 buffer.
44024 Patches mostly by Emil Wojak <emil@wojak.eu>.
44025 * posix/bug-regex32.c: New file.
44026 * posix/Makefile (tests): Add bug-regex32.
44027
4f031072
UD
44028 * locale/findlocale.c (_nl_find_locale): Return right away if
44029 _nl_explode_name failed.
44030 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44031
d0478f0c
UD
44032 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44033
de81b246
UD
44034 * debug/xtrace.sh: Unify messages.
44035 * malloc/memusage.sh: Likewise.
44036
c738465a
UD
44037 [BZ #12813]
44038 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44039 time symbol from vDSO. Substitute with vsyscall if not available.
44040 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44041 __vdso_time.
44042
f1f929d7
UD
44043 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44044 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44045 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44046 Add sendmmsg and internal_sendmmsg.
44047 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44048 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44049 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44050
ce67228d
UD
44051 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44052 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44053 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44054
e57420c6
UD
440552011-05-27 Ulrich Drepper <drepper@gmail.com>
44056
a8509ca5
UD
44057 [BZ #12813]
44058 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44059 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44060 available.
44061 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44062 __vdso_getcpu.
44063
e57420c6
UD
44064 [BZ #12814]
44065 * iconvdata/Makefile (tests): Add bug-iconv9.
44066 * iconvdata/bug-iconv9.c: New file.
44067
4d07db15
AS
440682011-05-27 Andreas Schwab <schwab@redhat.com>
44069
44070 [BZ #12814]
44071 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44072
ea486f69
JJ
440732011-05-25 Jakub Jelinek <jakub@redhat.com>
44074
44075 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44076 (struct user_regs_struct): Change intcs field back to cs.
44077
6f038433
UD
440782011-05-25 Ulrich Drepper <drepper@gmail.com>
44079
44080 * po/ja.po: Update from translation team.
44081
67f86a25
UD
440822011-05-23 Ulrich Drepper <drepper@gmail.com>
44083
44084 [BZ #12795]
44085 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44086 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44087
def7fbd6
AS
440882011-05-20 Andreas Schwab <schwab@redhat.com>
44089
44090 * stdlib/longlong.h: Update from GCC.
44091
f50ef8f1
AS
440922011-05-23 Andreas Schwab <schwab@redhat.com>
44093
44094 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44095 parameter name.
44096 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44097 Add parameter name.
44098 (__sysconf): Pass it down.
44099
de7ce8f1
UD
441002011-05-22 Ulrich Drepper <drepper@gmail.com>
44101
f2962a71
UD
44102 [BZ #12671]
44103 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44104 some situations.
44105 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44106 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44107 add in in __libc_use_alloca calls. Adjust callers.
44108 (glob): Use malloc in some situations.
44109
de7ce8f1
UD
44110 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44111 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44112 pltexit.
44113
aec84f53
UD
441142011-05-21 Ulrich Drepper <drepper@gmail.com>
44115
05bb4a68
UD
44116 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44117 and CLOCK_BOOTTIME_ALARM.
44118
7ea72f99
UD
44119 [BZ #12782]
44120 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44121 is returned.
44122
7e4afad5
UD
44123 * string/_strerror.c (__strerror_r): Print negative errors as signed
44124 numbers.
44125
8e211fec
UD
44126 [BZ #12777]
44127 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44128 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44129 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44130
f7d82dc9
UD
44131 * configure.in: Fix typo in redirection and correct removal of test
44132 files in two cases.
44133
cc9e536d
UD
44134 [BZ #12788]
44135 * locale/setlocale.c (new_composite_name): Fix test to check for
44136 identical name of all categories.
44137
aec84f53
UD
44138 [BZ #12792]
44139 * libio/filedoalloc.c (local_isatty): New function.
44140 (_IO_file_doallocate): Use local_isatty.
44141 * stdio-common/perror.c (perror): In case a new stream is used
44142 forward the stream error.
44143 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44144 error flag.
44145
78e64fdc
RT
441462011-05-20 Ulrich Drepper <drepper@gmail.com>
44147
34a9094f
UD
44148 [BZ #11869]
44149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44150 alloca.
44151 * include/alloca.h (extend_alloca_account): Define.
44152
78e64fdc
RT
44153 [BZ #11857]
44154 * posix/regex.h: Fix comments with documentation of user-accessible
44155 fields after compilation and describe correct free'ing of pattern
44156 after re_compile_pattern.
44157 Patch by Reuben Thomas <rrt@sc3d.org>.
44158
457bddfc
RA
441592011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44160
44161 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44162 and -mno-altivec to prevent the compiler from using Altivec and/or
44163 VSX instructions when the corresponding registers are not available.
44164
a4527b51
AS
441652011-05-19 Andreas Schwab <schwab@redhat.com>
44166
44167 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44168
ed690b2f
UD
441692011-05-19 Ulrich Drepper <drepper@gmail.com>
44170
44171 * libio/freopen.c (freopen): Use __dup2, not dup2.
44172 * libio/freopen64.c (freopen64): Likewise.
44173
8db73634
L
441742011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44175
44176 [BZ #12775]
44177 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44178 * math/Makefile (tests): Add test-powl.
44179 (CFLAGS-test-powl.c): Define.
44180 * math/test-powl.c: New file.
44181
0a197a9d
L
441822011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44183
44184 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44185
ee30c380
UD
441862011-05-17 Ulrich Drepper <drepper@gmail.com>
44187
44188 [BZ #11837]
44189 * iconvdata/gb18030.c: Update to GB18020-2005.
44190
6ce75379
UD
441912011-05-16 Ulrich Drepper <drepper@gmail.com>
44192
a4b89fd8
AR
44193 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44194 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44195 Patch by Aharon Robbins <arnold@skeeve.com>.
44196
ea389b12
UD
44197 [BZ #11892]
44198 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44199 on the stack.
44200
68a3f91f
UD
44201 [BZ #11895]
44202 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44203 through underflows.
44204
15cc7dd1
UD
44205 [BZ #12766]
44206 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44207 point to strings before performing equality test for error_one_per_line
44208 mode.
44209
f3799213
UD
44210 [BZ #11697]
44211 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44212
d79a9c94
UD
44213 [BZ #11820]
44214 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44215 (struct user_fpregs_struct): Avoid __uint*_t types.
44216
56e5eb46
UD
44217 [BZ #6420]
44218 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44219 symbol info. Use it instead of calling _dl_addr locally.
44220 (lock_and_info): New function.
44221 (tr_freehook): Call lock_and_info and pass symbol info as additional
44222 parameter to tr_where.
44223 (tr_mallochook): Likewise.
44224 (tr_reallochook): Likewise.
44225 (tr_memalignhook): Likewise.
44226
6ce75379
UD
44227 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44228 used and couldn't be at all thread-safe.
44229
f8a3b5bf
UD
442302011-05-15 Ulrich Drepper <drepper@gmail.com>
44231
94b7cc37
UD
44232 * libio/freopen.c (freopen): Don't close old file descriptor
44233 before the new one is opened. Instead dup the new file descriptor
44234 to the old one after the new stream is created.
44235 * libio/freopen64.c (freopen64): Likewise.
44236 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44237 * libio/fileops.c (_IO_new_file_close_it): Handle new
44238 _IO_FLAGS2_NOCLOSE flag.
44239 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44240 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44241 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44242 _IO_FLAGS2_NOCLOSE flag.
44243 * include/unistd.h: Add hidden_proto for dup3.
44244 Define __have_dup3.
44245 * io/dup3.c: Define hidden symbol.
44246 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44247
bd25564e
UD
44248 [BZ #7101]
44249 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44250 when an incomplete long option is used.
44251 * posix/tst-getopt_long1.c: New file.
44252 * posix/Makefile (tests): Add tst-getopt_long1.
44253
c84cfef4
UD
44254 [BZ #10138]
44255 * scripts/config.guess: Update from autoconf-2.68.
44256 * scripts/config.sub: Likewise.
44257
3b85df27
UD
44258 [BZ #10157]
44259 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44260 tests into ...
44261 (has_cpuclock): ...this. New function.
44262 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44263 macro here based on has_cpuclock code.
44264
15a856b1
UD
44265 [BZ #10149]
44266 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44267 First byte (not low byte) is now always NUL.
44268 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44269
05f399e6
UD
44270 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44271 Use non-cancelable interfaces.
44272
10a52685 44273 [BZ #9809]
94ecc67d
UD
44274 * locale/iso-639.def: Add entry for Sorani.
44275
f8a3b5bf
UD
44276 [BZ #11901]
44277 * include/stdlib.h: Move include protection to the right place.
44278 Define abort_msg_s. Declare __abort_msg with it.
44279 * stdlib/abort.c (__abort_msg): Adjust type.
44280 * assert/assert.c (__assert_fail_base): New function. Majority
44281 of code from __assert_fail. Allocate memory for __abort_msg with
44282 mmap.
44283 (__assert_fail): Now call __assert_fail_base.
44284 * assert/assert-perr.c: Remove bulk of implementation. Use
44285 __assert_fail_base.
44286 * include/assert.hL Declare __assert_fail_base.
44287 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44288 mmap.
44289 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44290
1af4e298
UD
442912011-05-14 Ulrich Drepper <drepper@gmail.com>
44292
f8a3b5bf 44293 [BZ #11952]
d26dfc60
MG
44294 [BZ #12453]
44295 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44296 until all modules are registered in the DTV.
44297 * elf/Makefile: Add rules to build and run tst-tls19.
44298 * elf/tst-tls19.c: New file.
44299 * elf/tst-tls19mod1.c: New file.
44300 * elf/tst-tls19mod2.c: New file.
44301 * elf/tst-tls19mod3.c: New file.
44302 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44303
2fc54d6f
UD
44304 [BZ #12083]
44305 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44306 correctly.
44307
98d76b46
UD
44308 [BZ #12601]
44309 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44310 two-byte sequence errors.
44311 * iconvdata/Makefile (tests): Add bug-iconv8.
44312 * iconvdata/bug-iconv8.c: New file.
44313
da3c19ef
UD
44314 [BZ #12626]
44315 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44316 buf2 definition.
44317
ca408c15
UD
44318 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44319
d6f67f7d
UD
44320 [BZ #12432]
44321 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44322 (dummy_getcfa): New function.
44323 (init): Get _Unwind_GetCFA address, use dummy if not found.
44324 (backtrace_helper): In recursion check, also check whether CFA changes.
44325 (__backtrace): Completely initialize arg.
44326
1af4e298 44327 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
44328 storing incomplete byte sequence in state object. Avoid testing for
44329 guaranteed too small input if we know there is enough data available.
1af4e298 44330
da62f81b
AS
443312011-05-11 Andreas Schwab <schwab@redhat.com>
44332
44333 * Makeconfig (+link-pie): Indent.
44334 * Rules (binaries-pie): Define if $(have-fpie) and
44335 $(build-shared).
44336 (binaries-shared): Also filter out $(binaries-pie).
44337 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44338 * nscd/Makefile (others-pie): Add nscd.
44339 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44340 ($(objpfx)nscd): Remove command override.
44341 * login/Makefile (others-pie): Add pt_chown.
44342 ($(objpfx)pt_chown): Remove command override.
44343 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44344 remove command overrides.
44345
fcabc0f8
UD
443462011-05-13 Ulrich Drepper <drepper@gmail.com>
44347
20030ae6
UD
44348 * libio/tst_putwc.c: Fix error messages.
44349
fcabc0f8
UD
44350 [BZ #12724]
44351 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44352 currently writing and seek to current position when not.
44353 * libio/Makefile (tests): Add bug-fclose1.
44354 * libio/bug-fclose1.c: New file.
44355
320a5dc0
PB
443562011-05-12 Ulrich Drepper <drepper@gmail.com>
44357
44358 [BZ #12511]
44359 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44360 don't set DF_1_NODELETE here.
44361 (do_lookup_x): When entering new entry test for copy relocation
44362 and if necessary set DF_1_NODELETE flag.
44363 * elf/tst-unique4.cc: New file.
44364 * elf/tst-unique4.h: New file.
44365 * elf/tst-unique4lib.cc: New file.
44366 * elf/Makefile: Add rules to build and run tst-unique4.
44367 Patch by Piotr Bury <pbury@goahead.com>.
44368
22836f52
UD
443692011-05-11 Ulrich Drepper <drepper@gmail.com>
44370
f574184a
UD
44371 [BZ #12052]
44372 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44373
e1fb097f
UD
44374 [BZ #12625]
44375 * misc/mntent_r.c (addmntent): Flush the stream after the output
44376
22836f52
UD
44377 [BZ #12393]
44378 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44379 (is_trusted_path_normalize): Skip initial colon. Append slash
44380 to empty buffer. Duplicate is_trusted_path code but allow
44381 constructed patch to be prefix.
44382 (is_dst): Allow $ORIGIN followed by /.
44383 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44384 Correct testing of result of is_trusted_path_normalize
44385 (decompose_rpath): Fix warning.
44386
7b3b0b2a
UD
443872011-05-10 Ulrich Drepper <drepper@gmail.com>
44388
44389 [BZ #11257]
44390 * grp/initgroups.c (internal_getgrouplist): When we found the service
44391 list through the initgroups entry in nsswitch.conf do not always
44392 continue on a successful lookup. Don't always use the
eac80ce2 44393 __nss_group_database value if it is set.
7b3b0b2a
UD
44394 * nss/nsswitch.conf (initgroups): Change action for successful db
44395 lookup to continue for compatibility.
44396
2a81eaa5
UD
443972011-05-09 Ulrich Drepper <drepper@gmail.com>
44398
be97a69e
UD
44399 [BZ #11532]
44400 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44401 and CP774 modules.
44402 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44403 and CP774 modules.
44404 * iconvdata/tst-tables.sh: Likewise.
44405 * iconvdata/cp770.c: New file.
44406 * iconvdata/cp771.c: New file.
44407 * iconvdata/cp772.c: New file.
44408 * iconvdata/cp773.c: New file.
44409 * iconvdata/cp774.c: New file.
44410 * iconvdata/testdata/CP770: New file.
44411 * iconvdata/testdata/CP770..UTF8: New file.
44412 * iconvdata/testdata/CP771: New file.
44413 * iconvdata/testdata/CP771..UTF8: New file.
44414 * iconvdata/testdata/CP772: New file.
44415 * iconvdata/testdata/CP772..UTF8: New file.
44416 * iconvdata/testdata/CP773: New file.
44417 * iconvdata/testdata/CP773..UTF8: New file.
44418 * iconvdata/testdata/CP774: New file.
44419 * iconvdata/testdata/CP774..UTF8: New file.
44420
44421 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44422 END CHARMAP line.
44423 * iconvdata/gen-8bit-gap.sh: Likewise.
44424 * iconvdata/gen-8bit.sh: Likewise.
44425
c1e9e399
UD
44426 * locale/iso-639.def: Add ary entry.
44427
24c55fb3 44428 [BZ #11258]
96b4b1b0
UD
44429 * locale/C-translit.h.in: Add U20A1 transliteration.
44430
bdc2f971
KB
44431 [BZ #12178]
44432 * locale/iso-639.def: Add wae entry.
44433 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44434
2952b117
UD
44435 [BZ #12545]
44436 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44437 for n.
44438
2a81eaa5
UD
44439 [BZ #12711]
44440 * locale/C-translit.h.in: Add entry for U20B9.
44441 Patch by pravin.d.s@gmail.com.
44442
28377d1b
UD
444432011-05-08 Ulrich Drepper <drepper@gmail.com>
44444
7fb90fb8
UD
44445 [BZ #12713]
44446 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44447 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
44448 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44449 in rtld. Use *stat64.
7fb90fb8 44450 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 44451 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 44452 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
44453 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44454 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44455 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44456 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44457 __fstatat64 macros.
7fb90fb8
UD
44458 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44459 * dirent/rewinddir.c: Add libc_hidden_def.
44460 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 44461 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 44462
28377d1b
UD
44463 * include/dirent.h (__alloc_dir): Add flags parameter.
44464 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44465 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44466 __alloc_dir.
44467 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44468 from fdopendir if O_CLOEXEC is already set.
44469
66bdbaa4
AM
444702011-03-15 Alan Modra <amodra@gmail.com>
44471
44472 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44473 l_tls_firstbyte_offset non-zero. Save padding offset in
44474 l_tls_firstbyte_offset for later use.
44475 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44476 freeing static tls block.
44477
95721191
JN
444782011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44479
44480 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44481 where #ifdef was intended. The intent is to prevent ARG_MAX from
44482 being defined by the kernel headers.
44483
f87dfb1f
UD
444842011-05-07 Ulrich Drepper <drepper@gmail.com>
44485
44486 [BZ #12734]
44487 * resolv/resolv.h: Define RES_NOTLDQUERY.
44488 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44489 no-tld-query and set RES_NOTLDQUERY.
44490 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44491 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44492 modern BIND to search name as TLD unless forbidden.
44493
47c3cd7a
UD
444942011-05-07 Petr Baudis <pasky@suse.cz>
44495 Ulrich Drepper <drepper@gmail.com>
44496
44497 [BZ #12393]
44498 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44499 (is_trusted_path): ...to here.
c1e9ea35 44500 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 44501 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 44502 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 44503
8a35c912
PP
445042011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44505
44506 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44507 __BEGIN/__END_DECLS.
44508
acd41f47
UD
445092011-05-06 Ulrich Drepper <drepper@gmail.com>
44510
44511 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44512 NSS_STATUS_NOTFOUND if no record was found.
44513
597df647
AS
445142011-05-05 Andreas Schwab <schwab@redhat.com>
44515
44516 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44517 (headers-not-in-tirpc): Remove rpc/netdb.h
44518 * resolv/netdb.h: Revert last change.
44519
b9af1301
PP
445202011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44521
44522 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44523 circular dependency between libgcc.a and libc.a.
44524
4e34d5f5
AS
445252011-05-05 Andreas Schwab <schwab@redhat.com>
44526
44527 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44528 * nis/Makefile: Don't install rpcsvc/*.
44529 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44530 instead of <rpc/types.h>.
44531 (MAXHOSTNAMELEN): Define.
44532
00ee369c
AS
445332011-05-03 Andreas Schwab <schwab@redhat.com>
44534
44535 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44536
0b592a30
MB
445372011-04-28 Maciej Babinski <mbabinski@google.com>
44538
44539 [BZ #12714]
44540 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44541 gethostbyname4_r when IPv6 results are possible.
44542
6e04cbbe
UD
445432011-05-02 Ulrich Drepper <drepper@gmail.com>
44544
44545 [BZ #12723]
44546 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44547 _PC_PIPE_BUF handling.
44548
e4ecafe0
BH
445492011-04-30 Bruno Haible <bruno@clisp.org>
44550
44551 [BZ #12717]
44552 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44553 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44554 to 'int'.
44555 * inet/getnameinfo.c (getnameinfo): Likewise.
44556
125ee683
UD
445572011-04-29 Ulrich Drepper <drepper@gmail.com>
44558
44559 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44560 to groups setting in database lookup.
44561 * nss/nsswitch.conf: Add initgroups entry.
44562
b722481a
EB
445632011-04-22 Ulrich Drepper <drepper@gmail.com>
44564
44565 [BZ #12685]
44566 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44567 mode string.
44568 Patch by Eric Blake <eblake@redhat.com>.
44569
4df46dbd
L
445702011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44571
44572 * sunrpc/Makefile (need-export-routines): Add svc_run.
44573 (routines): Remove svc_run.
44574 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44575 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44576 * sunrpc/svc_run.c (svc_run): Likewise.
44577 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44578
e84142d2
UD
445792011-04-21 Ulrich Drepper <drepper@gmail.com>
44580
44581 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44582 problem in reallocation in last patch.
44583
877175d8
UD
445842011-04-20 Ulrich Drepper <drepper@gmail.com>
44585
44586 * sunrpc/Makefile: Move inclusion of Rules.
44587
ab8eed78
UD
445882011-04-19 Ulrich Drepper <drepper@gmail.com>
44589
44590 * nss/nss_files/files-initgroups.c: New file.
44591 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44592 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44593 _nss_files_initgroups_dyn.
44594
e3d8f584
RS
445952011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44596
44597 * elf/elf.h (R_ARM_IRELATIVE): Define.
44598
af190f45
UD
445992011-04-19 Ulrich Drepper <drepper@gmail.com>
44600
44601 * po/ru.po: Update from translation team.
44602
53cf59ef
UD
446032011-04-17 Ulrich Drepper <drepper@gmail.com>
44604
44605 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44606 dependencies.
44607
4c559bcd
MF
446082011-02-06 Mike Frysinger <vapier@gentoo.org>
44609
44610 [BZ #12653]
44611 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44612 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44613 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44614 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44615 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44616
4420675c
AS
446172011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44618
44619 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44620 differing bytes.
44621 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44622 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44623 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44624
75ea32ab
UD
446252011-04-17 Ulrich Drepper <drepper@gmail.com>
44626
44627 [BZ #12420]
44628 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44629 storing it.
44630 * stdlib/bug-getcontext.c: New file.
44631 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44632
27390476
AK
446332011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44634
44635 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44636 instructions into .machine "z9-109".
44637 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44638 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44639
10442705
AK
446402011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44641
44642 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44643 between environment variables and auxiliary vector.
44644
7b57bfe5
UD
446452011-04-16 Ulrich Drepper <drepper@gmail.com>
44646
44647 * Makefile: Add rules to build linkobj/libc.so.
44648 * include/libc-symbols.h: Define libc_hidden_nolink.
44649 * include/rpc/auth.h: Mark functions which are to be hidden.
44650 * include/rpc/auth_des.h: Likewise.
44651 * include/rpc/auth_unix.h: Likewise.
44652 * include/rpc/clnt.h: Likewise.
44653 * include/rpc/des_crypt.h: Likewise.
44654 * include/rpc/key_prot.h: Likewise.
44655 * include/rpc/pmap_clnt.h: Likewise.
44656 * include/rpc/pmap_prot.h: Likewise.
44657 * include/rpc/pmap_rmt.h: Likewise.
44658 * include/rpc/rpc_msg.h: Likewise.
44659 * include/rpc/svc.h: Likewise.
44660 * include/rpc/svc_auth.h: Likewise.
44661 * include/rpc/xdr.h: Likewise.
44662 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44663 * nss/Makefile: Likewise.
44664 * sunrpc/Makefile: Don't install headers. Build library with normal
44665 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44666 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44667 for the compat linking library. Remove use of INTDEF/INTUSE.
44668 * sunrpc/auth_none.c: Likewise.
44669 * sunrpc/auth_unix.c: Likewise.
44670 * sunrpc/authdes_prot.c: Likewise.
44671 * sunrpc/authuxprot.c: Likewise.
44672 * sunrpc/clnt_gen.c: Likewise.
44673 * sunrpc/clnt_perr.c: Likewise.
44674 * sunrpc/clnt_raw.c: Likewise.
44675 * sunrpc/clnt_simp.c: Likewise.
44676 * sunrpc/clnt_tcp.c: Likewise.
44677 * sunrpc/clnt_udp.c: Likewise.
44678 * sunrpc/clnt_unix.c: Likewise.
44679 * sunrpc/des_crypt.c: Likewise.
44680 * sunrpc/des_soft.c: Likewise.
44681 * sunrpc/get_myaddr.c: Likewise.
44682 * sunrpc/key_call.c: Likewise.
44683 * sunrpc/key_prot.c: Likewise.
44684 * sunrpc/netname.c: Likewise.
44685 * sunrpc/pm_getmaps.c: Likewise.
44686 * sunrpc/pm_getport.c: Likewise.
44687 * sunrpc/pmap_clnt.c: Likewise.
44688 * sunrpc/pmap_prot.c: Likewise.
44689 * sunrpc/pmap_prot2.c: Likewise.
44690 * sunrpc/pmap_rmt.c: Likewise.
44691 * sunrpc/publickey.c: Likewise.
44692 * sunrpc/rpc_cmsg.c: Likewise.
44693 * sunrpc/rpc_common.c: Likewise.
44694 * sunrpc/rpc_dtable.c: Likewise.
44695 * sunrpc/rpc_prot.c: Likewise.
44696 * sunrpc/rpc_thread.c: Likewise.
44697 * sunrpc/rtime.c: Likewise.
44698 * sunrpc/svc.c: Likewise.
44699 * sunrpc/svc_auth.c: Likewise.
44700 * sunrpc/svc_authux.c: Likewise.
44701 * sunrpc/svc_raw.c: Likewise.
44702 * sunrpc/svc_run.c: Likewise.
44703 * sunrpc/svc_simple.c: Likewise.
44704 * sunrpc/svc_tcp.c: Likewise.
44705 * sunrpc/svc_udp.c: Likewise.
44706 * sunrpc/svc_unix.c: Likewise.
44707 * sunrpc/svcauth_des.c: Likewise.
44708 * sunrpc/xcrypt.c: Likewise.
44709 * sunrpc/xdr.c: Likewise.
44710 * sunrpc/xdr_array.c: Likewise.
44711 * sunrpc/xdr_float.c: Likewise.
44712 * sunrpc/xdr_intXX_t.c: Likewise.
44713 * sunrpc/xdr_mem.c: Likewise.
44714 * sunrpc/xdr_rec.c: Likewise.
44715 * sunrpc/xdr_ref.c: Likewise.
44716 * sunrpc/xdr_sizeof.c: Likewise.
44717 * sunrpc/xdr_stdio.c: Likewise.
44718
e6c61494
UD
447192011-04-10 Ulrich Drepper <drepper@gmail.com>
44720
44721 [BZ #12650]
44722 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44723 * sysdeps/ia64/dl-tls.h: Likewise.
44724 * sysdeps/powerpc/dl-tls.h: Likewise.
44725 * sysdeps/s390/dl-tls.h: Likewise.
44726 * sysdeps/sh/dl-tls.h: Likewise.
44727 * sysdeps/sparc/dl-tls.h: Likewise.
44728 * sysdeps/x86_64/dl-tls.h: Likewise.
44729 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44730
34fe483e
AS
447312011-03-14 Andreas Schwab <schwab@redhat.com>
44732
44733 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44734 rpath element also skip the following colon.
44735 (expand_dynamic_string_token): Add is_path parameter and pass
44736 down to DL_DST_REQUIRED and _dl_dst_substitute.
44737 (decompose_rpath): Call expand_dynamic_string_token with
44738 non-zero is_path. Ignore empty rpaths.
44739 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44740 with zero is_path.
44741
f12a32e6
AS
447422011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44743
44744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44745 Make cancelable.
44746
38a7d692
UD
447472011-04-09 Ulrich Drepper <drepper@gmail.com>
44748
44749 [BZ #12655]
44750 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44751 Patch by Filipe David Manana <fdmanana@apache.org>.
44752
e451d22b
AS
447532011-04-07 Andreas Schwab <schwab@redhat.com>
44754
44755 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44756 Maintain aligned stack.
44757 (CHECK_RSP): Remove unused macro.
44758
dedc7c7b
UD
447592011-04-03 Ulrich Drepper <drepper@gmail.com>
44760
44761 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44762 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44763
94521213
UD
447642011-04-02 Ulrich Drepper <drepper@gmail.com>
44765
44766 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44767
8cb700c0 44768 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 44769
0354e355
L
447702011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44771
44772 [BZ #12518]
44773 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44774 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44775 * sysdeps/x86_64/memmove.c: New file.
44776 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44777 (memcpy): Renamed to ...
44778 (__new_memcpy): This.
44779 (memcpy): Provide GLIBC_2_14 memcpy.
44780 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44781 (memcpy): Provide GLIBC_2_2_5 memcpy.
44782
8593482f
UD
447832011-04-01 Ulrich Drepper <drepper@gmail.com>
44784
44785 [BZ #12631]
44786 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44787
81a5726b
AS
447882011-03-30 Andreas Schwab <schwab@redhat.com>
44789
44790 * misc/syncfs.c: New file.
44791 * misc/Makefile (routines): Add syncfs.
44792 * posix/unistd.h: Declare syncfs.
44793 * sysdeps/unix/syscalls.list: Add syncfs.
44794
00e5419f
AS
447952011-04-01 Andreas Schwab <schwab@redhat.com>
44796
44797 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44798 open_by_handle_at.
44799 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44800 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44801 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44802 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44803 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44804 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44805 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44806
748876bf
UD
448072011-04-01 Ulrich Drepper <drepper@gmail.com>
44808
658e451d
UD
44809 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44810 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44811 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44812 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44813 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44814 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44815 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44816
748876bf
UD
44817 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44818 sync_file_range.c with -fexceptions.
44819 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44820 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44821 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44822 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44823 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44824 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44825 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
44826 sync_file_range as cancellation point
44827 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44828 now a wrapper around __call_sync_file_range with cancellation handling.
44829 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44830 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44831 function name to __call_sync_file_range.
44832 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44833 Add call_sync_file_range.
748876bf 44834
6e63d5e1
AS
448352011-04-01 Andreas Schwab <schwab@redhat.com>
44836
44837 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 44838 bits/timex.h.
6e63d5e1 44839
46998f74
UD
448402011-04-01 Ulrich Drepper <drepper@gmail.com>
44841
4c1423ed
UD
44842 * iconv/iconv.h: Fix typo in comment.
44843 * io/fcntl.h: Likewise.
44844 * libio/stdio.h: Likewise.
44845 * posix/spawn.h: Likewise.
44846 * posix/unistd.h: Likewise.
44847 * stdlib/stdlib.h: Likewise.
44848 * time/time.h: Likewise.
44849 * wcsmbs/wchar.h: Likewise.
44850
158648c0
UD
44851 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44852 open_by_handle): Add.
44853 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44854 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44855 Augment a few comments.
44856 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44858 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44859 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44860 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44861 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44862 open_by_handle.
44863
46998f74
UD
44864 * io/fcntl.h (AT_EMPTY_PATH): Define.
44865
83fe108b
UD
448662011-03-30 Ulrich Drepper <drepper@gmail.com>
44867
44868 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44869 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44870 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44871 to...
44872 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
44873 * Versions.def: Add GLIBC_2.14.
44874 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44875 Export.
83fe108b 44876
bb242059
UD
448772011-03-22 Ulrich Drepper <drepper@gmail.com>
44878
44879 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44880 round counter.
44881 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44882
c97a1282
L
448832011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44884
44885 [BZ #12597]
44886 * string/test-strncmp.c (do_page_test): New function.
44887 (check2): Likewise.
44888 (test_main): Call check2.
44889 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44890
2a115601
UD
448912011-03-20 Ulrich Drepper <drepper@gmail.com>
44892
44893 [BZ #12587]
44894 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44895 Handle cache information in CPU leaf 4.
44896 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44897
8126d904
UD
448982011-03-18 Ulrich Drepper <drepper@gmail.com>
44899
042c49c6 44900 [BZ #12583]
8126d904
UD
44901 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44902 character representation.
44903 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44904
ccfe366e
RA
449052011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44906
44907 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44908 END(__isnan) to END(__isnanf) to match function entry point/label
44909 EALIGN(__isnanf,...).
44910
c6e13027
JJ
449112011-03-10 Jakub Jelinek <jakub@redhat.com>
44912
44913 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44914
33f85a3f
UD
449152011-03-10 Ulrich Drepper <drepper@gmail.com>
44916
028478fa
UD
44917 [BZ #12510]
44918 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44919 copy from the symbol referenced in the relocation to initialize the
44920 used variable.
44921 Patch by Piotr Bury <pbury@goahead.com>.
44922 * elf/Makefile: Add rules to build and tst-unique3.
44923 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44924 * elf/tst-unique3.cc: New file.
44925 * elf/tst-unique3.h: New file.
44926 * elf/tst-unique3lib.cc: New file.
44927 * elf/tst-unique3lib2.cc: New file.
44928
33f85a3f
UD
44929 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44930
03592fc7
MF
449312011-03-10 Mike Frysinger <vapier@gentoo.org>
44932
44933 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44934 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44935 to _start.
03592fc7 44936
6a5ee102
UD
449372011-03-06 Ulrich Drepper <drepper@gmail.com>
44938
44939 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44940 to-be-loaded object along a path to loader is ld.so.
44941
7e4ba49c
HJ
449422011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44943 Ulrich Drepper <drepper@gmail.com>
44944
44945 * sysdeps/x86_64/memset.S: After aligning destination, code
44946 branches to different locations depending on the value of
44947 misalignment, when multiarch is enabled. Fix this.
44948
449492011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44950
44951 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44952 Set _x86_64_preferred_memory_instruction for AMD processsors.
44953 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44954 Set bit_Prefer_SSE_for_memop for AMD processors.
44955
13a804de
UD
449562011-03-04 Ulrich Drepper <drepper@gmail.com>
44957
44958 * libio/fmemopen.c (fmemopen): Optimize a bit.
44959
9d25c392
AS
449602011-03-03 Andreas Schwab <schwab@redhat.com>
44961
44962 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44963
a5543c6a
RM
449642011-03-03 Roland McGrath <roland@redhat.com>
44965
44966 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44967
012d35f7
DM
449682011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44969
7e4ba49c 44970 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
44971 __bzero_ultra1 instead of __memset_ultra1.
44972
4bff6e01
AS
449732011-02-23 Andreas Schwab <schwab@redhat.com>
44974 Ulrich Drepper <drepper@gmail.com>
44975
44976 [BZ #12509]
44977 * include/link.h (struct link_map): Add l_orig_initfini.
44978 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44979 returning unsuccessfully.
44980 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44981 close of a file loaded at startup, restore the original l_initfini
44982 list.
44983 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44984 list, store the pointer.
44985 * elf/Makefile ($(objpfx)noload-mem): New rule.
44986 (noload-ENV): Define.
44987 (tests): Add $(objpfx)noload-mem.
44988 * elf/noload.c: Include <memcheck.h>.
44989 (main): Call mtrace. Close all opened handles.
44990
f2092faf
AS
449912011-02-17 Andreas Schwab <schwab@redhat.com>
44992
44993 [BZ #12454]
44994 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44995 dependencies are missing.
44996
6c8a2e88
ST
449972011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44998
f2092faf 44999 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
45000 Hurd needs munmap.
45001 * sysdeps/mach/hurd/ifreq.h: New file.
45002
84a42118
PB
450032011-01-27 Petr Baudis <pasky@suse.cz>
45004 Ulrich Drepper <drepper@gmail.com>
45005
071f805e 45006 [BZ 12445]#
84a42118
PB
45007 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45008 to extend_alloca().
45009 * stdio-common/bug23.c: New file.
45010 * stdio-common/Makefile (tests): Add bug23.
45011
e23fe25b
AS
450122010-09-28 Andreas Schwab <schwab@redhat.com>
45013 Ulrich Drepper <drepper@gmail.com>
45014
45015 [BZ #12489]
45016 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45017 before performing relro protection. At old place add assertion
45018 to make sure nothing changed.
45019
d3f02e10
NS
450202011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45021 Glauber de Oliveira Costa <glommer@gmail.com>
45022
45023 * elf/elf.h: Add new ARM TLS relocs.
45024
d55fd7a5
RA
450252011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45026
45027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45028 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45029 cast from r3.
45030 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45031 'tests' variable.
45032 * sysdeps/wordsize-64/tst-writev.c: New file.
45033
2206397e
RA
450342011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45035
45036 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45037 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45038 insns in _dl_start to prevent a TOC reference before relocs are
45039 resolved.
45040
e9433893
UD
450412011-02-15 Ulrich Drepper <drepper@gmail.com>
45042
45043 [BZ #12469]
45044 * Makeconfig: Remove RANLIB definition.
45045 * Makerules: Don't use RANLIB.
45046 * aclocal.m4: Remove ranlib test.
45047 * configure.in: No need to check for ranlib.
45048 * elf/rtld-Rules: Don't use RANLIB.
45049
f75286c6
ST
450502011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45051
8e31c82d
ST
45052 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45053 protection macro.
45054 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45055 inclusion protection macro.
45056
f75286c6
ST
45057 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45058 SIGRTMIN and SIGRTMAX and print information in that case only when
45059 SIGRTMIN is defined.
45060
c1d0e639
JJ
450612011-02-11 Jakub Jelinek <jakub@redhat.com>
45062
45063 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45064 arginfo fn returning -1.
45065
45066 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45067 and thousands string is zero terminated.
45068
edf9294e
AS
450692011-02-03 Andreas Schwab <schwab@redhat.com>
45070
45071 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45072 sysdeps/unix/sysv/linux/bits/socket.h.
45073
2b7e92df
ST
450742011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45075
edf9294e
AS
45076 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45077 (__CPU_COUNT): Remove old macros.
45078 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45079 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45080 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
45081 (__sched_cpualloc, __sched_cpufree): Add declarations.
45082
a4c7ea7b
UD
450832011-02-05 Ulrich Drepper <drepper@gmail.com>
45084
45085 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45086 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45087 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45088 (readdhstai): Return value of addhstaiX call.
45089 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45090 (addgrbyX): Return value returned by cache_addgr.
45091 (readdgrbyname): Return value returned by addgrbyX.
45092 (readdgrbygid): Likewise.
45093 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45094 (addpwbyX): Return value returned by cache_addpw.
45095 (readdpwbyname): Return value returned by addhstbyX.
45096 (readdpwbyuid): Likewise.
45097 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45098 (addservbyX): Return value returned by cache_addserv.
45099 (readdservbyname): Return value returned by addservbyX:
45100 (readdservbyport): Likewise.
45101 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45102 (addhstbyX): Return value returned by cache_addhst.
45103 (readdhstbyname): Return value returned by addhstbyX.
45104 (readdhstbyaddr): Likewise.
45105 (readdhstbynamev6): Likewise.
45106 (readdhstbyaddrv6): Likewise.
45107 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45108 (readdinitgroups): Return value returned by addinitgroupsX.
45109 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45110 (prune_cache): Keep track of timeout value of re-added entries.
45111 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45112 * nscd/nscd.h: Adjust prototypes of readd* functions.
45113
a0bf67cc
RM
451142011-02-04 Roland McGrath <roland@redhat.com>
45115
45116 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45117 (nis_stats): Likewise.
45118 * nis/nis_modify.c (nis_modify): Likewise.
45119 * nis/nis_remove.c (nis_remove): Likewise.
45120 * nis/nis_add.c (nis_add): Likewise.
45121
45122 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45123
45124 * posix/fnmatch_loop.c: Add some consts.
45125
45126 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45127
435b95eb
L
451282011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45129
45130 [BZ #12460]
45131 * config.make.in (config-cflags-novzeroupper): Define.
45132 * configure.in: Substitute libc_cv_cc_novzeroupper.
45133 * elf/Makefile (AVX-CFLAGS): Define.
45134 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45135 (CFLAGS-tst-auditmod4a.c): Likewise.
45136 (CFLAGS-tst-auditmod4b.c): Likewise.
45137 (CFLAGS-tst-auditmod6b.c): Likewise.
45138 (CFLAGS-tst-auditmod6c.c): Likewise.
45139 (CFLAGS-tst-auditmod7b.c): Likewise.
45140 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45141
8517b15e
UD
451422011-02-02 Ulrich Drepper <drepper@gmail.com>
45143
45144 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45145 function to the callback.
45146 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45147
10a656fe
AS
451482011-02-02 Andreas Schwab <schwab@redhat.com>
45149
45150 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45151 of errno.
45152
968dad0a
UD
451532011-01-19 Ulrich Drepper <drepper@gmail.com>
45154
9f94d2ea 45155 [BZ #11724]
968dad0a
UD
45156 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45157 of constructors.
45158 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45159 of destructors.
45160 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45161
45162 [BZ #11724]
45163 * elf/Makefile: Add rules to build and run new test.
45164 * elf/tst-initorder.c: New file.
45165 * elf/tst-initorder.exp: New file.
45166 * elf/tst-initordera1.c: New file.
45167 * elf/tst-initordera2.c: New file.
45168 * elf/tst-initordera3.c: New file.
45169 * elf/tst-initordera4.c: New file.
45170 * elf/tst-initorderb1.c: New file.
45171 * elf/tst-initorderb2.c: New file.
45172 * elf/tst-order-a1.c: New file.
45173 * elf/tst-order-a2.c: New file.
45174 * elf/tst-order-a3.c: New file.
45175 * elf/tst-order-a4.c: New file.
45176 * elf/tst-order-b1.c: New file.
45177 * elf/tst-order-b2.c: New file.
45178 * elf/tst-order-main.c: New file.
45179 New test case by George Gensure <werkt0@gmail.com>.
45180
86e92359
UD
451812010-10-01 Andreas Schwab <schwab@redhat.com>
45182
45183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45184 decoding ACE if AI_CANONIDN.
45185
5d5732b0
UD
451862011-01-18 Ulrich Drepper <drepper@gmail.com>
45187
45188 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45189
a77e8cbc
UD
451902011-01-17 Ulrich Drepper <drepper@gmail.com>
45191
6392473f
UD
45192 * version.h (RELEASE): Bump for 2.13 release.
45193 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45194
620a0529
UD
45195 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45196
18ba70a5
UD
45197 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45198 MADV_NOHUGEPAGE.
32465c3e
UD
45199 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45200 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45201 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45202 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45203 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45204 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45205
c0dafcf1
UD
45206 * posix/getconf.c: Update copyright year.
45207 * catgets/gencat.c: Likewise.
45208 * csu/version.c: Likewise.
45209 * debug/catchsegv.sh: Likewise.
45210 * debug/xtrace.sh: Likewise.
45211 * elf/ldconfig.c: Likewise.
45212 * elf/ldd.bash.in: Likewise.
45213 * elf/sprof.c (print_version): Likewise.
45214 * iconv/iconv_prog.c: Likewise.
45215 * iconv/iconvconfig.c: Likewise.
45216 * locale/programs/locale.c: Likewise.
45217 * locale/programs/localedef.c: Likewise.
45218 * malloc/memusage.sh: Likewise.
45219 * malloc/mtrace.pl: Likewise.
45220 * nscd/nscd.c (print_version): Likewise.
45221 * nss/getent.c: Likewise.
45222
a77e8cbc
UD
45223 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45224 PF_CAIF, and PF_ALG.
45225 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45226
77e8bddf
AS
452272011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45228
1f20b93a
AS
45229 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45230 (modules-names): Use them.
45231 (ifunc-test-modules, ifunc-pie-tests): Define.
45232 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45233 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45234 (test-extras): Likewise.
45235 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45236 $(compile-command.c).
45237 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45238 (all-built-dso): Define.
45239 (check-textrel.out, check-execstack.out): Depend on it.
45240
77e8bddf
AS
45241 * configure.in: Don't override --enable-multi-arch.
45242
bc425b33
UD
452432011-01-15 Ulrich Drepper <drepper@gmail.com>
45244
45245 [BZ #6812]
45246 * nscd/hstcache.c (tryagain): Define.
45247 (cache_addhst): Return tryagain not notfound for temporary errors.
45248 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45249 failed.
45250
794c3ad3
UD
452512011-01-14 Ulrich Drepper <drepper@gmail.com>
45252
70181fdd
UD
45253 [BZ #10563]
45254 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45255 to make the syscall.
45256 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45257
794c3ad3
UD
45258 [BZ #12378]
45259 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45260 and fall back to matching as normal character if the string ends before
45261 the matching ']' is found. This is what POSIX requires.
45262 * posix/testfnm.c: Adjust test result.
45263 * posix/globtest.sh: Adjust test result. Add new test.
45264 * posix/tst-fnmatch.input: Likewise.
45265 * posix/tst-fnmatch2.c: Add new test.
45266
68dc9497
AS
452672010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45268
45269 * elf/Makefile (check-execstack): Revert last change. Depend on
45270 check-execstack.h.
45271 (check-execstack.h): New target.
45272 (generated): Add check-execstack.h.
45273 * elf/check-execstack.c: Include "check-execstack.h".
45274 (main): Revert last change.
45275 (handle_file): Return zero if GNU_STACK is absent and
45276 DEFAULT_STACK_PERMS doesn't include PF_X.
45277
451f001b
UD
452782011-01-13 Ulrich Drepper <drepper@gmail.com>
45279
cfa28e56
UD
45280 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45281 in child fails because the descriptor is already closed.
8cf8ce17
UD
45282 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45283 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45284 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 45285
1086d70d
UD
45286 [BZ #12397]
45287 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45288 syscall.
45289
451f001b
UD
45290 [BZ #10484]
45291 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45292 temporary buffer used to handle multi lookups locally.
a85b5cb4 45293 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 45294
08769175
UD
452952011-01-12 Ulrich Drepper <drepper@gmail.com>
45296
45297 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45298 loader is ld.so.
45299
5e49c52e
UD
453002011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45301
45302 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45303 alignment for SSE2.
45304
60522a5f
UD
453052011-01-12 Ulrich Drepper <drepper@gmail.com>
45306
45307 [BZ #12394]
45308 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45309 characters. When rounding increased number of integer digits recompute
45310 number of groups.
45311 * stdio-common/tst-grouping.c: New file.
45312 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45313
f257bbd7
UD
453142011-01-09 Ulrich Drepper <drepper@gmail.com>
45315
45316 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45317 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45318
45319 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45320 void.
45321 * bits/select.h: Likewise.
45322
fa9c15cb
UD
453232011-01-08 Ulrich Drepper <drepper@gmail.com>
45324
45325 * po/ja.po: Update from translation team.
45326
16c2895f
DM
453272011-01-04 David S. Miller <davem@sunset.davemloft.net>
45328
45329 [BZ #11155]
45330 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45331 implementation just like for lxstat, fxstatat, et al.
45332
2543fef2
JM
453332010-12-27 Jim Meyering <meyering@redhat.com>
45334
45335 [BZ #12348]
45336 * posix/regexec.c (build_trtable): Return failure indication upon
45337 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45338
98727dbe
UD
453392010-12-25 Ulrich Drepper <drepper@gmail.com>
45340
5bd6dc5c
UD
45341 [BZ #12201]
45342 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45343 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45344 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45345 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45346
97983464
UD
45347 [BZ #12207]
45348 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45349
98727dbe
UD
45350 [BZ #12204]
45351 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45352 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45353
4a531bb0
L
453542010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45355
45356 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45357 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45358 script has SORT_BY_INIT_PRIORITY.
45359 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45360 NO_CTORS_DTORS_SECTIONS is defined.
45361 * elf/soinit.c: Likewise.
45362 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45363 NO_CTORS_DTORS_SECTIONS is defined.
45364 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45365 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45366 * sysdeps/sh/init-first.c: Likewise.
45367 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45368
07eb4b71
UD
453692010-12-24 Ulrich Drepper <drepper@gmail.com>
45370
45371 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45372 always use the slow path.
45373
30950a5f
RA
453742010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45375
45376 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45377 similar rule which adds the sysdep directories to the header search in
45378 order to pick up the correct platform stackinfo.h.
45379 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45380 perform test if it is, otherwise return successfully without testing.
45381 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45382 DEFAULT_STACK_PERMS define in stackinfo.h.
45383 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45384 defined in stackinfo.h.
45385 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45386 DEFAULT_STACK_PERMS defined in stackinfo.h.
45387 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45388 * sysdeps/ia64/stackinfo.h: Likewise.
45389 * sysdeps/s390/stackinfo.h: Likewise.
45390 * sysdeps/sh/stackinfo.h: Likewise.
45391 * sysdeps/sparc/stackinfo.h: Likewise.
45392 * sysdeps/x86_64/stackinfo.h: Likewise.
45393 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45394 PF_X for powerpc64. Retain PF_X for powerpc32.
45395
db753e2c
UD
453962010-12-19 Ulrich Drepper <drepper@gmail.com>
45397
14b697f7
UD
45398 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45399 accurately.
db753e2c
UD
45400 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45401 GETDENTS_64BIT_ALIGNED.
45402
28300719
UD
454032010-12-14 Ulrich Drepper <dreper@gmail.com>
45404
14b697f7 45405 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 45406
4f197237
AS
454072010-12-10 Andreas Schwab <schwab@redhat.com>
45408
dbb0472f
AS
45409 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45410 _GNU_SOURCE.
45411
4f197237
AS
45412 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45413 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45414 Remove __restrict.
45415 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45416 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45417
fb88ac72
UD
454182010-12-09 Ulrich Drepper <drepper@gmail.com>
45419
45420 [BZ #11655]
45421 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45422 are initialized.
45423
42acbb92
JJ
454242010-12-09 Jakub Jelinek <jakub@redhat.com>
45425
45426 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45427
c038d98d
UD
454282010-12-03 Ulrich Drepper <drepper@gmail.com>
45429
45430 * po/it.po: Update from translation team.
45431
3a4a2499
L
454322010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45433
45434 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45435 unused codes.
45436
1e24cf6e
UD
454372010-11-30 Ulrich Drepper <drepper@gmail.com>
45438
45439 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45440
a7690819
AS
454412010-11-24 Andreas Schwab <schwab@redhat.com>
45442
45443 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45444 specially.
45445 (gaih_getanswer_slice): Likewise.
45446
3bf8d1b1
JJ
454472010-10-20 Jakub Jelinek <jakub@redhat.com>
45448
45449 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45450
6db52fbb
PB
454512010-05-31 Petr Baudis <pasky@suse.cz>
45452
45453 [BZ #11149]
45454 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45455 silently even in the chroot mode.
45456
eaca7569
UD
454572010-11-22 Ulrich Drepper <drepper@gmail.com>
45458
45459 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45460 last patch a bit. Pretty printing
45461
3056dcdb
UD
454622010-05-31 Petr Baudis <pasky@suse.cz>
45463
45464 [BZ #10085]
45465 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45466 initialization of skip_initgroups_dyn.
45467
cf7c9078
UD
454682010-11-19 Ulrich Drepper <drepper@gmail.com>
45469
45470 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45471 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45472
a1fb5e3e
UD
454732010-11-16 Ulrich Drepper <drepper@gmail.com>
45474
45475 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45476
3540d66b
AS
454772010-11-11 Andreas Schwab <schwab@redhat.com>
45478
45479 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45480 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45481 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45482 ($(objpfx)tst-fnmatch-mem): New rule.
45483 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45484 * posix/tst-fnmatch.c (main): Call mtrace.
45485
13b69574
L
454862010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45487
45488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45489 Support Intel processor model 6 and model 0x2c.
45490
da93d214
LM
454912010-11-10 Luis Machado <luisgpm@br.ibm.com>
45492
45493 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45494 signed comparison.
45495
8ca52c6e
L
454962010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45497
45498 [BZ #12205]
45499 * string/test-strncasecmp.c (check_result): New function.
45500 (do_one_test): Use it.
45501 (check1): New function.
45502 (test_main): Use it.
45503 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45504 Support strcasecmp and strncasecmp.
45505
69da074d
UD
455062010-11-08 Ulrich Drepper <drepper@gmail.com>
45507
45508 [BZ #12194]
45509 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45510 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45511
ff02d528
L
455122010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45513
45514 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45515 IFUNC support.
45516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45517 memset-x86-64.
45518 * sysdeps/x86_64/multiarch/bzero.S: New file.
45519 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45520 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45521 * sysdeps/x86_64/multiarch/memset.S: New file.
45522 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45524 Set bit_Prefer_SSE_for_memop for Intel processors.
45525 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45526 Define.
45527 (index_Prefer_SSE_for_memop): Define.
45528 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45529
344d0b54
LM
455302010-11-04 Luis Machado <luisgpm@br.ibm.com>
45531
45532 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45533 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45534
c0dde15b
UD
455352010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45536
45537 [BZ #12191]
45538 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45539 (__x86_64_raw_data_cache_size_half): Likewise.
45540 (__x86_64_raw_shared_cache_size): Likewise.
45541 (__x86_64_raw_shared_cache_size_half): Likewise.
45542
45543 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45544 (__x86_64_raw_data_cache_size_half): Likewise.
45545 (__x86_64_raw_shared_cache_size): Likewise.
45546 (__x86_64_raw_shared_cache_size_half): Likewise.
45547 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45548 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45549 and __x86_64_raw_shared_cache_size_half. Round
45550 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45551 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45552 to multiple of 256 bytes.
45553
0e516e0e
MS
455542010-11-03 Ulrich Drepper <drepper@gmail.com>
45555
45556 [BZ #12167]
45557 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45558 of inacessible symlinks. Verify result of symlink before returning it.
45559 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45560 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45561
0e012e87
ER
455622010-10-28 Erich Ritz <erichritz@gmail.com>
45563
45564 * math/math.h (isinf): Fix typo in comment.
45565
de0ff7bc
UD
455662010-11-01 Ulrich Drepper <drepper@gmail.com>
45567
45568 * po/da.po: Update from translation team.
45569
fa41c84d
UD
455702010-10-26 Ulrich Drepper <drepper@gmail.com>
45571
45572 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45573 is added to the list.
45574
f0967738
AK
455752010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45576 Ulrich Drepper <drepper@gmail.com>
45577
45578 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45579 the global list here. Move code to...
45580 (_dl_add_to_namespace_list): ...here. New function.
45581 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45582 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45583 * elf/dl-load.c (lose): Don't remove the element from the list.
45584 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45585 (_dl_map_object): Likewise.
45586
455872010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
45588
45589 [BZ #12159]
45590 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45591 into all bytes of SSE register.
45592 Patch by Richard Li <richardpku@gmail.com>.
45593
f0967738 455942010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
45595
45596 [BZ #12140]
45597 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45598 perturbing.
45599
d0b9e94f
MB
456002010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45601
45602 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45603 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45604 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45605 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45607 submachine.
45608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45609
8e9f92e9
AS
456102010-10-22 Andreas Schwab <schwab@redhat.com>
45611
45612 * include/dlfcn.h (__RTLD_SECURE): Define.
45613 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45614 mode & __RTLD_SECURE instead.
45615 (open_path): Rename preloaded parameter to secure.
45616 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45617 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45618 * elf/dl-deps.c (openaux): Likewise.
45619 * elf/rtld.c (struct map_args): Remove is_preloaded.
45620 (map_doit): Don't use it.
45621 (dl_main): Likewise.
45622 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45623 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45624
bc96fbda
AS
456252010-09-09 Andreas Schwab <schwab@redhat.com>
45626
45627 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45628 (sysd-rules-targets): Remove duplicates.
45629 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45630 rtld-%.$o dependency.
45631
22cd1c9b
AS
456322010-10-18 Andreas Schwab <schwab@redhat.com>
45633
45634 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45635 _dl_map_object do it.
45636
18edac48
UD
456372010-10-19 Ulrich Drepper <drepper@gmail.com>
45638
45639 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45640 fast fma builtins, define the macros in the C99 standard.
45641 (FP_FAST_FMAF): Likewise.
45642 (FP_FAST_FMAL): Likewise.
45643 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45644
45645 * bits/mathdef.h: Update copyright year.
45646 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45647
d2050124
MM
456482010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45649
45650 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45651 builtins, define the macros in the C99 standard.
45652 (FP_FAST_FMAF): Likewise.
45653 (FP_FAST_FMAL): Likewise.
45654 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45655 multiply/add.
45656 (FP_FAST_FMAF): Likewise.
45657
475facd1
JJ
456582010-10-15 Jakub Jelinek <jakub@redhat.com>
45659
45660 [BZ #3268]
45661 * math/libm-test.inc (fma_test): Some new testcases.
45662 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45663 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45664 y and infinite z. Do multiplication by C already in long double.
45665 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45667 y and infinite z. Do bitwise or of inexact bit into u.d.
45668 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45669 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45670 * sysdeps/i386/fpu/s_fma.S: Removed.
45671 * sysdeps/i386/fpu/s_fmal.S: Removed.
45672
7c08a05c
JJ
456732010-10-16 Jakub Jelinek <jakub@redhat.com>
45674
45675 [BZ #3268]
45676 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45677 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45678 computation is not scheduled after fetestexcept. Fix value
45679 of minimum denormal long double.
45680
f3f7372d
JJ
456812010-10-14 Jakub Jelinek <jakub@redhat.com>
45682
45683 [BZ #3268]
45684 * math/libm-test.inc (fma_test): Add some more tests.
45685 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45686 correctly.
45687
14d43591
AS
456882010-10-15 Andreas Schwab <schwab@redhat.com>
45689
45690 * scripts/data/localplt-s390-linux-gnu.data: New file.
45691 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45692
5e908464
JJ
456932010-10-13 Jakub Jelinek <jakub@redhat.com>
45694
45695 [BZ #3268]
45696 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45697 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45698 instead of dbl-64.
45699 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45700 inlines.
45701 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45702 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45703 if one of x and y is very large and the other is subnormal.
45704 * sysdeps/s390/fpu/s_fmaf.c: New file.
45705 * sysdeps/s390/fpu/s_fma.c: New file.
45706 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45707 * sysdeps/powerpc/fpu/s_fma.S: New file.
45708 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45709 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45710 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45711
457122010-10-12 Jakub Jelinek <jakub@redhat.com>
45713
45714 [BZ #3268]
45715 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45716 fma tests.
45717 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45718 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45719 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45720 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45721 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45722 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45723 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45724
b833d51f
UD
457252010-10-12 Ulrich Drepper <drepper@redhat.com>
45726
45727 [BZ #12078]
45728 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45729 * posix/bug-regex31.input: Add test case.
45730
1751705d
UD
457312010-10-11 Ulrich Drepper <drepper@gmail.com>
45732
e9b9cbf5
UD
45733 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45734 * posix/bug-regex31.input: New file.
45735
45736 [BZ #12078]
45737 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45738 (parse_sub_exp): Fix last change, use postorder.
45739
ef06edbe
UD
45740 * posix/bug-regex31.c: New file.
45741 * posix/Makefile: Add rules to build and run bug-regex31.
45742
a129c80d
UD
45743 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45744
45745 [BZ #12078]
45746 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45747
b76b818e
UD
45748 [BZ #12108]
45749 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45750 to have entries in sys_siglist.
45751
1751705d
UD
45752 [BZ #12093]
45753 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45754 be NULL.
45755
9ff8d36f
JJ
457562010-10-07 Jakub Jelinek <jakub@redhat.com>
45757
45758 [BZ #3268]
45759 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45760 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45761 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45762 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45763 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45764 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45765 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45766 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45767 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45768 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45769 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45770 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45771 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45772 * math/ftestexcept.c (fetestexcept): Likewise.
45773 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45774 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45775 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45776 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45777 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45778 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45779 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45780
af325969
UD
457812010-10-11 Ulrich Drepper <drepper@gmail.com>
45782
c579b202 45783 [BZ #12107]
af325969
UD
45784 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45785 newline.
45786
67a67b95
UD
457872010-10-06 Ulrich Drepper <drepper@gmail.com>
45788
45789 * string/bug-strstr1.c: New file.
45790 * string/Makefile: Add rules to build and run bug-strstr1.
45791
5fb308bc
EB
457922010-10-05 Eric Blake <eblake@redhat.com>
45793
45794 [BZ #12092]
45795 * string/str-two-way.h (two_way_long_needle): Always clear memory
45796 when skipping input due to the shift table.
45797
45db99c7
UD
457982010-10-03 Ulrich Drepper <drepper@gmail.com>
45799
3b111893
UD
45800 [BZ #12005]
45801 * malloc/mcheck.c: Handle large requests.
45802
45db99c7
UD
45803 [BZ #12077]
45804 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45805 for strncmp and strncasecmp.
45806 * string/stratcliff.c: Add tests for strcmp and strncmp.
45807 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45808
cf7a1eb8
NI
458092010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45810
45811 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45812 __set_fpscr.
45813
6484ba5e
AJ
458142010-09-30 Andreas Jaeger <aj@suse.de>
45815
45816 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45817 (CGROUP_SUPER_MAGIC): Define.
45818 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45819 Handle btrfs and cgroup file systems.
45820 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45821 Likewise.
45822
91c42559
LM
458232010-09-27 Luis Machado <luisgpm@br.ibm.com>
45824
45825 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45826 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45827
87a97932
AK
458282010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45829
45830 [BZ #12067]
45831 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45832 trying to locate the ELF header.
45833
c21cc9bc
AS
458342010-09-27 Andreas Schwab <schwab@redhat.com>
45835
45836 [BZ #11611]
45837 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45838 Mask out sign-bit copies when constructing f_fsid.
45839
315970f6
PB
458402010-09-24 Petr Baudis <pasky@suse.cz>
45841
45842 * debug/stack_chk_fail_local.c: Add missing licence exception.
45843 * debug/warning-nop.c: Likewise.
45844
1ac7a2c7
JM
458452010-09-15 Joseph Myers <joseph@codesourcery.com>
45846
45847 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45848 implementing getdents64 using getdents syscall, set d_type if
45849 __ASSUME_GETDENTS32_D_TYPE.
45850
56801c50
AS
458512010-09-16 Andreas Schwab <schwab@redhat.com>
45852
45853 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45854 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45855
dda51327
UD
458562010-09-21 Ulrich Drepper <drepper@redhat.com>
45857
45858 [BZ #12037]
45859 * posix/unistd.h: Undo change of feature selection for ftruncate from
45860 2010-01-11.
45861
8ffcee4a
UD
458622010-09-20 Ulrich Drepper <drepper@redhat.com>
45863
a545ecd9 45864 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
45865 detection.
45866
e24f0a8b
AS
458672010-09-20 Andreas Schwab <schwab@redhat.com>
45868
45869 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45870 fanotify_mark.
45871 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45872
7291c56f
AS
458732010-09-14 Andreas Schwab <schwab@redhat.com>
45874
45875 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45876 variables after CHECK_SP call.
45877 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45878
bc5fb037
AS
458792010-09-13 Andreas Schwab <schwab@redhat.com>
45880 Ulrich Drepper <drepper@redhat.com>
45881
45882 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45883 re-relocationg ld.so.
45884 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45885 _dl_init_paths call.
45886 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45887 here anymore.
45888
e66e7419
UD
458892010-09-14 Ulrich Drepper <drepper@redhat.com>
45890
45891 * resolv/res_init.c (__res_vinit): Count the default server we added.
45892
c044aa75
CLT
458932010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45894 Ulrich Drepper <drepper@redhat.com>
45895
45896 [BZ #11968]
45897 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45898 (____longjmp_chk): Use %ebx for saving value across system call.
45899 Add unwind info.
45900
32cf4069
AS
459012010-09-06 Andreas Schwab <schwab@redhat.com>
45902
45903 * manual/Makefile: Don't mix pattern rules with normal rules.
45904
817328ee
AS
459052010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45906
45907 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45908 operation.
45909 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45910 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45911 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45912 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45913 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45914 Likewise.
45915
29fddf61
UD
459162010-09-04 Ulrich Drepper <drepper@redhat.com>
45917
45918 [BZ #11979]
45919 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45920 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45921
0959ffc9
UD
459222010-09-02 Ulrich Drepper <drepper@redhat.com>
45923
45924 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45925 * sysdeps/x86_64/addmul_1.S: Likewise.
45926 * sysdeps/x86_64/lshift.S: Likewise.
45927 * sysdeps/x86_64/mul_1.S: Likewise.
45928 * sysdeps/x86_64/rshift.S: Likewise.
45929 * sysdeps/x86_64/sub_n.S: Likewise.
45930 * sysdeps/x86_64/submul_1.S: Likewise.
45931
ece29840
ST
459322010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45933
0959ffc9
UD
45934 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45935 Define __sched_param instead of SCHED_* and sched_param when
ece29840 45936 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 45937 * bits/sched.h [__need_schedparam]
ece29840 45938 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
45939 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45940 (__defined_schedparam): Define to 1.
ece29840
ST
45941 (__sched_param): New structure, identical to sched_param.
45942 (__need_schedparam): Undefine.
45943
e53a31fe
MF
459442010-08-31 Mike Frysinger <vapier@gentoo.org>
45945
fdc0c10d
MF
45946 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45947 (epoll_create1): Declare.
45948
e53a31fe
MF
45949 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45950
a726d796
AS
459512010-08-31 Andreas Schwab <schwab@redhat.com>
45952
45953 [BZ #7066]
45954 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45955 shifting retval into place.
45956
2f3e3dc7
UD
459572010-09-01 Ulrich Drepper <drepper@redhat.com>
45958
f2933da9
UD
45959 * nis/rpcsvc/nis.h: Update copyright notice.
45960 * nis/rpcsvc/nis.x: Likewise.
45961 * nis/rpcsvc/nis_callback.h: Likewise.
45962 * nis/rpcsvc/nis_callback.x: Likewise.
45963 * nis/rpcsvc/nis_object.x: Likewise.
45964 * nis/rpcsvc/nis_tags.h: Likewise.
45965 * nis/rpcsvc/yp.h: Likewise.
45966 * nis/rpcsvc/yp.x: Likewise.
45967 * nis/rpcsvc/ypupd.h: Likewise.
45968 * nis/yp_xdr.c: Likewise.
45969 * nis/ypupdate_xdr.c: Likewise.
45970
2f3e3dc7
UD
45971 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45972 mainly the body of pmap_getport. Add parameters to specify timeouts.
45973 (pmap_getport): Use __libc_rpc_getport.
45974 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45975 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45976 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45977
f3dcc2f9
AS
459782010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45979
45980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45981 fanotify_mark.
45982
6d34eb5b
RM
459832010-08-27 Roland McGrath <roland@redhat.com>
45984
45985 * sysdeps/i386/i686/multiarch/Makefile
45986 (CFLAGS-varshift.c): New variable.
45987
9ea3de11
UD
459882010-08-27 Ulrich Drepper <drepper@redhat.com>
45989
c96d23fc
UD
45990 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45991 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45992
9ea3de11
UD
45993 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45994
45995 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45996
623aac7f
L
459972010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45998
45999 * sysdeps/x86_64/strlen.S: Unroll the loop.
46000 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46001 strlen-sse2 strlen-sse2-bsf.
46002 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46003 __strlen_no_bsf if bit_Slow_BSF is set.
46004 (__strlen_sse42): Removed.
46005 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46006 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46007
8b2b7715
RM
460082010-08-25 Roland McGrath <roland@redhat.com>
46009
46010 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46011 * sysdeps/x86_64/multiarch/varshift.c: New file.
46012 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46013 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46014 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46015 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46016
e73015f2
L
460172010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46018
46019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46020 strlen-sse2 strlen-sse2-bsf.
46021 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46022 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46023 (__strlen_sse2): Removed.
46024 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46025 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46027 bit_Slow_BSF for Atom.
46028 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46029 (index_Slow_BSF): Define.
46030 (HAS_SLOW_BSF): Define.
46031
df24a73e
UD
460322010-08-25 Ulrich Drepper <drepper@redhat.com>
46033
46034 [BZ #10851]
46035 * resolv/res_init.c (__res_vinit): When no server address at all
46036 is given default to loopback.
46037
f2ac4868
RM
460382010-08-24 Roland McGrath <roland@redhat.com>
46039
09055553
RM
46040 * configure.in: Remove config-name.h generation.
46041 * configure: Regenerated.
46042 * config-name.in: File removed.
46043 * scripts/config-uname.sh: New file.
46044 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46045 ($(objdir)config-name.h): New target.
46046
f2ac4868
RM
46047 * sunrpc/rpc_parse.h: Avoid nested comment.
46048
73f27d5e
RH
460492010-08-24 Richard Henderson <rth@redhat.com>
46050 Ulrich Drepper <drepper@redhat.com>
46051 H.J. Lu <hongjiu.lu@intel.com>
46052
46053 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46054 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46055 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46056 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46057 _mm_alignr_epi8 with _mm_loadu_si128.
46058 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46059 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46060 (__m128i_shift_right): Removed.
46061 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46062 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46063 * sysdeps/x86_64/multiarch/varshift.h: New file.
46064 * sysdeps/x86_64/multiarch/varshift.S: New file.
46065
84b9230c
MF
460662010-08-21 Mike Frysinger <vapier@gentoo.org>
46067
46068 * configure.in: Move assembler checks to before sysdep dir checking.
46069
9bbd0ddc
PB
460702010-08-20 Petr Baudis <pasky@suse.cz>
46071
46072 * LICENSES: Sync the sunrpc license.
46073
9da4bb31
UD
460742010-08-19 Ulrich Drepper <drepper@redhat.com>
46075
a7ab6ec8
UD
46076 * sunrpc/auth_des.c: Update copyright notice once again.
46077 * sunrpc/auth_none.c: Likewise.
46078 * sunrpc/auth_unix.c: Likewise.
46079 * sunrpc/authdes_prot.c: Likewise.
46080 * sunrpc/authuxprot.c: Likewise.
46081 * sunrpc/bindrsvprt.c: Likewise.
46082 * sunrpc/clnt_gen.c: Likewise.
46083 * sunrpc/clnt_perr.c: Likewise.
46084 * sunrpc/clnt_raw.c: Likewise.
46085 * sunrpc/clnt_simp.c: Likewise.
46086 * sunrpc/clnt_tcp.c: Likewise.
46087 * sunrpc/clnt_udp.c: Likewise.
46088 * sunrpc/clnt_unix.c: Likewise.
46089 * sunrpc/des_crypt.c: Likewise.
46090 * sunrpc/des_soft.c: Likewise.
46091 * sunrpc/get_myaddr.c: Likewise.
46092 * sunrpc/getrpcport.c: Likewise.
46093 * sunrpc/key_call.c: Likewise.
46094 * sunrpc/key_prot.c: Likewise.
46095 * sunrpc/openchild.c: Likewise.
46096 * sunrpc/pm_getmaps.c: Likewise.
46097 * sunrpc/pm_getport.c: Likewise.
46098 * sunrpc/pmap_clnt.c: Likewise.
46099 * sunrpc/pmap_prot.c: Likewise.
46100 * sunrpc/pmap_prot2.c: Likewise.
46101 * sunrpc/pmap_rmt.c: Likewise.
46102 * sunrpc/rpc/auth.h: Likewise.
46103 * sunrpc/rpc/auth_unix.h: Likewise.
46104 * sunrpc/rpc/clnt.h: Likewise.
46105 * sunrpc/rpc/des_crypt.h: Likewise.
46106 * sunrpc/rpc/key_prot.h: Likewise.
46107 * sunrpc/rpc/netdb.h: Likewise.
46108 * sunrpc/rpc/pmap_clnt.h: Likewise.
46109 * sunrpc/rpc/pmap_prot.h: Likewise.
46110 * sunrpc/rpc/pmap_rmt.h: Likewise.
46111 * sunrpc/rpc/rpc.h: Likewise.
46112 * sunrpc/rpc/rpc_des.h: Likewise.
46113 * sunrpc/rpc/rpc_msg.h: Likewise.
46114 * sunrpc/rpc/svc.h: Likewise.
46115 * sunrpc/rpc/svc_auth.h: Likewise.
46116 * sunrpc/rpc/types.h: Likewise.
46117 * sunrpc/rpc/xdr.h: Likewise.
46118 * sunrpc/rpc_clntout.c: Likewise.
46119 * sunrpc/rpc_cmsg.c: Likewise.
46120 * sunrpc/rpc_common.c: Likewise.
46121 * sunrpc/rpc_cout.c: Likewise.
46122 * sunrpc/rpc_dtable.c: Likewise.
46123 * sunrpc/rpc_hout.c: Likewise.
46124 * sunrpc/rpc_main.c: Likewise.
46125 * sunrpc/rpc_parse.c: Likewise.
46126 * sunrpc/rpc_parse.h: Likewise.
46127 * sunrpc/rpc_prot.c: Likewise.
46128 * sunrpc/rpc_sample.c: Likewise.
46129 * sunrpc/rpc_scan.c: Likewise.
46130 * sunrpc/rpc_scan.h: Likewise.
46131 * sunrpc/rpc_svcout.c: Likewise.
46132 * sunrpc/rpc_tblout.c: Likewise.
46133 * sunrpc/rpc_util.c: Likewise.
46134 * sunrpc/rpc_util.h: Likewise.
46135 * sunrpc/rpcinfo.c: Likewise.
46136 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46137 * sunrpc/rpcsvc/key_prot.x: Likewise.
46138 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46139 * sunrpc/rpcsvc/mount.x: Likewise.
46140 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46141 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46142 * sunrpc/rpcsvc/rex.x: Likewise.
46143 * sunrpc/rpcsvc/rstat.x: Likewise.
46144 * sunrpc/rpcsvc/rusers.x: Likewise.
46145 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46146 * sunrpc/rpcsvc/spray.x: Likewise.
46147 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46148 * sunrpc/rtime.c: Likewise.
46149 * sunrpc/svc.c: Likewise.
46150 * sunrpc/svc_auth.c: Likewise.
46151 * sunrpc/svc_authux.c: Likewise.
46152 * sunrpc/svc_raw.c: Likewise.
46153 * sunrpc/svc_run.c: Likewise.
46154 * sunrpc/svc_simple.c: Likewise.
46155 * sunrpc/svc_tcp.c: Likewise.
46156 * sunrpc/svc_udp.c: Likewise.
46157 * sunrpc/svc_unix.c: Likewise.
46158 * sunrpc/svcauth_des.c: Likewise.
46159 * sunrpc/xcrypt.c: Likewise.
46160 * sunrpc/xdr.c: Likewise.
46161 * sunrpc/xdr_array.c: Likewise.
46162 * sunrpc/xdr_float.c: Likewise.
46163 * sunrpc/xdr_mem.c: Likewise.
46164 * sunrpc/xdr_rec.c: Likewise.
46165 * sunrpc/xdr_ref.c: Likewise.
46166 * sunrpc/xdr_sizeof.c: Likewise.
46167 * sunrpc/xdr_stdio.c: Likewise.
46168
9da4bb31
UD
46169 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46170 handling.
46171
bdaa77bc
AS
461722010-08-19 Andreas Schwab <schwab@redhat.com>
46173
46174 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46175
fe2f79db
LM
461762010-08-19 Luis Machado <luisgpm@br.ibm.com>
46177
46178 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46179 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46180 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46181 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46182 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46183 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46184 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46185 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46186 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46187 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46188 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46189 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46190 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46191 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46192
b9b42ee0
AB
461932010-07-26 Anton Blanchard <anton@samba.org>
46194
46195 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46196 * malloc/arena.c (heap_trim): Likewise.
46197
1c06ba31
UD
461982010-08-16 Ulrich Drepper <drepper@redhat.com>
46199
46200 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46201 here. Not...
46202 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46203 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46204
f8392f40
L
462052010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46206
46207 * sysdeps/i386/elf/Makefile: New file.
46208
3162f12e
AS
462092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46210
46211 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46212 from fanotify_init.
46213 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46214 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46215
28c90b2c
UD
462162010-08-15 Ulrich Drepper <drepper@redhat.com>
46217
46218 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46219 of strncasecmp_l.
1feccb6c 46220 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 46221
ca6bb004
UD
462222010-08-14 Ulrich Drepper <drepper@redhat.com>
46223
e9f82e0d
UD
46224 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46225 strncase_l-nonascii.
46226 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46227 Add strncase_l-ssse3.
46228 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46229 * sysdeps/x86_64/strcmp.S: Likewise.
46230 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46231 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46232 * sysdeps/x86_64/strncase.S: New file.
46233 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46234 * sysdeps/x86_64/strncase_l.S: New file.
46235 * string/Makefile (strop-tests): Add strncasecmp.
46236 * string/test-strncasecmp.c: New file.
46237
46238 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46239 warning.
46240
ca6bb004
UD
46241 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46242 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46243
052fa7b3
AS
462442010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46245
46246 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46247
962dba78
UD
462482010-08-12 Ulrich Drepper <drepper@redhat.com>
46249
46250 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46251 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46252 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46253
bebff237
AM
462542010-05-01 Alan Modra <amodra@gmail.com>
46255
46256 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46257 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46258 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46259 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46260 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46261 tidying. Don't tail-call __sigjmp_save for static lib.
46262 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46263 save location.
46264 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46265 (CALL_MCOUNT): Add eh info, and nop after bl.
46266 (TAIL_CALL_SYSCALL_ERROR): New macro.
46267 (PSEUDO_RET): Use it.
46268 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46269 Correct save location of integer regs and cr.
46270 (_dl_profile_resolve): Correct cr save location. Delete nops
46271 after bl when SHARED. Reduce cfi size a little by better
46272 placement of cfi directives.
46273 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46274 make a stack frame. Instead use parm save area as a temp.
46275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46276 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46278 Don't make a stack frame for parent, use parm save area.
46279 Increase child stack frame to 112 bytes. Don't save unused reg,
46280 and adjust reg usage. Set up cfi on error recovery and
46281 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46283 (__makecontext): Add dummy nop after jump to exit.
46284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46285 Use correct parm save area and cr save, reduce stack frame.
46286 Correct cfi for possible PSEUDO_RET frame setup.
46287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46288 Branch to local label emitted by PSEUDO_RET rather than
46289 __syscall_error.
46290
02637374
AS
462912010-08-12 Andreas Schwab <schwab@redhat.com>
46292
46293 [BZ #11904]
46294 * locale/programs/locale.c (print_assignment): New function.
46295 (show_locale_vars): Use it.
46296
c3e2f19b
UD
462972010-08-11 Ulrich Drepper <drepper@redhat.com>
46298
3cdaa6ad
UD
46299 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46300 field.
46301 (struct statfs64): Likewise.
46302 (_STATFS_F_FLAGS): Define.
46303 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46304 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46305 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46306 (ST_VALID): Define locally.
46307 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46308 __statvfs_getflags, use the provided value.
46309 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46310 __ASSUME_STATFS_F_FLAGS.
46311
754f7da3
UD
46312 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46313
10b3bedc
UD
46314 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46315 Add sys/fanotify.h.
46316 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46317 fanotify_mask for GLIBC_2.13.
46318 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46319 fanotify_init and fanotify_mark.
46320 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46321 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46322
c08fb0d7
UD
46323 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46324 Add prlimit.
46325 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46326 prlimit64 for GLIBC_2.13.
46327 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46328 prlimit64.
46329 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46330 syscall.
46331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46332 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46333 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46334 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46335 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46336 add prlimit alias.
46337 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46338
15bac72b
UD
46339 [BZ #11903]
46340 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46341 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46342
c3e2f19b
UD
46343 * nss/Makefile: Add rules to build and run tst-nss-test1.
46344 * shlib-versions: Add entry for libnss_test1.
46345 * nss/nss_test1.c: New file.
46346 * nss/tst-nss-test1.c: New file.
46347
46348 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46349 (__nss_configure_lookup): Set appropriate entry in
46350 __nss_configure_lookup to true.
46351 * nss/nsswitch.h: Define enum with indeces of databases in
46352 databases and __nss_database_custom arrays. Declare
46353 __nss_database_custom.
46354 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46355 to avoid using nscd when custom rules are installed.
46356 * nss/getXXbyYY_r.c: Likewise.
46357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46358
46359 * nss/nss_files/files-parse.c: Whitespace fixes.
46360
f15ce4d8
UD
463612010-08-09 Ulrich Drepper <drepper@redhat.com>
46362
46363 [BZ #11883]
46364 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46365 * posix/fnmatch_loop.c: Likewise.
46366
d22e4cc9
AK
463672010-07-17 Andi Kleen <ak@linux.intel.com>
46368
46369 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46370 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46371 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46372 * Versions.def [GLIBC_2.13]: Add.
46373
805bc17d
UD
463742010-08-06 Ulrich Drepper <drepper@redhat.com>
46375
46376 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46377 Also fail if tpwd after pwuid call is NULL.
46378
5a42321d
ST
463792010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46380
46381 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46382 when converting to ms.
46383
fd3ebeda
ST
463842010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46385
46386 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46387 EOPNOTSUPP errors with ENOTTY.
46388 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46389 EOPNOTSUPP errors with ENOTTY.
46390
73507d3a
UD
463912010-07-31 Ulrich Drepper <drepper@redhat.com>
46392
46393 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46394 Add strcasecmp_l-ssse3.
46395 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46396 strcasecmp.
46397 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46398 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46399 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46400
fe36dd02
UD
464012010-07-30 Ulrich Drepper <drepper@redhat.com>
46402
66f6765a
UD
46403 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46404
42e08a54
UD
46405 * string/Makefile (strop-tests): Add strcasecmp.
46406 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46407 strcasecmp_l-nonascii.
46408 (gen-as-const-headers): Add locale-defines.sym.
46409 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46410 * sysdeps/x86_64/strcasecmp.S: New file.
46411 * sysdeps/x86_64/strcasecmp_l.S: New file.
46412 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46413 * sysdeps/x86_64/locale-defines.sym: New file.
46414 * string/test-strcasecmp.c: New file.
46415
fe36dd02
UD
46416 * string/test-strcasestr.c: Test both ends of the range of characters.
46417 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46418
48cbc0d6
RM
464192010-07-29 Roland McGrath <roland@redhat.com>
46420
76e6d6bc 46421 [BZ #11856]
48cbc0d6
RM
46422 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46423
880113d9
UD
464242010-07-27 Ulrich Drepper <drepper@redhat.com>
46425
46426 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46427 for ld.so.
46428
deb9cabb
AS
464292010-07-27 Andreas Schwab <schwab@redhat.com>
46430
46431 * manual/memory.texi (Malloc Tunable Parameters): Document
46432 M_PERTURB.
46433
1c7570ff
RM
464342010-07-26 Roland McGrath <roland@redhat.com>
46435
46436 [BZ #11840]
46437 * configure.in (-fgnu89-inline check): Set and substitute
46438 gnu89_inline, not libc_cv_gnu89_inline.
46439 * configure: Regenerated.
46440 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46441
24fb0f88
UD
464422010-07-26 Ulrich Drepper <drepper@redhat.com>
46443
46444 * string/test-strnlen.c: New file.
46445 * string/Makefile (strop-tests): Add strnlen.
46446 * string/tester.c (test_strnlen): Add a few more test cases.
46447 * string/tst-strlen.c: Better error reporting.
46448
46449 * sysdeps/x86_64/strnlen.S: New file.
46450
8e96b93a
UD
464512010-07-24 Ulrich Drepper <drepper@redhat.com>
46452
46453 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46454 lower-latency instructions.
46455
dbc676d4
UD
464562010-07-23 Ulrich Drepper <drepper@redhat.com>
46457
46458 * string/test-strcasestr.c: New file.
46459 * string/test-strstr.c: New file.
46460 * string/Makefile (strop-tests): Add strstr and strcasestr.
46461 * string/str-two-way.h: Don't undefine MAX.
46462 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46463
f6a31e0e
AS
464642010-07-21 Andreas Schwab <schwab@redhat.com>
46465
46466 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46467 strcasestr-nonascii.
46468 (CFLAGS-strcasestr-nonascii.c): Define.
46469 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46470 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46471 Remove unused attribute.
46472
5dbc3b6c
RM
464732010-07-20 Roland McGrath <roland@redhat.com>
46474
46475 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46476 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46477 ld.so.cache was broken. With it, there is no way to disable dsocaps
46478 like LD_HWCAP_MASK can disable hwcaps.
46479
23d101d8
EPM
464802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46481
46482 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46483
cc9f2e47
UD
464842010-07-16 Ulrich Drepper <drepper@redhat.com>
46485
46486 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46487 call in strcasestr.
46488 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46489 __strcasestr_sse42_nonascii.
46490 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46491 strcasestr-nonascii.c.
46492 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46493
77c1b069
LM
464942010-06-15 Luis Machado <luisgpm@br.ibm.com>
46495
46496 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46497 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46498 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46499 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46500
440566c3
UD
465012010-07-09 Ulrich Drepper <drepper@redhat.com>
46502
46503 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46504 fcntl.
46505
5be9d05d
AS
465062010-07-06 Andreas Schwab <schwab@redhat.com>
46507
c30b7ee2 46508 [BZ #11577]
5be9d05d
AS
46509 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46510 dl_signal_cerror.
46511
8a492a67
UD
465122010-07-06 Ulrich Drepper <drepper@redhat.com>
46513
46514 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46515 _PC_PIPE_BUF using F_GETPIPE_SZ.
46516
713df3d5
RM
465172010-07-05 Roland McGrath <roland@redhat.com>
46518
46519 * manual/arith.texi (Rounding Functions): Fix rint description
46520 implicit in round description.
46521
702e8f14
UD
465222010-07-02 Ulrich Drepper <drepper@redhat.com>
46523
46524 * elf/Makefile: Fix linking for a few tests to make recent linker
46525 happy.
46526
52ed8be9
AS
465272010-06-30 Andreas Schwab <schwab@redhat.com>
46528
46529 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46530 $(common-objpfx)libc_nonshared.a.
46531
f47c9a11
LM
465322010-06-21 Luis Machado <luisgpm@br.ibm.com>
46533
46534 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46535 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46536 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46537 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46538 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46539 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46540 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46541 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46556 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46557 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46558 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46559 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46560 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46561 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46562 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46563 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46564 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46565 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46566 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46567 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46582
6fb8cbcb
L
465832010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46584
46585 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46586 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46587 * string/memmove.c (memmove): Renamed to ...
46588 (MEMMOVE): ...this. Default to memmove.
46589 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46590 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46591 (END_CHK): Define.
46592 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46593 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46594 mempcpy-ssse3-back memmove-ssse3-back.
46595 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46596 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46597 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46598 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46599 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46600 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46601 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46602 * sysdeps/x86_64/multiarch/memmove.c: New file.
46603 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46604 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46605 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46606 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46607 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46608 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46609 Define.
46610 (index_Fast_Copy_Backward): Define.
46611 (HAS_ARCH_FEATURE): Define.
46612 (HAS_FAST_REP_STRING): Define.
46613 (HAS_FAST_COPY_BACKWARD): Define.
46614
4e733bac 466152010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
46616
46617 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46618 Restore proper fallback handling.
46619
63c4ed22
UD
466202010-06-19 Ulrich Drepper <drepper@redhat.com>
46621
ac2b484c
UD
46622 [BZ #11701]
46623 * posix/group_member.c (__group_member): Correct checking loop.
46624
63c4ed22
UD
46625 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46626 OOM in getpwuid_r correctly. Return error number when the caller
46627 should return, otherwise -1.
46628 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46629 call returning > 0 value.
46630 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46631
765ade4b
AS
466322010-06-07 Andreas Schwab <schwab@redhat.com>
46633
46634 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46635 libc_nonshared.a from targets in modules-names.
46636
80da2e09
KS
466372010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46638
46639 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46640 requires it.
46641
158db122
LM
466422010-06-10 Luis Machado <luisgpm@br.ibm.com>
46643
46644 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46645 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46646 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46647 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46648
caa78cf8
AS
466492010-06-02 Andreas Schwab <schwab@redhat.com>
46650
46651 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46652
b2ef2c01
UD
466532010-06-14 Ulrich Drepper <drepper@redhat.com>
46654
46655 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46656 and F_GETPIPE_SZ.
46657 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46658 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46659 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46660 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46661 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46662 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46663
fbd643b6
RM
466642010-06-14 Roland McGrath <roland@redhat.com>
46665
46666 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46667
f32f2869
JJ
466682010-06-07 Jakub Jelinek <jakub@redhat.com>
46669
46670 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46671 __REDIRECT followed by __THROW.
46672 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46673 * posix/getopt.h (getopt): Likewise.
46674
2a50c078
EPM
466752010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46676
46677 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46678 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46679 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46680 in AT_FLAGS.
46681 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46682 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46683
eb5ad2eb
LM
466842010-05-28 Luis Machado <luisgpm@br.ibm.com>
46685
46686 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46687
3c88fe1e
L
466882010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46689
46690 [BZ #11640]
46691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46692 Properly check family and model.
46693
d2f73151
TY
466942010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46695
46696 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46697
ebd2e13d
LM
466982010-05-24 Luis Machado <luisgpm@br.ibm.com>
46699
46700 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46701
b32b8b45
UD
467022010-05-21 Ulrich Drepper <drepper@redhat.com>
46703
46704 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46705 symbol reference.
46706
9acbe24d
AS
467072010-05-19 Andreas Schwab <schwab@redhat.com>
46708
46709 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46710 symbol reference.
46711
f0ccf6ea
AS
467122010-05-21 Andreas Schwab <schwab@redhat.com>
46713
3d04ff3a
AS
46714 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46715 and internal_recvmmsg.
46716 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46717 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46718 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46719 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46720
f0ccf6ea
AS
46721 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46722 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46723 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46724
5b08ac57
AS
467252010-05-20 Andreas Schwab <schwab@redhat.com>
46726
46727 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46728
4828935d
LM
467292010-05-17 Luis Machado <luisgpm@br.ibm.com>
46730
46731 POWER7 optimizations.
46732 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46733 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46734
373d545e
UD
467352010-05-19 Ulrich Drepper <drepper@redhat.com>
46736
46737 * version.h: Update for 2.13 development version.
46738
21a2b1ae
AS
467392010-05-12 Andrew Stubbs <ams@codesourcery.com>
46740
46741 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46742 exceptions. Return 0.
46743
3f7dcb2b
RM
467442010-05-07 Roland McGrath <roland@redhat.com>
46745
46746 * elf/ldconfig.c (main): Add a const.
46747
5f24d53a 467482010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 46749
a160f8d8
UD
46750 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46751 (args_options): Add no-idn option.
46752 (ahosts_keys_int): Add idn_flags to ai_flags.
46753 (parse_option): Handle 'i' option to clear idn_flags.
46754
5f24d53a
UD
46755 * malloc/malloc.c (_int_free): Possible race in the most recently
46756 added check. Only act on the data if no current modification
46757 happened.
265bb1ce
UD
46758
46759See ChangeLog.17 for earlier changes.
This page took 6.738577 seconds and 5 git commands to generate.