]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: sync hwcap.h capabilities
[thirdparty/glibc.git] / ChangeLog
CommitLineData
db224009
AZ
12014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4 macro: hardware supports Vector Crypto instructions.
5
f393b4aa
WN
62014-06-23 Will Newton <will.newton@linaro.org>
7
cc7d0447
WN
8 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9 rather than __builtin_expect.
10
d6d06225
WN
11 * elf/dl-lookup.c (undefined_msg): Remove variable.
12 (_dl_lookup_symbol_x): Replace undefined_msg with string
13 literal.
14
f393b4aa
WN
15 * elf/dl-lookup.c (do_lookup_unique): New function.
16 (do_lookup_x): Move STB_GNU_UNIQUE handling code
17 to a separate function.
18
ac60763e
AS
192014-06-23 Andreas Schwab <schwab@suse.de>
20
21 [BZ #17079]
22 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
23 before reading the next line.
24
c5c13355
WN
252014-06-23 Will Newton <will.newton@linaro.org>
26
27 * test-skeleton.c (signal_handler): Use printf and %m
28 rather than perror. Use printf rather than fprintf to
29 stderr. Use puts rather than fputs to stderr.
30 (main): Likewise.
31
bd3675f9
LC
322014-06-22 Ludovic Courtès <ludo@gnu.org>
33
34 * nscd/nscd.c (thread_info_t): Remove typedef.
35 (thread_info): Remove variable.
36
d03efb2f
AM
372014-06-21 Allan McRae <allan@archlinux.org>
38
39 * NEWS: Mention CVE-2014-4043.
40
bc4a86fa
RM
412014-06-20 Roland McGrath <roland@hack.frob.com>
42
dc9a54f8
RM
43 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
44 * nptl/smp.h: ... here.
45
bd7022c4
RM
46 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
47
26ffd5e6
RM
48 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
50 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
51 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
52
93a6d082
RM
53 * nptl/allocatestack.c: Include <stack-aliasing.h>.
54 * nptl/stack-aliasing.h: New file.
55 * sysdeps/i386/i686/stack-aliasing.h: New file.
56 * sysdeps/i386/i686/nptl/Makefile: File removed.
57 * sysdeps/x86_64/stack-aliasing.h: New file.
58 * sysdeps/x86_64/nptl/Makefile
59 (CFLAGS-pthread_create.c): Variable removed.
60
bc4a86fa
RM
61 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
62 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
63 old file.
64 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
65 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
66 old file.
67
2272ffc1
JM
682014-06-21 Joseph Myers <joseph@codesourcery.com>
69
70 * sysdeps/unix/sysv/linux/arm/kernel-features.h
71 (__ASSUME_SIGFRAME_V2): Remove macro.
72 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
73 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
74 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
75 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
76 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
77 Declare as function. Remove conditional macro definitions.
78 (__default_rt_sa_restorer): Likewise.
79 (__default_sa_restorer_v1): Remove declaration.
80 (__default_sa_restorer_v2): Likewise.
81 (__default_rt_sa_restorer_v1): Likewise.
82 (__default_rt_sa_restorer_v2): Likewise.
83 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
84 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
85 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
86
4b88139b
RM
872014-06-20 Roland McGrath <roland@hack.frob.com>
88
89 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
90 (libpthread-routines): Add sysdep.
91 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
92 * sysdeps/unix/sysv/linux/sparc/Versions
93 (libpthread: GLIBC_2.3.3): New version set.
94 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
95 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
96 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
97 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
98 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
99 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
100 Moved ...
101 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
102 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
103 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
104 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
105 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
106 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
107 * sysdeps/sparc/nptl/sem_init.c: ... here.
108 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
109 * sysdeps/sparc/nptl/sem_post.c: ... here.
110 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
111 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
112 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
113 * sysdeps/sparc/nptl/sem_wait.c: ... here.
114 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
115 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
116 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
117 (libpthread-routines): Add cpu_relax.
118 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
119 File removed.
120 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
121 (librt: GLIBC_2.3.3): New version set.
122 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
123 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
124 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
125 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
126 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
127 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
128 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
129 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
130 Moved ...
131 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
132 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
133 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
134 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
135 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
136 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
137 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
138 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
139 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
141 Moved ...
142 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
143 Update #include.
144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
145 Moved ...
146 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
147 Update #include.
148 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
149 Moved ...
150 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
151 Update #include.
152 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
153 Moved ...
154 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
155 Update #include.
156 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
157 Moved ...
158 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
159 Update #include.
160 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
161 Moved ...
162 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
163 Update #include.
164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
165 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
167 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
169 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
171 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
173 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
175 Moved ...
176 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
178 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
179 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
180 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
181
d7109027
JM
1822014-06-20 Joseph Myers <joseph@codesourcery.com>
183
9bc6103d
JM
184 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
185 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
186 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
187 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
188 * nscd/nscd.c: Likewise.
189 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
190 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
191 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
192 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
193
d7109027
JM
194 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
195 <kernel-features.h>.
196 (init_mq_netlink): Remove conditional have_sock_cloexec
197 definitions. Remove code conditional on have_sock_cloexec < 0.
198 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
199 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
200 * sysdeps/unix/sysv/linux/opensock.c: Do not include
201 <kernel-features.h>.
202 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
203 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
204
d92d8f8a
L
2052014-06-20 H.J. Lu <hongjiu.lu@intel.com>
206
207 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
208 Add tests for memset_chk and memset.
209
210 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
211 with AVX2_Usable.
212
4e6d2347
MR
2132014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
214
257ce712
MR
215 [BZ #16046]
216 * elf/tst-dl-iter-static.c: New file.
217 * elf/Makefile (tests-static): Add tst-dl-iter-static.
218
4e6d2347
MR
219 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
220 error.
221
a2a76afe
JM
2222014-06-20 Joseph Myers <joseph@codesourcery.com>
223
7fd00f99
JM
224 * sysdeps/unix/sysv/linux/kernel-features.h
225 (__ASSUME_F_GETOWN_EX): Remove macro.
226 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
227 <kernel-features.h>.
228 (miss_F_GETOWN_EX): Remove variable or macro.
229 (do_fcntl): Do not check miss_F_GETOWN_EX.
230 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
231
4a103975
JM
232 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
233 Remove macro.
234 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
235 [!__ASSUME_AT_RANDOM]: Remove conditional code.
236 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
237
a2a76afe
JM
238 * sysdeps/unix/sysv/linux/kernel-features.h
239 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
240 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
241 [ADJ_OFFSET_SS_READ]: Make code unconditional.
242 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
243
90e5dd48
MR
2442014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
245
246 [BZ #17075]
247 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
248 Fix calculation of the symbol's value.
249 * sysdeps/arm/tst-armtlsdescloc.c: New file.
250 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
251 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
252 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
253 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
254 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
255 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
256 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
257 (modules-names): Add `tst-armtlsdescmod',
258 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
259 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
260 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
261 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
262 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
263 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
264 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
265 ($(objpfx)tst-armtlsdescloc): New dependency.
266 ($(objpfx)tst-armtlsdescextnow): Likewise.
267 ($(objpfx)tst-armtlsdescextlazy): Likewise.
268 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
269 TLS scheme support.
270 * sysdeps/arm/configure: Regenerate.
271
809fdf0d
JM
2722014-06-20 Joseph Myers <joseph@codesourcery.com>
273
274 * include/fcntl.h (__atfct_seterrno): Remove prototype.
275 (__atfct_seterrno_2): Likewise.
276 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
277 <kernel-features.h>.
278 (__ASSUME_ATFCTS): Do not undefine and redefine.
279 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
280 (__have_atfcts): Remove conditional definition.
281 (__fxstatat([__NR_fstatat64]: Make code unconditional.
282 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
283 unreachable if [__ASSUME_ATFCTS].
284 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
285 not undefine and redefine.
286 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
287 <kernel-features.h>.
288 (faccessat) [__NR_faccessat]: Make code unconditional.
289 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
290 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
291 <kernel-features.h>.
292 (fchmodat) [__NR_fchmodat]: Make code unconditional.
293 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
294 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
295 <kernel-features.h>.
296 (fchownat) [__NR_fchownat]: Make code unconditional.
297 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
298 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
299 <kernel-features.h>.
300 (futimesat) [__NR_futimesat]: Make code unconditional.
301 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
302 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
303 <kernel-features.h>.
304 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
305 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
306 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
307 <kernel-features.h>.
308 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
309 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
310 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
311 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
312 <kernel-features.h>.
313 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
314 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
315 * sysdeps/unix/sysv/linux/linkat.c: Do not include
316 <kernel-features.h>.
317 (linkat) [__NR_linkat]: Make code unconditional.
318 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
319 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
320 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
321 <kernel-features.h>.
322 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
323 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
324 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
325 <kernel-features.h>.
326 (mkdirat) [__NR_mkdirat]: Make code unconditional.
327 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
328 * sysdeps/unix/sysv/linux/openat.c: Do not include
329 <kernel-features.h>.
330 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
331 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
332 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
333 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
334 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
335 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
336 <kernel-features.h>.
337 (readlinkat) [__NR_readlinkat]: Make code unconditional.
338 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
339 result of INLINE_SYSCALL directly, not via int variable.
340 * sysdeps/unix/sysv/linux/renameat.c: Do not include
341 <kernel-features.h>.
342 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
343 (renameat) [__NR_renameat]: Make code unconditional.
344 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
345 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
346 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
347 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
348 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
349 (__ASSUME_ATFCTS): Do not undefine and redefine.
350 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
351 <kernel-features.h>.
352 (symlinkat) [__NR_symlinkat]: Make code unconditional.
353 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
354 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
355 <kernel-features.h>.
356 (unlinkat) [__NR_unlinkat]: Make code unconditional.
357 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
358 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
359 (__ASSUME_ATFCTS): Do not undefine and redefine.
360 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
361 <kernel-features.h>.
362 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
363 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
364 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
365 <kernel-features.h>.
366 (__xmknodat) [__NR_mknodat]: Make code unconditional.
367 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
368
224c6c51
L
3692014-06-20 H.J. Lu <hongjiu.lu@intel.com>
370
371 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
372
aa6ec754
AS
3732014-06-20 Andreas Schwab <schwab@linux-m68k.org>
374
375 [BZ #17069]
376 * posix/regcomp.c (parse_reg_exp): Deallocate partially
377 constructed tree before returning error.
378 * posix/bug-regexp36.c: Expand test case.
379
d8c2869d
SL
3802014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
381
3ef6b850
SL
382 [BZ #6803]
383 * math/libm-test.inc (scalbln_test_date):
384 Add errno expectations.
385 * math/w_scalblnf.c: New File.
386 Add wrapper which checks for setting errno to ERANGE.
387 Add weak_alias for corresponding scalbln function.
388 * math/w_scalbln.c: Likewise.
389 * math/w_scalblnl.c: Likewise.
390 * math/Makefile (libm-calls): Add w_scalbln.
391 * sysdeps/ieee754/flt-32/s_scalblnf.c:
392 Remove weak_alias for corresponding scalbln function.
393 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
394 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
395 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
396 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
397 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
398 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
399 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
400 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
401 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
402 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
403 Remove long_double_symbol for scalblnl function in libm, libc.
404 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
405 Add wrapper which checks for setting errno to ERANGE.
406 Add long_double_symbol for scalblnl function in libm, libc.
407 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
408 Remove long_double_symbol for scalblnl in libm.
409 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
410 Add wrapper which checks for setting errno to ERANGE.
411 Add long_double_symbol for scalblnl function in libm.
412 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
413 Do not use wrapper because of own implementation.
414
c8daec5c
L
4152014-06-19 H.J. Lu <hongjiu.lu@intel.com>
416
417 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
418 3 bytes for __pad1 for x32.
419 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
420
5c74e47c
LM
4212014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
422 H.J. Lu <hongjiu.lu@intel.com>
423
424 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
425 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
426 * sysdeps/x86_64/multiarch/memset.S: Likewise.
427 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
428 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
429
4d43ef1e
AS
4302014-06-19 Andreas Schwab <schwab@linux-m68k.org>
431
432 [BZ #17069]
433 * posix/regcomp.c (parse_expression): Deallocate partially
434 constructed tree before returning error.
435 * posix/Makefile.c (tests): Add bug-regex36.
436 (generated): Add bug-regex36.mtrace.
437 (tests-special): Add $(objpfx)bug-regex36-mem.out
438 (bug-regex36-ENV): New variable.
439 ($(objpfx)bug-regex36-mem.out): New rule.
440 * posix/bug-regex36.c: New file.
441
51a7380b
WN
4422014-06-19 Will Newton <will.newton@linaro.org>
443
444 * malloc/malloc.c (systrim): If extra is zero then return
445 early.
446
91b84fe5
SP
4472014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
448
449 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
450
f940b965
RE
4512014-06-19 Richard Earnshaw <rearnsha@arm.com>
452
453 * sysdeps/aarch64/strchr.S: New file.
454
4ba7a00f
JM
4552014-06-18 Joseph Myers <joseph@codesourcery.com>
456
457 [BZ #17022]
458 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
459 from arguments -2 or below.
460 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
461 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
462
b3a9f56b
AS
4632014-06-18 Andreas Schwab <schwab@suse.de>
464
465 [BZ #17062]
466 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
467 of a bracket expr not to run off the end of the string.
468 * posix/Makefile (tests): Add tst-fnmatch3.
469 * posix/tst-fnmatch3.c: New file.
470
85d89278
JM
4712014-06-18 Joseph Myers <joseph@codesourcery.com>
472
473 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
474 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
475 [$(cross-compiling) = no]: Likewise.
476 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
477 [$(cross-compiling) = no]: Likewise.
478
754c5a08
RS
4792014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
480
481 [BZ #17031]
482 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
483 double, adjusted for any remainder from the high double.
484 * math/libm-test.inc (nearbyint): Add tests.
485 (rint): Likewise.
486
556f529d
AZ
4872014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
488
489 * nptl/sysdeps/powerpc/Makefile: Moved ...
490 * sysdeps/powerpc/nptl/Makefile: ... here.
491 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
492 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
493 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
494 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
495 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
496 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
497 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
498 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
499 * nptl/sysdeps/powerpc/tls.h: Moved ...
500 * sysdeps/powerpc/nptl/tls.h: ... here.
501
91c03c53
JM
5022014-06-16 Joseph Myers <joseph@codesourcery.com>
503
504 [BZ #16681]
505 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
506 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
507 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
508 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
509 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
510 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
511 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
512 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
513 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
514
a76e63c5
AS
5152014-06-17 Andreas Schwab <schwab@linux-m68k.org>
516
517 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
518
f2f6d82f
AS
5192014-06-16 Andreas Schwab <schwab@linux-m68k.org>
520
ea8a15f6
AS
521 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
522 defined operator.
523
f2f6d82f
AS
524 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
525 $TIMEOUTFACTOR.
526
a7291117
FW
5272014-06-16 Florian Weimer <fweimer@redhat.com>
528
529 [BZ #17058]
530 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
531 non-executed part of the test.
532
3d7c00e3
AS
5332014-06-16 Andreas Schwab <schwab@suse.de>
534
535 * string/bits/string2.h (strdup, strndup): Update feature guard.
536
6957fb31
DM
5372014-06-14 David S. Miller <davem@davemloft.net>
538
539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
540
11b9e55b
AS
5412014-06-14 Andreas Schwab <schwab@linux-m68k.org>
542
1d2a0492
AS
543 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
544 that was previously under [RESET_PID].
545 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
546
11b9e55b
AS
547 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
548 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
549 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
550 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
551 (__libc_vfork): New strong alias.
552 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
553
0f6901d0
AK
5542014-06-14 Andi Kleen <ak@linux.intel.com>
555
556 * sysdeps/generic/elide.h: New file.
557
38bbbb9f
SL
5582014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
559
560 * Makefile (installed-headers): Adjust path of pthread.h header.
561
45193bb8
RM
5622014-06-13 Roland McGrath <roland@hack.frob.com>
563
9a25fd1e
RM
564 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
565 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
566 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
567 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
568
4004f7e4
RM
569 * nptl/sysdeps/s390/Makefile: Moved ...
570 * sysdeps/s390/nptl/Makefile: ... here.
571 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
572 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
573 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
574 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
575 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
576 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
577 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
578 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
579 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
580 * sysdeps/s390/nptl/pthreaddef.h: ... here.
581 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
582 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
583 * nptl/sysdeps/s390/tls.h: Moved ...
584 * sysdeps/s390/nptl/tls.h: ... here.
585
45193bb8
RM
586 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
587 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
588
f6fdf533
DM
5892014-06-13 David S. Miller <davem@davemloft.net>
590
591 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
593 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
594 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
598 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
599 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
600 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
601 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
602 Remove RESET_PID cpp guards.
603 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
604 Remove RESET_PID cpp guards.
605 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
606
f5d71e14
AS
6072014-06-13 Andreas Schwab <schwab@linux-m68k.org>
608
609 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
610 __sp to uintptr_t.
611
b7aa8caa
AK
6122014-06-13 Andi Kleen <ak@linux.intel.com>
613
4b266200
AZ
614 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
615 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
616 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
617 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
618 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
619 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
620 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
621 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
622 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
623 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
624 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
625 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
626 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
627 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
628 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
629 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
630 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
631 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
632 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
633 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
634
635 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
636 (pthread_rwlock_rdlock): Add elision.
637 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
638 (pthread_rwlock_wrlock): Add elision.
639 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
640 (pthread_rwlock_trywrlock): Add elision.
641 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
642 (pthread_rwlock_tryrdlock): Add elision.
643 * nptl/pthread_rwlock_unlock.c: Include elide.h.
644 (pthread_rwlock_tryrdlock): Add elision unlock.
645 * nptl/sysdeps/pthread/pthread.h:
646 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
647 (PTHREAD_RWLOCK_INITIALIZER,
648 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
649 Handle new elision field.
650 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
651 * sysdeps/arm/nptl/bits/pthreadtypes.h
652 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
653 * sysdeps/sh/nptl/bits/pthreadtypes.h
654 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
655 * sysdeps/tile/nptl/bits/pthreadtypes.h
656 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
657 * sysdeps/a/nptl/bits/pthreadtypes.h
658 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
659 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
660 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
661 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
662 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
663 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
664 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
665 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
666 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
667 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
668 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
669 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
670 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
671 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
672 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
673 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
674 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
675 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
676 (elision_init): Set try_xbegin to zero when no RTM.
677 * sysdeps/x86/nptl/bits/pthreadtypes.h
678 (pthread_rwlock_t): Change __pad1 to __rwelision.
679 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 680
a832bdd3
AK
6812014-06-13 Andi Kleen <ak@linux.intel.com>
682
683 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
684 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
685 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
686 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
687
995a46bb
MI
6882014-06-13 Meador Inge <meadori@codesourcery.com>
689
690 [BZ #16996]
03ed7738 691 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
692 that the cached result has been set before returning it.
693
45262aee
RM
6942014-06-12 Roland McGrath <roland@hack.frob.com>
695
febf6cc5
RM
696 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
697 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
698 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
699 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
700 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
701 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
702
e2682246
RM
703 * nptl/sysdeps/sparc/Makefile: Moved ...
704 * sysdeps/sparc/nptl/Makefile: ... here.
705 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
706 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
707 * nptl/sysdeps/sparc/tls.h: Moved ...
708 * sysdeps/sparc/nptl/tls.h: ... here.
709 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
710 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
711 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
712 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
713 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
714 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
715 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
716 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
717 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
718 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
719 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
720 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
721 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
722 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
723 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
724 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
725 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
726 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
727 Update #include.
728 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
729 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
730 Update #include.
731 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
732 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
733 Update #include.
734 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
735 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
736 Update #include.
737
b0725f43
RM
738 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
739
b14368b8
RM
740 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
741 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
742
c5620eb3
RM
743 * sysdeps/pthread/posix-timer.h: Include <list.h>.
744 (struct list_links): Type removed.
745 (struct thread_node, struct timer_node): Replace struct list_links
746 with struct list_head.
747 (list_unlink_ip): Likewise.
748 * sysdeps/pthread/timer_routines.c
749 (timer_free_list, thread_free_list, thread_active_list): Likewise.
750 (list_append, list_insbefore): Likewise.
751 (list_init): Function removed.
752 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
753 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
754 * sysdeps/pthread/Makefile: ... here, new file.
755
756 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
757 * sysdeps/nptl/Implies: ... here.
758 * sysdeps/unix/sysv/linux/Implies: Add nptl.
759 * nptl/sysdeps/pthread/list.h: Moved ...
760 * include/list.h: ... here.
761 * nptl/sysdeps/pthread/createthread.c: Moved ...
762 * nptl/createthread.c: ... here.
763 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
764 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
765 * nptl/pt-longjmp.c: ... here.
766 * nptl/sysdeps/pthread/Makefile: Moved ...
767 * sysdeps/nptl/Makefile: ... here.
768 * nptl/sysdeps/pthread/Subdirs: Moved ...
769 * sysdeps/nptl/Subdirs: ... here.
770 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
771 * sysdeps/nptl/aio_misc.h: ... here.
772 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
773 * sysdeps/nptl/bits/libc-lock.h: ... here.
774 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
775 * sysdeps/nptl/bits/libc-lockP.h: ... here.
776 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
777 * sysdeps/nptl/bits/stdio-lock.h: ... here.
778 * nptl/sysdeps/pthread/configure: Moved ...
779 * sysdeps/nptl/configure: ... here.
780 * nptl/sysdeps/pthread/configure.ac: Moved ...
781 * sysdeps/nptl/configure.ac: ... here.
782 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
783 * sysdeps/nptl/gai_misc.h: ... here.
784 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
785 * sysdeps/nptl/librt-cancellation.c: ... here.
786 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
787 * sysdeps/nptl/malloc-machine.h: ... here.
788 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
789 * sysdeps/nptl/pthread-functions.h: ... here.
790 * nptl/sysdeps/pthread/pthread.h: Moved ...
791 * sysdeps/nptl/pthread.h: ... here.
792 * nptl/sysdeps/pthread/setxid.h: Moved ...
793 * sysdeps/nptl/setxid.h: ... here.
794 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
795 * sysdeps/nptl/sigfillset.c: ... here.
796 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
797 * sysdeps/nptl/tcb-offsets.h: ... here.
798 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
799 * sysdeps/nptl/tst-mqueue8x.c: ... here.
800 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
801 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
802 * nptl/sysdeps/pthread/allocalim.h: Moved ...
803 * sysdeps/pthread/allocalim.h: ... here.
804 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
805 * sysdeps/pthread/bits/sigthread.h: ... here.
806 * nptl/sysdeps/pthread/flockfile.c: Moved ...
807 * sysdeps/pthread/flockfile.c: ... here.
808 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
809 * sysdeps/pthread/ftrylockfile.c: ... here.
810 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
811 * sysdeps/pthread/funlockfile.c: ... here.
812 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
813 * sysdeps/pthread/posix-timer.h: ... here.
814 * nptl/sysdeps/pthread/timer_create.c: Moved ...
815 * sysdeps/pthread/timer_create.c: ... here.
816 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
817 * sysdeps/pthread/timer_delete.c: ... here.
818 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
819 * sysdeps/pthread/timer_getoverr.c: ... here.
820 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
821 * sysdeps/pthread/timer_gettime.c: ... here.
822 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
823 * sysdeps/pthread/timer_routines.c: ... here.
824 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
825 * sysdeps/pthread/timer_settime.c: ... here.
826 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
827 * sysdeps/pthread/tst-timer.c: ... here.
828 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
829 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
830
e876b090
RM
831 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
832 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
833
f6b07b3d
RM
834 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
835 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
836 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
837 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
838 Update #include target.
839 * nptl/sysdeps/i386/i686/Makefile: Moved ...
840 * sysdeps/i386/i686/nptl/Makefile: ... here.
841 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
842 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
843 Update #include target.
844 * nptl/sysdeps/i386/i686/tls.h: Moved ...
845 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
846 * nptl/sysdeps/i386/Makefile: Moved ...
847 * sysdeps/i386/nptl/Makefile: ... here.
848 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
849 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
850 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
851 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
852 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
853 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
854 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
855 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
856 * sysdeps/i386/nptl/pthreaddef.h: ... here.
857 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
858 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
859 * nptl/sysdeps/i386/tls.h: Moved ...
860 * sysdeps/i386/nptl/tls.h: ... here.
861
45262aee
RM
862 * sysdeps/sh/Makefile [$(subdir) = csu]
863 (gen-as-const-headers): Add tcb-offsets.sym.
864 * nptl/sysdeps/sh/Makefile: File removed.
865 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
866 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
867 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
868 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
869 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
870 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
871 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
872 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
873 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
874 * sysdeps/sh/nptl/pthreaddef.h: ... here.
875 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
876 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
877 * nptl/sysdeps/sh/tls.h: Moved ...
878 * sysdeps/sh/nptl/tls.h: ... here.
879 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
880 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
881 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
882 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
883 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
884 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
885 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
886 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
887 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
888 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
889 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
890 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
891 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
892 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
893 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
894 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
895 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
896 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
897 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
898 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
899 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
900 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
901 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
902 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
903 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
904 Moved ...
905 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
906 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
907 Moved ...
908 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
909 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
910 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
911 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
912 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
913 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
914 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
915 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
916 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
917 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
918 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
919 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
920 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
921 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
922 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
923 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
924 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
925 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
926 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
927
35a5e3e3
SL
9282014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
929
930 * posix/spawn_faction_addopen.c: Include string.h.
931
14642b85
RM
9322014-06-11 Roland McGrath <roland@hack.frob.com>
933
934 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
935 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
936 * nptl/sysdeps/x86_64/Makefile: Moved ...
937 * sysdeps/x86_64/nptl/Makefile: ... here.
938 * nptl/sysdeps/x86_64/configure: Moved ...
939 * sysdeps/x86_64/nptl/configure: ... here.
940 * nptl/sysdeps/x86_64/configure.ac: Moved ...
941 * sysdeps/x86_64/nptl/configure.ac: ... here.
942 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
943 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
944 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
945 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
946 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
947 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
948 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
949 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
950 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
951 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
952 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
953 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
954 * nptl/sysdeps/x86_64/tls.h: Moved ...
955 * sysdeps/x86_64/nptl/tls.h: ... here.
956 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
957 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
958 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
959 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
960
961 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
962
31c44fea
AZ
9632014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
964
965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
966
e81a4f9a
JM
9672014-06-11 Joseph Myers <joseph@codesourcery.com>
968
969 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
970 type.
971 [POSIX] (off_t): Likewise.
972 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
973 [POSIX] (S_ISBLK): Require macro.
974 [POSIX] (S_ISCHR): Likewise.
975 [POSIX] (S_ISDIR): Likewise.
976 [POSIX] (S_ISFIFO): Likewise.
977 [POSIX] (S_ISREG): Likewise.
978 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
979 optional-macro.
980 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
981 type.
982 [POSIX] (time_t): Likewise.
983 [POSIX] (timer_t): Likewise.
984
89e435f3
FW
9852014-06-11 Florian Weimer <fweimer@redhat.com>
986
987 [BZ #17048]
988 * posix/spawn_int.h (struct __spawn_action): Make the path string
989 non-const to support deallocation.
990 * posix/spawn_faction_addopen.c
991 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
992 * posix/spawn_faction_destroy.c
993 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
994 path in all spawn_do_open actions.
995 * posix/tst-spawn.c (do_test): Exercise the copy operation in
996 posix_spawn_file_actions_addopen.
997
c3a2ebe1
CM
9982014-06-11 Chris Metcalf <cmetcalf@tilera.com>
999
1000 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1001 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1002 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1003 conditional code always true.
1004 (__libc_vfork): New alias.
1005
9503784a
RM
10062014-06-11 Roland McGrath <roland@hack.frob.com>
1007
c9cab3d2
RM
1008 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1009 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1010
d3996c79
RM
1011 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1012
ba5ec611
RM
1013 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1014 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1015
f12b4814
RM
1016 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1017 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1018
9503784a
RM
1019 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1020 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1021
e23d3d26
VR
10222014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1023
1024 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1025 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1026 multiarch strcmp for PPC64.
1027 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1028 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1030 multiarch optimizations.
1031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1032 (__libc_ifunc_impl_list): Likewise.
1033
42b1161e
SP
10342014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1035
1036 * benchtests/scripts/validate_benchout.py: New script.
1037 * benchtests/Makefile (bench-func): Call it.
1038 * benchtests/scripts/benchout.schema.json: New file.
1039
2d0fc4dc
CM
10402014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1041
4a594c34
AZ
1042 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1043 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1044 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1045 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1046 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1047 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1048 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1049 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1050 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1051 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1052 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1053 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1054 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1055 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1056 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1057 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 1059 Moved ...
4a594c34 1060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 1061 ... here.
4a594c34 1062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 1063 Moved ...
4a594c34
AZ
1064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 1066 Moved ...
4a594c34 1067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 1068 ... here.
4a594c34 1069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 1070 Moved ...
4a594c34 1071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 1072 ... here.
4a594c34 1073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 1074 Moved ...
4a594c34
AZ
1075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 1077 Moved ...
4a594c34 1078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 1079 ... here.
4a594c34 1080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 1081 Moved ...
4a594c34 1082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 1083 ... here.
4a594c34 1084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 1085 Moved ...
4a594c34
AZ
1086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 1088 Moved ...
4a594c34 1089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 1090 ... here.
4a594c34 1091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 1092 Moved ...
4a594c34 1093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 1094 ... here.
4a594c34 1095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 1096 Moved ...
4a594c34 1097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 1098 ... here.
4a594c34 1099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 1100 Moved ...
4a594c34
AZ
1101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 1103 Moved ...
4a594c34 1104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 1105 ... here.
4a594c34 1106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 1107 Moved ...
4a594c34 1108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 1109 ... here.
4a594c34 1110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 1111 Moved ...
4a594c34 1112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 1113 ... here.
4a594c34 1114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 1115 Moved ...
4a594c34
AZ
1116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 1118 Moved ...
4a594c34 1119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 1120 ... here.
4a594c34 1121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 1122 Moved ...
4a594c34 1123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 1124 ... here.
4a594c34 1125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 1126 Moved ...
4a594c34
AZ
1127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 1129 Moved ...
4a594c34 1130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 1131 ... here.
4a594c34 1132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 1133 Moved ...
4a594c34
AZ
1134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 1136 Moved ...
4a594c34
AZ
1137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 1139 Moved ...
4a594c34 1140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 1141 ... here.
4a594c34 1142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 1143 Moved ...
4a594c34 1144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 1145 ... here.
4a594c34 1146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 1147 Moved ...
4a594c34 1148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 1149 ... here.
4a594c34 1150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 1151 Moved ...
4a594c34
AZ
1152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 1154 Moved ...
4a594c34 1155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 1156 ... here.
4a594c34 1157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 1158 Moved ...
4a594c34 1159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 1160 ... here.
4a594c34
AZ
1161 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1162 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1163 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1164 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1165 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 1166 Moved ...
4a594c34 1167 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 1168 ... here.
4a594c34
AZ
1169 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1170 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1171 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1172 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1173 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1174 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1175 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1176 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1177 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1178 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1179 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1180 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1181 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 1182 Moved ...
4a594c34
AZ
1183 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1184 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 1185 Moved ...
4a594c34
AZ
1186 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1187 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1188 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1189 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 1190 Moved ...
4a594c34
AZ
1191 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1192 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1193 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1194 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1195 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1196 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1197 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 1198
0570cfed
W
11992014-06-10 Wilco <wdijkstr@arm.com>
1200
1201 * math/test-fenv-return.c: New file.
1202 * math/Makefile: Add new test test-fenv-return.
1203
f8ba1b56
JM
12042014-06-10 Joseph Myers <joseph@codesourcery.com>
1205
1206 [BZ #17042]
1207 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1208 when x - 1 is zero.
1209 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1210 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1211 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1212 0.0L for an argument of 1.0L.
1213 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1214 Likewise.
1215 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1216 value when x - 1 is zero.
1217 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1218 * sysdeps/i386/fpu/libm-test-ulps: Update.
1219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1220
2c3520d9
BO
12212014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1222
1223 [BZ #15119]
1224 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1225
acaa4d24
RM
12262014-06-09 Roland McGrath <roland@hack.frob.com>
1227
1228 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1229 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1230
962b744d
RM
12312014-06-09 Roland McGrath <roland@hack.frob.com>
1232
d752f0cc
RM
1233 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1234 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1235
34eda6d1
RM
1236 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1237 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1238
50f0a637
RM
1239 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1240 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1241
08f41f04
RM
1242 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1243 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1244
962b744d
RM
1245 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1246 if not already defined.
1247 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1248 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1249 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1250 (TLS_INIT_TP): Use it.
1251 (TLS_DEFINE_INIT_TP): New macro.
1252 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1253
09f19b05
JM
12542014-06-09 Joseph Myers <joseph@codesourcery.com>
1255
1256 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1257 constant.
1258 [POSIX] (IXANY): Likewise.
1259 [POSIX] (OLCUC): Likewise.
1260 [POSIX || POSIX2008] (CBAUD): Do not allow.
1261 [POSIX || POSIX2008] (DEFECHO): Likewise.
1262 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1263 [POSIX || POSIX2008] (ECHOKE): Likewise.
1264 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1265 [POSIX || POSIX2008] (EXTA): Likewise.
1266 [POSIX || POSIX2008] (EXTB): Likewise.
1267 [POSIX || POSIX2008] (FLUSHO): Likewise.
1268 [POSIX || POSIX2008] (LOBLK): Likewise.
1269 [POSIX || POSIX2008] (PENDIN): Likewise.
1270 [POSIX || POSIX2008] (SWTCH): Likewise.
1271 [POSIX || POSIX2008] (VDISCARD): Likewise.
1272 [POSIX || POSIX2008] (VDSUSP): Likewise.
1273 [POSIX || POSIX2008] (VLNEXT): Likewise.
1274 [POSIX || POSIX2008] (VREPRINT): Likewise.
1275 [POSIX || POSIX2008] (VSTATUS): Likewise.
1276 [POSIX || POSIX2008] (VWERASE): Likewise.
1277 (B*): Change to B[0123456789]*.
1278 * conform/data/time.h-data [POSIX || UNIX98]
1279 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1280 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1281 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1282 [POSIX] (tm_*): Do not allow.
1283
686554bf
JM
12842014-06-07 Joseph Myers <joseph@codesourcery.com>
1285
1286 * Makefile (install): Don't set LANGUAGE.
1287 * Makefile.in (install): Likewise.
1288 * assert/Makefile (test-assert-ENV): Remove variable.
1289 (test-assert-perr-ENV): Likewise.
1290 * elf/Makefile (neededtest4-ENV): Likewise.
1291 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1292 [$(cross-compiling) = no]: Don't set LANGUAGE.
1293 * io/ftwtest-sh (LANG): Remove variable.
1294 * libio/Makefile (tst-widetext-ENV): Likewise.
1295 * manual/install.texi (Running make install): Don't refer to
1296 environment settings for make install.
1297 * INSTALL: Regenerated.
1298 * nptl/tst-tls6.sh: Don't set LANG.
1299 * posix/globtest.sh (LANG): Remove variable.
1300 * string/Makefile (tester-ENV): Likewise.
1301 (inl-tester-ENV): Likewise.
1302 (noinl-tester-ENV): Likewise.
1303 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1304 [$(cross-compiling) = no]: Don't set LANGUAGE.
1305 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1306 without explicit environment settings.
1307
68e6b6b1
RM
13082014-06-06 Roland McGrath <roland@hack.frob.com>
1309
1310 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1311 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1312 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1313 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1314
4d3ae034
CM
13152014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1316
1317 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1318 other files in the crypt directory.
1319 * crypt/crypt.c: Remove duplicate includes.
1320 * crypt/crypt-entry.c: Likewise.
1321 * crypt/crypt_util.c: Likewise.
1322
8540f6d2
JM
13232014-06-06 Joseph Myers <joseph@codesourcery.com>
1324
1325 * Makeconfig (run-program-env): New variable.
1326 (run-program-prefix-before-env): Likewise.
1327 (run-program-prefix-after-env): Likewise.
1328 (run-program-prefix): Define in terms of new variables.
1329 (built-program-cmd-before-env): New variable.
1330 (built-program-cmd-after-env): Likewise.
1331 (built-program-cmd): Define in terms of new variables.
1332 (test-program-prefix-before-env): New variable.
1333 (test-program-prefix-after-env): Likewise.
1334 (test-program-prefix): Define in terms of new variables.
1335 (test-program-cmd-before-env): New variable.
1336 (test-program-cmd-after-env): Likewise.
1337 (test-program-cmd): Define in terms of new variables.
1338 * Rules (make-test-out): Use $(run-program-env).
1339 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1340 (help): Do not mention environment variables. Mention
1341 --timeoutfactor option.
1342 (timeoutfactor): New variable.
1343 (blacklist_exports): Remove function.
1344 (exports): Remove variable.
1345 (command): Do not include ${exports}.
1346 * manual/install.texi (Configuring and compiling): Do not mention
1347 test wrappers preserving environment variables. Mention that last
1348 assignment to a variable must take precedence.
1349 * INSTALL: Regenerated.
1350 * benchtests/Makefile (run-bench): Use $(run-program-env).
1351 * catgets/Makefile ($(objpfx)test1.cat): Use
1352 $(built-program-cmd-before-env), $(run-program-env) and
1353 $(built-program-cmd-after-env).
1354 ($(objpfx)test2.cat): Do not specify environment variables
1355 explicitly.
1356 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1357 $(run-program-env) and $(built-program-cmd-after-env).
1358 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1359 $(run-program-env) and $(test-program-cmd-after-env).
1360 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1361 explicitly.
1362 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1363 run_program_env and test_program_cmd_after_env arguments.
1364 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1365 * elf/tst-pathopt.sh: Use run_program_env argument.
1366 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1367 $(test-wrapper-env) and $(run-program-env).
1368 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1369 run_program_env arguments.
1370 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1371 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1372 $(test-program-prefix-before-env), $(run-program-env) and
1373 $(test-program-prefix-after-env).
1374 ($(objpfx)tst-gettext2.out): Likewise.
1375 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1376 run_program_env and test_program_prefix_after_env arguments.
1377 * intl/tst-gettext2.sh: Likewise.
1378 * intl/tst-gettext4.sh: Do not set environment variables
1379 explicitly.
1380 * intl/tst-gettext6.sh: Likewise.
1381 * intl/tst-translit.sh: Likewise.
1382 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1383 $(test-program-prefix-before-env), $(run-program-env) and
1384 $(test-program-prefix-after-env).
1385 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1386 run_program_env and test_program_prefix_after_env arguments.
1387 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1388 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1389 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1390 explicitly with each use of ${test_wrapper_env}.
1391 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1392 $(test-program-prefix-before-env), $(run-program-env) and
1393 $(test-program-prefix-after-env).
1394 * posix/tst-getconf.sh: Do not set environment variables
1395 explicitly.
1396 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1397 run_program_env and test_program_prefix_after_env arguments.
1398 * stdio-common/tst-printf.sh: Do not set environment variables
1399 explicitly.
1400 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1401 $(test-program-prefix-before-env), $(run-program-env) and
1402 $(test-program-prefix-after-env).
1403 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1404 run_program_env and test_program_prefix_after_env arguments.
1405 Split $test calls into $test_pre and $test.
1406 * timezone/Makefile (build-testdata): Use
1407 $(built-program-cmd-before-env), $(run-program-env) and
1408 $(built-program-cmd-after-env).
1409
ed36bfa1
AZ
14102014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1411
1412 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1413 strlen for non SHARED builds.
1414
fc75bf46
SP
14152014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1416
1417 * nptl/allocatestack.c (check_list): Inlined function...
1418 (__reclaim_stacks): ... here.
1419
d89b3d80
OB
14202014-06-05 Ondřej Bílka <neleai@seznam.cz>
1421
1422 [BZ #15698]
1423 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1424 memory overrun.
1425
2bf18041
JM
14262014-06-05 Joseph Myers <joseph@codesourcery.com>
1427
1428 * Rules (make-test-out): Include
1429 LOCPATH=$(common-objpfx)localedata in default environment.
1430 * debug/Makefile (tst-chk1-ENV): Remove variable.
1431 (tst-chk2-ENV): Likewise.
1432 (tst-chk3-ENV): Likewise.
1433 (tst-chk4-ENV): Likewise.
1434 (tst-chk5-ENV): Likewise.
1435 (tst-chk6-ENV): Likewise.
1436 (tst-lfschk1-ENV): Likewise.
1437 (tst-lfschk2-ENV): Likewise.
1438 (tst-lfschk3-ENV): Likewise.
1439 (tst-lfschk4-ENV): Likewise.
1440 (tst-lfschk5-ENV): Likewise.
1441 (tst-lfschk6-ENV): Likewise.
1442 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1443 (tst-iconv7-ENV): Likewise.
1444 * intl/Makefile (LOCPATH-ENV): Likewise.
1445 (tst-codeset-ENV): Likewise.
1446 (tst-gettext3-ENV): Likewise.
1447 (tst-gettext5-ENV): Likewise.
1448 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1449 (tst-fopenloc-ENV): Likewise.
1450 (tst-fgetws-ENV): Remove variable.
1451 (tst-ungetwc1-ENV): Likewise.
1452 (tst-ungetwc2-ENV): Likewise.
1453 (bug-ungetwc2-ENV): Likewise.
1454 (tst-swscanf-ENV): Likewise.
1455 (bug-ftell-ENV): Likewise.
1456 (tst-fgetwc-ENV): Likewise.
1457 (tst-fseek-ENV): Likewise.
1458 (tst-ftell-partial-wide-ENV): Likewise.
1459 (tst-ftell-active-handler-ENV): Likewise.
1460 (tst-ftell-append-ENV): Likewise.
1461 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1462 (tst-regexloc-ENV): Likewise.
1463 (bug-regex1-ENV): Likewise.
1464 (tst-regex-ENV): Likewise.
1465 (tst-regex2-ENV): Likewise.
1466 (bug-regex5-ENV): Likewise.
1467 (bug-regex6-ENV): Likewise.
1468 (bug-regex17-ENV): Likewise.
1469 (bug-regex18-ENV): Likewise.
1470 (bug-regex19-ENV): Likewise.
1471 (bug-regex20-ENV): Likewise.
1472 (bug-regex22-ENV): Likewise.
1473 (bug-regex23-ENV): Likewise.
1474 (bug-regex25-ENV): Likewise.
1475 (bug-regex26-ENV): Likewise.
1476 (bug-regex30-ENV): Likewise.
1477 (bug-regex32-ENV): Likewise.
1478 (bug-regex33-ENV): Likewise.
1479 (bug-regex34-ENV): Likewise.
1480 (bug-regex35-ENV): Likewise.
1481 (tst-rxspencer-ENV): Likewise.
1482 (tst-rxspencer-no-utf8-ENV): Likewise.
1483 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1484 (tst-sscanf-ENV): Likewise.
1485 (tst-swprintf-ENV): Likewise.
1486 (tst-swscanf-ENV): Likewise.
1487 (test-vfprintf-ENV): Likewise.
1488 (scanf13-ENV): Likewise.
1489 (bug14-ENV): Likewise.
1490 (tst-grouping-ENV): Likewise.
1491 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1492 (tst-strtod3-ENV): Likewise.
1493 (tst-strtod4-ENV): Likewise.
1494 (tst-strtod5-ENV): Likewise.
1495 (testmb2-ENV): Likewise./
1496 * string/Makefile (tst-strxfrm-ENV): Likewise.
1497 (tst-strxfrm2-ENV): Likewise.
1498 (bug-strcoll1-ENV): Likewise.
1499 (test-strcasecmp-ENV): Likewise.
1500 (test-strncasecmp-ENV): Likewise.
1501 * time/Makefile (tst-strptime-ENV): Likewise.
1502 (tst-ftime_l-ENV): Likewise.
1503 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1504 (tst-mbrtowc-ENV): Likewise.
1505 (tst-wcrtomb-ENV): Likewise.
1506 (tst-mbrtowc2-ENV): Likewise.
1507 (tst-c16c32-1-ENV): Likewise.
1508 (tst-mbsnrtowcs-ENV): Likewise.
1509
cd1fb604
OB
15102014-06-05 Ondřej Bílka <neleai@seznam.cz>
1511
1512 * manual/resource.texi (How to get information about the memory
1513 subsystem?): Fix typo.
1514 Reported by Peon de la Parra Ivan <peon@keba.com>
1515
b42eca7d
GY
15162014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1517
1518 [BZ #16882]
1519 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1520 (pthread_spin_lock): Branch out of spin loop to proper location.
1521 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1522 (pthread_spin_lock): Likewise.
1523
902b71f9
DM
1524 * nptl/tst-spin4.c: New test.
1525 * nptl/Makefile (tests): Add tst-spin4.
1526
f9d2d032
AS
15272014-06-03 Andreas Schwab <schwab@suse.de>
1528
1529 [BZ #15946]
1530 * resolv/res_send.c (send_dg): Reload file descriptor after
1531 calling reopen.
1532
cf7bfd28
SL
15332014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1534
1535 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1536
111cc714
RH
15372014-06-03 Richard Henderson <rth@redhat.com>
1538
89b4bd6b
RH
1539 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1540 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1541 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1542 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1543 in the SAVE_PID block.
1544 (__libc_vfork): New alias.
71840409 1545 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 1546
111cc714
RH
1547 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1548 child in registers, not on the stack. Remove RESET_PID conditionals.
1549 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1550
ccc39911
MS
15512014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1552
1553 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1554
693096cc
W
15552014-06-03 Wilco <wdijkstr@arm.com>
1556
1557 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1558 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1559 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1560 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1561 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1562 Likewise.
1563
0b4366bc
W
15642014-06-03 Wilco <wdijkstr@arm.com>
1565
1566 * sysdeps/aarch64/fpu/math_private.h
1567 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1568 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1569 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1570 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1571 Fix declarations.
1572
8747cd03
KS
15732014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1574
1575 * crypt/crypt-private.h: Include ufc-crypt.h.
1576 (__b64_from_24bit): Declare extern.
1577 * crypt/crypt_util.c(__b64_from_24bit): New function.
1578 (b64t): New static const variable.
1579 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1580 (b64t): Remove variable.
1581 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1582 * crypt/sha256-crypt.c: Include crypt-private.h.
1583 (b64t): Remove variable.
1584 (__sha256_crypt_r): Remove b64_from_24bit and replace
1585 with __b64_from_24bit.
1586 * crypt/sha512-crypt.c: Likewise.
1587
d936d379
RM
15882014-06-02 Roland McGrath <roland@hack.frob.com>
1589
1590 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1591 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1592 Label the code __libc_vfork rather than __vfork.
1593 [!NOT_IN_libc] (vfork): Define as weak alias.
1594 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1595 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1596 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1597
9fa76613
SP
15982014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1599
1600 * malloc/malloc.c (malloc_info): Fix format specifier for
1601 n_mmaps.
1602
a88dadbe
W
16032014-06-02 Wilco <wdijkstr@arm.com>
1604
1605 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1606 FPCR write.
1607
c95b3011
W
16082014-06-02 Wilco <wdijkstr@arm.com>
1609
1610 [BZ #17009]
1611 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1612 Rewrite to reduce FPCR/FPSR accesses.
1613
6b4d7a90
DM
16142014-06-01 David S. Miller <davem@davemloft.net>
1615
1616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1617
30f3d07c
DM
16182014-05-31 David S. Miller <davem@davemloft.net>
1619
1620 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1621 to occur in round to nearest mode when |x| >= 2.0
1622
74f31c18
RH
16232014-05-30 Richard Henderson <rth@twiddle.net>
1624
f0712b54
RH
1625 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1626 (PSEUDO_RET_NOERRNO): Remove.
1627 (ret): Don't redefine.
1628 (ret_NOERRNO): Define in terms of ret.
1629 (ret_ERRVAL): Likewise.
1630
74f31c18
RH
1631 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1632 use of PSEUDO_RET; perform the error check directly.
1633
30477995
MM
16342014-05-30 Marko Myllynen <myllynen@redhat.com>
1635
1636 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1637 with __int128_t.
1638
62a58816
SP
16392014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1640
1641 * malloc/malloc (malloc_info): Fix formatting.
1642
4d653a59
SP
16432014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1644 Roland McGrath <roland@hack.frob.com>
1645
1646 * malloc/malloc (malloc_info): Also print mmapped statistics.
1647
5190c17f
RM
16482014-05-30 Roland McGrath <roland@hack.frob.com>
1649
1650 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1651 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1652
987c0269
OB
16532014-05-30 Ondřej Bílka <neleai@seznam.cz>
1654
1655 * malloc/malloc.c (malloc_info): Inline mi_arena.
1656
af4e8ef9
RH
16572014-05-29 Richard Henderson <rth@twiddle.net>
1658
1670e207
RH
1659 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1660 Remove comma before expanding ASM_ARGS_##nr.
1661 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1662 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1663 of ASM_ARGS_##nr.
1664 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1665 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1666 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1667 (ASM_ARGS_1): Add leading comma.
1668
11a28aee
RH
1669 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1670 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1671 to __errno_location.
1672 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1673 Remove the expected plt for __errno_location.
1674
a17e5ffb 1675 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 1676 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
1677 call to __read_tp.
1678
b5be4597
RH
1679 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1680 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1681 it and break it down.
1682 (DOCARGS_0, DOCARGS_1): Do nothing.
1683 (DOCARGS_2): Update to store into the new stack frame.
1684 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1685 (UNDOCARGS_1): Update to restore from the new stack frame.
1686 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1687 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1688
645d44ab
RH
1689 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1690 (SINGLE_THREAD_P): New parameter for result regno.
1691 (PSEUDO): Update to match; use cbz instead of beq.
1692
a8b4f04a
RH
1693 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1694 Use ENTRY to define the _nocancel entry point. Share the syscall
1695 and syscall error check paths with the cancel path.
1696 (PSEUDO_END): New.
1697
af4e8ef9
RH
1698 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1699 whitespace; tabs before and after asm mnemonics.
1700
26b0d2e1
EW
17012014-05-29 Eric Wong <normalperson@yhbt.net>
1702
1703 [BZ #15132]
1704 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1705 Call fstat64 or stat64 internally, depending on arguments passed.
1706 Replace stat buffer argument with file descriptor argument.
1707 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1708 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1709 Pass fd to __internal_statvfs instead of calling fstat64.
1710 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1711 Pass fd to __internal_statvfs64 instead of calling fstat64.
1712 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1713 Pass -1 to __internal_statvfs instead of calling stat64.
1714 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1715 Pass -1 to __internal_statvfs64 instead of calling stat64.
1716
1efe2bd9
RM
17172014-05-28 Roland McGrath <roland@hack.frob.com>
1718
0d3b7a19
RM
1719 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1720 that was previously under [RESET_PID].
1721 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1722
1efe2bd9
RM
1723 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1724 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1725
a6bea3ca
RM
17262014-05-27 Roland McGrath <roland@hack.frob.com>
1727
30b6629e
RM
1728 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1729
a6bea3ca
RM
1730 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1731 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1732
3dfb9a5c
OB
17332014-05-27 Ondřej Bílka <neleai@seznam.cz>
1734
1735 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1736
774f9285
AS
17372014-05-27 Andreas Schwab <schwab@suse.de>
1738
1739 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1740 TLS_INIT_TP macro.
1741 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1742 * elf/rtld.c (init_tls, dl_main): Likewise.
1743 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1744 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1745 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1746 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1747 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1748 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1749 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1750 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1751 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1752 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1753 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1754 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1755 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1756 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1757 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1758 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1759 * sysdeps/generic/tls.h: Update description.
1760
36ffe739
WN
17612014-05-27 Will Newton <will.newton@linaro.org>
1762
1763 [BZ #16990]
1764 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1765 and restore r2 rather than just restoring.
1766
2482ae43
SP
17672014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1768
1769 [BZ #16724]
1770 * libio/tst-ftell-append.c: New test case.
1771 * libio/Makefile (tests): Add test case.
1772 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1773 append mode.
1774 * libio/wfileops.c (do_ftell_wide): Likewise.
1775
3d1024e8
AZ
17762014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1777
bab90016
AZ
1778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1779
c7a8d667
AZ
1780 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1781 ...
1782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1784 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1785 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1786 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1787 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1788 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1789 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1790 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1791 Moved ...
1792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1793 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1794 Moved ...
1795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1796 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1797 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1798 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1799 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1800 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1801 ...
1802 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1803 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1804 Moved ...
1805 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1806 here.
1807 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1808 ...
1809 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1810 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1811 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1812
daee7851
AZ
1813 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1814 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1815 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1816 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1817
50a40819
AZ
1818 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1819 merge into ...
1820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1821 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1822 ...
1823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1824 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1825 ...
1826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1827 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1828 Moved ...
1829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1830 here.
1831 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1832 Moved ...
1833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1834 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1835 Moved ...
1836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1837
8464c2a1
AZ
1838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1839 conditional [RESET_PID].
1840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1841 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1842 removed.
1843 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1844 removed.
1845
3d1024e8
AZ
1846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1847 <tcb-offsets.h>.
1848 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1849 (__libc_vfork): New strong alias.
1850 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1851 removed.
1852 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1853 Removed.
1854
1855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1856 <tcb-offsets.h>.
1857 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1858 (__libc_vfork): New strong alias.
1859 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1860 removed.
1861 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1862 removed.
1863
fdfd175d
CD
18642014-05-26 Carlos O'Donell <carlos@redhat.com>
1865
1866 * malloc/malloc.c (mi_arena): New function.
1867 (malloc_info): Remove nested function mi_arena. Call non-nosted
1868 function mi_arena.
1869
d298c416
AZ
18702014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1871
1872 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1873 by insrwi.
1874 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1875 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1876 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1877 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1878 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1879 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1880 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1881
b60ea6ff
AS
18822014-05-26 Andreas Schwab <schwab@suse.de>
1883
1884 [BZ #16984]
1885 * locale/programs/repertoire.c (repertoire_read): Add slash
1886 between I18NPATH element and file name.
1887 * locale/programs/locfile.c (locfile_read): Likewise.
1888
67365926
SL
18892014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1890
1891 * nptl/pthread_mutexattr_settype.c
1892 (__pthread_mutexattr_settype):
1893 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1894
f8bdf1f0
SL
18952014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1896
1897 * nptl/tst-mutex5 (do_test):
1898 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1899
15eaf6ff
SP
19002014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1901
1902 * benchtests/README: Document 'init' directive.
1903 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1904 BENCH_INIT.
1905 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1906 (parse_file): Recognize 'init' directive.
1907
75f11331
KM
19082014-05-26 Kyle McMartin <kyle@redhat.com>
1909
1910 [BZ #16796]
1911 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1912 alignment of struct pthread.
1913
c3ec475c
SP
19142014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1915
1916 [BZ #16878]
1917 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1918 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1919 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1920 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1921
82aab97c
RH
19222014-05-25 Richard Henderson <rth@twiddle.net>
1923
aa2f176d
RH
1924 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1925 (SINGLE_THREAD_P_PIC): Remove.
1926 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1927 (SINGLE_THREAD_P_PIC): Remove.
1928
ca3cfa40
RH
1929 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1930 branch to syscall error ...
1931 (PSEUDO): ... here.
1932 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1933 from __local_syscall_error to .Lsyscall_error.
1934 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1935 (SYSCALL_ERROR): Update label name.
1936
6e6c2d01
RH
1937 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1938 Do not use DOARGS/UNDOARGS.
1939 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1940 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1941 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1942 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1943 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1944
c69abcee
RH
1945 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1946 block comment.
1947
82aab97c
RH
1948 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1949 define if !NOT_IN_libc.
1950 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1951 define with non-default symbol versions.
1952
8820e3ac
RH
19532014-05-23 Richard Henderson <rth@twiddle.net>
1954
900e445f
RH
1955 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1956 (vfork, __vfork): Define via compat_symbol.
1957
8820e3ac
RH
1958 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1959 [!HAVE_IFUNC] (vfork_compat): Remove.
1960 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1961
e59252a5
JM
19622014-05-23 Joseph Myers <joseph@codesourcery.com>
1963
1964 [BZ #16978]
1965 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1966 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1967 variable.
1968
132c7f5f
RH
19692014-05-23 Richard Henderson <rth@twiddle.net>
1970
bc89e962
RH
1971 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1972 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1973 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1974 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1975
1976 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1977 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1978 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1979 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1980 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1981 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1982 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1983 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1984 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1985 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1986 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1987 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1988 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1989 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1990 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1991 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1992 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1993 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1994 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1995 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1996 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1997 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1998 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1999 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2000 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2001 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2002 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2003 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2004 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2005 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2006 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2007 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2008 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2009 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2010 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2011 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2012 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2013 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2014 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2015 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2016 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2017 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2018 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2019 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2020 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2021 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2022 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2023 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2024 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2025 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2026 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2027 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2028 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2029 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2030 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2031 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2032
e2fa4bc2
RH
2033 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2034 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2035 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2036 before exiting on error.
2037 (__libc_vfork): New strong alias.
2038 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2039 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2040
279b24e2
RH
2041 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2042 that was previously under [RESET_PID].
2043 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2044
132c7f5f
RH
2045 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2046
b72592e7
JM
20472014-05-23 Joseph Myers <joseph@codesourcery.com>
2048
2049 [BZ #16977]
2050 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2051 value when x - 1 is zero.
2052 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2053 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2054 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2055 0.0L for an argument of 1.0L.
2056 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2057 Likewise.
2058 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2059 value when x - 1 is zero.
2060 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2061 * sysdeps/i386/fpu/libm-test-ulps: Update.
2062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2063
2302d679
RV
20642014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2065
2066 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2067 alphasort and versionsort.
2068
32999d63
AZ
20692014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2070
2071 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2072 macro.
2073 [copysignf]: Likewise.
2074
019324d0
SP
20752014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2076
2077 * crypt/md5-crypt.c: Fix formatting.
2078
34fff5c2
KS
20792014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2080
2081 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2082 (b64_from_24bit): New function.
2083
3d2badac
AZ
20842014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2085
2086 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2087 libc_hidden_builtin_def to ifunc.
2088 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2089 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2090
f7bb179f 20912014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
2092
2093 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2094 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2095
4134b50d
JM
20962014-05-21 Joseph Myers <joseph@codesourcery.com>
2097
bb7d0337
JM
2098 * nscd/Depend (linuxthreads): Remove.
2099 (nptl): Add.
2100 * resolv/Depend (linuxthreads): Remove.
2101 * rt/Depend (linuxthreads): Remove.
2102
4134b50d
JM
2103 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2104 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2105 $(common-objpfx)elf/.
2106 (link-libc-before-gnulib): Likewise.
2107 (elfobjdir): Remove variable.
2108 * Makefile (install): Use $(elf-objpfx) instead of
2109 $(common-objpfx)elf/.
2110 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2111 $(elfobjdir)/.
2112 (link-libc-deps): Likewise.
2113 ($(common-objpfx)libc.so): Likewise.
2114 ($(common-objpfx)linkobj/libc.so): Likewise.
2115 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2116 instead of $(common-objpfx)elf/.
2117 (symbolic-link-list): Likewise.
2118 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2119 [$(cross-compiling) = no]: Likewise.
2120 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2121 $(elfobjdir)/.
2122 (static-gnulib-arch): Likewise.
2123 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2124 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2125 $(common-objpfx)elf/.
2126
3612eb8f
RH
21272014-05-21 Richard Henderson <rth@redhat.com>
2128
a6b3657b
RH
2129 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2130 (SINGLE_THREAD_P): Use the correct width load. Fold
2131 into the ldr offset.
2132
3612eb8f
RH
2133 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2134 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2135
175cef41
JM
21362014-05-20 Joseph Myers <joseph@codesourcery.com>
2137
2138 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2139 (libgcc_s_resume): Use __attribute_used__.
2140 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2141 Likewise.
2142
e13bccd3
AZ
21432014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2144
2145 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2146 optimization when used with float constants.
2147
7c112a38
AZ
2148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2149
ae75a883
AJ
21502014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2151
2152 [BZ #16915]
2153 * locale/nl_langinfo_l.c: Make direct reference to every
2154 _nl_current_CATEGORY symbol.
2155 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2156 (tests-static): Add tst-langinfo-static.
2157 (tests-special): Add tst-langinfo-static.out.
2158 ($(objpfx)tst-langinfo.out): Redirect output.
2159 ($(objpfx)tst-langinfo-static.out): New.
2160 * localedata/tst-langinfo.sh: Send output to stdout.
2161 * localedata/tst-langinfo-static.c: New file.
2162
4406c41c
AJ
2163 [BZ #16965]
2164 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2165 when the shift amount is modulo the limb size.
2166
4c0a1e63
RH
21672014-05-20 Richard Henderson <rth@redhat.com>
2168
de9d8f20
RH
2169 [BZ #16967]
2170 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2171 Change type of sa_flags from unsigned int to int.
2172
4c0a1e63
RH
2173 [BZ #16966]
2174 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
2175
2176 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2177
a60339aa
WN
21782014-05-20 Will Newton <will.newton@linaro.org>
2179
2180 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2181 Test the return value of the system call in the nocancel case.
2182
7d05a816
YR
21832014-05-20 Will Newton <will.newton@linaro.org>
2184 Yvan Roux <yvan.roux@linaro.org>
2185
2186 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2187 #include of asm/ptrace.h.
2188 (PTRACE_GET_THREAD_AREA): Remove #undef.
2189 (PTRACE_GETHBPREGS): Likewise.
2190 (PTRACE_SETHBPREGS): Likewise.
2191 (struct user_regs_struct): New structure.
2192 (struct user_fpsimd_struct): New structure.
2193 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2194 #include of asm/ptrace.h and second #include of sys/user.h.
2195 (PTRACE_GET_THREAD_AREA): Remove #undef.
2196 (PTRACE_GETHBPREGS): Likewise.
2197 (PTRACE_SETHBPREGS): Likewise.
2198 (ELF_NGREG): Use new struct user_regs_struct.
2199 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2200
af121e37
AZ
22012014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2202
2203 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2204 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2205
834caf06
JM
22062014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2207
2208 [BZ #16958]
2209 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2210 membar to avoid block loads/stores to overlap previous stores.
2211
e184a918
RH
22122014-05-17 Richard Henderson <rth@redhat.com>
2213
2214 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2215 Create the __##syscall_name##_nocancel entry point.
2216 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2217 Remove; let the sysdep-cancel.h code create it.
2218
f56c7a6a
DM
22192014-05-17 David S. Miller <davem@davemloft.net>
2220
2221 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2222 Protect with __USE_GNU.
2223 (TIOCSET_TEMPT): Likewise.
2224 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2225 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2226 these are already provided in bits/ioctl-types.h
2227
f75616b2
RM
22282014-05-16 Roland McGrath <roland@hack.frob.com>
2229
3edeca86
RM
2230 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2231 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2232
f75616b2
RM
2233 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2234 Use wait4 regardless of [__NR_waitpid].
2235
deb0f7f6
MR
22362014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2237
2238 PR libgcc/60166
2239 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2240 (_FP_NANSIGN_Q): Set the quiet bit.
2241
79520f4b
JM
22422014-05-16 Joseph Myers <joseph@codesourcery.com>
2243
2244 * benchtests/Makefile
2245 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2246 not $(common-objpfx)math/libm.so.
2247 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2248 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2249 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2250 $(common-objpfx)dlfcn/libdl.so.
2251 ($(objpfx)tst-audit8): Depend on $(libm), not
2252 $(common-objpfx)math/libm.so.
2253 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2254 not $(common-objpfx)dlfcn/libdl.so.
2255 * math/Makefile
2256 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2257 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2258 [$(build-shared) = yes].
2259 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2260 $(common-objpfx)nptl/libpthread.so.
2261 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2262 $(common-objpfx)math/libm.so$(libm.so-version) or
2263 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2264 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2265 $(common-objpfx)dlfcn/libdl.so.
2266 * setjmp/Makefile (link-libm): Remove variable.
2267 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2268 * stdio-common/Makefile (link-libm): Remove variable.
2269 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2270 * stdlib/Makefile (link-libm): Remove variable.
2271 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2272 ($(objpfx)tst-strtod-round): Likewise.
2273 ($(objpfx)tst-tininess): Likewise.
2274 ($(objpfx)tst-strtod-underflow): Likewise.
2275 ($(objpfx)tst-strtod6): Likewise.
2276 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2277 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2278 $(common-objpfx)dlfcn/libdl.so.
2279
026b0fe4
AZ
22802014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2281
2282 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2283 BSD terminal modes definitions.
2284
def4bcb2
RM
22852014-05-16 Roland McGrath <roland@hack.frob.com>
2286
fe39b021
RM
2287 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2288 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2289
1d1fc46e 2290 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
2291 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2292 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2293 Don't do #include_next.
2294 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2295 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2296 Don't do #include_next.
2297 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2298 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2299 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2300 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2301
c72399fb
AM
23022014-05-16 Allan McRae <allan@archlinux.org>
2303
d51d659d
AM
2304 * po/sv.po: Update Swedish translation from translation project.
2305
c72399fb
AM
2306 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2307 in sed expression.
2308
d0583c40
AJ
23092014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2310
2311 [BZ #16917]
2312 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2313 errno if the TIOCGPTN ioctl fails with an error different than
2314 EINVAL.
2315 * login/tst-ptsname.c: New file.
2316 * login/Makefile (tests): Add tst-ptsname.
2317
d16e6ec7
AJ
2318 [BZ #16943]
2319 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2320 and prlimit64.
2321
cf26a0cb
SP
23222014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2323
2324 [BZ #16849]
2325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2326 herrno to return EAI_AGAIN.
2327
5675da1e
RM
23282014-05-14 Roland McGrath <roland@hack.frob.com>
2329
a5d87b3d
RM
2330 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2331 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2332 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2333 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2334 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2335 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2336 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2337 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2338 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2339 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2340 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2341 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2342 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2343 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2344 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2345 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2346 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2347 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2348 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2349 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2350 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2351 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2352 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2353 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2354 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2355 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2356 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2357 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2358 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2359 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2361 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2363 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2365 Moved ...
2366 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2368 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2370 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2372 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2374 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2376 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2378 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2380 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2382 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2384 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2386 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2388 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2390 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2392 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2394 Moved ...
2395 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2397 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2399 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2401 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2403 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2405 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2407 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2409 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2411 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2413 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2415 Moved ...
2416 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2418 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2419
039890a6
RM
2420 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2421 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2422 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2423 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2424 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2425 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2426 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2427 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2428 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2430 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2431 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2432 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2433 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2434 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2435 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2436 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2437 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2438 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2439 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2440 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2441 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2442 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2443 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2444 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2445 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2446 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2447 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2448 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2449 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2450 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2451
65c89320
RM
2452 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2453 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2454
348f8e8c
RM
2455 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2456 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2457 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2458 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2459 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2460 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2461 Moved ...
2462 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2463 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2464 Moved ...
2465 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2466 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2467 Moved ...
2468 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2469 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2470 Moved ...
2471 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2472 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2473 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2474 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2475 Moved ...
2476 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2477 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2478 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2479 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2480 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2481 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2482 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2483 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2484 Moved ...
2485 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2486 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2487 Moved ...
2488 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2489 ... here.
2490 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2491 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2492 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2493 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2494 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2495 Moved ...
2496 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2497 ... here.
2498 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2499 Moved ...
2500 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2501 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2502 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2503 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2504 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2505 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2506 Moved ...
2507 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2508 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2509 Moved ...
2510 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2511 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2512 Moved ...
2513 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2514 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2515 Moved ...
2516 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2517 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2518 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2519 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2520 Moved ...
2521 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2522 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2523 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2524 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2525 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2526 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2527 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2528 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2529 Moved ...
2530 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2531 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2532 Moved ...
2533 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2534 ... here.
2535 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2536 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2537 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2538 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2539 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2540 Moved ...
2541 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2542 ... here.
2543 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2544 Moved ...
2545 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2546 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2547 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2548 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2549 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2550 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2551 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2552 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2553 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2554 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2555 Moved ...
2556 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2557 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2558 Moved ...
2559 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2560 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2561 Moved ...
2562 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2563 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2564 Moved ...
2565 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2566 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2567 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2568 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2569 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2570 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2571 Moved ...
2572 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2573 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2574 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2575 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2576 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2577 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2578 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2579 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2580 Moved ...
2581 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2582 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2583 Moved ...
2584 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2585 ... here.
2586 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2587 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2588 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2589 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2590 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2591 Moved ...
2592 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2593 ... here.
2594 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2595 Moved ...
2596 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2597 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2598 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2599 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2600 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2601 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2602 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2603 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2604 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2605 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2606 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2607
5085af05
RM
2608 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2609 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2610
708f0813
RM
2611 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2612 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2613
c96067bc
RM
2614 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2615 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2616 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2617 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2618 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2619 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2620 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2621 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2622 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2623 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2624 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2625 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2626 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2627 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2628 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2629 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2630 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2631 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2632 Moved ...
2633 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2634 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2635 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2636 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2637 Moved ...
2638 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2639 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2640 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2641 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2642 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2643 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2644 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2645 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2646 Moved ...
2647 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2648 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2649 Moved ...
2650 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2651 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2652 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2653 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2654 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2655 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2656 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2657 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2658 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2659 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2660 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2661 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2662 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2663 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2664 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2665 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2666 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2667
ec136444
RM
2668 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2669 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2670 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2671 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2672 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2673
2fbdf533
RM
2674 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2675 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2676 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2677 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2678 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2679 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2680 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2681 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2682 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2683 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2684
4c68138b
RM
2685 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2686 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2687
4eaae765
RM
2688 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2689 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
2690 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2691 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2692 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2693 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2694 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2695 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2696 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2697 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2698 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2699 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2700 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2701 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2702 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2703 Update #include.
2704 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2705 Likewise.
2706 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2707 Likewise.
2708 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2709 Likewise.
2710 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2711 Likewise.
2712 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2713 Likewise.
2714 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2715 Likewise.
2716 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2717 Likewise.
2718 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2719 Likewise.
2720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2721 Likewise.
4ef6befa
RM
2722 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2723 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2724 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2725 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2726 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
2727 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2728 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2729 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2730 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2731 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2732 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2733 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2734 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2735 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2736 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 2737
941d7dfd
RM
2738 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2739 that was previously under [RESET_PID].
2740 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2741 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2742 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2743
1b731c35
RM
2744 * sysdeps/i386/nptl/Implies: New file.
2745 * sysdeps/x86_64/nptl/Implies: New file.
2746 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2747 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2748 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2749 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2750
e2787137
RM
2751 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2752 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2753 (__libc_vfork): New strong alias.
2754 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2755 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2756
2757 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2758 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2759 (__libc_vfork): New strong alias.
2760 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2761 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2762
5675da1e
RM
2763 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2764 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2765 (__libc_vfork): New strong alias.
2766 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2767 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2768 * nptl/pt-vfork.c: New file.
2769 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2770 (libpthread: GLIBC_2.20): New version set (empty).
2771
4f02e2b8
WN
27722014-05-14 Will Newton <will.newton@linaro.org>
2773
2774 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2775 rather than #if.
2776
0bf061d3
JM
27772014-05-14 Joseph Myers <joseph@codesourcery.com>
2778
1a84c3d6
JM
2779 [BZ #16564]
2780 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2781 arguments with exponent 65 or above.
2782 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2783 arguments 0x1p113L or above.
2784 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2785 to arguments 0x1p107L or above.
2786 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2787 positive arguments with exponent 65 or above.
2788 * math/auto-libm-test-in: Add more tests of log1p.
2789 * math/auto-libm-test-out: Regenerated.
2790
01dbacd2
JM
2791 [BZ #16928]
2792 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2793 non-finite arguments is +0.
2794 * math/s_cacosf.c (__cacosf): Likewise.
2795 * math/s_cacosl.c (__cacosl): Likewise.
2796 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2797 * sysdeps/i386/fpu/libm-test-ulps: Update.
2798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2799
913d03c8
JM
2800 [BZ #16927]
2801 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2802 value.
2803 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2804 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2805 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2806 for explicit high bit of mantissa when testing for argument equal
2807 to 1.
2808 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2809 * sysdeps/i386/fpu/libm-test-ulps: Update.
2810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2811
0bf061d3
JM
2812 [BZ #16516]
2813 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2814 (__erf): Scale by 16 instead of 8 in potentially underflowing
2815 case. Ensure exception if result actually underflows.
2816 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2817 (__erff): Scale by 16 instead of 8 in potentially underflowing
2818 case. Ensure exception if result actually underflows.
2819 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2820 (efx8): Remove variable.
2821 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2822 case. Ensure exception if result actually underflows.
2823 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2824 (efx8): Remove variable.
2825 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2826 case. Ensure exception if result actually underflows.
2827 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2828 (efx8): Remove variable.
2829 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2830 case. Ensure exception if result actually underflows.
2831 * math/auto-libm-test-in: Add more tests of erf.
2832 * math/auto-libm-test-out: Regenerated.
2833
73ba67cb
AS
28342014-05-14 Andreas Schwab <schwab@suse.de>
2835
3d8c8bff
AS
2836 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2837 Remove code conditionalized on USE___THREAD.
2838
73ba67cb
AS
2839 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2840 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2841 not definedness.
2842
5c521ecd
JM
28432014-05-14 Joseph Myers <joseph@codesourcery.com>
2844
5e7698c6
JM
2845 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2846 Define unconditionally.
2847 (__ASSUME_O_CLOEXEC): Likewise.
2848 (__ASSUME_SOCK_CLOEXEC): Likewise.
2849 (__ASSUME_IN_NONBLOCK): Likewise.
2850 (__ASSUME_PIPE2): Likewise.
2851 (__ASSUME_EVENTFD2): Likewise.
2852 (__ASSUME_SIGNALFD4): Likewise.
2853 (__ASSUME_DUP3): Likewise.
2854 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2855 (__ASSUME_DUP3): Do not define.
2856 (__ASSUME_EVENTFD2): Likewise.
2857 (__ASSUME_IN_NONBLOCK): Likewise.
2858 (__ASSUME_O_CLOEXEC): Likewise.
2859 (__ASSUME_PIPE2): Likewise.
2860 (__ASSUME_SIGNALFD4): Likewise.
2861 (__ASSUME_SOCK_CLOEXEC): Likewise.
2862 (__ASSUME_UTIMES): Undefine.
2863 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2864 (__ASSUME_UTIMES): Do not define.
2865 (__ASSUME_O_CLOEXEC): Likewise.
2866 (__ASSUME_SOCK_CLOEXEC): Likewise.
2867 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2868 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2869 0x020621].
2870 (__ASSUME_PIPE2): Likewise.
2871 (__ASSUME_EVENTFD2): Likewise.
2872 (__ASSUME_SIGNALFD4): Likewise.
2873 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2874 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2875 Do not define.
2876 (__ASSUME_EVENTFD2): Likewise.
2877 (__ASSUME_SIGNALFD4): Likewise.
2878 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2879 (__ASSUME_32BITUIDS): Likewise.
2880 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2881 (__ASSUME_IPC64): Likewise.
2882 (__ASSUME_ST_INO_64_BIT): Likewise.
2883 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2884 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2885 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2886 (__ASSUME_UTIMES): Do not define.
2887 (__ASSUME_PSELECT): Likewise.
2888 (__ASSUME_PPOLL): Likewise.
2889 (__ASSUME_O_CLOEXEC): Likewise.
2890 (__ASSUME_SOCK_CLOEXEC): Likewise.
2891 (__ASSUME_IN_NONBLOCK): Likewise.
2892 (__ASSUME_PIPE2): Likewise.
2893 (__ASSUME_EVENTFD2): Likewise.
2894 (__ASSUME_SIGNALFD4): Likewise.
2895 (__ASSUME_DUP3): Likewise.
2896 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2897 (__ASSUME_UTIMES): Likewise.
2898 (__ASSUME_O_CLOEXEC): Likewise.
2899 (__ASSUME_SOCK_CLOEXEC): Likewise.
2900 (__ASSUME_IN_NONBLOCK): Likewise.
2901 (__ASSUME_PIPE2): Likewise.
2902 (__ASSUME_EVENTFD2): Likewise.
2903 (__ASSUME_SIGNALFD4): Likewise.
2904 (__ASSUME_DUP3): Likewise.
2905 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2906 (__ASSUME_UTIMES): Likewise.
2907 (__ASSUME_O_CLOEXEC): Likewise.
2908 (__ASSUME_SOCK_CLOEXEC): Likewise.
2909 (__ASSUME_IN_NONBLOCK): Likewise.
2910 (__ASSUME_PIPE2): Likewise.
2911 (__ASSUME_EVENTFD2): Likewise.
2912 (__ASSUME_SIGNALFD4): Likewise.
2913 (__ASSUME_DUP3): Likewise.
2914 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2915 Likewise.
2916 (__ASSUME_UTIMES): Likewise.
2917 (__ASSUME_EVENTFD2): Likewise.
2918 (__ASSUME_SIGNALFD4): Likewise.
2919 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2920 (__ASSUME_O_CLOEXEC): Likewise.
2921 (__ASSUME_SOCK_CLOEXEC): Likewise.
2922 (__ASSUME_IN_NONBLOCK): Likewise.
2923 (__ASSUME_PIPE2): Likewise.
2924 (__ASSUME_EVENTFD2): Likewise.
2925 (__ASSUME_SIGNALFD4): Likewise.
2926 (__ASSUME_DUP3): Likewise.
2927 (__ASSUME_UTIMES): Undefine.
2928
5c521ecd
JM
2929 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2930 feclearexcept. Remove symbol versioning code.
2931 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2932 symbol versioning code.
2933 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2934 symbol versioning code.
2935 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2936 feupdateenv. Remove symbol versioning code.
2937 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2938 fegetexceptflag. Remove symbol versioning code.
2939 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2940 fesetexceptflag. Remove symbol versioning code.
2941 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2942 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2943 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2944 (__posix_fadvise64_l32): Remove prototype.
2945 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2946 code.
2947
5da9dfad
RM
29482014-05-13 Roland McGrath <roland@hack.frob.com>
2949
2950 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2951 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2952 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2953 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2954
893b4f37
SK
29552014-05-13 Sami Kerola <kerolasa@iki.fi>
2956
2957 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2958 current working directory
2959
e0db6517
RM
29602014-05-13 Roland McGrath <roland@hack.frob.com>
2961
58aa195d
RM
2962 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2963 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2964 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2965 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2966 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2967 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2968 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2969 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2970 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2971 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2972 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2973 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2974 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2975 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2976 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2977 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2978 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2979 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2980 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2981 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2982 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2983 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2984 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2985 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2986 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2987 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2988 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2989 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2990 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2991 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2992 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2993 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2994 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2995 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2996 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2997 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2998 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2999 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3000 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3001 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3002 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3003 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3004
8c6d01f0
RM
3005 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3006 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3007
3008 * sysdeps/unix/sysv/linux/arm/Makefile
3009 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3010 Add rt-aeabi_unwind_cpp_pr1.
3011 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3012 Add nptl-aeabi_unwind_cpp_pr1.
3013 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3014 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3015 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3016 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3017 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3018 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3019
3020 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3021 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3022 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3023 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3024
bba6da4e
RM
3025 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3026 Deconditionalize the code that was previously under [RESET_PID].
3027 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3028
e0db6517
RM
3029 * sysdeps/generic/exit-thread.h: New file.
3030 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3031 * include/unistd.h (__exit_thread): Remove declaration.
3032 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3033 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3034 * csu/libc-start.c: Include <exit-thread.h>.
3035 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3036 * nptl/pthread_create.c: Include <exit-thread.h>.
3037 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3038 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3039 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3040 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3041 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3042 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3043 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3044 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3045 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3046 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3047 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3048 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3049 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3050 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3051 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3052 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3053 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3054
01eb16fd
AS
30552014-05-13 Andreas Schwab <schwab@suse.de>
3056
3057 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3058
637461d9
JM
30592014-05-12 Joseph Myers <joseph@codesourcery.com>
3060
3061 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3062 (__ASSUME_UTIMES): Do not condition on kernel version.
3063 (__ASSUME_PSELECT): Define unconditionally.
3064 (__ASSUME_PPOLL): Likewise.
3065 (__ASSUME_ATFCTS): Likewise.
3066 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3067 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3068 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3069 (__ASSUME_UTIMENSAT): Define unconditionally.
3070 (__ASSUME_PRIVATE_FUTEX): Likewise.
3071 (__ASSUME_FALLOCATE): Likewise.
3072 (__ASSUME_O_CLOEXEC): Likewise.
3073 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3074 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3075 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3076 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3077 (__ASSUME_IN_NONBLOCK): Likewise.
3078 (__ASSUME_PIPE2): Likewise.
3079 (__ASSUME_EVENTFD2): Likewise.
3080 (__ASSUME_SIGNALFD4): Likewise.
3081 (__ASSUME_DUP3): Likewise.
3082 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3083 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3084 (__ASSUME_AT_RANDOM): Likewise.
3085 (__ASSUME_PREADV): Likewise.
3086 (__ASSUME_PWRITEV): Likewise.
3087 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3088 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3089 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3090 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3091 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3092 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3093 (__ASSUME_O_CLOEXEC): Define unconditionally.
3094 (__ASSUME_PSELECT): Do not undefine conditionally.
3095 (__ASSUME_PPOLL): Likewise.
3096 (__ASSUME_ATFCTS): Likewise.
3097 (__ASSUME_SET_ROBUST_LIST): Likewise.
3098 (__ASSUME_UTIMENSAT): Likewise.
3099 (__ASSUME_FDATASYNC): Define unconditionally.
3100 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3101 (__ASSUME_SIGFRAME_V2): Likewise.
3102 )__ASSUME_EVENTFD2): Likewise.
3103 (__ASSUME_SIGNALFD4): Likewise.
3104 (__ASSUME_PSELECT): Do not undefine conditionally.
3105 (__ASSUME_PPOLL): Likewise.
3106 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3107 (__ASSUME_PSELECT): Define unconditionally.
3108 (__ASSUME_PPOLL): Likewise.
3109 (__ASSUME_O_CLOEXEC): Likewise.
3110 (__ASSUME_SOCK_CLOEXEC): Likewise.
3111 (__ASSUME_IN_NONBLOCK): Likewise.
3112 (__ASSUME_PIPE2): Likewise.
3113 (__ASSUME_EVENTFD2): Likewise.
3114 (__ASSUME_SIGNALFD4): Likewise.
3115 (__ASSUME_DUP3): Likewise.
3116 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3117 (__ASSUME_O_CLOEXEC): Likewise.
3118 (__ASSUME_SOCK_CLOEXEC): Likewise.
3119 (__ASSUME_IN_NONBLOCK): Likewise.
3120 (__ASSUME_PIPE2): Likewise.
3121 (__ASSUME_EVENTFD2): Likewise.
3122 (__ASSUME_SIGNALFD4): Likewise.
3123 (__ASSUME_DUP3): Likewise.
3124 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3125 (__ASSUME_EVENTFD2): Likewise.
3126 (__ASSUME_SIGNALFD4): Likewise.
3127 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3128
315eb1d8
AS
31292014-05-12 Andreas Schwab <schwab@suse.de>
3130
3131 [BZ #16932]
3132 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3133 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3134 than maximum RPC packet size.
3135 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3136 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3137 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3138 (_nss_nis_getservbyport_r): Likewise.
3139
91df99f7
WN
31402014-05-12 Will Newton <will.newton@linaro.org>
3141
3142 * malloc/Makefile (tests): Add tst-mallopt.
3143 * malloc/tst-mallopt.c: New file.
3144
0a982a29
RM
31452014-05-09 Roland McGrath <roland@hack.frob.com>
3146
3147 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3148 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3149
0ded08a5
AZ
31502014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3151
3152 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3153 (tst-tlsmod6.so): Likewise.
3154
55d4d550
RM
31552014-05-09 Roland McGrath <roland@hack.frob.com>
3156
3157 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3158
77d08aca
JM
31592014-05-09 Joseph Myers <joseph@codesourcery.com>
3160
3161 [BZ #16064]
3162 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3163 and <dl-procinfo.h>.
3164 (__fegetenv): Save SSE state in envp->__eip if supported.
3165 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3166 envp->__eip if supported.
3167 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3168 and <dl-procinfo.h>.
3169 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3170 __data_offset and __data_selector in environment to 0. Set SSE
3171 state if supported.
3172 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3173 test-fenv-sse.
3174 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3175 -mfpmath=sse.
3176 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3177
28162f4d
WN
31782014-05-09 Will Newton <will.newton@linaro.org>
3179
3180 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3181 and libc_relro_required for ARM.
3182 * sysdeps/arm/preconfigure: Regenerate.
3183
5a414ff7
DV
31842014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3185 Stefan Liebler <stli@linux.vnet.ibm.com>
3186
3187 * config.make.in (enable-lock-elision): New Makefile variable.
3188 * configure.ac: Likewise.
3189 * configure: Regenerate.
3190 * sysdeps/s390/configure.ac:
3191 Add check for gcc transactions support.
3192 * sysdeps/s390/configure: Regenerate.
3193 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3194 Build elision files if enabled.
3195 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3196 Add lock elision support for s390.
3197 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3198 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3199 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3200 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3201 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3202 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3203 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3204 Likewise.
3205 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3206 Likewise.
3207 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3208 Likewise.
3209 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3210 Likewise.
3211 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3212 (__lll_timedlock_elision, __lll_lock_elision)
3213 (__lll_unlock_elision, __lll_trylock_elision)
3214 (lll_timedlock_elision, lll_lock_elision)
3215 (lll_unlock_elision, lll_trylock_elision): Add.
3216 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3217 (pthread_mutex_t): Add lock elision support for s390.
3218
1a2f40e5
W
32192014-05-14 Wilco <wdijkstr@arm.com>
3220
3221 * sysdeps/arm/fclrexcpt.c: Cleanup.
3222 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3223 * sysdeps/arm/feenablxcpt.c: Cleanup.
3224 * sysdeps/arm/fegetenv.c: Cleanup.
3225 * sysdeps/arm/fegetexcept.c: Cleanup.
3226 * sysdeps/arm/fegetround.c: Cleanup.
3227 * sysdeps/arm/feholdexcpt.c: Cleanup.
3228 * sysdeps/arm/fesetenv.c: Cleanup.
3229 * sysdeps/arm/fesetround.c: Cleanup.
3230 * sysdeps/arm/feupdateenv.c: Cleanup.
3231 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3232 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3233 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3234 * sysdeps/arm/ftestexcept.c: Cleanup.
3235 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3236 * sysdeps/arm/setfpucw.c: Cleanup.
3237
f63c86fe
WN
32382014-05-09 Will Newton <will.newton@linaro.org>
3239
3240 * sysdeps/arm/armv7/strcmp.S: New file.
3241 * NEWS: Mention addition of ARMv7 optimized strcmp.
3242
7a1a51b5
RM
32432014-05-08 Roland McGrath <roland@hack.frob.com>
3244
95afbbe5
RM
3245 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3246 look for %.ac rather than %.in.
3247
3248 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3249 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3250 * sysdeps/mach/hurd/configure: Regenerated.
3251 * sysdeps/unix/sysv/linux/configure: Regenerated.
3252
7a1a51b5
RM
3253 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3254
5057ad3b
SE
32552014-05-07 Steve Ellcey <sellcey@mips.com>
3256
3257 [BZ# 16922]
3258 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3259 (LONG_SUB): Ditto.
3260 (PTR_SUB): Ditto.
3261
8dc97517
AS
32622014-05-07 Andreas Schwab <schwab@suse.de>
3263
3264 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3265 when skipping over non-matching result from nscd.
3266
ce0c5b8f
OB
32672014-05-07 Ondřej Bílka <neleai@seznam.cz>
3268
3269 [BZ #16876]
3270 * nptl/sockperf.c (client): Check socket return value.
8dc97517 3271
a1189263
OB
3272 [BZ #16877]
3273 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3274 nscd security class.
ce0c5b8f 3275
0f58d252
RM
32762014-05-06 Roland McGrath <roland@hack.frob.com>
3277
3278 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3279 * sysdeps/arm/unwind.h: ... here.
3280
83df9ad0
AJ
32812014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3282
ce0c5b8f
OB
3283 [BZ# 16916]
3284 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3285 Define.
83df9ad0 3286
f360f94a
VR
32872014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3288
3289 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3290 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3291 multiarch strncpy for PPC64.
3292 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3293 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3295 multiarch optimizations.
3296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3297 (__libc_ifunc_impl_list): Likewise.
3298 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3299 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3300 multiarch stpncpy for PPC64.
3301 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3302 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3303
978a41c3
AS
33042014-05-06 Andreas Schwab <schwab@suse.de>
3305
3306 [BZ #16912]
3307 * gmon/mcount.c (_MCOUNT_DECL): Use
3308 atomic_compare_and_exchange_bool_acq instead of
3309 catomic_compare_and_exchange_bool_acq.
3310
eb1ed03d
RM
33112014-05-05 Roland McGrath <roland@hack.frob.com>
3312
fe658845
RM
3313 * elf/Makefile (others, install-bin): Remove pldd.
3314 (pldd-modules): Variable removed.
3315 ($(objpfx)pldd): Target removed.
3316 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3317 (others, install-bin): Append pldd here.
3318 ($(objpfx)pldd): New target.
3319
eb1ed03d
RM
3320 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3321 to 0, so the first #if test emitted later doesn't see it undefined.
3322 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3323 * sysdeps/gnu/errlist.c: Regenerated.
3324
19c4bec0
AZ
33252014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3326
3327 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3328 [libc_hidden_builtin_def]: Define to empty value.
3329 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3330 [libc_hidden_builtin_def]: Likewise.
3331 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3332 [libc_hidden_builtin_def]: Likewise.
3333 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3334 [libc_hidden_builtin_def]: Likewise.
3335 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3336 __redirect_memcpy and define ifunc as default hidden symbol.
3337 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3338 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3339
7776e669
AC
33402014-05-04 Adam Conrad <adconrad@0c3.net>
3341
3342 * locale/iso-4217.def: Reintroduce XDR currency.
3343
d69aeb12
AM
33442014-05-04 Allan McRae <allan@archlinux.org>
3345
3346 * po/eo.po: Update Esperanto translation from translation project.
3347
8f1df5cf
CD
33482014-05-02 Carlos O'Donell <carlos@redhat.com>
3349
3350 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3351 and FEATURE_INDEX_MAX to 1.
3352 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3353
13e402e7
SE
33542014-05-01 Steve Ellcey <sellcey@mips.com>
3355
3356 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3357 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3358 * iconvdata/big5.c (ONE_DIRECTION): Define.
3359 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3360 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3361 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3362 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3363 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3364 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3365 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3366 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3367 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3368 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3369 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3370 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3371 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3372 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3373 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3374 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3375 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3376 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3377 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3378 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3379 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3380 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3381 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3382 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3383 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3384 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3385 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3386 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3387 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3388 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3389 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3390 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3391 * iconvdata/johab.c (ONE_DIRECTION): Define.
3392 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3393 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3394 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3395 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3396 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3397 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3398 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3399 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3400 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3401 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3402
c727f032
RM
34032014-05-01 Roland McGrath <roland@hack.frob.com>
3404
8f2f08d0
RM
3405 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3406 (_IO_JUMPS_OFFSET): Define to 0.
3407
c727f032
RM
3408 * nptl/sysdeps/pthread/bits/libc-lock.h
3409 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3410 (__libc_lock_define_initialized_recursive): Always define using
3411 initializer. Modern compilers treat uninitialized (implicit zero) and
3412 explicit zero initializers the same (i.e. put the datum in bss).
3413
a849e800
AS
34142014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3415
3416 * nscd/nscd-client.h: Include <string.h>.
3417
5331255b
DM
34182014-05-01 David S. Miller <davem@davemloft.net>
3419
3420 [BZ #16885]
3421 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3422 multiple zero bytes exist at the end of a string.
3423 Reported by Aurelien Jarno <aurelien@aurel32.net>
3424
3425 * string/test-strcmp.c (check): Add explicit test for situations where
3426 there are multiple zero bytes after the first.
3427
4fdfe821
AS
34282014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3429
3430 [BZ #16890]
3431 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3432 when compiling wprintf.
3433 * stdio-common/tstdiomisc.c (t3): New function.
3434 (main): Call it.
3435
0cdddc25
SE
34362014-05-01 Steve Ellcey <sellcey@mips.com>
3437
3438 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3439 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3440 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3441 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3442
6426d77e
SE
34432014-05-01 Steve Ellcey <sellcey@mips.com>
3444
3445 * stdlib/longlong.h: Updated from GCC.
3446
6d96f5e4
WN
34472014-05-01 Will Newton <will.newton@linaro.org>
3448 Bernard Ogden <bernie.ogden@linaro.org>
3449
7470db0c
WN
3450 * NEWS: Update fixed bug list.
3451
6d96f5e4
WN
3452 [BZ #15119]
3453 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3454
211d653c
DM
34552014-04-30 David S. Miller <davem@davemloft.net>
3456
4fa262fa
DM
3457 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3458 (libc_feholdexcept_setround_sparc_ctx): New function.
3459 (libc_fesetenv_sparc_ctx): Likewise.
3460 (libc_feupdateenv_sparc_ctx): Likewise.
3461 (libc_feholdsetround_sparc_ctx): Likewise.
3462 (libc_feholdexcept_setround_ctx): Define.
3463 (libc_feholdexcept_setroundf_ctx): Likewise.
3464 (libc_feholdexcept_setroundl_ctx): Likewise.
3465 (libc_fesetenv_ctx): Likewise.
3466 (libc_fesetenvf_ctx): Likewise.
3467 (libc_fesetenvl_ctx): Likewise.
3468 (libc_feupdateenv_ctx): Likewise.
3469 (libc_feupdateenvf_ctx): Likewise.
3470 (libc_feupdateenvl_ctx): Likewise.
3471 (libc_feresetround_ctx): Likewise.
3472 (libc_feresetroundf_ctx): Likewise.
3473 (libc_feresetroundl_ctx): Likewise.
3474 (libc_feholdsetround_ctx): Likewise.
3475 (libc_feholdsetroundf_ctx): Likewise.
3476 (libc_feholdsetroundl_ctx): Likewise.
3477
1d3d93ef
DM
3478 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3479 with __USE_GNU instead of XOPEN cpp guards.
3480
8aa583c3
DM
3481 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3482 0.
3483
211d653c
DM
3484 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3485 with XOPEN cpp guards.
3486
60c8f1f6
JB
34872014-04-30 Julian Brown <julian@codesourcery.com>
3488
3489 [BZ #16888]
3490 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3491 handling.
3492
9a461d46
JM
34932014-04-30 Joseph Myers <joseph@codesourcery.com>
3494
d0f5b3f8
JM
3495 [BZ #9894]
3496 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3497 Change to 2.6.32.
3498 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3499 * sysdeps/unix/sysv/linux/configure: Regenerated.
3500 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3501 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3502 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3503 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3504 * README: Update reference to required Linux kernel version.
3505 * manual/install.texi (Linux): Update reference to required Linux
3506 kernel headers version.
3507 * INSTALL: Regenerated.
3508
9a461d46
JM
3509 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3510 header inclusion.
3511 [POSIX] (limits.h): Likewise.
3512 [POSIX] (math.h): Likewise.
3513 [POSIX] (sys/wait.h): Likewise.
3514 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3515 function.
3516 [POSIX] (stddef.h): Do not allow header inclusion.
3517
1775babf
AZ
35182014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3519
57f41c40 3520 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 3521
8f630cca
YY
35222014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3523
3524 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3525 Return immediately after lll_futex_wake.
3526
1cdeb237
SP
35272014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3528
bc8f194c
SP
3529 [BZ #16791]
3530 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3531 structure.
3532 (datahead_init_pos): Call datahead_init_common early.
3533 (datahead_init_neg): Likewise.
3534
1cdeb237
SP
3535 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3536 datahead_init_neg): New functions.
3537 * nscd/aicache.c (addhstaiX): Use them.
3538 * nscd/grpcache.c (cache_addgr): Likewise.
3539 * nscd/hstcache.c (cache_addhst): Likewise.
3540 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3541 * nscd/netgroupcache.c (do_notfound): Likewise.
3542 (addgetnetgrentX): Likewise.
3543 (addinnetgrX): Likewise.
3544 * nscd/pwdcache.c (cache_addpw): Likewise.
3545 * nscd/servicescache.c (cache_addserv): Likewise.
3546
16b293a7
SP
35472014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3548 Atsushi Onoe <atsushi@onoe.org>
3549
3550 [BZ #14308]
3551 [BZ #12994]
3552 [BZ #13651]
3553 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3554 one response is valid.
3555 * resolv/res_send.c (send_dg): Check for validity of other
3556 response if the current response is a referral.
3557
a28a9b94
SE
35582014-04-29 Steve Ellcey <sellcey@mips.com>
3559
3560 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3561
2ca180e9
SL
35622014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3563
3564 [BZ #16823]
3565 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3566 Always divide by positive zero when computing -Inf result.
3567 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3568 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3569
18f2945a
AZ
35702014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3571
3572 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3573 FPSCR if value do not change.
3574 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3575 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3576 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3577 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3578 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3579 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3580 function.
3581
5abebba4
CD
35822014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3583
3584 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3585 * sysdeps/unix/sysv/linux/hppa: Move directory from
3586 ports/systeps/unix/sysv/linux/hppa.
3587 * README: Update listing for hppa-*-linux-gnu.
3588
f7ed60c2
OB
35892014-04-28 Ondřej Bílka <neleai@seznam.cz>
3590
fff763a5
OB
3591 [BZ #16754]
3592 * manual/stdio.texi (Hook functions): Fix types of stream hook
3593 functions.
f7ed60c2
OB
3594 [BZ #16854]
3595 * socket/sys/socket.h: Fix typo in comment.
3596
df639d73
WD
35972014-04-28 Wilco <wdijkstr@arm.com>
3598
f7ed60c2 3599 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
3600 * sysdeps/arm/math_private.h: New file.
3601 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3602
48332d82
L
36032014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3604
3605 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3606 with __int128_t.
3607 (La_x86_64_retval): Likewise.
3608
e5e0d9a4
IB
36092014-04-24 Ian Bolton <ian.bolton@arm.com>
3610
3611 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3612 fpsr if value didn't change.
3613 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3614 to fpcr if value didn't change.
3615 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3616 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3617 fpsr or fpcr if value didn't change.
3618 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3619 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3620 fpcr if value didn't change.
3621 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3622 to fpsr if value didn't change.
3623
bacc75f7
SP
36242014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3625
3626 * nptl/tst-sem3.c: Use test-skeleton.c
3627 (main): Rename to do_test. Use return instead of
3628 exit.
3629 * nptl/tst-sem4.c: Use test-skeleton.c
3630 (main): Rename to do_test.
3631
a059d359
DM
36322014-04-22 David S. Miller <davem@davemloft.net>
3633
3634 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3635 (struct sigaction): New struct member __glibc_reserved0, change
3636 type of sa_flags to int.
3637
ea6c92f3
YZ
36382014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3639
3640 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3641 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3642
766c4a36
SP
36432014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3644
3645 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3646 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3647
140cc7ab
VK
36482014-04-22 Will Newton <will.newton@linaro.org>
3649 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3650
3651 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3652 (__longjmp): Add longjmp and longjmp_target SystemTap
3653 probes.
3654 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3655 (__sigsetjmp): Add setjmp SystemTap probe.
3656
c54e5cf7
CD
36572014-04-17 Carlos O'Donell <carlos@redhat.com>
3658
3659 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3660 match manual order.
3661
75ffb047
AZ
36622014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3663
3664 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3665
2cd925f7
AZ
3666 * sysdeps/powerpc/fpu/fenv_private.h
3667 (libc_feholdexcept_setroundl_ctx): Define to
3668 libc_feholdexcept_setround_ppc_ctx.
3669 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3670 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3671 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3672 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3673
39e6cd8d
IB
36742014-04-17 Ian Bolton <ian.bolton@arm.com>
3675
3676 * sysdeps/aarch64/math-tests.h: New file.
3677
f9281df9
SY
36782014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3679
3680 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3681 New.
3682 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3683 Check and set bit_AVX2_Usable.
3684 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3685 macro.
3686 (bit_AVX2): Likewise.
3687 (index_AVX2_Usable): Likewise.
3688 (CPUID_AVX2): Likewise.
3689 (HAS_AVX2): Likewise.
3690
37d35007
WN
36912014-04-17 Will Newton <will.newton@linaro.org>
3692
7c677662
WN
3693 * manual/setjmp.texi (System V contexts): Add note that
3694 calling setcontext on a context created by a call to a
3695 signal handler is undefined. Update text to note that
3696 setcontext from a signal handler is possible but not
3697 recommended.
3698
37d35007 3699 [BZ #16629]
e04a4e9d
WN
3700 * stdlib/tst-setcontext.c: Include signal.h.
3701 (main): Check that the signal stack before and
3702 after swapcontext is the same.
3703
37d35007
WN
3704 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3705 Re-implement to restore registers in user code and avoid
3706 rt_sigreturn system call.
3707
423a7160
W
37082014-04-17 Wilco <wdijkstr@arm.com>
3709
3710 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3711 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3712 * math/test-fenv.c: Skip exception trap tests on targets which only
3713 support non-stop mode.
3714
bc93ab29
IB
37152014-04-17 Ian Bolton <ian.bolton@arm.com>
3716 Wilco Dijkstra <wilco.dijkstra@arm.com>
3717
3718 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3719 (libc_feholdsetround_aarch64_ctx)
3720 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3721 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3722 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3723 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3724 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3725 (libc_feresetround_noexl_ctx): Define.
3726
95fc5fa3
RH
37272014-04-16 Richard Henderson <rth@redhat.com>
3728
ddb04724
RH
3729 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3730
d77c0899
RH
3731 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3732 unwind tables.
3733
a3df56fc
RH
3734 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3735 const from the non-libc, non-ldso copy.
3736
95fc5fa3
RH
3737 * sysdeps/alpha/libm-test-ulps: Regenerate.
3738
7e0b6763
IB
37392014-04-16 Ian Bolton <ian.bolton@arm.com>
3740 Wilco Dijkstra <wilco.dijkstra@arm.com>
3741
3742 * sysdeps/aarch64/fpu/math_private.h: New file.
3743
a9ea2e0c
MS
37442014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3745
3746 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3747
ea8ba7cd
IZ
37482014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3749
3750 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3751 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3752 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3753 Intel MPX bound registers before _dl_profile_fixup.
3754 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3755 registers after _dl_profile_fixup. Save and restore bound
3756 registers bnd0/bnd1 when calling _dl_call_pltexit.
3757 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3758 (LR_BND_OFFSET): Likewise.
3759 (LRV_BND0_OFFSET): Likewise.
3760 (LRV_BND1_OFFSET): Likewise.
3761
9f2a4fbc
ST
37622014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3763
3764 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3765 to...
3766 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
3767 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3768 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3769 fields.
9f2a4fbc 3770
fd15a59b
ST
37712014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3772
3773 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3774
f19dfa0a
SL
37752014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3776
3777 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3778
4fa8bc3b
SL
37792014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3780
3781 [BZ #14770]
3782 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3783 * sysdeps/s390/configure: Regenerate.
3784
8ea587db
SL
3785 [BZ #16824]
3786 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3787 Set round-to-nearest internally to reduce error accumulation.
3788
aa5f0ff1
AM
37892014-04-16 Alan Modra <amodra@gmail.com>
3790
3791 [BZ #16740]
3792 [BZ #16619]
3793 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3794 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 3795 * NEWS: Update fixed bug list.
aa5f0ff1 3796
bb9c256f
SP
37972014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3798
3799 * benchtests/Makefile: Depend on libraries in build directory.
3800 (bench-math): Separate out math tests.
3801 (bench-pthread): Separate out pthread tests.
3802 (bench): Include math and pthread tests.
3803
f737dfd0
CD
38042014-04-14 Carlos O'Donell <carlos@redhat.com>
3805
3806 [BZ #16831]
3807 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3808 _dl_debug_initialize.
3809
0699f766
CD
3810 * configure.ac: Remove SELinux header check.
3811 * configure: Regenerate.
3812 * nscd/selinux.c (perms): Array of const char* to permission names.
3813 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3814 default policy. Call string_to_security_class and string_to_av_perm to
3815 translate strings. Enforce default policy and call avs_has_perm with
3816 results of translated strings.
3817
809bd45f
DM
38182014-04-13 David S. Miller <davem@davemloft.net>
3819
3820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3821
89e691f2
AM
38222014-04-12 Allan McRae <allan@archlinux.org>
3823
3824 [BZ #16838]
3825 * manual/string.texi (Collation Functions): Fix qsort argument
3826 order in example.
3827 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3828
9c9daaeb
CM
38292014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3830
3831 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3832 Make the test a no-op if there are no exceptions defined.
3833
95561fb9
PP
38342014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3835
fe8d072c 3836 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
3837 enable-hardcoded-path-in-tests
3838
970c602a
WN
38392014-04-11 Will Newton <will.newton@linaro.org>
3840
3841 * benchtests/Makefile (extra-objs): Add json-lib.o.
3842 (bench-func): Tidy up JSON output.
3843 * benchtests/bench-skeleton.c: Include json-lib.h.
3844 (main): Use JSON library functions to do output of
3845 benchmark results.
3846 * benchtests/bench-timing-type.c (main): Output the
3847 timing type simply, leaving formatting to the user.
3848 * benchtests/json-lib.c: New file.
3849 * benchtests/json-lib.h: Likewise.
3850
36875b06
TR
38512014-04-11 Torvald Riegel <triegel@redhat.com>
3852
3853 [BZ #15215]
3854 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3855 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3856 memory barriers. Add comments.
3857 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3858 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3859 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3860 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3861 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3862 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3863
579db35a
SL
38642014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3865
3866 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3867 * sysdeps/s390/s390-64/configure.ac: ... this ...
3868 * sysdeps/s390/configure.ac: ... to here.
3869 * sysdeps/s390/s390-32/configure: Delete file.
3870 * sysdeps/s390/s390-64/configure: Delete file.
3871 * sysdeps/s390/configure: Regenerate.
3872
c12e9f37
JAPH
38732014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3874
3875 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3876
439bda32
WN
38772014-04-11 Will Newton <will.newton@linaro.org>
3878
3879 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3880 to zero if it is not defined elsewhere. (mtrim): Test
3881 the value of MALLOC_DEBUG with #if rather than #ifdef.
3882
6a5d6ea1
TR
38832014-04-10 Torvald Riegel <triegel@redhat.com>
3884
3885 * benchtests/pthread_once-inputs: New file.
3886 * benchtests/pthread_once-source.c: New file.
3887 * benchtests/README: Update documentation.
3888
a4c75cfd
IZ
38892014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3890 H.J. Lu <hongjiu.lu@intel.com>
3891
3892 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3893 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3894 * sysdeps/x86_64/configure: Regenerated.
3895 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3896 macro.
3897 (REGISTER_SAVE_RAX): Likewise.
3898 (REGISTER_SAVE_RCX): Likewise.
3899 (REGISTER_SAVE_RDX): Likewise.
3900 (REGISTER_SAVE_RSI): Likewise.
3901 (REGISTER_SAVE_RDI): Likewise.
3902 (REGISTER_SAVE_R8): Likewise.
3903 (REGISTER_SAVE_R9): Likewise.
3904 (REGISTER_SAVE_BND0): Likewise.
3905 (REGISTER_SAVE_BND1): Likewise.
3906 (REGISTER_SAVE_BND2): Likewise.
3907 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3908 bound registers when calling _dl_fixup.
3909
27822ce6
AZ
39102014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3911
3912 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
3913 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3914 of its definition.
27822ce6
AZ
3915 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3916 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3917 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3918 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3919 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3920 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3921 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3922
a88ddc90
PTB
39232014-04-09 Peter Brett <peter@peter-b.co.uk>
3924
3925 [BZ #15514]
3926 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3927 pathconf(_PC_NAME_MAX).
3928
01f8eac2
AZ
39292014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3930
3931 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3932 Remove macro usage.
3933 (__PTHREAD_SPINS): Move definition to ...
3934 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3935 (__PTHREAD_SPINS): ... here.
3936 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3937 (__PTHREAD_SPIN): Likewise.
3938 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3939 (__PTHREAD_SPIN): Likewise.
3940 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3941 (__PTHREAD_SPIN): Likewise.
3942 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3943 (__PTHREAD_SPIN): Likewise.
3944 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3945 (__PTHREAD_SPIN): Likewise.
3946 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3947 (__PTHREAD_SPIN): Likewise.
3948 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3949 (__PTHREAD_SPIN): Likewise.
3950 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3951 (__PTHREAD_SPIN): Likewise.
3952 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3953 (__PTHREAD_SPIN): Likewise.
3954 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3955 (__PTHREAD_SPIN): Likewise.
3956 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3957 (__PTHREAD_SPIN): Likewise.
3958 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3959 (__PTHREAD_SPIN): Likewise.
3960
de21c33c
AZ
3961 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3962 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3963 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3964 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3965 imply folder.
3966 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3967 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3968 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3969 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3970 correct imply path.
3971 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3972 strlen symbol for non multi-arch builds.
3973 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3974 missing hidden_def and weak_alias.
3975
862c472e
CD
39762014-04-08 Carlos O'Donell <carlos@redhat.com>
3977
3978 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3979
8667f90e
WN
39802014-04-07 Will Newton <will.newton@linaro.org>
3981
3982 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3983 and contents. [!_LIBC] Remove #ifndef and contents.
3984 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3985 * string/memccpy.c (__memccpy): Use ANSI prototype.
3986 * string/memfrob.c (memfrob): Likewise.
3987 * string/strcoll.c (STRCOLL): Likewise.
3988 * string/strlen.c (strlen): Likewise.
3989 * string/strtok.c (STRTOK): Likewise.
3990 * string/strcat.c: Remove unused #include of memcopy.h.
3991 (strcat): Use ANSI prototype.
3992 * string/strchr.c: Remove unused #include of memcopy.h.
3993 (strchr): Use ANSI prototype.
3994 * string/strcmp.c: Remove unused #include of memcopy.h.
3995 (strcmp): Use ANSI prototype.
3996 * string/strcpy.c: Remove unused #include of memcopy.h.
3997 (strcpy): Use ANSI prototype.
3998
7ffa9423
AZ
39992014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4000
4001 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4002 * config.make.in (config-extra-cppflags): Set it from
4003 libc_extra_cppflags.
4004 * configure.ac (libc_extra_cflags): Make it accumulate over
4005 configure fragments.
4006 (libc_extra_cppflags): New flag.
4007 * configure. Regenerate.
4008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
4009 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4010 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
4011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4012
8bd70862
AZ
4013 [BZ #16815]
4014 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4015 result for FE_DOWNWARD rounding mode.
4016 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4017 Likewise.
4018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4019
d42f3448
CM
40202014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4021
4022 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4023 in function argument name.
4024
1c21d115
DS
40252014-04-03 David Svoboda <svoboda@cert.org>
4026
4027 [BZ #5666]
4028 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4029 explicitly.
4030
fcccd512
RM
40312014-04-03 Roland McGrath <roland@hack.frob.com>
4032
4033 * elf/dl-unmap-segments.h: New file.
4034 * sysdeps/generic/ldsodefs.h
4035 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4036 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4037 * elf/dl-fptr.c: Likewise.
4038 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4039 * sysdeps/aarch64/tlsdesc.c: Likewise.
4040 * sysdeps/arm/tlsdesc.c: Likewise.
4041 * sysdeps/i386/tlsdesc.c: Likewise.
4042 * sysdeps/tile/dl-runtime.c: Likewise.
4043 * sysdeps/x86_64/tlsdesc.c: Likewise.
4044 * elf/dl-load.h: New file.
4045 * elf/dl-load.c: Include it.
4046 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4047 Macros moved to dl-load.h.
4048 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4049 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4050 Use _dl_unmap_segments in place of __munmap.
4051 Break out segment-mapping loop into ...
4052 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4053
f6488e2b
WN
40542014-04-03 Will Newton <will.newton@linaro.org>
4055
4056 * elf/dl-lookup.c (do_lookup_x): Remove comment
4057 referring to nested function and move variable
4058 declarations down to before first use.
4059
6f05bafe
JM
40602014-04-02 Joseph Myers <joseph@codesourcery.com>
4061
a84e78c8
JM
4062 [BZ #16799]
4063 [BZ #16800]
4064 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4065 with 0 numerator.
4066 * math/s_catanf.c (__catanf): Likewise.
4067 * math/s_catanh.c (__catanh): Likewise.
4068 * math/s_catanhf.c (__catanhf): Likewise.
4069 * math/s_catanhl.c (__catanhl): Likewise.
4070 * math/s_catanl.c (__catanl): Likewise.
4071 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4072 by positive zero when computing -Inf result.
4073 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4074 (catanh_test): Likewise.
4075 * sysdeps/i386/fpu/libm-test-ulps: Update.
4076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4077
6f05bafe
JM
4078 [BZ #16789]
4079 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4080 instead of using underflowing value in computing result.
4081 * math/s_clog10.c (__clog10): Likewise.
4082 * math/s_clog10f.c (__clog10f): Likewise.
4083 * math/s_clog10l.c (__clog10l): Likewise.
4084 * math/s_clogf.c (__clogf): Likewise.
4085 * math/s_clogl.c (__clogl): Likewise.
4086 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4087 (clog10_test): Likewise.
4088 * sysdeps/i386/fpu/libm-test-ulps: Update.
4089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4090
b0abbc21
AM
40912014-04-02 Alan Modra <amodra@gmail.com>
4092
4093 [BZ #16739]
4094 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4095 output when value is near a power of two. Use int64_t for lx and
4096 remove casts. Use decimal rather than hex exponent constants.
4097 Don't use long double multiplication when double will suffice.
4098 * math/libm-test.inc (nextafter_test_data): Add tests.
4099 * NEWS: Add 16739 and 16786 to bug list.
4100
af6b1797
AM
4101 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4102
483818d7
AM
4103 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4104
f6c55796
WN
41052014-04-01 Will Newton <will.newton@linaro.org>
4106
4107 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4108 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4109
13f7fe35
FW
41102014-04-01 Florian Weimer <fweimer@redhat.com>
4111
4112 [BZ #13347]
4113 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4114 * nptl/tst-setuid2.c: New file.
4115 * nptl/Makefile (xtests): Add tst-setuid2.
4116
c859b32e
AM
41172014-04-01 Alan Modra <amodra@gmail.com>
4118
4119 [BZ #16786]
4120 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4121
54fa2475
JM
41222014-03-31 Joseph Myers <joseph@codesourcery.com>
4123
8795b4a4
JM
4124 [BZ #6803]
4125 [BZ #6804]
4126 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4127 set errno as appropriate.
4128 * math/w_scalbf.c (__scalbf): Likewise.
4129 * math/w_scalbl.c (__scalbl): Likewise.
4130 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4131 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4132 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4133 Add more NaN tests.
4134
54fa2475
JM
4135 [BZ #16349]
4136 * math/w_atan2.c: Include <errno.h>.
4137 (__atan2): Set errno for result underflowing to zero.
4138 * math/w_atan2f.c: Include <errno.h>.
4139 (__atan2f): Set errno for result underflowing to zero.
4140 * math/w_atan2l.c: Include <errno.h>.
4141 (__atan2l): Set errno for result underflowing to zero.
4142 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4143 tests.
4144 * math/auto-libm-test-out: Regenerated.
4145
757d9dd5
AZ
41462014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4147
4148 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4149 Encode instruction correctly in little endian.
4150 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4151 Likewise.
4152 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4153 Likewise.
4154 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4155 Likewise.
4156 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4157 Likewise.
4158
d7a68734
JM
41592014-03-31 Joseph Myers <joseph@codesourcery.com>
4160
47c5adeb
JM
4161 [BZ #9894]
4162 * sysdeps/unix/sysv/linux/kernel-features.h
4163 [__sparc__ && !__arch64__ && !__sparc_v9__]
4164 (__ASSUME_SET_ROBUST_LIST): Do not define.
4165 [__sparc__ && !__arch64__ && !__sparc_v9__]
4166 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4167 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4168 Likewise.
4169 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4170 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4171 (__ASSUME_REQUEUE_PI): Likewise.
4172 (__ASSUME_SET_ROBUST_LIST): Likewise.
4173 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4174 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4175 Undefine.
4176 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4177 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4178 Likewise.
4179 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4180 Likewise.
4181 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4182 Likewise.
4183 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4184 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4185 Undefine.
4186 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4187 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4188 Likewise.
4189
d7a68734
JM
4190 [BZ #16648]
4191 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4192 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4193 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4194
c760f5c2
WN
41952014-03-31 Will Newton <will.newton@linaro.org>
4196
4197 * benchtests/Makefile (bench): Add ffs and ffsll to list
4198 of tests.
4199 * benchtests/ffs-inputs: New file.
4200 * benchtests/ffsll-inputs: Likewise.
4201
ea6029b1
JM
42022014-03-29 Joseph Myers <joseph@codesourcery.com>
4203
4204 [BZ #16770]
4205 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4206 too large before casting to int.
4207 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4208 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4209 * math/libm-test.inc (scalb_test_data): Add more tests.
4210
cf806aff
SP
42112014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4212
56737508
SP
4213 * benchtests/Makefile (DETAILED_OPT): New make option.
4214 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4215 set.
4216 * benchtests/bench-skeleton.c: Include stdbool.h.
4217 (main): Store and print timings per input.
4218 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4219 member to each argument value.
4220 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4221 (_print_arg_data): Initialize per-input timing to 0.
4222
cb5e4aad
SP
4223 * benchtests/Makefile (timing-type): New binary.
4224 (bench-clean): Also remove bench-timing-type.
4225 (bench): New target for timing-type.
4226 (bench-func): Print output in JSON format.
4227 * benchtests/bench-skeleton.c (main): Print output in JSON
4228 format.
4229 * benchtests/bench-timing-type.c: New file.
4230 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4231 (TIMING_PRINT_STATS): Remove.
4232 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4233 name separately.
4234
cf806aff
SP
4235 * benchtests/bench-modf.c: Remove.
4236 * benchtests/modf-inputs: New inputs file.
4237
289e0779
JM
42382014-03-28 Joseph Myers <joseph@codesourcery.com>
4239
4240 [BZ #16362]
4241 * math/s_clog10.c (M_PI_LOG10E): New macro.
4242 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4243 imaginary parts are 0.
4244 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4245 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4246 imaginary parts are 0.
4247 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4248 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4249 imaginary parts are 0.
4250 * math/libm-test.inc (clog10_test_data): Update expected results
4251 for when real and imaginary parts are 0.
4252
277ae3f1
PP
42532014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4254
4255 * elf/dl-load.c: Finish conversion of __builtin_expect into
4256 __glibc_{un}likely.
4257
03a7091f
JM
42582014-03-27 Joseph Myers <joseph@codesourcery.com>
4259
4260 [BZ #16348]
4261 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4262 1+x for argument with exponent below -67.
4263 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4264 Likewise.
4265 * math/auto-libm-test-in: Add more tests of exp.
4266 * math/auto-libm-test-out: Regenerated.
4267
ea7d8b95
SP
42682014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4269
dd3022d7
SP
4270 [BZ #16759]
4271 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4272 (nscd_getnetgrent): Use it.
4273
ea7d8b95
SP
4274 [BZ #16760]
4275 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4276 of stpcpy.
4277
df5b85da
AK
42782014-03-27 Andi Kleen <ak@linux.intel.com>
4279
57f41c40
AS
4280 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4281 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4282 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4283 (lll_robust_unlock): Remove out of line section. Use cfi
4284 intrinsics.
df5b85da 4285 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
4286 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4287 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4288 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4289 (lll_robust_unlock): Remove out of line section. Use cfi
4290 intrinsics.
df5b85da
AK
4291 (LLL_STUB_UNWIND_INFO*): Remove.
4292
fbd6b5a4
SP
42932014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4294
4295 [BZ #16758]
4296 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4297 blank values.
4298
1b26b855
PP
42992014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4300
4301 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4302
9be36fb8
JM
43032014-03-26 Joseph Myers <joseph@codesourcery.com>
4304
4305 [BZ #16198]
4306 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4307 fnstenv.
4308 * math/test-fenv-preserve.c: New file.
4309 * math/Makefile (tests): Add test-fenv-preserve.
4310
60a2f3c1
WN
43112014-03-26 Will Newton <will.newton@linaro.org>
4312
4313 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4314
a5e5f1e2
RM
43152014-03-25 Roland McGrath <roland@hack.frob.com>
4316
4317 * scripts/versionlist.awk: Partition the version sets and emit all
4318 GLIBC_* (sorted) before all others (sorted).
4319
00f4012a
JM
43202014-03-25 Joseph Myers <joseph@codesourcery.com>
4321
4322 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4323 GLIBC_2.2.5 version.
4324
7bc5a741
AZ
43252014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4326
4327 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4328 calls.
4329
7578473b
AZ
4330 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4331 previous change.
4332
f3f1dab3
AZ
4333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4334
6da36183
AS
43352014-03-25 Andreas Schwab <schwab@suse.de>
4336
4337 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4338 label to be used after in6ailist is initialized.
4339
f3f1dab3 43402014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 4341
7578473b 4342 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
4343 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4344
046651c1
JM
43452014-03-25 Joseph Myers <joseph@codesourcery.com>
4346
4347 [BZ #16357]
4348 [BZ #16599]
4349 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4350 min_plus_half.
4351 (fp_formats): Update initializers.
4352 (init_fp_formats): Initialize new field.
4353 (output_for_one_input_case): Allow underflow for results up to
4354 min_plus_half.
4355 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4356 * math/auto-libm-test-in: Don't mark some underflows from asin and
4357 atanh as spurious.
4358 * math/auto-libm-test-out: Regenerated.
4359 * sysdeps/i386/fpu/libm-test-ulps: Update.
4360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4361
003e49ed
AS
43622014-03-25 Andreas Schwab <schwab@suse.de>
4363
4364 * libio/Makefile (tst-ftell-partial-wide-ENV)
4365 (tst-ftell-active-handler-ENV): Define.
4366
de031874
SL
43672014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4368
4369 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4370
55a81e3b
PP
43712014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4372
4373 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4374
f3426898
JM
43752014-03-24 Joseph Myers <joseph@codesourcery.com>
4376
4377 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4378 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4379 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4380
a42faf59
PP
43812014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4382
4383 [BZ #16634]
a42faf59 4384 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
4385 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4386 (open_path): Change from boolean 'secure' to complete flag 'mode'
4387 (_dl_map_object): Adjust.
a42faf59
PP
4388 * elf/Makefile (tests): Add tst-dlopen-aout.
4389 * elf/tst-dlopen-aout.c: New test.
4390
50936127
SL
43912014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4392
4393 [BZ #16714]
4394 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4395 (struct stat): Rename member pad0 to __glibc_reserved0.
4396
26011b5c
SL
4397 [BZ #16712]
4398 * sysdeps/s390/s390-32/bits/wordsize.h
4399 (__WORDSIZE32_SIZE_ULONG): New define.
4400 * sysdeps/s390/s390-64/bits/wordsize.h
4401 (__WORDSIZE32_SIZE_ULONG): Likewise.
4402 * sysdeps/generic/stdint.h (SIZE_MAX):
4403 Define as UL if __WORDSIZE32_SIZE_ULONG.
4404
a2d86bf1
SL
4405 [BZ #16713]
4406 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4407 (__glibc_reserved0): New variable.
4408 (sa_flags): Change type to int.
4409
78b6eebc
SL
4410 * posix/Makefile (before-compile): Use += before-compile instead
4411 of a :=.
4412
f1399b5a
SL
4413 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4414 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4415
a071766e
AS
44162014-03-20 Andreas Schwab <schwab@suse.de>
4417
4418 [BZ #16743]
4419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4420 non-matching result from nscd.
4421
27c673b8
SP
44222014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4423
4424 * scripts/bench.py: Moved to ...
4425 * benchtests/scripts/bench.py: ... here.
4426 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4427
44152e4b
AS
44282014-03-24 Andreas Schwab <schwab@suse.de>
4429
4430 [BZ #16002]
4431 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4432 alloca_account and account alloca use for struct in6ailist.
4433
b376a11a
JM
44342014-03-24 Joseph Myers <joseph@codesourcery.com>
4435
4436 [BZ #16284]
4437 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4438 rounding mode to recompute results that overflow to infinity or
4439 underflow to zero.
4440 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4441 bug 16284.
4442 * math/auto-libm-test-out: Regenerated.
4443 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4444 (ccosh_test): Likewise.
4445 (csin_test_data): Use plus_oflow.
4446 (csin_test): Use ALL_RM_TEST.
4447 (csinh_test_data): Use plus_oflow.
4448 (csinh_test): Use ALL_RM_TEST.
4449 * sysdeps/i386/fpu/libm-test-ulps: Update.
4450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4451
f7be7376
JM
44522014-03-21 Joseph Myers <joseph@codesourcery.com>
4453
1ca2d03e
JM
4454 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4455 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4456 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4457
f7be7376
JM
4458 [BZ #16731]
4459 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4460 when x - 1 is zero.
4461 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4462 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4463 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4464 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4465 argument is 1.
4466 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4467 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4468 zero.
4469 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4470 * sysdeps/i386/fpu/libm-test-ulps: Update.
4471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4472
fdf4534d
SP
44732014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4474
df26ea53
SP
4475 * scripts/bench.pl: Remove file.
4476 * scripts/bench.py: New benchmark script.
4477 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4478 * benchtests/README: Mention python dependency.
4479 * scripts/pylintrc: New file.
4480 * scripts/pylint: New file.
4481
fdf4534d
SP
4482 * bits/mathdef.h: Use #ifdef instead of #if.
4483 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4484 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4485 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4486 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4487 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4488 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4489
6f23d093
AZ
44902014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4491 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4492
4493 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4495 and strpbrk-ppc64 objects.
4496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4497 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4498 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4499 multiarch strpbrk for POWER7.
4500 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4501 multiarch strpbrk for PPC64.
4502 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4503 ifunc selector.
4504 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4505 strpbrk for POWER7.
4506
8c92dfff
JM
45072014-03-20 Joseph Myers <joseph@codesourcery.com>
4508
4509 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4510 (atan_test): Likewise.
4511 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4512 (atanh_test): Use ALL_RM_TEST.
4513 (atan2_test_data): Likewise.
4514 (cabs_test): Likewise.
4515 (cacosh_test): Likewise.
4516 (carg_test): Likewise.
4517 (casin_test): Likewise.
4518 (casinh_test): Likewise.
4519 (cbrt_test): Likewise.
4520 (csqrt_test): Likewise.
4521 (erf_test): Likewise.
4522 (erfc_test): Likewise.
4523 (pow10_test): Likewise.
4524 (exp2_test): Likewise.
4525 (hypot_test): Likewise.
4526 (j0_test): Likewise.
4527 (j1_test): Likewise.
4528 (lgamma_test): Likewise.
4529 (gamma_test): Likewise.
4530 (sincos_test): Likewise.
4531 (tanh_test): Likewise.
4532 (y0_test): Likewise.
4533 (y1_test): Likewise.
4534 * sysdeps/i386/fpu/libm-test-ulps: Update.
4535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4536
6eaf95cb
AZ
45372014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4538
a387428c
SP
4539 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4540 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
4541 and strcspn-ppc64 objects.
4542 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4543 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4544 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4545 multiarch strcspn for POWER7.
4546 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4547 multiarch strcspn for PPC64.
4548 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4549 ifunc selector.
4550 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4551 strcspn for POWER7.
4552
ae3a5dff
JM
45532014-03-20 Joseph Myers <joseph@codesourcery.com>
4554
4555 * math/gen-libm-test.pl (generate_testfile): Expect only function
4556 name as argument to AUTO_TESTS_* and pass results for all rounding
4557 modes to parse_args.
4558 (parse_auto_input): Separate inputs of automatic tests from
4559 outputs before storing in %auto_tests.
4560 * math/libm-test.inc (acos_test_data): Update call to
4561 AUTO_TESTS_f_f.
4562 (acos_test): Use ALL_RM_TEST.
4563 (acos_tonearest_test_data): Remove.
4564 (acos_test_tonearest): Likewise.
4565 (acos_towardzero_test_data): Likewise.
4566 (acos_test_towardzero): Likewise.
4567 (acos_downward_test_data): Likewise.
4568 (acos_test_downward): Likewise.
4569 (acos_upward_test_data): Likewise.
4570 (acos_test_upward): Likewise.
4571 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4572 (asin_test_data): Likewise.
4573 (asin_test): Use ALL_RM_TEST.
4574 (asin_tonearest_test_data): Remove.
4575 (asin_test_tonearest): Likewise.
4576 (asin_towardzero_test_data): Likewise.
4577 (asin_test_towardzero): Likewise.
4578 (asin_downward_test_data): Likewise.
4579 (asin_test_downward): Likewise.
4580 (asin_upward_test_data): Likewise.
4581 (asin_test_upward): Likewise.
4582 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4583 (atan_test_data): Likewise.
4584 (atanh_test_data): Likewise.
4585 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4586 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4587 (carg_test_data): Likewise.
4588 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4589 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4590 (ccosh_test_data): Likewise.
4591 (cexp_test_data): Likewise.
4592 (clog_test_data): Likewise.
4593 (clog10_test_data): Likewise.
4594 (cos_test_data): Update call to AUTO_TESTS_f_f.
4595 (cos_test): Use ALL_RM_TEST.
4596 (cos_tonearest_test_data): Remove.
4597 (cos_test_tonearest): Likewise.
4598 (cos_towardzero_test_data): Likewise.
4599 (cos_test_towardzero): Likewise.
4600 (cos_downward_test_data): Likewise.
4601 (cos_test_downward): Likewise.
4602 (cos_upward_test_data): Likewise.
4603 (cos_test_upward): Likewise.
4604 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4605 (cosh_test): Use ALL_RM_TEST.
4606 (cosh_tonearest_test_data): Remove.
4607 (cosh_test_tonearest): Likewise.
4608 (cosh_towardzero_test_data): Likewise.
4609 (cosh_test_towardzero): Likewise.
4610 (cosh_downward_test_data): Likewise.
4611 (cosh_test_downward): Likewise.
4612 (cosh_upward_test_data): Likewise.
4613 (cosh_test_upward): Likewise.
4614 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4615 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4616 (ctan_test_data): Likewise.
4617 (ctan_test): Use ALL_RM_TEST.
4618 (ctan_tonearest_test_data): Remove.
4619 (ctan_test_tonearest): Likewise.
4620 (ctan_towardzero_test_data): Likewise.
4621 (ctan_test_towardzero): Likewise.
4622 (ctan_downward_test_data): Likewise.
4623 (ctan_test_downward): Likewise.
4624 (ctan_upward_test_data): Likewise.
4625 (ctan_test_upward): Likewise.
4626 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4627 (ctanh_test): Use ALL_RM_TEST.
4628 (ctanh_tonearest_test_data): Remove.
4629 (ctanh_test_tonearest): Likewise.
4630 (ctanh_towardzero_test_data): Likewise.
4631 (ctanh_test_towardzero): Likewise.
4632 (ctanh_downward_test_data): Likewise.
4633 (ctanh_test_downward): Likewise.
4634 (ctanh_upward_test_data): Likewise.
4635 (ctanh_test_upward): Likewise.
4636 (erf_test_data): Update call to AUTO_TESTS_f_f.
4637 (erfc_test_data): Likewise.
4638 (exp_test_data): Likewise.
4639 (exp_test): Use ALL_RM_TEST.
4640 (exp_tonearest_test_data): Remove.
4641 (exp_test_tonearest): Likewise.
4642 (exp_towardzero_test_data): Likewise.
4643 (exp_test_towardzero): Likewise.
4644 (exp_downward_test_data): Likewise.
4645 (exp_test_downward): Likewise.
4646 (exp_upward_test_data): Likewise.
4647 (exp_test_upward): Likewise.
4648 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4649 (exp10_test): Use ALL_RM_TEST.
4650 (exp10_tonearest_test_data): Remove.
4651 (exp10_test_tonearest): Likewise.
4652 (exp10_towardzero_test_data): Likewise.
4653 (exp10_test_towardzero): Likewise.
4654 (exp10_downward_test_data): Likewise.
4655 (exp10_test_downward): Likewise.
4656 (exp10_upward_test_data): Likewise.
4657 (exp10_test_upward): Likewise.
4658 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4659 (expm1_test_data): Likewise.
4660 (expm1_test): Use ALL_RM_TEST.
4661 (expm1_tonearest_test_data): Remove.
4662 (expm1_test_tonearest): Likewise.
4663 (expm1_towardzero_test_data): Likewise.
4664 (expm1_test_towardzero): Likewise.
4665 (expm1_downward_test_data): Likewise.
4666 (expm1_test_downward): Likewise.
4667 (expm1_upward_test_data): Likewise.
4668 (expm1_test_upward): Likewise.
4669 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4670 (fma_test): Use ALL_RM_TEST.
4671 (fma_towardzero_test_data): Remove.
4672 (fma_test_towardzero): Likewise.
4673 (fma_downward_test_data): Likewise.
4674 (fma_test_downward): Likewise.
4675 (fma_upward_test_data): Likewise.
4676 (fma_test_upward): Likewise.
4677 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4678 (j0_test_data): Update call to AUTO_TESTS_f_f.
4679 (j1_test_data): Likewise.
4680 (jn_test_data): Update call to AUTO_TESTS_if_f.
4681 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4682 (log_test_data): Update call to AUTO_TESTS_f_f.
4683 (log10_test_data): Likewise.
4684 (log1p_test_data): Likewise.
4685 (log2_test_data): Likewise.
4686 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4687 (pow_tonearest_test_data): Likewise.
4688 (sin_test_data): Update call to AUTO_TESTS_f_f.
4689 (sin_test): Use ALL_RM_TEST.
4690 (sin_tonearest_test_data): Remove.
4691 (sin_test_tonearest): Likewise.
4692 (sin_towardzero_test_data): Likewise.
4693 (sin_test_towardzero): Likewise.
4694 (sin_downward_test_data): Likewise.
4695 (sin_test_downward): Likewise.
4696 (sin_upward_test_data): Likewise.
4697 (sin_test_upward): Likewise.
4698 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4699 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4700 (sinh_test): Use ALL_RM_TEST.
4701 (sinh_tonearest_test_data): Remove.
4702 (sinh_test_tonearest): Likewise.
4703 (sinh_towardzero_test_data): Likewise.
4704 (sinh_test_towardzero): Likewise.
4705 (sinh_downward_test_data): Likewise.
4706 (sinh_test_downward): Likewise.
4707 (sinh_upward_test_data): Likewise.
4708 (sinh_test_upward): Likewise.
4709 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4710 (sqrt_test): Use ALL_RM_TEST.
4711 (sqrt_tonearest_test_data): Remove.
4712 (sqrt_test_tonearest): Likewise.
4713 (sqrt_towardzero_test_data): Likewise.
4714 (sqrt_test_towardzero): Likewise.
4715 (sqrt_downward_test_data): Likewise.
4716 (sqrt_test_downward): Likewise.
4717 (sqrt_upward_test_data): Likewise.
4718 (sqrt_test_upward): Likewise.
4719 (tan_test_data): Update call to AUTO_TESTS_f_f.
4720 (tan_test): Use ALL_RM_TEST.
4721 (tan_tonearest_test_data): Remove.
4722 (tan_test_tonearest): Likewise.
4723 (tan_towardzero_test_data): Likewise.
4724 (tan_test_towardzero): Likewise.
4725 (tan_downward_test_data): Likewise.
4726 (tan_test_downward): Likewise.
4727 (tan_upward_test_data): Likewise.
4728 (tan_test_upward): Likewise.
4729 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4730 (tgamma_test_data): Likewise.
4731 (y0_test_data): Likewise.
4732 (y1_test_data): Likewise.
4733 (yn_test_data): Update call to AUTO_TESTS_if_f.
4734 (main): Do not call removed functions.
4735
d71aeee8
JM
47362014-03-19 Joseph Myers <joseph@codesourcery.com>
4737
4738 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4739 (ldexp_test_data): Remove.
4740 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4741 scalbn_test_data.
4742 (scalb_test): Use ALL_RM_TEST.
4743
baaf1ded
AS
47442014-03-19 Andreas Schwab <schwab@suse.de>
4745
4746 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4747
b1115e91
JM
47482014-03-19 Joseph Myers <joseph@codesourcery.com>
4749
4750 [BZ #16649]
4751 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4752 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4753 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4754 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4755 (__ASSUME_PREADV): Undefine.
4756 (__ASSUME_PWRITEV): Likewise.
4757
0283ecca
RM
47582014-03-18 Roland McGrath <roland@hack.frob.com>
4759
7d375303
RM
4760 * bits/mman-linux.h: Add comment about non-Linux use.
4761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4762 bits/mman-linux.h resting place.
4763
0283ecca
RM
4764 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4765 * bits/mman-linux.h: ... here.
4766
aebe1003
AZ
47672014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4768
4769 * conform/conformtest.pl: Add standard definition when calling C
4770 preprocessor on data files.
4771 (checknamespace): Remove unused variable.
4772
b29b6bb8
JM
47732014-03-18 Joseph Myers <joseph@codesourcery.com>
4774
4775 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4776 minus_oflow, plus_uflow and minus_uflow in expected results.
4777 * math/libm-test.inc (scalbn_test_data): Add more tests of
4778 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4779 minus_uflow.
4780 (scalbn_test): Use ALL_RM_TEST.
4781 (scalbln_test_data): Add more tests of negative arguments. Use
4782 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4783 (scalbln_test): Use ALL_RM_TEST.
4784
c8f8fa15
RM
47852014-03-18 Roland McGrath <roland@hack.frob.com>
4786
4787 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4788
fede7a5f
WN
47892014-03-18 Will Newton <will.newton@linaro.org>
4790
4791 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4792 inaccurate comment.
4793
80cf0a58
JM
47942014-03-18 Joseph Myers <joseph@codesourcery.com>
4795
4796 * Makerules [!subdir] (check-abi): Exit with error status if a
4797 test failed.
4798
b3620862
JM
47992014-03-17 Joseph Myers <joseph@codesourcery.com>
4800
4801 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4802 for rint. Include results for all rounding modes.
4803 (nearbyint_test): Use ALL_RM_TEST.
4804 (rint_test_data): Include all tests used for nearbyint.
4805
788bba36
WN
48062014-03-17 Will Newton <will.newton@linaro.org>
4807
04ec140a
WN
4808 * nptl/sysdeps/pthread/pthread.h: Revert previous
4809 change.
4810
7579d8d5
WN
4811 * sysdeps/generic/ldsodefs.h: Revert previous
4812 change.
4813
c15cf13a
WN
4814 * libio/genops.c: Revert previous change.
4815 * libio/libioP.h: Likewise.
4816 * stdio-common/vfprintf.c: Likewise.
4817
d0ac1324
WN
4818 * sysdeps/generic/math_private.h: Revert previous
4819 change.
4820
9290130a
WN
4821 * sysdeps/generic/math_private.h: Check whether
4822 HAVE_RM_CTX is defined with #ifdef rather
4823 than #if.
4824
afb466fc
WN
4825 * argp/argp-fmtstream.h: Check whether
4826 __STRICT_ANSI__ is defined with #ifdef rather
4827 than #if.
4828 * argp/argp.h: Likewise.
4829
f7efd7c3
WN
4830 * libio/genops.c: Check whether
4831 _IO_JUMPS_OFFSET is defined with #ifdef rather
4832 than #if.
4833 * libio/libioP.h: Likewise.
4834 * stdio-common/vfprintf.c: Likewise.
4835
53f1bed3
WN
4836 * sysdeps/generic/ldsodefs.h: Check whether
4837 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4838 than #if.
4839
788bba36
WN
4840 * nptl/sysdeps/pthread/pthread.h: Check
4841 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4842 its value.
4843
fcd89ebe
SP
48442014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4845
ae42bbc5
SP
4846 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4847 setting O_APPEND.
4848 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4849 test case.
4850
ea33158c
SP
4851 [BZ #16680]
4852 * libio/fileops.c (_IO_file_open): Seek to end of file but
4853 don't cache the offset.
4854 (get_file_offset): Remove function.
4855 (do_ftell): Use cached offset when available.
4856 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4857 don't cache the offset.
4858 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4859 case.
4860 (do_one_test): Call it.
4861 (do_ftell_test): Fix up expected old offset for a+ mode.
4862 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4863 available.
4864
b1dbb426
SP
4865 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4866 up test status with function return status.
4867 (do_write_test): Likewise.
4868 (do_append_test): Likewise.
4869
fcd89ebe
SP
4870 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4871 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4872 Remove.
4873
9962a2d3
JM
48742014-03-17 Joseph Myers <joseph@codesourcery.com>
4875
4876 * math/gen-libm-test.pl (parse_args): Handle results specified for
4877 each rounding mode separately.
4878 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4879 tests and results from lrint_tonearest_test_data,
4880 lrint_towardzero_test_data, lrint_downward_test_data and
4881 lrint_upward_test_data.
4882 (lrint_test): Use ALL_RM_TEST.
4883 (lrint_tonearest_test_data): Remove.
4884 (lrint_test_tonearest): Likewise.
4885 (lrint_towardzero_test_data): Likewise.
4886 (lrint_test_towardzero): Likewise.
4887 (lrint_downward_test_data): Likewise.
4888 (lrint_test_downward): Likewise.
4889 (lrint_upward_test_data): Likewise.
4890 (lrint_test_upward): Likewise.
4891 (llrint_test_data): Merge in per-rounding-mode tests and results
4892 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4893 llrint_downward_test_data and llrint_upward_test_data.
4894 (llrint_test): Use ALL_RM_TEST.
4895 (llrint_tonearest_test_data): Remove.
4896 (llrint_test_tonearest): Likewise.
4897 (llrint_towardzero_test_data): Likewise.
4898 (llrint_test_towardzero): Likewise.
4899 (llrint_downward_test_data): Likewise.
4900 (llrint_test_downward): Likewise.
4901 (llrint_upward_test_data): Likewise.
4902 (llrint_test_upward): Likewise.
4903 (rint_test_data): Merge in per-rounding-mode tests and results
4904 from rint_tonearest_test_data, rint_towardzero_test_data,
4905 rint_downward_test_data and rint_upward_test_data. Add
4906 per-rounding-mode results for tests not in those arrays.
4907 (rint_test): Use ALL_RM_TEST.
4908 (rint_tonearest_test_data): Remove.
4909 (rint_test_tonearest): Likewise.
4910 (rint_towardzero_test_data): Likewise.
4911 (rint_test_towardzero): Likewise.
4912 (rint_downward_test_data): Likewise.
4913 (rint_test_downward): Likewise.
4914 (rint_upward_test_data): Likewise.
4915 (rint_test_upward): Likewise.
4916 (main): Don't call removed functions.
4917
5006148e
RM
49182014-03-14 Roland McGrath <roland@hack.frob.com>
4919
4920 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4921 "Compiled on ..." crapola. It is anti-useful.
4922
d6fe5e58
JM
49232014-03-14 Joseph Myers <joseph@codesourcery.com>
4924
4925 * scripts/evaluate-test.sh: Handle fourth argument to determine
4926 whether test run should stop on failure.
4927 * Makeconfig (stop-on-test-failure): New variable.
4928 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4929 $(stop-on-test-failure).
4930 * Makefile (tests): Give a summary of results from testing and
4931 exit with failure status if they include an ERROR or FAIL.
4932 (xtests): Likewise.
4933 * manual/install.texi (Configuring and compiling): Mention
4934 stop-on-test-failure=y.
4935 * INSTALL: Regenerated.
4936
498a2233
RM
49372014-03-14 Roland McGrath <roland@hack.frob.com>
4938
22dbc19d
RM
4939 * scripts/versionlist.awk: New file.
4940 * Makerules [$(build-shared) = yes]
4941 (postclean-generated): Add Versions.def, not Versions.def.v and
4942 Versions.def.v.i.
4943 ($(common-objpfx)Versions.def.v.i): Target removed.
4944 ($(common-objpfx)Versions.def): New target.
4945 ($(common-objpfx)Versions.all): Depend on that rather that
4946 $(common-objpfx)Versions.def.v.
4947 * Versions.def: File removed.
4948
498a2233
RM
4949 * Makeconfig (+gccwarn): Add -Wundef.
4950 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4951 a dl-sysdep.h breaking its contract.
4952 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4953 * include/stackinfo.h: New file.
4954 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4955 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4956 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4957 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4958 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4959 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4960 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4961 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4962 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4963 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4964 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4965 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4966 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4967 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4968 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4969
c7de5025
AZ
49702014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4971
4972 [BZ #16707]
4973 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4974 implementation.
4975 * math/libm-test.inc (round_test_data): Add more tests.
4976
98fb27a3
AZ
4977 [BZ #16706]
4978 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4979 implementation.
4980 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4981
374f7f61
AZ
4982 [BZ #16701]
4983 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4984 implementation.
4985 * math/libm-test.inc (ceil_test_data): Add more tests.
4986
4655c291
AZ
4987 * math/libm-test.inc (trunc_test_data): Add more tests related to
4988 BZ#16414.
4989
d7329d4b
RM
49902014-03-14 Roland McGrath <roland@hack.frob.com>
4991
4992 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4993 with #if rather than #ifdef.
4994 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4995
aa4de9ce
L
49962014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4997
4998 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4999 first. Disable AVX-512 GCC support if assembler doesn't support
5000 it.
5001 * sysdeps/x86_64/configure: Regenerated.
5002
2e03fae7
CD
50032014-03-13 Carlos O'Donell <carlos@redhat.com>
5004
5005 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5006 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5007 (__old_pthread_attr_setstack): Likewise.
5008 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5009 [!_STACK_GROWS_DOWN]: Likewise.
5010
43ca83ec
MF
50112014-03-13 Mike Frysinger <vapier@gentoo.org>
5012
5013 * config.make.in (have-bash2): Delete.
5014 * configure.ac (libc_cv_have_bash2): Delete.
5015 * configure: Regenerate.
5016 * elf/Makefile (common-ldd-rewrite): Rename to ...
5017 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5018 (sh-ldd-rewrite): Delete.
5019 (bash-ldd-rewrite): Delete.
5020 (have-bash2): Delete checks.
57f41c40
AS
5021 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5022 ldd-rewrite.
c66e48b4
MF
5023
5024 * config.make.in (have-ksh): Delete.
5025 (KSH): Delete.
5026 * configure.ac (libc_cv_have_ksh): Delete.
5027 * configure: Regenerate.
5028
b93834ef
MF
5029 * elf/Makefile: Delete $(have-ksh) check.
5030 ($(objpfx)sotruss): Change KSH to BASH.
5031 * elf/sotruss.ksh: Rename to ...
5032 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5033 function style to match POSIX. Drop ksh vim mode setting.
5034
f3a4632a
MF
5035 * manual/time.texi (Specifying the Time Zone with TZ): Change
5036 Tuesday to Thursday.
5037
5896c8bd
MF
5038 * debug/tst-longjmp_chk2.c: Update header comment.
5039 (stackoverflow_handler): Add comment. Call assert on pass value.
5040
2d63a517
IZ
50412014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5042
5043 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5044 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5045 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5046 (La_x86_64_vector): Add zmm.
5047 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5048 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5049 ($(objpfx)tst-audit10): New target.
5050 ($(objpfx)tst-audit10.out): Likewise.
5051 (tst-audit10-ENV): New.
5052 (AVX512-CFLAGS): Likewise.
5053 (CFLAGS-tst-audit10.c): Likewise.
5054 (CFLAGS-tst-auditmod10a.c): Likewise.
5055 (CFLAGS-tst-auditmod10b.c): Likewise.
5056 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5057 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5058 * sysdeps/x86_64/configure: Regenerated.
5059 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5060 AVX-512 zmm register support.
5061 (_dl_x86_64_save_sse): Likewise.
5062 (_dl_x86_64_restore_sse): Likewise.
5063 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5064 size vector registers.
5065 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5066 (ZMM_SIZE): Likewise.
5067 * sysdeps/x86_64/tst-audit10.c: New file.
5068 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5069 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5070
44c4e5d5
RM
50712014-03-13 Roland McGrath <roland@hack.frob.com>
5072
5073 * configure.ac (HAVE_EHDR_START): New check.
5074 * configure: Regenerated.
5075 * config.h.in (HAVE_EHDR_START): New #undef.
5076 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5077 assuming the lowest-addressed segment maps the start of the file.
5078
acd6e389
JM
50792014-03-13 Joseph Myers <joseph@codesourcery.com>
5080
5081 * INSTALL: Regenerated.
5082
6f918f36
WN
50832014-03-13 Will Newton <will.newton@linaro.org>
5084
5085 * manual/setjmp.texi (System V contexts): Improve
5086 clarity and grammar of documentation.
5087
798212a0
PP
50882014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5089
5090 [BZ #16381]
798212a0 5091 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 5092 (tests-pie): Add tst-pie2.
798212a0
PP
5093 * elf/tst-pie2.c: New file.
5094 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5095 for ET_EXEC.
5096 * elf/rtld.c (map_doit): Load executable as lt_executable.
5097 (dl_main): Likewise.
5098
abe6d90c
JM
50992014-03-12 Joseph Myers <joseph@codesourcery.com>
5100
5101 [BZ #16642]
5102 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5103 (__ASSUME_PSELECT): Undefine.
5104
dd3946c6
AZ
51052014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5106
5107 [BZ #16689]
5108 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5109 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5110 static build.
5111 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5112 selector for static builds.
5113
c44496df
SP
51142014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5115
5116 [BZ #16695]
5117 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5118 key in the buffer.
5119
27c7220a
AZ
51202014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5121
57f41c40
AS
5122 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5123 IFUNC selector for static builds.
27c7220a 5124
600fa361
JM
51252014-03-11 Joseph Myers <joseph@codesourcery.com>
5126
76c96cf7
JM
5127 * sysdeps/mips/math_private.h [__mips_hard_float]
5128 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5129 libc_feresetround_mips_ctx.
5130 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5131 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5132 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5133
600fa361
JM
5134 [BZ #16677]
5135 * math/s_nextafter.c (__nextafter): Do not return value from
5136 overflowing computation.
5137 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5138 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5139 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5140 Likewise.
5141 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5142 Likewise.
5143 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5144 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5145
d7706c32
RM
51462014-03-11 Roland McGrath <roland@hack.frob.com>
5147
5148 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5149 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5150 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5151 the new mov targetting sp.
5152
4facea47
AZ
51532014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5154
5155 [BZ #16683]
5156 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5157 Define it for static builds as well.
5158 (NO_BZERO_IMPL): Likewise.
5159
e65caf1f
VR
51602014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5161
5162 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5163 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5164 multiarch strspn for PPC64.
5165 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5166 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5168 (__libc_ifunc_impl_list): Likewise.
5169 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5170 multiarch optimizations
5171 * string/strspn.c (strspn): Using macro to redefine symbol name.
5172
ba9cc071
AZ
51732014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5174 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5175
5176 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5177 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5178 multiarch strncat for PPC64.
5179 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5180 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5182 (__libc_ifunc_impl_list): Likewise.
5183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5184 multiarch optimizations
5185
8b4ff974
SP
51862014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5187
5188 [BZ #16639]
5189 * nscd/nscd.service: Make service type forking.
5190
54b46a4b
AZ
51912014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5192
5193 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5194 sign in non default rounding modes.
5195 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5196
e9996ef7
JM
51972014-03-08 Joseph Myers <joseph@codesourcery.com>
5198
5199 * math/libm-test.inc (ALL_RM_TEST): New macro.
5200 (ceil_test): Use ALL_RM_TEST.
5201 (cimag_test): Likewise.
5202 (conj_test): Likewise.
5203 (copysign_test): Likewise.
5204 (cproj_test): Likewise.
5205 (creal_test): Likewise.
5206 (fabs_test): Likewise.
5207 (floor_test): Likewise.
5208 (fmax_test): Likewise.
5209 (fmin_test): Likewise.
5210 (fmod_test): Likewise.
5211 (fpclassify_test): Likewise.
5212 (frexp_test): Likewise.
5213 (ilogb_test): Likewise.
5214 (isfinite_test): Likewise.
5215 (finite_test): Likewise.
5216 (isgreater_test): Likewise.
5217 (isgreaterequal_test): Likewise.
5218 (isinf_test): Likewise.
5219 (isless_test): Likewise.
5220 (islessequal_test): Likewise.
5221 (islessgreater_test): Likewise.
5222 (isnan_test): Likewise.
5223 (isnormal_test): Likewise.
5224 (issignaling_test): Likewise.
5225 (isunordered_test): Likewise.
5226 (logb_test): Likewise.
5227 (logb_downward_test_data): Remove.
5228 (logb_test_downward): Likewise.
5229 (lround_test): Use ALL_RM_TEST.
5230 (llround_test): Likewise.
5231 (modf_test): Likewise.
5232 (nexttoward_test): Likewise.
5233 (remainder_test): Likewise.
5234 (drem_test): Likewise.
5235 (remainder_tonearest_test_data): Likewise.
5236 (remainder_test_tonearest): Likewise.
5237 (drem_test_tonearest): Likewise.
5238 (remainder_towardzero_test_data): Likewise.
5239 (remainder_test_towardzero): Likewise.
5240 (drem_test_towardzero): Likewise.
5241 (remainder_downward_test_data): Likewise.
5242 (remainder_test_downward): Likewise.
5243 (drem_test_downward): Likewise.
5244 (remainder_upward_test_data): Likewise.
5245 (remainder_test_upward): Likewise.
5246 (drem_test_upward): Likewise.
5247 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5248 (round_test): Use ALL_RM_TEST.
5249 (signbit_test): Likewise.
5250 (trunc_test): Likewise.
5251 (significand_test): Likewise.
5252 (main): Don't call removed functions.
5253
bc61d27c
JM
52542014-03-07 Joseph Myers <joseph@codesourcery.com>
5255
5c780849
JM
5256 [BZ #16674]
5257 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5258 || __USE_XOPEN2K8].
5259 (ILL_ILLOPN): Likewise.
5260 (ILL_ILLADR): Likewise.
5261 (ILL_ILLTRP): Likewise.
5262 (ILL_PRVOPC): Likewise.
5263 (ILL_PRVREG): Likewise.
5264 (ILL_COPROC): Likewise.
5265 (ILL_BADSTK): Likewise.
5266 (FPE_INTDIV): Likewise.
5267 (FPE_INTOVF): Likewise.
5268 (FPE_FLTDIV): Likewise.
5269 (FPE_FLTOVF): Likewise.
5270 (FPE_FLTUND): Likewise.
5271 (FPE_FLTRES): Likewise.
5272 (FPE_FLTINV): Likewise.
5273 (FPE_FLTSUB): Likewise.
5274 (SEGV_MAPERR): Likewise.
5275 (SEGV_ACCERR): Likewise.
5276 (BUS_ADRALN): Likewise.
5277 (BUS_ADRERR): Likewise.
5278 (BUS_OBJERR): Likewise.
5279 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5280 (TRAP_TRACE): Likewise.
5281 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5282 __USE_XOPEN2K8].
5283 (CLD_KILLED): Likewise.
5284 (CLD_DUMPED): Likewise.
5285 (CLD_TRAPPED): Likewise.
5286 (CLD_STOPPED): Likewise.
5287 (CLD_CONTINUED): Likewise.
5288 (POLL_IN): Likewise.
5289 (POLL_OUT): Likewise.
5290 (POLL_MSG): Likewise.
5291 (POLL_ERR): Likewise.
5292 (POLL_PRI): Likewise.
5293 (POLL_HUP): Likewise.
5294 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5295 Likewise.
5296 (ILL_ILLOPN): Likewise.
5297 (ILL_ILLADR): Likewise.
5298 (ILL_ILLTRP): Likewise.
5299 (ILL_PRVOPC): Likewise.
5300 (ILL_PRVREG): Likewise.
5301 (ILL_COPROC): Likewise.
5302 (ILL_BADSTK): Likewise.
5303 (FPE_INTDIV): Likewise.
5304 (FPE_INTOVF): Likewise.
5305 (FPE_FLTDIV): Likewise.
5306 (FPE_FLTOVF): Likewise.
5307 (FPE_FLTUND): Likewise.
5308 (FPE_FLTRES): Likewise.
5309 (FPE_FLTINV): Likewise.
5310 (FPE_FLTSUB): Likewise.
5311 (SEGV_MAPERR): Likewise.
5312 (SEGV_ACCERR): Likewise.
5313 (BUS_ADRALN): Likewise.
5314 (BUS_ADRERR): Likewise.
5315 (BUS_OBJERR): Likewise.
5316 (BUS_MCEERR_AR): Likewise.
5317 (BUS_MCEERR_AO): Likewise.
5318 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5319 (TRAP_TRACE): Likewise.
5320 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5321 __USE_XOPEN2K8].
5322 (CLD_KILLED): Likewise.
5323 (CLD_DUMPED): Likewise.
5324 (CLD_TRAPPED): Likewise.
5325 (CLD_STOPPED): Likewise.
5326 (CLD_CONTINUED): Likewise.
5327 (POLL_IN): Likewise.
5328 (POLL_OUT): Likewise.
5329 (POLL_MSG): Likewise.
5330 (POLL_ERR): Likewise.
5331 (POLL_PRI): Likewise.
5332 (POLL_HUP): Likewise.
5333 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5334 (ILL_ILLOPN): Likewise.
5335 (ILL_ILLADR): Likewise.
5336 (ILL_ILLTRP): Likewise.
5337 (ILL_PRVOPC): Likewise.
5338 (ILL_PRVREG): Likewise.
5339 (ILL_COPROC): Likewise.
5340 (ILL_BADSTK): Likewise.
5341 (FPE_INTDIV): Likewise.
5342 (FPE_INTOVF): Likewise.
5343 (FPE_FLTDIV): Likewise.
5344 (FPE_FLTOVF): Likewise.
5345 (FPE_FLTUND): Likewise.
5346 (FPE_FLTRES): Likewise.
5347 (FPE_FLTINV): Likewise.
5348 (FPE_FLTSUB): Likewise.
5349 (SEGV_MAPERR): Likewise.
5350 (SEGV_ACCERR): Likewise.
5351 (BUS_ADRALN): Likewise.
5352 (BUS_ADRERR): Likewise.
5353 (BUS_OBJERR): Likewise.
5354 (BUS_MCEERR_AR): Likewise.
5355 (BUS_MCEERR_AO): Likewise.
5356 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5357 (TRAP_TRACE): Likewise.
5358 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5359 __USE_XOPEN2K8].
5360 (CLD_KILLED): Likewise.
5361 (CLD_DUMPED): Likewise.
5362 (CLD_TRAPPED): Likewise.
5363 (CLD_STOPPED): Likewise.
5364 (CLD_CONTINUED): Likewise.
5365 (POLL_IN): Likewise.
5366 (POLL_OUT): Likewise.
5367 (POLL_MSG): Likewise.
5368 (POLL_ERR): Likewise.
5369 (POLL_PRI): Likewise.
5370 (POLL_HUP): Likewise.
5371 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5372 Likewise.
5373 (ILL_ILLOPN): Likewise.
5374 (ILL_ILLADR): Likewise.
5375 (ILL_ILLTRP): Likewise.
5376 (ILL_PRVOPC): Likewise.
5377 (ILL_PRVREG): Likewise.
5378 (ILL_COPROC): Likewise.
5379 (ILL_BADSTK): Likewise.
5380 (ILL_BADIADDR): Likewise.
5381 (ILL_BREAK): Likewise.
5382 (FPE_INTDIV): Likewise.
5383 (FPE_INTOVF): Likewise.
5384 (FPE_FLTDIV): Likewise.
5385 (FPE_FLTOVF): Likewise.
5386 (FPE_FLTUND): Likewise.
5387 (FPE_FLTRES): Likewise.
5388 (FPE_FLTINV): Likewise.
5389 (FPE_FLTSUB): Likewise.
5390 (FPE_DECOVF): Likewise.
5391 (FPE_DECDIV): Likewise.
5392 (FPE_DECERR): Likewise.
5393 (FPE_INVASC): Likewise.
5394 (FPE_INVDEC): Likewise.
5395 (SEGV_MAPERR): Likewise.
5396 (SEGV_ACCERR): Likewise.
5397 (SEGV_PSTKOVF): Likewise.
5398 (BUS_ADRALN): Likewise.
5399 (BUS_ADRERR): Likewise.
5400 (BUS_OBJERR): Likewise.
5401 (BUS_MCEERR_AR): Likewise.
5402 (BUS_MCEERR_AO): Likewise.
5403 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5404 (TRAP_TRACE): Likewise.
5405 (TRAP_BRANCH): Likewise.
5406 (TRAP_HWBKPT): Likewise.
5407 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5408 __USE_XOPEN2K8].
5409 (CLD_KILLED): Likewise.
5410 (CLD_DUMPED): Likewise.
5411 (CLD_TRAPPED): Likewise.
5412 (CLD_STOPPED): Likewise.
5413 (CLD_CONTINUED): Likewise.
5414 (POLL_IN): Likewise.
5415 (POLL_OUT): Likewise.
5416 (POLL_MSG): Likewise.
5417 (POLL_ERR): Likewise.
5418 (POLL_PRI): Likewise.
5419 (POLL_HUP): Likewise.
5420 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5421 (ILL_ILLOPN): Likewise.
5422 (ILL_ILLADR): Likewise.
5423 (ILL_ILLTRP): Likewise.
5424 (ILL_PRVOPC): Likewise.
5425 (ILL_PRVREG): Likewise.
5426 (ILL_COPROC): Likewise.
5427 (ILL_BADSTK): Likewise.
5428 (FPE_INTDIV): Likewise.
5429 (FPE_INTOVF): Likewise.
5430 (FPE_FLTDIV): Likewise.
5431 (FPE_FLTOVF): Likewise.
5432 (FPE_FLTUND): Likewise.
5433 (FPE_FLTRES): Likewise.
5434 (FPE_FLTINV): Likewise.
5435 (FPE_FLTSUB): Likewise.
5436 (SEGV_MAPERR): Likewise.
5437 (SEGV_ACCERR): Likewise.
5438 (BUS_ADRALN): Likewise.
5439 (BUS_ADRERR): Likewise.
5440 (BUS_OBJERR): Likewise.
5441 (BUS_MCEERR_AR): Likewise.
5442 (BUS_MCEERR_AO): Likewise.
5443 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5444 (TRAP_TRACE): Likewise.
5445 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5446 __USE_XOPEN2K8].
5447 (CLD_KILLED): Likewise.
5448 (CLD_DUMPED): Likewise.
5449 (CLD_TRAPPED): Likewise.
5450 (CLD_STOPPED): Likewise.
5451 (CLD_CONTINUED): Likewise.
5452 (POLL_IN): Likewise.
5453 (POLL_OUT): Likewise.
5454 (POLL_MSG): Likewise.
5455 (POLL_ERR): Likewise.
5456 (POLL_PRI): Likewise.
5457 (POLL_HUP): Likewise.
5458 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5459 (ILL_ILLOPN): Likewise.
5460 (ILL_ILLADR): Likewise.
5461 (ILL_ILLTRP): Likewise.
5462 (ILL_PRVOPC): Likewise.
5463 (ILL_PRVREG): Likewise.
5464 (ILL_COPROC): Likewise.
5465 (ILL_BADSTK): Likewise.
5466 (FPE_INTDIV): Likewise.
5467 (FPE_INTOVF): Likewise.
5468 (FPE_FLTDIV): Likewise.
5469 (FPE_FLTOVF): Likewise.
5470 (FPE_FLTUND): Likewise.
5471 (FPE_FLTRES): Likewise.
5472 (FPE_FLTINV): Likewise.
5473 (FPE_FLTSUB): Likewise.
5474 (SEGV_MAPERR): Likewise.
5475 (SEGV_ACCERR): Likewise.
5476 (BUS_ADRALN): Likewise.
5477 (BUS_ADRERR): Likewise.
5478 (BUS_OBJERR): Likewise.
5479 (BUS_MCEERR_AR): Likewise.
5480 (BUS_MCEERR_AO): Likewise.
5481 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5482 (TRAP_TRACE): Likewise.
5483 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5484 __USE_XOPEN2K8].
5485 (CLD_KILLED): Likewise.
5486 (CLD_DUMPED): Likewise.
5487 (CLD_TRAPPED): Likewise.
5488 (CLD_STOPPED): Likewise.
5489 (CLD_CONTINUED): Likewise.
5490 (POLL_IN): Likewise.
5491 (POLL_OUT): Likewise.
5492 (POLL_MSG): Likewise.
5493 (POLL_ERR): Likewise.
5494 (POLL_PRI): Likewise.
5495 (POLL_HUP): Likewise.
5496 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5497 (ILL_ILLOPN): Likewise.
5498 (ILL_ILLADR): Likewise.
5499 (ILL_ILLTRP): Likewise.
5500 (ILL_PRVOPC): Likewise.
5501 (ILL_PRVREG): Likewise.
5502 (ILL_COPROC): Likewise.
5503 (ILL_BADSTK): Likewise.
5504 (FPE_INTDIV): Likewise.
5505 (FPE_INTOVF): Likewise.
5506 (FPE_FLTDIV): Likewise.
5507 (FPE_FLTOVF): Likewise.
5508 (FPE_FLTUND): Likewise.
5509 (FPE_FLTRES): Likewise.
5510 (FPE_FLTINV): Likewise.
5511 (FPE_FLTSUB): Likewise.
5512 (SEGV_MAPERR): Likewise.
5513 (SEGV_ACCERR): Likewise.
5514 (BUS_ADRALN): Likewise.
5515 (BUS_ADRERR): Likewise.
5516 (BUS_OBJERR): Likewise.
5517 (BUS_MCEERR_AR): Likewise.
5518 (BUS_MCEERR_AO): Likewise.
5519 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5520 (TRAP_TRACE): Likewise.
5521 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5522 __USE_XOPEN2K8].
5523 (CLD_KILLED): Likewise.
5524 (CLD_DUMPED): Likewise.
5525 (CLD_TRAPPED): Likewise.
5526 (CLD_STOPPED): Likewise.
5527 (CLD_CONTINUED): Likewise.
5528 (POLL_IN): Likewise.
5529 (POLL_OUT): Likewise.
5530 (POLL_MSG): Likewise.
5531 (POLL_ERR): Likewise.
5532 (POLL_PRI): Likewise.
5533 (POLL_HUP): Likewise.
5534 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5535 (ILL_ILLOPN): Likewise.
5536 (ILL_ILLADR): Likewise.
5537 (ILL_ILLTRP): Likewise.
5538 (ILL_PRVOPC): Likewise.
5539 (ILL_PRVREG): Likewise.
5540 (ILL_COPROC): Likewise.
5541 (ILL_BADSTK): Likewise.
5542 (ILL_DBLFLT): Likewise.
5543 (ILL_HARDWALL): Likewise.
5544 (FPE_INTDIV): Likewise.
5545 (FPE_INTOVF): Likewise.
5546 (FPE_FLTDIV): Likewise.
5547 (FPE_FLTOVF): Likewise.
5548 (FPE_FLTUND): Likewise.
5549 (FPE_FLTRES): Likewise.
5550 (FPE_FLTINV): Likewise.
5551 (FPE_FLTSUB): Likewise.
5552 (SEGV_MAPERR): Likewise.
5553 (SEGV_ACCERR): Likewise.
5554 (BUS_ADRALN): Likewise.
5555 (BUS_ADRERR): Likewise.
5556 (BUS_OBJERR): Likewise.
5557 (BUS_MCEERR_AR): Likewise.
5558 (BUS_MCEERR_AO): Likewise.
5559 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5560 (TRAP_TRACE): Likewise.
5561 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5562 __USE_XOPEN2K8].
5563 (CLD_KILLED): Likewise.
5564 (CLD_DUMPED): Likewise.
5565 (CLD_TRAPPED): Likewise.
5566 (CLD_STOPPED): Likewise.
5567 (CLD_CONTINUED): Likewise.
5568 (POLL_IN): Likewise.
5569 (POLL_OUT): Likewise.
5570 (POLL_MSG): Likewise.
5571 (POLL_ERR): Likewise.
5572 (POLL_PRI): Likewise.
5573 (POLL_HUP): Likewise.
5574 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5575 (ILL_ILLOPN): Likewise.
5576 (ILL_ILLADR): Likewise.
5577 (ILL_ILLTRP): Likewise.
5578 (ILL_PRVOPC): Likewise.
5579 (ILL_PRVREG): Likewise.
5580 (ILL_COPROC): Likewise.
5581 (ILL_BADSTK): Likewise.
5582 (FPE_INTDIV): Likewise.
5583 (FPE_INTOVF): Likewise.
5584 (FPE_FLTDIV): Likewise.
5585 (FPE_FLTOVF): Likewise.
5586 (FPE_FLTUND): Likewise.
5587 (FPE_FLTRES): Likewise.
5588 (FPE_FLTINV): Likewise.
5589 (FPE_FLTSUB): Likewise.
5590 (SEGV_MAPERR): Likewise.
5591 (SEGV_ACCERR): Likewise.
5592 (BUS_ADRALN): Likewise.
5593 (BUS_ADRERR): Likewise.
5594 (BUS_OBJERR): Likewise.
5595 (BUS_MCEERR_AR): Likewise.
5596 (BUS_MCEERR_AO): Likewise.
5597 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5598 (TRAP_TRACE): Likewise.
5599 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5600 __USE_XOPEN2K8].
5601 (CLD_KILLED): Likewise.
5602 (CLD_DUMPED): Likewise.
5603 (CLD_TRAPPED): Likewise.
5604 (CLD_STOPPED): Likewise.
5605 (CLD_CONTINUED): Likewise.
5606 (POLL_IN): Likewise.
5607 (POLL_OUT): Likewise.
5608 (POLL_MSG): Likewise.
5609 (POLL_ERR): Likewise.
5610 (POLL_PRI): Likewise.
5611 (POLL_HUP): Likewise.
5612 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5613 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5614
bc61d27c
JM
5615 [BZ #16670]
5616 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5617 before #include of <time.h>.
5618 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5619 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5620 (test-xfail-UNIX98/sched.h/conform): Likewise.
5621
302949e2
MS
56222014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5623
5624 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5625 error absence of trapping exception support.
5626 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5627
a00f522a
JM
56282014-03-07 Joseph Myers <joseph@codesourcery.com>
5629
6f99f280
JM
5630 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5631 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5632 * timezone/Makefile (testdata): Move definition above include of
5633 Rules.
5634 (test-zones): New variable.
5635 (tests-special): Add zone files.
5636 (build-testdata): Use $(evaluate-test).
5637
0b20a9e8
JM
5638 * elf/Makefile (tests-special): Rename tests to end with .out.
5639 ($(objpfx)noload-mem): Likewise.
5640 ($(objpfx)tst-leaks1-mem): Likewise.
5641 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5642 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5643 $(objpfx)test-iconvconfig.out.
5644 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5645 set -e inside subshell and redirect output to file.
5646 * iconvdata/Makefile (generated): Rename tests to end with .out.
5647 Correct type.
5648 (tests-special): Rename tests to end with .out.
5649 ($(objpfx)mtrace-tst-loading): Likewise.
5650 * intl/Makefile (generated): Likewise.
5651 (tests-special): Likewise.
5652 ($(objpfx)mtrace-tst-gettext): Likewise.
5653 * misc/Makefile (generated): Likewise.
5654 (tests-special): Likewise.
5655 ($(objpfx)tst-error1-mem): Likewise.
5656 * nptl/Makefile (tests-special): Likewise.
5657 ($(objpfx)tst-stack3-mem): Likewise.
5658 (generated): Likewise.
5659 * posix/Makefile (generated): Likewise.
5660 (tests-special): Likewise.
5661 (xtests-special): Likewise.
5662 ($(objpfx)tst-fnmatch-mem): Likewise.
5663 ($(objpfx)bug-regex2-mem): Likewise.
5664 ($(objpfx)bug-regex14-mem): Likewise.
5665 ($(objpfx)bug-regex21-mem): Likewise.
5666 ($(objpfx)bug-regex31-mem): Likewise.
5667 ($(objpfx)tst-vfork3-mem): Likewise.
5668 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5669 ($(objpfx)tst-pcre-mem): Likewise.
5670 ($(objpfx)tst-boost-mem): Likewise.
5671 ($(objpfx)bug-ga2-mem): Likewise.
5672 ($(objpfx)bug-glob2-mem): Likewise.
5673 * resolv/Makefile (generate): Likewise.
5674 (tests-special): Likewise.
5675 (xtests-special): Likewise.
5676 (generated): Likewise.
5677 ($(objpfx)mtrace-tst-leaks): Likewise.
5678 ($(objpfx)mtrace-tst-leaks2): Likewise.
5679
265d52ab
JM
5680 * scripts/merge-test-results.sh: New file.
5681 * Makefile (tests-special-notdir): New variable.
5682 (tests): Run merge-test-results.sh.
5683 (xtests): Likewise.
5684 * Rules (tests-special-notdir): New variable.
5685 (xtests-special-notdir): Likewise.
5686 (tests): Run merge-test-results.sh
5687 (xtests): Likewise.
5688
54ee292d
JM
5689 * Makeconfig (test-xfail-name): New variable.
5690 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5691 compute variable name for expected failures.
5692 * conform/Makefile (conformtest-headers-data): New variable.
5693 (conformtest-standards): Likewise.
5694 (conformtest-headers-ISO): Likewise.
5695 (conformtest-headers-ISO99): Likewise.
5696 (conformtest-headers-ISO11): Likewise.
5697 (conformtest-headers-POSIX): Likewise.
5698 (conformtest-headers-XPG3): Likewise.
5699 (conformtest-headers-XPG4): Likewise.
5700 (conformtest-headers-UNIX98): Likewise.
5701 (conformtest-headers-XOPEN2K): Likewise.
5702 (conformtest-headers-POSIX2008): Likewise.
5703 (conformtest-headers-XOPEN2K8): Likewise.
5704 (conformtest-header-list-base): Likewise.
5705 (conformtest-header-list-tests): Likewise.
5706 (conformtest-header-base): Likewise.
5707 (conformtest-header-tests): Likewise.
5708 (tests-special): Add $(conformtest-header-list-tests). If
5709 [$(fast-check) && !$(cross-compiling)], add
5710 $(conformtest-header-tests) instead of
5711 $(objpfx)run-conformtest.out.
5712 (generated): Add $(conformtest-header-list-base). If
5713 [$(fast-check) && !$(cross-compiling)], add
5714 $(conformtest-header-base). Remove previous setting.
5715 ($(conformtest-header-list-tests)): New target.
5716 (test-xfail-run-conformtest): Remove variable.
5717 ($(objpfx)run-conformtest.out): Remove target.
5718 (test-xfail-ISO11/complex.h/conform): New variable.
5719 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5720 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5721 (test-xfail-XPG3/varargs.h/conform): Likewise.
5722 (test-xfail-XPG4/varargs.h/conform): Likewise.
5723 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5724 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5725 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5726 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5727 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5728 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5729 (test-xfail-XPG3/ftw.h/conform): Likewise.
5730 (test-xfail-XPG3/grp.h/conform): Likewise.
5731 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5732 (test-xfail-XPG3/limits.h/conform): Likewise.
5733 (test-xfail-XPG3/pwd.h/conform): Likewise.
5734 (test-xfail-XPG3/search.h/conform): Likewise.
5735 (test-xfail-XPG3/signal.h/conform): Likewise.
5736 (test-xfail-XPG3/stdio.h/conform): Likewise.
5737 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5738 (test-xfail-XPG3/string.h/conform): Likewise.
5739 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5740 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5741 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5742 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5743 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5744 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5745 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5746 (test-xfail-XPG3/termios.h/conform): Likewise.
5747 (test-xfail-XPG3/time.h/conform): Likewise.
5748 (test-xfail-XPG3/unistd.h/conform): Likewise.
5749 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5750 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5751 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5752 (test-xfail-XPG4/netdb.h/conform): Likewise.
5753 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5754 (test-xfail-XPG4/signal.h/conform): Likewise.
5755 (test-xfail-XPG4/stdio.h/conform): Likewise.
5756 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5757 (test-xfail-XPG4/stropts.h/conform): Likewise.
5758 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5759 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5760 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5761 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5762 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5763 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5764 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5765 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5766 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5767 (test-xfail-XPG4/termios.h/conform): Likewise.
5768 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5769 (test-xfail-XPG4/unistd.h/conform): Likewise.
5770 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5771 (test-xfail-POSIX/sched.h/conform): Likewise.
5772 (test-xfail-POSIX/signal.h/conform): Likewise.
5773 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5774 (test-xfail-POSIX/tar.h/conform): Likewise.
5775 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5776 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5777 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5778 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5779 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5780 (test-xfail-UNIX98/sched.h/conform): Likewise.
5781 (test-xfail-UNIX98/signal.h/conform): Likewise.
5782 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5783 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5784 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5785 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5786 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5787 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5788 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5789 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5790 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5791 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5792 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5793 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5794 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5795 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5796 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5797 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5798 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5799 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5800 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5801 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5802 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5803 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5804 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5805 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5806 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5807 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5808 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5809 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5810 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5811 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5812 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5813 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5814 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5815 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5816 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5817 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5818 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5819 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5820 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5821 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5822 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5823 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5824 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5825 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5826 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5827 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5828 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5829 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5830 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5831 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5832 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5833 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5834 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5835 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5836 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5837 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5838 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5839 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5840 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5841 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5842 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5843 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5844 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5845 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5846 (conformtest-cc-flags): Likewise.
5847 ($(conformtest-header-tests): New target.
5848 * conform/check-header-lists.sh: New file.
5849 * conform/run-conformtest.sh: Remove.
5850
a00f522a
JM
5851 * conform/conformtest.pl: Allow ' and \ in values given for
5852 constants.
5853 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5854 inclusion.
5855 [POSIX] (sys/types.h): Likewise.
5856 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5857 inclusion.
5858 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5859 inclusion.
5860 * conform/data/signal.h-data (SIGIO): Remove expectation.
5861 [XPG3] (SIGBUS): Do not expect.
5862 [POSIX || XPG3] (SIGPOLL): Likewise.
5863 [POSIX || XPG3] (SIGPROF): Likewise.
5864 [POSIX || XPG3] (SIGSYS): Likewise.
5865 [XPG3] (SIGTRAP): Likewise.
5866 [POSIX || XPG3] (SIGURG): Likewise.
5867 [POSIX || XPG3] (SIGVTALRM): Likewise.
5868 [POSIX || XPG3] (SIGXCPU): Likewise.
5869 [POSIX || XPG3] (SIGXFSZ): Likewise.
5870 [POSIX] (SA_SIGINFO): Expect.
5871 [XPG3] (siginfo_t): Do not expect type or contents.
5872 [POSIX] (si_pid): Do not expect element.
5873 [POSIX] (si_uid): Likewise.
5874 [POSIX] (si_addr): Likewise.
5875 [POSIX] (si_status): Likewise.
5876 [POSIX] (si_band): Likewise.
5877 [XPG4] (si_value): Likewise.
5878 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5879 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5880 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5881 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5882 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5883 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5884 [POSIX || XPG3] (ILL_COPROC): Likewise.
5885 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5886 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5887 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5888 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5889 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5890 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5891 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5892 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5893 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5894 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5895 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5896 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5897 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5898 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5899 [POSIX || XPG3] (CLD_EXITED): Likewise.
5900 [POSIX || XPG3] (CLD_KILLED): Likewise.
5901 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5902 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5903 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5904 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5905 [POSIX || XPG3] (POLL_IN): Likewise.
5906 [POSIX || XPG3] (POLL_OUT): Likewise.
5907 [POSIX || XPG3] (POLL_MSG): Likewise.
5908 [POSIX || XPG3] (POLL_ERR): Likewise.
5909 [POSIX || XPG3] (POLL_PRI): Likewise.
5910 [POSIX || XPG3] (POLL_HUP): Likewise.
5911 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5912 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5913 (SIG*): Do not allow.
5914 [XPG3] (si_*): Likewise.
5915 [XPG3] (SI_*): Likewise.
5916 [XPG3 || XPG4] (sigev_*): Likewise.
5917 [XPG3 || XPG4] (SIGEV_*): Likewise.
5918 [XPG3 || XPG4] (sival_*): Likewise.
5919 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5920 [POSIX || XPG3] (BUS_*): Likewise.
5921 [POSIX || XPG3] (CLD_*): Likewise.
5922 [POSIX || XPG3] (FPE_*): Likewise.
5923 [POSIX || XPG3] (ILL_*): Likewise.
5924 [POSIX || XPG3] (POLL_*): Likewise.
5925 [POSIX || XPG3] (SEGV_*): Likewise.
5926 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5927 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5928 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5929 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5930 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5931 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5932 Specify type and value.
5933 (TVERSLEN): Likewise.
5934 (REGTYPE): Likewise.
5935 (AREGTYPE): Likewise.
5936 (LNKTYPE): Likewise.
5937 (SYMTYPE): Likewise.
5938 (CHRTYPE): Likewise.
5939 (BLKTYPE): Likewise.
5940 (DIRTYPE): Likewise.
5941 (FIFOTYPE): Likewise.
5942 (CONTTYPE): Likewise.
5943 (TSUID): Likewise.
5944 (TSGID): Likewise.
5945 (TSVTX): Likewise.
5946 (TUREAD): Likewise.
5947 (TUWRITE): Likewise.
5948 (TUEXEC): Likewise.
5949 (TGREAD): Likewise.
5950 (TGWRITE): Likewise.
5951 (TGEXEC): Likewise.
5952 (TOREAD): Likewise.
5953 (TOWRITE): Likewise.
5954 (TOEXEC): Likewise.
5955 [POSIX] (TSVTX): Expect constant.
5956
aa97dee1
JM
59572014-03-06 Joseph Myers <joseph@codesourcery.com>
5958
f214606a
JM
5959 * Makefile (tests): Change dependencies to ....
5960 (tests-special): ... additions to this variable.
5961 (tests): Depend on $(tests-special).
5962 * Makerules (check-abi-list): New variable.
5963 (check-abi): Depend on $(check-abi-list).
5964 [$(subdir) = elf] (tests-special): Add
5965 $(objpfx)check-abi-libc.out.
5966 [$(build-shared) = yes && subdir] (tests-special): Add
5967 $(check-abi-list).
5968 [$(build-shared) = yes && subdir] (tests): Do not depend on
5969 check-abi.
5970 * Rules (tests): Depend on $(tests-special).
5971 (xtests): Depend on $(xtests-special).
5972 * catgets/Makefile (tests): Change dependencies to ....
5973 (tests-special): ... additions to this variable.
5974 * conform/Makefile (tests): Change dependencies to ....
5975 (tests-special): ... additions to this variable.
5976 * elf/Makefile (tests): Change dependencies to ....
5977 (tests-special): ... additions to this variable.
5978 * grp/Makefile (tests): Change dependencies to ....
5979 (tests-special): ... additions to this variable.
5980 * iconv/Makefile (xtests): Change dependencies to ....
5981 (xtests-special): ... additions to this variable.
5982 * iconvdata/Makefile (tests): Change dependencies to ....
5983 (tests-special): ... additions to this variable.
5984 * intl/Makefile (tests): Change dependencies to ....
5985 (tests-special): ... additions to this variable. Also add
5986 $(objpfx)tst-gettext.out.
5987 * io/Makefile (tests): Change dependencies to ....
5988 (tests-special): ... additions to this variable.
5989 * libio/Makefile (tests): Change dependencies to ....
5990 (tests-special): ... additions to this variable.
5991 * malloc/Makefile (tests): Change dependencies to ....
5992 (tests-special): ... additions to this variable.
5993 * misc/Makefile (tests): Change dependencies to ....
5994 (tests-special): ... additions to this variable.
5995 * nptl/Makefile (tests): Change dependencies to ....
5996 (tests-special): ... additions to this variable.
5997 * nptl_db/Makefile (tests): Change dependencies to ....
5998 (tests-special): ... additions to this variable.
5999 * posix/Makefile (tests): Change dependencies to ....
6000 (tests-special): ... additions to this variable.
6001 (xtests): Change dependencies to ....
6002 (xtests-special): ... additions to this variable.
6003 * resolv/Makefile (tests): Change dependencies to ....
6004 (tests-special): ... additions to this variable.
6005 (xtests): Change dependencies to ....
6006 (xtests-special): ... additions to this variable.
6007 * stdio-common/Makefile (tests): Change dependencies to ....
6008 (tests-special): ... additions to this variable.
6009 (do-tst-unbputc): Remove target.
6010 (do-tst-printf): Likewise.
6011 * stdlib/Makefile (tests): Change dependencies to ....
6012 (tests-special): ... additions to this variable.
6013 * string/Makefile (tests): Change dependencies to ....
6014 (tests-special): ... additions to this variable.
6015 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6016 (tests-special): ... additions to this variable.
6017
81700b53
JM
6018 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6019 whole file.
6020 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6021 whole file.
6022 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6023 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6024
2ea18461
JM
6025 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6026 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6027 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6028 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6029 * conform/data/libgen.h-data [XPG3]: Likewise.
6030 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6031 * conform/data/ndbm.h-data [XPG3]: Likewise.
6032 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6033 * conform/data/netdb.h-data [XPG3]: Likewise.
6034 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6035 * conform/data/poll.h-data [XPG3]: Likewise.
6036 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6037 * conform/data/strings.h-data [XPG3]: Likewise.
6038 * conform/data/stropts.h-data [XPG3]: Likewise.
6039 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6040 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6041 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6042 Likewise.
6043 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6044 * conform/data/sys/time.h-data [XPG3]: Likewise.
6045 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6046 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6047 * conform/data/sys/un.h-data [XPG3]: Likewise.
6048 * conform/data/syslog.h-data [XPG3]: Likewise.
6049 * conform/data/ucontext.h-data [XPG3]: Likewise.
6050 * conform/data/utmpx.h-data [XPG3]: Likewise.
6051 * conform/data/varargs.h-data [UNIX98]: Enable file.
6052
355bc986
JM
6053 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6054
215db402
JM
6055 * math/libm-test.inc (struct test_f_f_data): Move expected results
6056 into structure for each rounding mode.
6057 (struct test_ff_f_data): Likewise.
6058 (struct test_ff_f_data_nexttoward): Likewise.
6059 (struct test_fi_f_data): Likewise.
6060 (struct test_fl_f_data): Likewise.
6061 (struct test_if_f_data): Likewise.
6062 (struct test_fff_f_data): Likewise.
6063 (struct test_c_f_data): Likewise.
6064 (struct test_f_f1_data): Likewise.
6065 (struct test_fF_f1_data): Likewise.
6066 (struct test_ffI_f1_data): Likewise.
6067 (struct test_c_c_data): Likewise.
6068 (struct test_cc_c_data): Likewise.
6069 (struct test_f_i_data): Likewise.
6070 (struct test_ff_i_data): Likewise.
6071 (struct test_f_l_data): Likewise.
6072 (struct test_f_L_data): Likewise.
6073 (struct test_fFF_11_data): Likewise.
6074 (RM_): New macro.
6075 (RM_FE_DOWNWARD): Likewise.
6076 (RM_FE_TONEAREST): Likewise.
6077 (RM_FE_TOWARDZERO): Likewise.
6078 (RM_FE_UPWARD): Likewise.
6079 (RUN_TEST_LOOP_f_f): Update references to expected results.
6080 (RUN_TEST_LOOP_2_f): Likewise.
6081 (RUN_TEST_LOOP_fff_f): Likewise.
6082 (RUN_TEST_LOOP_c_f): Likewise.
6083 (RUN_TEST_LOOP_f_f1): Likewise.
6084 (RUN_TEST_LOOP_fF_f1): Likewise.
6085 (RUN_TEST_LOOP_fI_f1): Likewise.
6086 (RUN_TEST_LOOP_ffI_f1): Likewise.
6087 (RUN_TEST_LOOP_c_c): Likewise.
6088 (RUN_TEST_LOOP_cc_c): Likewise.
6089 (RUN_TEST_LOOP_f_i): Likewise.
6090 (RUN_TEST_LOOP_f_i_tg): Likewise.
6091 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6092 (RUN_TEST_LOOP_f_b): Likewise.
6093 (RUN_TEST_LOOP_f_b_tg): Likewise.
6094 (RUN_TEST_LOOP_f_l): Likewise.
6095 (RUN_TEST_LOOP_f_L): Likewise.
6096 (RUN_TEST_LOOP_fFF_11): Likewise.
6097 * math/gen-libm-test.pl (parse_args): Output four copies of
6098 expected results for each test.
6099
67737b8f
JM
6100 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6101 (__ASSUME_UTIMES): Remove.
6102 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6103 (__ASSUME_UTIMES): Likewise.
6104
aa97dee1
JM
6105 * math/gen-auto-libm-tests.c: Update comment on output format.
6106 (output_for_one_input_case): Generate before-rounding and
6107 after-rounding information as conditions on output flags not
6108 floating-point format.
6109 * math/auto-libm-test-out: Regenerated.
6110 * math/gen-libm-test.pl (cond_value): New function.
6111 (or_cond_value): Use cond_value.
6112 (generate_testfile): Handle conditional exceptions.
6113
e6b6a857
JM
61142014-03-05 Joseph Myers <joseph@codesourcery.com>
6115
2f0a0f44
JM
6116 * math/libm-test.inc (max_valid_error): New variable.
6117 (init_max_error): Take new argument specifying whether function
6118 results are exactly determined. Set max_valid_error and bound
6119 other variables for errors based on this argument.
6120 (set_max_error): Do not record results above max_valid_error.
6121 (check_float_internal): Only accept errors of up to 0.5ulps if
6122 also at most max_valid_error.
6123 (START): Take new argument EXACT and pass it to init_max_error.
6124 (acos_test): Update call to START.
6125 (acos_test_tonearest): Likewise.
6126 (acos_test_towardzero): Likewise.
6127 (acos_test_downward): Likewise.
6128 (acos_test_upward): Likewise.
6129 (acosh_test): Likewise.
6130 (asin_test): Likewise.
6131 (asin_test_tonearest): Likewise.
6132 (asin_test_towardzero): Likewise.
6133 (asin_test_downward): Likewise.
6134 (asin_test_upward): Likewise.
6135 (asinh_test): Likewise.
6136 (atan_test): Likewise.
6137 (atanh_test): Likewise.
6138 (atan2_test): Likewise.
6139 (cabs_test): Likewise.
6140 (cacos_test): Likewise.
6141 (cacosh_test): Likewise.
6142 (carg_test): Likewise.
6143 (casin_test): Likewise.
6144 (casinh_test): Likewise.
6145 (catan_test): Likewise.
6146 (catanh_test): Likewise.
6147 (cbrt_test): Likewise.
6148 (ccos_test): Likewise.
6149 (ccosh_test): Likewise.
6150 (ceil_test): Likewise.
6151 (cexp_test): Likewise.
6152 (cimag_test): Likewise.
6153 (clog_test): Likewise.
6154 (clog10_test): Likewise.
6155 (conj_test): Likewise.
6156 (copysign_test): Likewise.
6157 (cos_test): Likewise.
6158 (cos_test_tonearest): Likewise.
6159 (cos_test_towardzero): Likewise.
6160 (cos_test_downward): Likewise.
6161 (cos_test_upward): Likewise.
6162 (cosh_test): Likewise.
6163 (cosh_test_tonearest): Likewise.
6164 (cosh_test_towardzero): Likewise.
6165 (cosh_test_downward): Likewise.
6166 (cosh_test_upward): Likewise.
6167 (cpow_test): Likewise.
6168 (cproj_test): Likewise.
6169 (creal_test): Likewise.
6170 (csin_test): Likewise.
6171 (csinh_test): Likewise.
6172 (csqrt_test): Likewise.
6173 (ctan_test): Likewise.
6174 (ctan_test_tonearest): Likewise.
6175 (ctan_test_towardzero): Likewise.
6176 (ctan_test_downward): Likewise.
6177 (ctan_test_upward): Likewise.
6178 (ctanh_test): Likewise.
6179 (ctanh_test_tonearest): Likewise.
6180 (ctanh_test_towardzero): Likewise.
6181 (ctanh_test_downward): Likewise.
6182 (ctanh_test_upward): Likewise.
6183 (erf_test): Likewise.
6184 (erfc_test): Likewise.
6185 (exp_test): Likewise.
6186 (exp_test_tonearest): Likewise.
6187 (exp_test_towardzero): Likewise.
6188 (exp_test_downward): Likewise.
6189 (exp_test_upward): Likewise.
6190 (exp10_test): Likewise.
6191 (exp10_test_tonearest): Likewise.
6192 (exp10_test_towardzero): Likewise.
6193 (exp10_test_downward): Likewise.
6194 (exp10_test_upward): Likewise.
6195 (pow10_test): Likewise.
6196 (exp2_test): Likewise.
6197 (expm1_test): Likewise.
6198 (expm1_test_tonearest): Likewise.
6199 (expm1_test_towardzero): Likewise.
6200 (expm1_test_downward): Likewise.
6201 (expm1_test_upward): Likewise.
6202 (fabs_test): Likewise.
6203 (fdim_test): Likewise.
6204 (floor_test): Likewise.
6205 (fma_test): Likewise.
6206 (fma_test_towardzero): Likewise.
6207 (fma_test_downward): Likewise.
6208 (fma_test_upward): Likewise.
6209 (fmax_test): Likewise.
6210 (fmin_test): Likewise.
6211 (fmod_test): Likewise.
6212 (fpclassify_test): Likewise.
6213 (frexp_test): Likewise.
6214 (hypot_test): Likewise.
6215 (ilogb_test): Likewise.
6216 (isfinite_test): Likewise.
6217 (finite_test): Likewise.
6218 (isgreater_test): Likewise.
6219 (isgreaterequal_test): Likewise.
6220 (isinf_test): Likewise.
6221 (isless_test): Likewise.
6222 (islessequal_test): Likewise.
6223 (islessgreater_test): Likewise.
6224 (isnan_test): Likewise.
6225 (isnormal_test): Likewise.
6226 (issignaling_test): Likewise.
6227 (isunordered_test): Likewise.
6228 (j0_test): Likewise.
6229 (j1_test): Likewise.
6230 (jn_test): Likewise.
6231 (ldexp_test): Likewise.
6232 (lgamma_test): Likewise.
6233 (gamma_test): Likewise.
6234 (lrint_test): Likewise.
6235 (lrint_test_tonearest): Likewise.
6236 (lrint_test_towardzero): Likewise.
6237 (lrint_test_downward): Likewise.
6238 (lrint_test_upward): Likewise.
6239 (llrint_test): Likewise.
6240 (llrint_test_tonearest): Likewise.
6241 (llrint_test_towardzero): Likewise.
6242 (llrint_test_downward): Likewise.
6243 (llrint_test_upward): Likewise.
6244 (log_test): Likewise.
6245 (log10_test): Likewise.
6246 (log1p_test): Likewise.
6247 (log2_test): Likewise.
6248 (logb_test): Likewise.
6249 (logb_test_downward): Likewise.
6250 (lround_test): Likewise.
6251 (llround_test): Likewise.
6252 (modf_test): Likewise.
6253 (nearbyint_test): Likewise.
6254 (nextafter_test): Likewise.
6255 (nexttoward_test): Likewise.
6256 (pow_test): Likewise.
6257 (pow_test_tonearest): Likewise.
6258 (pow_test_towardzero): Likewise.
6259 (pow_test_downward): Likewise.
6260 (pow_test_upward): Likewise.
6261 (remainder_test): Likewise.
6262 (drem_test): Likewise.
6263 (remainder_test_tonearest): Likewise.
6264 (drem_test_tonearest): Likewise.
6265 (remainder_test_towardzero): Likewise.
6266 (drem_test_towardzero): Likewise.
6267 (remainder_test_downward): Likewise.
6268 (drem_test_downward): Likewise.
6269 (remainder_test_upward): Likewise.
6270 (drem_test_upward): Likewise.
6271 (remquo_test): Likewise.
6272 (rint_test): Likewise.
6273 (rint_test_tonearest): Likewise.
6274 (rint_test_towardzero): Likewise.
6275 (rint_test_downward): Likewise.
6276 (rint_test_upward): Likewise.
6277 (round_test): Likewise.
6278 (scalb_test): Likewise.
6279 (scalbn_test): Likewise.
6280 (scalbln_test): Likewise.
6281 (signbit_test): Likewise.
6282 (sin_test): Likewise.
6283 (sin_test_tonearest): Likewise.
6284 (sin_test_towardzero): Likewise.
6285 (sin_test_downward): Likewise.
6286 (sin_test_upward): Likewise.
6287 (sincos_test): Likewise.
6288 (sinh_test): Likewise.
6289 (sinh_test_tonearest): Likewise.
6290 (sinh_test_towardzero): Likewise.
6291 (sinh_test_downward): Likewise.
6292 (sinh_test_upward): Likewise.
6293 (sqrt_test): Likewise.
6294 (sqrt_test_tonearest): Likewise.
6295 (sqrt_test_towardzero): Likewise.
6296 (sqrt_test_downward): Likewise.
6297 (sqrt_test_upward): Likewise.
6298 (tan_test): Likewise.
6299 (tan_test_tonearest): Likewise.
6300 (tan_test_towardzero): Likewise.
6301 (tan_test_downward): Likewise.
6302 (tan_test_upward): Likewise.
6303 (tanh_test): Likewise.
6304 (tgamma_test): Likewise.
6305 (trunc_test): Likewise.
6306 (y0_test): Likewise.
6307 (y1_test): Likewise.
6308 (yn_test): Likewise.
6309 (significand_test): Likewise.
6310
e6b6a857
JM
6311 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6312 individual tests in comment.
6313 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6314 (prev_max_error): New variable.
6315 (prev_real_max_error): Likewise.
6316 (prev_imag_max_error): Likewise.
6317 (compare_ulp_data): Don't refer to test names in comment.
6318 (find_test_ulps): Remove function.
6319 (find_function_ulps): Likewise.
6320 (find_complex_function_ulps): Likewise.
6321 (init_max_error): Take function name as argument. Look up ulps
6322 for that function.
6323 (print_ulps): Remove function.
6324 (print_max_error): Use prev_max_error instead of calling
6325 find_function_ulps.
6326 (print_complex_max_error): Use prev_real_max_error and
6327 prev_imag_max_error instead of calling find_complex_function_ulps.
6328 (check_float_internal): Take max_ulp parameter instead of calling
6329 find_test_ulps. Don't call print_ulps.
6330 (check_float): Update call to check_float_internal.
6331 (check_complex): Update calls to check_float_internal.
6332 (START): Pass argument to init_max_error.
6333 * math/gen-libm-test.pl (%results): Don't include "kind"
6334 information.
6335 (parse_ulps): Don't handle ulps of individual tests.
6336 (print_ulps_file): Likewise.
6337 (output_ulps): Likewise.
6338 * math/README.libm-test: Update.
6339 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6340 individual tests.
6341 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6342 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6343 * sysdeps/arm/libm-test-ulps: Likewise.
6344 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6345 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6346 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6347 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6348 * sysdeps/microblaze/libm-test-ulps: Likewise.
6349 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6350 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6351 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6352 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6353 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6354 * sysdeps/sh/libm-test-ulps: Likewise.
6355 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6356 * sysdeps/tile/libm-test-ulps: Likewise.
6357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6358
45adef3c
JM
63592014-03-04 Joseph Myers <joseph@codesourcery.com>
6360
6361 * math/libm-test.inc (print_complex_max_error): Check separately
6362 whether real and imaginary errors are within allowed range and
6363 pass 0 to print_complex_function_ulps instead of value within
6364 allowed range.
6365
000232b9
SP
63662014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6367
d4b17258
SP
6368 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6369 formatting.
6370 (get_handles_fopen): Likewise.
6371 (do_write_test): Likewise.
6372
091eff71
SP
6373 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6374
fa3cd248
SP
6375 * libio/fileops.c (do_ftell): Use cached offset when
6376 available.
6377 * libio/iofwide.c (do_ftell_wide): Likewise.
6378 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6379 _IO_file_attach.
6380 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6381
000232b9
SP
6382 [BZ #16532]
6383 * libio/libioP.h (get_file_offset): New function.
6384 * libio/fileops.c (get_file_offset): Likewise.
6385 (do_ftell): Likewise.
6386 (_IO_new_file_seekoff): Split out ftell logic.
6387 * libio/wfileops.c (do_ftell_wide): Likewise.
6388 (_IO_wfile_seekoff): Split out ftell logic.
6389 * libio/tst-ftell-active-handler.c: New test case.
6390 * libio/Makefile (tests): Add it.
6391
116f4d1a
RM
63922014-03-03 Roland McGrath <roland@hack.frob.com>
6393
6394 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6395 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6396
532a6035
SP
63972014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6398
6399 [BZ #16639]
6400 * nscd/connections.c (nscd_init): Call do_exit.
6401 (start_threads): Call do_exit and notify_parent.
6402 (begin_drop_privileges): Call do_exit.
6403 (finish_drop_privileges): Likewise.
6404 * nscd/selinux.c (preserve_capabilities): Likewise.
6405 (install_real_capabilities): Likewise.
6406 (nscd_selinux_enabled): Likewise.
6407 (avc_create_thread): Likewise.
6408 (avc_alloc_lock): Likewise.
6409 (nscd_avc_init): Likewise.
6410 * nscd/nscd.c (parent_fd): New static variable.
6411 (main): Create a pipe between parent and child processes.
6412 Skip closing parent_fd.
6413 (monitor_child): New function.
6414 (do_exit): Likewise.
6415 (notify_parent): Likewise.
6416 * nscd/nscd.h (notify_parent): Likewise.
6417 (do_exit): Likewise.
6418
d6285c9f
CD
64192014-03-03 Carlos O'Donell <carlos@redhat.com>
6420
6421 * malloc/malloc.c (__libc_calloc): Revert last change.
6422
2b85d2a0
AZ
64232014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6424
6425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6426
c7debbdf
RS
64272014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6428
6429 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6430 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6431 implementation.
6432 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6433 (__libc_ifunc_impl_list): Likewise.
6434 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6435 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6436 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6437 * string/strrchr.c: Define STRRCHR.
6438
235eed86
OB
64392014-02-28 Ondřej Bílka <neleai@seznam.cz>
6440
6441 * benchtest/bench-strtok.c (simple_strtok): Delete.
6442 (strtok_string): Use as benchmark.
6443 * string/strtok (STRTOK): New macro.
6444
8e25d1e7
CD
64452014-02-28 Carlos O'Donell <carlos@redhat.com>
6446
ef563f92
CD
6447 * manual/threads.texi: Add header and standard comments to all
6448 functions.
6449
8e25d1e7
CD
6450 * elf/dl-lookup.c (check_match): New function.
6451 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6452 (do_lookup_x): Remove nested function check_match. Use non-nested
6453 function check_match.
6454
ff71cc37
RM
64552014-02-28 Roland McGrath <roland@hack.frob.com>
6456
f08e9a26
RM
6457 * csu/Makefile (generated, before-compile): Use += rather than =.
6458 * catgets/Makefile (generated, generated-dirs): Likewise.
6459 * debug/Makefile (generated): Likewise.
6460 * dlfcn/Makefile (generated): Likewise.
6461 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6462 * iconvdata/Makefile (before-compile, generated): Likewise.
6463 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6464 * libio/Makefile (generated): Likewise.
6465 * malloc/Makefile (generated): Likewise.
6466 * manual/Makefile (generated, generated-dirs): Likewise.
6467 * misc/Makefile (generated): Likewise.
6468 * posix/Makefile (generated): Likewise.
6469 * resolv/Makefile (generated): Likewise.
6470 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6471 * timezone/Makefile (generated, generated-dirs): Likewise.
6472
ff71cc37
RM
6473 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6474
fe13a20c
AZ
64752014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6476
57f41c40
AS
6477 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6478 power8 implementation.
6479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6480 file: POWER8 llround ifunc implementation.
6481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6482 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
6483 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6484 POWER8 llround implementation.
6485
57f41c40
AS
6486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6487 power8 implementation.
6488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6489 file: POWER8 llrint ifunc implementation.
6490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6491 Add POWER8 implementation.
1ad8950a
AZ
6492 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6493 POWER8 llrint implementation.
6494
57f41c40
AS
6495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6496 power8 implementation.
6497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6498 file: POWER8 finite ifunc implementation.
6499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6500 Add POWER8 implementation.
cac626d6
AZ
6501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6502 Likewise.
6503 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6504 POWER8 finite implementation.
6505 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6506
57f41c40
AS
6507 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6508 power8 implementation.
6509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6510 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
6511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6512 POWER8 implementation.
6513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6514 Likewise.
57f41c40
AS
6515 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6516 isinf implementation.
4393fc11
AZ
6517 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6518
57f41c40
AS
6519 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6520 (INIT_ARCH): Add hwcap2 initialization.
6521 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6522 power8 implementation.
6523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6524 file: POWER8 isnan ifunc implementation.
487972ae
AZ
6525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6526 POWER8 implementation.
6527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6528 Likewise.
57f41c40
AS
6529 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6530 isnan implementation.
487972ae
AZ
6531 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6532
7d92b787
JY
65332014-02-27 Joey Ye <joey.ye@arm.com>
6534
6535 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6536 (_FP_NANFRAC_Q): Set to zero.
6537
1cadc858
SP
65382014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6539
6540 [BZ #16623]
6541 * math/auto-libm-test-in: New test inputs.
6542 * math/auto-libm-test-out: Regenerate.
6543 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6544 and DA.
6545 (__cos): Likewise.
6546 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6547
f8c17e79
JM
65482014-02-27 Joseph Myers <joseph@codesourcery.com>
6549
6550 * scripts/evaluate-test.sh: Take new argument indicating whether
6551 failure is expected.
6552 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6553 indicating whether failure is expected.
6554 * conform/Makefile (test-xfail-run-conformtest): New variable.
6555 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6556 level.
6557 * posix/Makefile (test-xfail-annexc): New variable.
6558 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6559
a5f891ac
JM
65602014-02-26 Joseph Myers <joseph@codesourcery.com>
6561
6562 * argp/Makefile: Include Makeconfig immediately after defining
6563 subdir.
6564 * assert/Makefile: Likewise.
6565 * benchtests/Makefile: Likewise.
6566 * catgets/Makefile: Likewise.
6567 * conform/Makefile: Likewise.
6568 * crypt/Makefile: Likewise.
6569 * csu/Makefile: Likewise.
6570 (all): Remove target.
6571 * ctype/Makefile: Include Makeconfig immediately after defining
6572 subdir.
6573 * debug/Makefile: Likewise.
6574 * dirent/Makefile: Likewise.
6575 * dlfcn/Makefile: Likewise.
6576 * gmon/Makefile: Likewise.
6577 * gnulib/Makefile: Likewise.
6578 * grp/Makefile: Likewise.
6579 * gshadow/Makefile: Likewise.
6580 * hesiod/Makefile: Likewise.
6581 * hurd/Makefile: Likewise.
6582 (all): Remove target.
6583 * iconvdata/Makefile: Include Makeconfig immediately after
6584 defining subdir.
6585 * inet/Makefile: Likewise.
6586 * intl/Makefile: Likewise.
6587 * io/Makefile: Likewise.
6588 * libio/Makefile: Likewise.
6589 (all): Remove target.
6590 * locale/Makefile: Include Makeconfig immediately after defining
6591 subdir.
6592 * login/Makefile: Likewise.
6593 * mach/Makefile: Likewise.
6594 (all): Remove target.
6595 * malloc/Makefile: Include Makeconfig immediately after defining
6596 subdir.
6597 (all): Remove target.
6598 * manual/Makefile: Include Makeconfig immediately after defining
6599 subdir.
6600 * math/Makefile: Likewise.
6601 * misc/Makefile: Likewise.
6602 * nis/Makefile: Likewise.
6603 * nss/Makefile: Likewise.
6604 * po/Makefile: Likewise.
6605 (all): Remove target.
6606 * posix/Makefile: Include Makeconfig immediately after defining
6607 subdir.
6608 * pwd/Makefile: Likewise.
6609 * resolv/Makefile: Likewise.
6610 * resource/Makefile: Likewise.
6611 * rt/Makefile: Likewise.
6612 * setjmp/Makefile: Likewise.
6613 * shadow/Makefile: Likewise.
6614 * signal/Makefile: Likewise.
6615 * socket/Makefile: Likewise.
6616 * soft-fp/Makefile: Likewise.
6617 * stdio-common/Makefile: Likewise.
6618 * stdlib/Makefile: Likewise.
6619 * streams/Makefile: Likewise.
6620 * string/Makefile: Likewise.
6621 * sunrpc/Makefile: Likewise.
6622 (all): Remove target.
6623 * sysvipc/Makefile: Include Makeconfig immediately after defining
6624 subdir.
6625 * termios/Makefile: Likewise.
6626 * time/Makefile: Likewise.
6627 * timezone/Makefile: Likewise.
6628 (all): Remove target.
6629 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6630 subdir.
6631 * wctype/Makefile: Likewise.
6632
5b456e9d
SE
66332014-02-26 Steve Ellcey <sellcey@mips.com>
6634
6635 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6636 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6637 (libc_feholdexcept_setround_mips): Ditto.
6638 (libc_feholdsetround): New.
6639 (libc_feholdsetroundf): New.
6640 (libc_feholdsetroundl): New.
6641 (libc_feupdateenv_test_mips): New.
6642 (libc_feupdateenv_test): New.
6643 (libc_feupdateenv_testf): New.
6644 (libc_feupdateenv_testl): New.
6645 (libc_feresetround): New.
6646 (libc_feresetroundf): New.
6647 (libc_feresetroundl): New.
6648 (libc_fetestexcept_mips): New.
6649 (libc_fetestexcept): New.
6650 (libc_fetestexceptf): New.
6651 (libc_fetestexceptl): New.
6652 (HAVE_RM_CTX): New.
6653 (libc_feholdexcept_setround_mips_ctx): New.
6654 (libc_feholdexcept_setround_ctx): New.
6655 (libc_feholdexcept_setroundf_ctx): New.
6656 (libc_feholdexcept_setroundl_ctx): New.
6657 (libc_fesetenv_mips_ctx): New.
6658 (libc_fesetenv_ctx): New.
6659 (libc_fesetenv_ctxf): New.
6660 (libc_fesetenv_ctxl): New.
6661 (libc_feupdateenv_mips_ctx): New.
6662 (libc_feupdateenv_ctx): New.
6663 (libc_feupdateenvf_ctx): New.
6664 (libc_feupdateenvl_ctx): New.
6665 (libc_feholdsetround_mips_ctx): New.
6666 (libc_feholdsetround_ctx): New.
6667 (libc_feholdsetroundf_ctx): New.
6668 (libc_feholdsetroundl_ctx): New.
6669 (libc_feresetround_mips_ctx): New.
6670 (libc_feresetround_ctx): New.
6671 (libc_feresetroundf_ctx): New.
6672 (libc_feresetroundl_ctx): New.
6673
085d0e35
CD
66742014-02-26 Carlos O'Donell <carlos@redhat.com>
6675
f067bf1f
CD
6676 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6677
085d0e35
CD
6678 * manual/ipc.texi: New file.
6679 * manual/Makefile (chapters): Add ipc.
6680 * manual/job.texi: Add "Inter-Process Communication" to next.
6681 * manual/process.texi: Add "Inter-Process Communication" to prev.
6682
86e58c08
AZ
66832014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6684
6685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6686
4248f0da
OB
66872014-02-26 Ondřej Bílka <neleai@seznam.cz>
6688
6689 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6690
cf822e3c
OB
6691 * manual/arith.texi: Fix spaces after sentences.
6692 * manual/charset.texi: Likewise.
6693 * manual/errno.texi: Likewise.
6694 * manual/install.texi: Likewise.
6695 * manual/llio.texi: Likewise.
6696 * manual/locale.texi: Likewise.
6697 * manual/maint.texi: Likewise.
6698 * manual/math.texi: Likewise.
6699 * manual/memory.texi: Likewise.
6700 * manual/message.texi: Likewise.
6701 * manual/probes.texi: Likewise.
6702 * manual/resource.texi: Likewise.
6703 * manual/signal.texi: Likewise.
6704 * manual/socket.texi: Likewise.
6705 * manual/stdio.texi: Likewise.
6706 * manual/string.texi: Likewise.
6707 * manual/time.texi: Likewise.
6708 * manual/users.texi: Likewise.
6709
ade40b10
CD
67102014-02-25 Carlos O'Donell <carlos@redhat.com>
6711
6712 [BZ #16632]
6713 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6714 _DEFAULT_SOURCE is defined.
6715
d0503676
CD
67162014-02-25 Ulrich Drepper <drepper@gmail.com>
6717 Carlos O'Donell <carlos@redhat.com>
6718
6719 [BZ #16613]
6720 * elf/dl-tls.c (_dl_count_modids): New function.
6721 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6722 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6723 audit library and increment generation counter.
6724 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6725 * elf/tst-audit9.c: New file.
6726 * elf/tst-auditmod9a.c: New file.
6727 * elf/tst-auditmod9b.c: New file.
6728 * elf/Makefile: Add rules to build and run tst-audit9.
6729
4cbf380c
FW
67302014-02-25 Florian Weimer <fweimer@redhat.com>
6731
6732 [BZ #15347]
6733 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6734
80a56cc3
WN
67352014-02-25 Will Newton <will.newton@linaro.org>
6736
6737 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6738 (__longjmp): Restore sp and lr before restoring callee
6739 saved registers. Add longjmp and longjmp_target
6740 SystemTap probe point.
6741 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6742 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6743 Define to zero to match jmpbuf layout.
6744 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6745 (__sigsetjmp): Save sp and lr before saving callee
6746 saved registers. Add setjmp SystemTap probe point.
6747
3ea0f74e
SL
67482014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6749
6750 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6751
b04acb26
AS
67522014-02-24 Andreas Schwab <schwab@suse.de>
6753
6754 [BZ #15804]
6755 * elf/pldd.c (wait_for_ptrace_stop): New function.
6756 (main): Call it after attaching.
6757
098ad55c
RM
67582014-02-22 Roland McGrath <roland@hack.frob.com>
6759
d4ec6ae1
RM
6760 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6761 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6762 Versions files is now verboten.
6763 * hurd/Versions (libc: GLIBC_2.0):
6764 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6765 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6766 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6767 * mach/Versions: Likewise.
6768
098ad55c
RM
6769 * csu/Versions: Remove unused %include.
6770 * resolv/Versions: Likewise.
6771
acd7f096
JM
67722014-02-21 Joseph Myers <joseph@codesourcery.com>
6773
f0881698
JM
6774 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6775 ($(objpfx)check-local-headers.out): Likewise.
6776 ($(objpfx)begin-end-check.out): Likewise.
6777 * Makerules (check-abi-%.out): Likewise.
6778 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6779 ($(objpfx)test2.cat): Likewise.
6780 ($(objpfx)de/libc.cat): Likewise.
6781 ($(objpfx)test-gencat.out): Likewise.
6782 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6783 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6784 ($(objpfx)noload-mem): Likewise.
6785 ($(objpfx)tst-pathopt.out): Likewise.
6786 ($(objpfx)tst-rtld-load-self.out): Likewise.
6787 ($(objpfx)tst-array1-cmp.out): Likewise.
6788 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6789 ($(objpfx)tst-array2-cmp.out): Likewise.
6790 ($(objpfx)tst-array3-cmp.out): Likewise.
6791 ($(objpfx)tst-array4-cmp.out): Likewise.
6792 ($(objpfx)tst-array5-cmp.out): Likewise.
6793 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6794 ($(objpfx)check-textrel.out): Likewise.
6795 ($(objpfx)check-execstack.out): Likewise.
6796 ($(objpfx)check-localplt.out): Likewise.
6797 ($(objpfx)order2-cmp.out): Likewise.
6798 ($(objpfx)tst-leaks1-mem): Likewise.
6799 ($(objpfx)tst-leaks1-static-mem): Likewise.
6800 ($(objpfx)tst-initorder-cmp.out): Likewise.
6801 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6802 ($(objpfx)tst-unused-dep.out): Likewise.
6803 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6804 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6805 * iconv/Makefile (test-iconvconfig): Likewise.
6806 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6807 ($(objpfx)iconv-test.out): Likewise.
6808 ($(objpfx)tst-tables.out): Likewise.
6809 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6810 ($(objpfx)tst-gettext.out): Likewise.
6811 ($(objpfx)tst-translit.out): Likewise.
6812 ($(objpfx)tst-gettext2.out): Likewise.
6813 ($(objpfx)tst-gettext4.out): Likewise.
6814 ($(objpfx)tst-gettext6.out): Likewise.
6815 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6816 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6817 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6818 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6819 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6820 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6821 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6822 ($(objpfx)wordexp-tst.out): Likewise.
6823 ($(objpfx)annexc.out): Likewise.
6824 ($(objpfx)tst-fnmatch-mem): Likewise.
6825 ($(objpfx)bug-regex2-mem): Likewise.
6826 ($(objpfx)bug-regex14-mem): Likewise.
6827 ($(objpfx)bug-regex21-mem): Likewise.
6828 ($(objpfx)bug-regex31-mem): Likewise.
6829 ($(objpfx)tst-vfork3-mem): Likewise.
6830 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6831 ($(objpfx)tst-pcre-mem): Likewise.
6832 ($(objpfx)tst-boost-mem): Likewise.
6833 ($(objpfx)tst-getconf.out): Likewise.
6834 ($(objpfx)bug-ga2-mem): Likewise.
6835 ($(objpfx)bug-glob2-mem): Likewise.
6836 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6837 ($(objpfx)mtrace-tst-leaks2): Likewise.
6838 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6839 ($(objpfx)tst-printf.out): Likewise.
6840 ($(objpfx)tst-setvbuf1.out): Likewise.
6841 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6842 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6843 ($(objpfx)tst-fmtmsg.out): Likewise.
6844 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6845 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6846
acd7f096
JM
6847 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6848 * bits/sigaction.h [__USE_MISC]: Likewise.
6849 * bits/waitstatus.h: Update #endif comments.
6850 * ctype/ctype.h: Likewise.
6851 * dirent/dirent.h: Likewise.
6852 [__USE_MISC]: Remove redundant conditionals.
6853 * grp/grp.h: Update #endif comments.
6854 [__USE_GNU]: Remove redundant conditionals.
6855 [__USE_MISC]: Likewise.
6856 * inet/netinet/in.h [__USE_GNU]: Likewise.
6857 * io/sys/stat.h [__USE_MISC]: Likewise.
6858 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6859 * libio/bits/stdio.h: Update #endif comments.
6860 [__USE_MISC]: Remove redundant conditionals.
6861 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6862 * libio/stdio.h: Update #endif comments.
6863 [__USE_MISC]: Remove redundant conditionals.
6864 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6865 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6866 * math/math.h: Update #else and #endif comments.
6867 [__USE_MISC]: Remove redundant conditionals.
6868 * misc/sys/uio.h: Update #endif comments.
6869 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6870 * posix/glob.h [__USE_MISC]: Likewise.
6871 * posix/sys/types.h: Update #endif comments.
6872 [__USE_MISC]: Remove redundant conditionals.
6873 * posix/sys/wait.h: Update #endif comments.
6874 [__USE_MISC]: Remove redundant conditionals.
6875 * posix/unistd.h: Update #endif comments.
6876 [__USE_MISC]: Remove redundant conditionals.
6877 * pwd/pwd.h [__USE_GNU]: Likewise.
6878 [__USE_MISC]: Likewise.
6879 * resolv/netdb.h [__USE_GNU]: Likewise.
6880 * signal/signal.h: Update #endif comments.
6881 [__USE_MISC]: Remove redundant conditionals.
6882 * stdlib/stdlib.h: Update #else and #endif comments.
6883 [__USE_MISC]: Remove redundant conditionals.
6884 [__USE_GNU]: Likewise.
6885 * string/bits/string2.h [__USE_MISC]: Likewise.
6886 * string/string.h: Update #endif comments.
6887 [__USE_MISC]: Remove redundant conditionals.
6888 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6889 Likewise.
6890 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6891 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6892 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6893 Likewise.
6894 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6895 Likewise.
6896 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6897 comments.
6898 [__USE_MISC]: Remove redundant conditionals.
6899 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6900 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6901 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6902 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6903 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6904 Likewise.
6905 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6906 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6907 Likewise.
6908 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6909 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6910 Likewise.
6911 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6912 Likewise.
6913 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6914 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6915 Likewise.
6916 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6917 Likewise.
6918 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6919 * sysdeps/x86/bits/string.h: Update #endif comments.
6920 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6921 conditionals.
6922 * time/sys/time.h: Update #endif comments.
6923 * time/time.h: Likewise.
6924 [__USE_MISC]: Remove redundant conditionals.
6925
a5d82e4e
YG
69262014-02-21 Yury Gribov <y.gribov@samsung.com>
6927
6928 [BZ #16600]
6929 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6930
9a80491d
AS
69312014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6932
6933 * Versions.def (librt): Add GLIBC_2.17.
6934
105fa381
AC
69352014-02-21 Adam Conrad <adconrad@0c3.net>
6936
6937 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6938 synonym for _SYS_AUXV_H to allow direct inclusion.
6939 * sysdeps/sparc/bits/hwcap.h: Likewise.
6940 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6941 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6942 * sysdeps/sparc/sysdep.h: Likewise.
6943
b8cd1c4e
SP
69442014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6945
6946 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6947
bd939d23
RS
69482014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6949
6950 * benchtests/bench-strrchr.c: Print length instead of position.
6951
5d7b57ca
JM
69522014-02-20 Joseph Myers <joseph@codesourcery.com>
6953
bc688c10
JM
6954 [BZ #16611]
6955 * sysdeps/unix/sysv/linux/kernel-features.h
6956 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6957 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6958 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6959 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6960 Likewise.
6961 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6962 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6963 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6964 (__ASSUME_SENDMMSG): Define instead of using previous
6965 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6966 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6967 (__ASSUME_SENDMMSG_SYSCALL): Define.
6968 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6969 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6970 Likewise.
6971 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6972 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6973 Likewise.
6974 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6975 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6976 Likewise.
6977 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6978 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6979 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6980 [__ASSUME_SENDMMSG]: Change conditionals to
6981 [__ASSUME_SENDMMSG_SOCKETCALL].
6982 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6983 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6984 Define.
6985 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6986 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6987 Likewise.
6988 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6989 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6990 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6991 [!__ASSUME_SENDMMSG]: Change conditional to
6992 [!__ASSUME_SENDMMSG_SOCKETCALL].
6993 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6994 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6995 Define.
6996
0e31b18c
JM
6997 [BZ #16610]
6998 * sysdeps/unix/sysv/linux/kernel-features.h
6999 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7000 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7001 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7002 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7003 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7004 [__i386__ || __sparc__]
7005 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7006 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7007 (__ASSUME_RECVMMSG): Define instead of using previous
7008 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7009 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7010 (__ASSUME_RECVMMSG_SYSCALL): Define.
7011 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7012 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7013 Likewise.
7014 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7015 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7016 Likewise.
7017 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7018 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7019 Likewise.
7020 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7021 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7022 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7023 [__ASSUME_RECVMMSG]: Change condition to
7024 [__ASSUME_RECVMMSG_SOCKETCALL].
7025 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7026 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7027 Define.
7028 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7029 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7030 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7031 Likewise.
7032 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7033 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7034 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7035 [!__ASSUME_RECVMMSG]: Change condition to
7036 [!__ASSUME_RECVMMSG_SOCKETCALL].
7037 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7038 (__ASSUME_RECVMMSG_SYSCALL): Define.
7039
dd481ccf
JM
7040 [BZ #16609]
7041 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7042 __powerpc__ || __s390__ || __sh__ || __sparc__]
7043 (__ASSUME_SOCKETCALL): Define.
7044 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7045 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7046 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7047 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7048 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7049 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7050 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7051 (__ASSUME_ACCEPT4): Define instead of using previous
7052 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7053 __powerpc__ || __sparc__ || __s390__)] condition.
7054 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7055 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7056 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7057 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7058 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7059 [!__ASSUME_ACCEPT4]: Change condition to
7060 [!__ASSUME_ACCEPT4_SOCKETCALL].
7061 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7062 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7063 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7064 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7065 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7066 __ASSUME_ACCEPT4_SYSCALL.
7067 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7068 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7069 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7070 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7071 __ASSUME_ACCEPT4_SYSCALL.
7072 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7073 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7074 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7075 [__ASSUME_ACCEPT4]: Change condition to
7076 [__ASSUME_ACCEPT4_SOCKETCALL].
7077 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7078 (__ASSUME_SOCKETCALL): Define.
7079 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7080 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7081 (__ASSUME_SOCKETCALL): Define.
7082 (__ASSUME_ACCEPT4): Remove.
7083 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7084 Define.
7085 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7086 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7087 Likewise.
7088 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7089 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7090
5d7b57ca
JM
7091 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7092 macro.
7093 (HWCAP_ARM_LPAE): Likewise.
7094 (HWCAP_ARM_EVTSTRM): Likewise.
7095 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7096 Add vpfd32, lpae and evtstrm.
7097 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7098 Increase to 22.
7099
63689d61
JM
71002014-02-19 Joseph Myers <joseph@codesourcery.com>
7101
7102 * math/auto-libm-test-in: Add tests of clog10.
7103 * math/auto-libm-test-out: Regenerated.
7104 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7105 * sysdeps/i386/fpu/libm-test-ulps: Update.
7106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7107
ab09bf61
AS
71082014-02-18 Andreas Schwab <schwab@suse.de>
7109
7110 [BZ #16574]
7111 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7112 Store non-zero if the second buffer was newly allocated.
7113 (send_dg): Likewise.
7114 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7115 to send_vc and send_dg.
7116 (res_nsend): Pass NULL for ansp2_malloced.
7117 * resolv/res_query.c (__libc_res_nquery): Add parameter
7118 answerp2_malloced and pass it down to __libc_res_nsend.
7119 (res_nquery): Pass additional NULL to __libc_res_nquery.
7120 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7121 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7122 second answer buffer if answerp2_malloced was set.
7123 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7124 (__libc_res_nquerydomain): Add parameter
7125 answerp2_malloced and pass it down to __libc_res_nquery.
7126 (res_nquerydomain): Pass additional NULL to
7127 __libc_res_nquerydomain.
7128 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7129 additional NULL to __libc_res_nsend and __libc_res_nquery.
7130 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7131 additional NULL to __libc_res_nsearch.
7132 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7133 parameter of __libc_res_nsearch to check for separately allocated
7134 second buffer.
7135 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7136 __libc_res_nquery.
7137 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7138 additional NULL to __libc_res_nquery.
7139 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7140 __libc_res_nsearch.
7141 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7142 * include/resolv.h: Update prototypes of __libc_res_nquery,
7143 __libc_res_nsearch, __libc_res_nsend.
7144
a4fb7861
JM
71452014-02-18 Joseph Myers <joseph@codesourcery.com>
7146
c6af2d89
JM
7147 * math/auto-libm-test-in: Add tests of fma.
7148 * math/auto-libm-test-out: Regenerated.
7149 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7150 (fma_towardzero_test_data): Likewise.
7151 (fma_downward_test_data): Likewise.
7152 (fma_upward_test_data): Likewise.
7153 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7154 mpc_mode.
7155 (rounding_modes): Add values for new field.
7156 (func_calc_method): Add value mpfr_fff_f.
7157 (func_calc_desc): Add mpfr_fff_f union field.
7158 (test_function): Add field exact_args.
7159 (FUNC): Add macro argument EXACT_ARGS.
7160 (FUNC_mpfr_f_f): Update call to FUNC.
7161 (FUNC_mpfr_f_f): Likewise.
7162 (FUNC_mpfr_ff_f): Likewise.
7163 (FUNC_mpfr_if_f): Likewise.
7164 (FUNC_mpc_c_f): Likewise.
7165 (FUNC_mpc_c_c): Likewise.
7166 (test_functions): Add fma. Update calls to FUNC.
7167 (handle_input_arg): Add argument exact_args.
7168 (add_test): Update call to handle_input_arg.
7169 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7170 (output_for_one_input_case): Update call to calc_generic_results.
7171 Recalculate exact zero results in each rounding mode.
7172
a4fb7861
JM
7173 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7174 non-negative before setting low bit.
7175 * math/auto-libm-test-in: Mark one asin test possibly having
7176 spurious underflow.
7177 * math/auto-libm-test-out: Regenerated.
7178 * sysdeps/i386/fpu/libm-test-ulps: Update.
7179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7180
ef114eaf
DH
71812014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7182
2b7f4f2c
SP
7183 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7184 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7185 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
7186 * README: Add missing listing for microblaze*-*-linux-gnu.
7187
c70a4b1d
MF
71882014-02-16 Mike Frysinger <vapier@gentoo.org>
7189
7190 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7191 * sysdeps/unix/sysv/linux/ia64: Move directory from
7192 ports/sysdeps/unix/sysv/linux/ia64.
7193 * README: Update listing for ia64-*-linux-gnu.
7194
591aeaf7
TD
71952014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7196 Joseph Myers <joseph@codesourcery.com>
7197
7198 * Makeconfig (test-name): New variable.
7199 (evaluate-test): Likewise.
7200 * Makerules (do-test-clean): Remove .test-result files.
7201 (common-mostlyclean): Likewise.
7202 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7203 * scripts/evaluate-test.sh: New file.
7204
6e89caf1
JM
72052014-02-14 Joseph Myers <joseph@codesourcery.com>
7206
7f98f180
JM
7207 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7208 separate $(objpfx)tst-fopenloc-cmp.out and
7209 $(objpfx)tst-fopenloc-mem.out targets.
7210 (tests): Update dependencies.
7211 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7212 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7213 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7214 (tst-rxspencer-no-utf8-ARGS): New variable.
7215 (tst-rxspencer-no-utf8-ENV): Likewise.
7216 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7217 instead of $(objpfx)tst-rxspencer-mem.
7218 ($(objpfx)tst-rxspencer-mem): Change target to
7219 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7220 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7221 * posix/tst-rxspencer-no-utf8.c: New file.
7222
6e89caf1
JM
7223 * elf/Makefile ($(objpfx)order.out): Remove rule.
7224 [$(run-built-tests) = yes] (tests): Depend on
7225 $(objpfx)order-cmp.out.
7226 ($(objpfx)order-cmp.out): New rule.
7227 [$(run-built-tests) = yes] (tests): Depend on
7228 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7229 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7230 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7231 $(objpfx)tst-array5-static-cmp.out.
7232 ($(objpfx)tst-array1.out): Remove rule.
7233 ($(objpfx)tst-array1-cmp.out): New rule.
7234 ($(objpfx)tst-array1-static.out): Remove rule.
7235 ($(objpfx)tst-array1-static-cmp.out): New rule.
7236 ($(objpfx)tst-array2.out): Remove rule.
7237 ($(objpfx)tst-array2-cmp.out): New rule.
7238 ($(objpfx)tst-array3.out): Remove rule.
7239 ($(objpfx)tst-array3-cmp.out): New rule.
7240 ($(objpfx)tst-array4.out): Remove rule.
7241 ($(objpfx)tst-array4-cmp.out): New rule.
7242 ($(objpfx)tst-array5.out): Remove rule.
7243 ($(objpfx)tst-array5-cmp.out): New rule.
7244 ($(objpfx)tst-array5-static.out): Remove rule.
7245 ($(objpfx)tst-array5-static-cmp.out): New rule.
7246 [$(run-built-tests) = yes] (tests): Depend on
7247 $(objpfx)order2-cmp.out.
7248 ($(objpfx)order2.out): Remove rule.
7249 ($(objpfx)order2-cmp.out): New rule.
7250 ($(objpfx)tst-initorder.out): Remove rule.
7251 [$(run-built-tests) = yes] (tests): Depend on
7252 $(objpfx)tst-initorder-cmp.out.
7253 ($(objpfx)tst-initorder-cmp.out): New rule.
7254 ($(objpfx)tst-initorder2.out): Remove rule.
7255 [$(run-built-tests) = yes] (tests): Depend on
7256 $(objpfx)tst-initorder2-cmp.out.
7257 ($(objpfx)tst-initorder2-cmp.out): New rule.
7258 [$(run-built-tests) = yes] (tests): Depend on
7259 $(objpfx)tst-unused-dep-cmp.out.
7260 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7261 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7262 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7263 on $(objpfx)tst-setvbuf1-cmp.out.
7264 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7265 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7266 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7267 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7268 ($(objpfx)tst-svc.out): Remove rule.
7269 ($(objpfx)tst-svc-cmp.out): New rule.
7270
ed9a38e2
JM
72712014-02-13 Joseph Myers <joseph@codesourcery.com>
7272
7273 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7274 * ctype/ctype.h [__USE_MISC]: Likewise.
7275 * dirent/dirent.h [__USE_MISC]: Likewise.
7276 * grp/grp.h [__USE_MISC]: Likewise.
7277 * io/fcntl.h [__USE_MISC]: Likewise.
7278 * io/sys/stat.h [__USE_MISC]: Likewise.
7279 * libio/stdio.h [__USE_MISC]: Likewise.
7280 * posix/unistd.h [__USE_MISC]: Likewise.
7281 * pwd/pwd.h [__USE_MISC]: Likewise.
7282 * stdlib.h [__USE_MISC]: Likewise.
7283 * string/bits/string2.h [__USE_MISC]: Likewise.
7284 * string/string.h [__USE_MISC]: Likewise.
7285 * time/time.h [__USE_MISC]: Likewise.
7286
d6680619
AS
72872014-02-13 Andreas Schwab <schwab@suse.de>
7288
7289 [BZ #16574]
7290 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7291 second answer buffer if it was separately allocated.
7292
ace614b8
JM
72932014-02-12 Joseph Myers <joseph@codesourcery.com>
7294
743151ae
JM
7295 * sysdeps/mips/math-tests.h: Include <features.h>.
7296 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7297 (ROUNDING_TESTS_long_double): Do not define.
7298 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7299 (EXCEPTION_TESTS_long_double): Likewise.
7300 * sysdeps/mips/mips64/libm-test-ulps: Update.
7301
498afc54
JM
7302 * include/features.h (__USE_BSD): Remove macro definitions.
7303 (__USE_SVID): Likewise.
7304 (_BSD_SOURCE): Likewise.
7305 (_SVID_SOURCE): Likewise.
7306 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7307 from definition of _DEFAULT_SOURCE.
7308 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7309 [_DEFAULT_SOURCE].
7310 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7311 * bits/mman.h [__USE_BSD]: Likewise.
7312 * bits/termios.h [__USE_BSD]: Likewise.
7313 * bits/waitstatus.h [__USE_BSD]: Likewise.
7314 * ctype/ctype.h [__USE_SVID]: Likewise.
7315 * dirent/dirent.h [__USE_BSD]: Likewise.
7316 * grp/grp.h [__USE_SVID]: Likewise.
7317 [__USE_BSD]: Likewise.
7318 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7319 * io/fcntl.h [__USE_BSD]: Likewise.
7320 * io/ftw.h [__USE_BSD]: Likewise.
7321 * io/sys/stat.h [__USE_BSD]: Likewise.
7322 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7323 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7324 * libio/stdio.h [__USE_SVID]: Likewise.
7325 [__USE_BSD]: Likewise.
7326 * math/math.h [__USE_SVID]: Likewise.
7327 [__USE_BSD]: Likewise.
7328 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7329 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7330 * misc/search.h [__USE_SVID]: Likewise.
7331 * misc/sys/mman.h [__USE_BSD]: Likewise.
7332 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7333 * misc/sys/uio.h [__USE_BSD]: Likewise.
7334 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7335 * posix/glob.h [__USE_BSD]: Likewise.
7336 * posix/regex.h [__USE_BSD]: Likewise.
7337 * posix/sys/types.h [__USE_BSD]: Likewise.
7338 [__USE_SVID]: Likewise.
7339 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7340 * posix/sys/wait.h [__USE_BSD]: Likewise.
7341 [__USE_SVID]: Likewise.
7342 * posix/unistd.h [__USE_BSD]: Likewise.
7343 [__USE_SVID]: Likewise.
7344 * pwd/pwd.h [__USE_SVID]: Likewise.
7345 * resolv/netdb.h [__USE_BSD]: Likewise.
7346 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7347 * signal/signal.h [__USE_BSD]: Likewise.
7348 [__USE_SVID]: Likewise.
7349 * socket/sys/socket.h [__USE_BSD]: Likewise.
7350 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7351 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7352 [__USE_SVID]: Likewise.
7353 * string/bits/string2.h [__USE_BSD]: Likewise.
7354 [__USE_SVID]: Likewise.
7355 * string/bits/string3.h [__USE_BSD]: Likewise.
7356 * string/endian.h [__USE_BSD]: Likewise.
7357 * string/string.h [__USE_SVID]: Likewise.
7358 [__USE_BSD]: Likewise.
7359 * string/strings.h [__USE_BSD]: Likewise.
7360 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7361 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7362 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7363 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7364 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7365 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7366 Likewise.
7367 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7368 Likewise.
7369 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7370 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7371 Likewise.
7372 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7373 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7374 Likewise.
7375 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7376 Likewise.
7377 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7378 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7379 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7380 Likewise.
7381 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7382 Likewise.
7383 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7384 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7385 * termios/termios.h [__USE_BSD]: Likewise.
7386 * time/sys/time.h [__USE_BSD]: Likewise.
7387 * time/time.h [__USE_BSD]: Likewise.
7388 [__USE_SVID]: Likewise.
7389
dd7b064c
JM
7390 * Makefile (subdir_targets): Remove subdir_lint.out.
7391
a2c4c199
JM
7392 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7393 (do-tst-printf): Likewise.
7394 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7395 $(objpfx)tst-printf.out.
7396
8756f740
JM
7397 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7398
1b6dd3f1
JM
7399 * Makerules (check-abi-%): Change target to
7400 $(objpfx)check-abi-%.out.
7401 (check-abi target): Update dependencies.
7402 (check-abi-pattern variable): Redirect output of diff to $@.
7403 (check-abi variable): Likewise.
7404 * elf/Makefile (check-abi): Update dependencies.
7405
ace614b8
JM
7406 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7407 unused.
7408 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7409 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7410 subnormal range.
7411 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7412 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7413 value has largest subnormal exponent.
7414 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7415 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7416 * sysdeps/aarch64/soft-fp/sfp-machine.h
7417 (_FP_TININESS_AFTER_ROUNDING): New macro.
7418 * sysdeps/alpha/soft-fp/sfp-machine.h
7419 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7420 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7421 Likewise.
7422 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7423 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7424 * sysdeps/mips/soft-fp/sfp-machine.h
7425 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7426 * sysdeps/powerpc/soft-fp/sfp-machine.h
7427 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7428 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7429 Likewise.
7430 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7431 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7432 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7433 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7434 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7435 Likewise.
7436
fbfdf9cb
DAS
74372014-02-12 Dylan Alex Simon <dylan@dylex.net>
7438
7439 [BZ #16545]
7440 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7441 model 1.
7442
68b7efaa
RH
74432014-02-12 Richard Henderson <rth@redhat.com>
7444
c70a4b1d 7445 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
7446 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7447 * sysdeps/unix/sysv/linux/alpha: Move directory from
7448 ports/sysdeps/unix/sysv/linux/alpha.
7449 * README: Update listing for alpha-*-linux-gnu.
7450
cb4a2928
JM
74512014-02-11 Joseph Myers <joseph@codesourcery.com>
7452
c941736c
JM
7453 * include/features.h: Update comment documenting feature test
7454 macros.
7455 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7456 _DEFAULT_SOURCE.
7457 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7458 (_SVID_SOURCE): Likewise.
7459 (_DEFAULT_SOURCE): Update description of default features.
7460 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7461 with _GNU_SOURCE.
7462 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7463 (S_ISVTX): Likewise.
7464 * manual/math.texi (Mathematical Constants): Likewise.
7465 * manual/signal.texi (Interrupted Primitives): Likewise.
7466 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7467 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7468 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7469 Don't refer to _SVID_SOURCE in warning text.
7470
e8d8d7ec
JM
7471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7472
cb4a2928
JM
7473 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7474 already defined.
7475 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7476 * sysdeps/mips/dl-lookup.c: Remove.
7477 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7478
7e6424e3
AK
74792014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7480
7481 [BZ #16447]
7482 * math/auto-libm-test-in: Add testcase for expl.
7483 * math/auto-libm-test-out: Regenerate.
7484 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7485 calculation of unsafe.
7486 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7487
75eff3fe
MS
74882014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7489
7490 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7491 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7492 ports/sysdeps/unix/sysv/linux/aarch64.
7493 * README: Update listing for aarch64*-*-linux-gnu.
7494
d35f1e80
WN
74952014-02-11 Will Newton <will.newton@linaro.org>
7496
7497 * manual/probes.texi (Mathematical Function Probes): Use
7498 "triggered" instead of "hit".
7499
7b3436d4
WN
7500 * manual/probes.texi (Internal Probes): Add documentation
7501 of setjmp, longjmp and longjmp_target probes.
7502
b4f12ca3
WN
7503 * include/stap-probe.h: Add comment about probe argument
7504 format.
7505
c13a72b7
WN
7506 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7507 definition. (tr_where, tr_freehook, tr_mallochook,
7508 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7509
195b8165
DM
75102014-02-11 David S. Miller <davem@davemloft.net>
7511
7512 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7513 processing int_tests.
7514
2ad7600b
JM
75152014-02-10 Joseph Myers <joseph@codesourcery.com>
7516
7517 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7518 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7519 * sysdeps/unix/sysv/linux/mips: Move directory from
7520 ports/sysdeps/unix/sysv/linux/mips.
7521 * README: Update listing for mips-*-linux-gnu and
7522 mips64-*-linux-gnu.
7523
73588a72
AS
75242014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7525
7526 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7527 * sysdeps/unix/sysv/linux/m68k: Move directory from
7528 ports/sysdeps/unix/sysv/linux/m68k.
7529 * README: Update listing for m68k-*-linux-gnu.
7530
4372980f
CM
75312014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7532
7533 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7534 * sysdeps/unix/sysv/linux/generic: Move directory from
7535 ports/sysdeps/unix/sysv/linux/generic.
7536 * sysdeps/unix/sysv/linux/tile: Move directory from
7537 ports/sysdeps/unix/sysv/linux/tile.
7538 * README: Update listing for tile*-*-linux-gnu.
7539
a1ffb40e
OB
75402014-02-10 Ondřej Bílka <neleai@seznam.cz>
7541
57f41c40
AS
7542 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7543 __builtin_expect.
a1ffb40e
OB
7544 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7545 * catgets/open_catalog.c (__open_catalog): Likewise.
7546 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7547 * debug/confstr_chk.c: Likewise.
7548 * debug/fread_chk.c (__fread_chk): Likewise.
7549 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7550 * debug/getgroups_chk.c: Likewise.
7551 * debug/mbsnrtowcs_chk.c: Likewise.
7552 * debug/mbsrtowcs_chk.c: Likewise.
7553 * debug/mbstowcs_chk.c: Likewise.
7554 * debug/memcpy_chk.c: Likewise.
7555 * debug/memmove_chk.c: Likewise.
7556 * debug/mempcpy_chk.c: Likewise.
7557 * debug/memset_chk.c: Likewise.
7558 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7559 * debug/strcat_chk.c (__strcat_chk): Likewise.
7560 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7561 * debug/strncat_chk.c (__strncat_chk): Likewise.
7562 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7563 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7564 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7565 * debug/wcpncpy_chk.c: Likewise.
7566 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7567 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7568 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7569 * debug/wcsncpy_chk.c: Likewise.
7570 * debug/wcsnrtombs_chk.c: Likewise.
7571 * debug/wcsrtombs_chk.c: Likewise.
7572 * debug/wcstombs_chk.c: Likewise.
7573 * debug/wmemcpy_chk.c: Likewise.
7574 * debug/wmemmove_chk.c: Likewise.
7575 * debug/wmempcpy_chk.c: Likewise.
7576 * debug/wmemset_chk.c: Likewise.
7577 * dirent/scandirat.c (SCANDIRAT): Likewise.
7578 * dlfcn/dladdr1.c (dladdr1): Likewise.
7579 * dlfcn/dladdr.c (dladdr): Likewise.
7580 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7581 * dlfcn/dlerror.c (__dlerror): Likewise.
7582 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7583 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7584 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7585 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7586 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7587 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7588 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7589 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7590 Likewise.
7591 * elf/dl-conflict.c: Likewise.
7592 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7593 * elf/dl-dst.h: Likewise.
7594 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7595 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7596 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7597 * elf/dl-init.c (call_init, _dl_init): Likewise.
7598 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
7599 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7600 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7601 Likewise.
a1ffb40e
OB
7602 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7603 Likewise.
7604 * elf/dl-minimal.c (__libc_memalign): Likewise.
7605 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7606 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7607 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7608 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
7609 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7610 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
7611 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7612 * elf/dl-writev.h (_dl_writev): Likewise.
7613 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
7614 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7615 (dl_main): Likewise.
a1ffb40e
OB
7616 * elf/setup-vdso.h (setup_vdso): Likewise.
7617 * grp/compat-initgroups.c (compat_call): Likewise.
7618 * grp/fgetgrent.c (fgetgrent): Likewise.
7619 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7620 * grp/putgrent.c (putgrent): Likewise.
7621 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7622 Likewise.
7623 * hurd/hurdinit.c: Likewise.
7624 * iconvdata/8bit-gap.c (struct): Likewise.
7625 * iconvdata/ansi_x3.110.c : Likewise.
7626 * iconvdata/big5.c : Likewise.
7627 * iconvdata/big5hkscs.c : Likewise.
7628 * iconvdata/cp1255.c: Likewise.
7629 * iconvdata/cp1258.c : Likewise.
7630 * iconvdata/cp932.c : Likewise.
7631 * iconvdata/euc-cn.c: Likewise.
7632 * iconvdata/euc-jisx0213.c : Likewise.
7633 * iconvdata/euc-jp.c: Likewise.
7634 * iconvdata/euc-jp-ms.c : Likewise.
7635 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7636 * iconvdata/gb18030.c : Likewise.
7637 * iconvdata/gbbig5.c (const): Likewise.
7638 * iconvdata/gbgbk.c: Likewise.
7639 * iconvdata/gbk.c : Likewise.
7640 * iconvdata/ibm1364.c : Likewise.
7641 * iconvdata/ibm930.c : Likewise.
7642 * iconvdata/ibm932.c: Likewise.
7643 * iconvdata/ibm933.c : Likewise.
7644 * iconvdata/ibm935.c : Likewise.
7645 * iconvdata/ibm937.c : Likewise.
7646 * iconvdata/ibm939.c : Likewise.
7647 * iconvdata/ibm943.c: Likewise.
7648 * iconvdata/iso_11548-1.c: Likewise.
7649 * iconvdata/iso-2022-cn.c : Likewise.
7650 * iconvdata/iso-2022-cn-ext.c : Likewise.
7651 * iconvdata/iso-2022-jp-3.c: Likewise.
7652 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7653 * iconvdata/iso-2022-kr.c : Likewise.
7654 * iconvdata/iso646.c (gconv_end): Likewise.
7655 * iconvdata/iso_6937-2.c : Likewise.
7656 * iconvdata/iso_6937.c : Likewise.
7657 * iconvdata/iso8859-1.c: Likewise.
7658 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7659 * iconvdata/shift_jisx0213.c : Likewise.
7660 * iconvdata/sjis.c : Likewise.
7661 * iconvdata/t.61.c : Likewise.
7662 * iconvdata/tcvn5712-1.c : Likewise.
7663 * iconvdata/tscii.c: Likewise.
7664 * iconvdata/uhc.c : Likewise.
7665 * iconvdata/unicode.c (gconv_end): Likewise.
7666 * iconvdata/utf-16.c (gconv_end): Likewise.
7667 * iconvdata/utf-32.c (gconv_end): Likewise.
7668 * iconvdata/utf-7.c (base64): Likewise.
7669 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7670 * iconv/gconv_close.c (__gconv_close): Likewise.
7671 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
7672 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7673 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7674 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7675 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7676 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
7677 * iconv/iconv.c (iconv): Likewise.
7678 * iconv/iconv_close.c: Likewise.
7679 * iconv/loop.c (SINGLE): Likewise.
7680 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7681 * include/atomic.h: Likewise.
7682 * inet/inet6_option.c (option_alloc): Likewise.
7683 * intl/bindtextdom.c (set_binding_values): Likewise.
7684 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7685 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7686 * intl/localealias.c (read_alias_file): Likewise.
7687 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
7688 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7689 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
7690 * libio/fmemopen.c (fmemopen): Likewise.
7691 * libio/iofgets.c (_IO_fgets): Likewise.
7692 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7693 * libio/iofgetws.c (fgetws): Likewise.
7694 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7695 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
7696 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7697 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
7698 * locale/findlocale.c (_nl_find_locale): Likewise.
7699 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7700 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7701 Likewise.
7702 * locale/setlocale.c (setlocale): Likewise.
7703 * login/programs/pt_chown.c (main): Likewise.
7704 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7705 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
7706 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7707 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
7708 * math/e_exp2l.c: Likewise.
7709 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7710 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7711 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7712 * math/s_catan.c (__catan): Likewise.
7713 * math/s_catanf.c (__catanf): Likewise.
7714 * math/s_catanh.c (__catanh): Likewise.
7715 * math/s_catanhf.c (__catanhf): Likewise.
7716 * math/s_catanhl.c (__catanhl): Likewise.
7717 * math/s_catanl.c (__catanl): Likewise.
7718 * math/s_ccosh.c (__ccosh): Likewise.
7719 * math/s_ccoshf.c (__ccoshf): Likewise.
7720 * math/s_ccoshl.c (__ccoshl): Likewise.
7721 * math/s_cexp.c (__cexp): Likewise.
7722 * math/s_cexpf.c (__cexpf): Likewise.
7723 * math/s_cexpl.c (__cexpl): Likewise.
7724 * math/s_clog10.c (__clog10): Likewise.
7725 * math/s_clog10f.c (__clog10f): Likewise.
7726 * math/s_clog10l.c (__clog10l): Likewise.
7727 * math/s_clog.c (__clog): Likewise.
7728 * math/s_clogf.c (__clogf): Likewise.
7729 * math/s_clogl.c (__clogl): Likewise.
7730 * math/s_csin.c (__csin): Likewise.
7731 * math/s_csinf.c (__csinf): Likewise.
7732 * math/s_csinh.c (__csinh): Likewise.
7733 * math/s_csinhf.c (__csinhf): Likewise.
7734 * math/s_csinhl.c (__csinhl): Likewise.
7735 * math/s_csinl.c (__csinl): Likewise.
7736 * math/s_csqrt.c (__csqrt): Likewise.
7737 * math/s_csqrtf.c (__csqrtf): Likewise.
7738 * math/s_csqrtl.c (__csqrtl): Likewise.
7739 * math/s_ctan.c (__ctan): Likewise.
7740 * math/s_ctanf.c (__ctanf): Likewise.
7741 * math/s_ctanh.c (__ctanh): Likewise.
7742 * math/s_ctanhf.c (__ctanhf): Likewise.
7743 * math/s_ctanhl.c (__ctanhl): Likewise.
7744 * math/s_ctanl.c (__ctanl): Likewise.
7745 * math/w_pow.c: Likewise.
7746 * math/w_powf.c: Likewise.
7747 * math/w_powl.c: Likewise.
7748 * math/w_scalb.c (sysv_scalb): Likewise.
7749 * math/w_scalbf.c (sysv_scalbf): Likewise.
7750 * math/w_scalbl.c (sysv_scalbl): Likewise.
7751 * misc/error.c (error_tail): Likewise.
7752 * misc/pselect.c (__pselect): Likewise.
7753 * nis/nis_callback.c (__nis_create_callback): Likewise.
7754 * nis/nis_call.c (__nisfind_server): Likewise.
7755 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7756 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7757 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7758 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7759 * nis/nis_lookup.c (nis_lookup): Likewise.
7760 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
7761 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7762 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 7763 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
7764 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7765 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7766 * nis/nss_compat/compat-initgroups.c (add_group)
7767 (internal_getgrent_r): Likewise.
7768 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7769 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7770 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7771 (internal_getspnam_r): Likewise.
7772 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7773 (_nss_nis_getaliasbyname_r): Likewise.
7774 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7775 (_nss_nis_getntohost_r): Likewise.
7776 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7777 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7778 (_nss_nis_getgrgid_r): Likewise.
7779 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7780 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7781 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7782 (_nss_nis_gethostbyname4_r): Likewise.
7783 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7784 (initgroups_netid): Likewise.
a1ffb40e 7785 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
7786 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7787 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7788 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7789 (_nss_nis_getprotobynumber_r): Likewise.
7790 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7791 (_nss_nis_getsecretkey): Likewise.
7792 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7793 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7794 (_nss_nis_getpwuid_r): Likewise.
7795 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7796 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7797 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7798 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7799 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7800 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
7801 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7802 Likewise.
57f41c40
AS
7803 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7804 (_nss_nisplus_getntohost_r): Likewise.
7805 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7806 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7807 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7808 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 7809 Likewise.
57f41c40
AS
7810 * nis/nss_nisplus/nisplus-initgroups.c
7811 (_nss_nisplus_initgroups_dyn): Likewise.
7812 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7813 (_nss_nisplus_getnetbyaddr_r): Likewise.
7814 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7815 (_nss_nisplus_getprotobynumber_r): Likewise.
7816 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7817 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
7818 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7819 Likewise.
57f41c40
AS
7820 * nis/nss_nisplus/nisplus-service.c
7821 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7822 (_nss_nisplus_getservbyport_r): Likewise.
7823 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7824 (_nss_nisplus_getspnam_r): Likewise.
7825 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7826 Likewise.
a1ffb40e
OB
7827 * nscd/aicache.c (addhstaiX): Likewise.
7828 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
7829 * nscd/connections.c (register_traced_file, send_ro_fd)
7830 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7831 (main_loop_epoll): Likewise.
a1ffb40e
OB
7832 * nscd/grpcache.c (addgrbyX): Likewise.
7833 * nscd/hstcache.c (addhstbyX): Likewise.
7834 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7835 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
7836 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7837 (addinnetgrX): Likewise.
7838 * nscd/nscd-client.h (__nscd_acquire_maplock)
7839 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
7840 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7841 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7842 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7843 Likewise.
7844 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7845 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
7846 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7847 (__nscd_get_map_ref): Likewise.
a1ffb40e 7848 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
7849 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7850 Likewise.
a1ffb40e
OB
7851 * nscd/pwdcache.c (addpwbyX): Likewise.
7852 * nscd/selinux.c (preserve_capabilities): Likewise.
7853 * nscd/servicescache.c (addservbyX): Likewise.
7854 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7855 * posix/fnmatch.c (fnmatch): Likewise.
7856 * posix/getopt.c (_getopt_internal_r): Likewise.
7857 * posix/glob.c (glob, glob_in_dir): Likewise.
7858 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
7859 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7860 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
7861 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7862 * resolv/res_init.c: Likewise.
7863 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7864 * resolv/res_query.c (__libc_res_nquery): Likewise.
7865 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7866 Likewise.
7867 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7868 * stdio-common/perror.c (perror): Likewise.
7869 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7870 * stdio-common/tmpnam.c (tmpnam): Likewise.
7871 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7872 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
7873 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7874 Likewise.
a1ffb40e
OB
7875 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7876 * stdlib/putenv.c (putenv): Likewise.
7877 * stdlib/setenv.c (__add_to_environ): Likewise.
7878 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7879 * stdlib/strtol_l.c (INTERNAL): Likewise.
7880 * string/memmem.c (memmem): Likewise.
7881 * string/strerror.c (strerror): Likewise.
7882 * string/strnlen.c (__strnlen): Likewise.
7883 * string/test-memmem.c (simple_memmem): Likewise.
7884 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7885 * sunrpc/pm_getport.c (__get_socket): Likewise.
7886 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7887 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
7888 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7889 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
7890 Likewise.
7891 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7892 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7893 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7894 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7895 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
7896 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7897 Likewise.
7898 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7899 Likewise.
a1ffb40e
OB
7900 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7901 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7902 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7903 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7904 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7905 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7906 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7907 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7908 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7909 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7910 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7911 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7912 Likewise.
7913 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7914 Likewise.
7915 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7916 Likewise.
7917 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7918 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7919 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7920 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7921 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7922 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7923 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7924 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7925 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7926 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7927 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7928 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7929 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7930 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7931 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
7932 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7933 Likewise.
a1ffb40e
OB
7934 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7935 Likewise.
7936 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7937 Likewise.
7938 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7939 Likewise.
7940 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7941 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7942 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7943 Likewise.
7944 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7945 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7946 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7947 * sysdeps/posix/sleep.c: Likewise.
7948 * sysdeps/posix/tempname.c: Likewise.
7949 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7950 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7951 Likewise.
57f41c40
AS
7952 * sysdeps/powerpc/powerpc32/dl-machine.h
7953 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
7954 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7955 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7956 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7957 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7958 Likewise.
7959 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7960 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7961 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7962 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7963 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7964 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7965 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7966 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7967 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7968 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7969 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7970 (elf_machine_lazy_rel): Likewise.
a1ffb40e 7971 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7972 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7973 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7974 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7975 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7976 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7977 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7978 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7979 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7980 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7981 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7982 Likewise.
7983 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7984 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7985 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7986 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7987 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7988 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7989 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7990 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7991 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7992 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7993 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7994 Likewise.
7995 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7996 (__posix_fallocate64_l64): Likewise.
7997 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7998 (posix_fallocate): Likewise.
57f41c40
AS
7999 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8000 Likewise.
a1ffb40e 8001 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
8002 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8003 (getifaddrs_internal): Likewise.
a1ffb40e
OB
8004 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8005 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8006 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8007 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8008 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8009 (__posix_fallocate64_l64): Likewise.
8010 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8011 Likewise.
8012 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
8013 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8014 (__get_clockfreq): Likewise.
a1ffb40e
OB
8015 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8016 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8017 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8018 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8019 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8020 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8021 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8022 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8023 Likewise.
8024 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8025 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8026 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8027 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8028 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8029 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8030 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8031 Likewise.
8032 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8033 (posix_fallocate): Likewise.
8034 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8035 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8036 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8037 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8038 (elf_machine_rela, elf_machine_rela_relative)
8039 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
8040 * time/asctime.c (asctime_internal): Likewise.
8041 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8042 * time/tzset.c (__tzset_parse_tz): Likewise.
8043 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8044 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8045 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8046 * wcsmbs/wcsmbsload.h: Likewise.
8047
f3d338c9
OB
8048 [BZ #15894]
8049 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8050
57f41c40
AS
8051 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8052 (arena_get2): Remove THREAD_STATS conditionals.
8053 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8054 (__malloc_stats, int): Likewise.
bdfe308a 8055
d674667c
MF
80562014-02-08 Mike Frysinger <vapier@gentoo.org>
8057
8058 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8059 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8060
6349768c
MF
8061 * manual/setjmp.texi: Fix typos/grammar errors.
8062
0b7c7473
MF
8063 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8064 Only return early when n is <= 0. Delete unused return statement.
8065
ac8cc9e3
MF
8066 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8067 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8068 * debug/tst-longjmp_chk3.c: New file.
8069
c5bb8e23
MF
8070 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8071 (test_main): Replace code with set_fortify_handler call.
8072 * debug/test-strcpy_chk.c: Likewise.
8073 * debug/tst-chk1.c: Likewise.
8074 * debug/tst-longjmp_chk.c: Likewise.
8075 * test-skeleton.c: Include fcntl.h & paths.h
8076 (set_fortify_handler): Define.
8077
10444e42
MF
8078 * debug/tst-longjmp_chk.c: Add header comment and include
8079 ../test-skeleton.c.
8080 (do_test): Mark static.
8081 (TEST_FUNCTION): Define.
8082
1e805e8d
MF
8083 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8084 (IP_PMTUDISC_INTERFACE): Likewise.
8085 (IP_MULTICAST_IF): Likewise.
8086 (IP_MULTICAST_TTL): Likewise.
8087 (IP_MULTICAST_LOOP): Likewise.
8088 (IP_ADD_MEMBERSHIP): Likewise.
8089 (IP_DROP_MEMBERSHIP): Likewise.
8090 (IP_UNBLOCK_SOURCE): Likewise.
8091 (IP_BLOCK_SOURCE): Likewise.
8092 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8093 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8094 (IP_MSFILTER): Likewise.
8095 (MCAST_JOIN_GROUP): Likewise.
8096 (MCAST_BLOCK_SOURCE): Likewise.
8097 (MCAST_UNBLOCK_SOURCE): Likewise.
8098 (MCAST_LEAVE_GROUP): Likewise.
8099 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8100 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8101 (MCAST_MSFILTER): Likewise.
8102 (IP_MULTICAST_ALL): Likewise.
8103 (IP_UNICAST_IF): Likewise.
8104
73f79bb7
MF
8105 * timezone/Makefile: Delete $(have-ksh) check.
8106 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8107 * timezone/tzselect.ksh: Add +x mode bits.
8108
8da79b60
MF
8109 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8110 (ANON_INODE_FS_MAGIC): Likewise.
8111 (BDEVFS_MAGIC): Likewise.
8112 (BINFMTFS_MAGIC): Likewise.
8113 (BTRFS_TEST_MAGIC): Likewise.
8114 (CRAMFS_MAGIC_WEND): Likewise.
8115 (DEBUGFS_MAGIC): Likewise.
8116 (ECRYPTFS_SUPER_MAGIC): Likewise.
8117 (EXT3_SUPER_MAGIC): Likewise.
8118 (EXT4_SUPER_MAGIC): Likewise.
8119 (FUTEXFS_SUPER_MAGIC): Likewise.
8120 (HOSTFS_SUPER_MAGIC): Likewise.
8121 (HUGETLBFS_MAGIC): Likewise.
8122 (MINIX3_SUPER_MAGIC): Likewise.
8123 (MTD_INODE_FS_MAGIC): Likewise.
8124 (NILFS_SUPER_MAGIC): Likewise.
8125 (OPENPROM_SUPER_MAGIC): Likewise.
8126 (PIPEFS_MAGIC): Likewise.
8127 (PSTOREFS_MAGIC): Likewise.
8128 (QNX6_SUPER_MAGIC): Likewise.
8129 (RAMFS_MAGIC): Likewise.
8130 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8131 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8132 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8133 (SECURITYFS_MAGIC): Likewise.
8134 (SELINUX_MAGIC): Likewise.
8135 (SMACK_MAGIC): Likewise.
8136 (SOCKFS_MAGIC): Likewise.
8137 (SQUASHFS_MAGIC): Likewise.
8138 (STACK_END_MAGIC): Likewise.
8139 (TMPFS_MAGIC): Likewise.
8140 (USBDEVICE_SUPER_MAGIC): Likewise.
8141 (V9FS_MAGIC): Likewise.
8142 (XENFS_SUPER_MAGIC): Likewise.
8143 (CRAMFS_MAGIC): Fix typo in comment.
8144 (EXT2_SUPER_MAGIC): Update comment.
8145 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8146
464263cc
JM
81472014-02-08 Joseph Myers <joseph@codesourcery.com>
8148
c6bfe5c4
JM
8149 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8150 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8151 * sysdeps/unix/sysv/linux/arm: Move directory from
8152 ports/sysdeps/unix/sysv/linux/arm.
8153 * README: Update listing for arm-*-linux-gnueabi.
8154
464263cc
JM
8155 * README: Remove mention of am33.
8156
32749f6c
RM
81572014-02-07 Roland McGrath <roland@hack.frob.com>
8158
8159 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8160 than the comma operator, to avoid "rhs of comma has no effect"
8161 compiler warnings.
8162 (__sigfillset, __sigandset, __sigorset): Likewise.
8163 * include/signal.h (__sigemptyset): Likewise.
8164 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8165
d5b396c1
AM
81662014-02-07 Allan McRae <allan@archlinux.org>
8167
8168 * version.h (RELEASE): Set to "development".
8169 (VERSION): Set to "2.19.90"
8170 * NEWS: Add 2.20 section.
8171
3bfff2ed
CD
81722014-02-06 Carlos O'Donell <carlos@redhat.com>
8173
8174 [BZ #16529]
8175 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8176
ee7cc385
SP
81772014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8178
8179 * manual/contrib.texi: Update entry for Carlos O'Donell,
8180 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8181
f877c4f2
CD
81822014-02-05 Carlos O'Donell <carlos@rehdat.com>
8183
27e839f6
CD
8184 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8185
f877c4f2
CD
8186 * sysdeps/unix/sysv/linux/kernel-features.h
8187 [__LINUX_KERNEL_VERSION >= 0x020621]
8188 (__ASSUME_PROC_PID_TASK_COMM): Define.
8189
68159946
SP
81902014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8191
ba17cdbd
SP
8192 [BZ #16398]
8193 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8194 conversion when destination buffer does not have enough space.
8195 * libio/tst-ftell-partial-wide.c: New test case.
8196 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8197
68159946
SP
8198 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8199 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8200 Leonard and Allan McRae.
8201
2b528732
DM
82022014-02-04 David S. Miller <davem@davemloft.net>
8203
8204 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8205 32-bit.
8206
0ff82463
AZ
82072014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8208
57f41c40
AS
8209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8210 New file
c01603f7
AZ
8211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8212 New file
57f41c40
AS
8213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8214 New file.
8215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8216 New file.
c01603f7
AZ
8217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8218 New file.
57f41c40
AS
8219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8220 New file.
8221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8222 New file.
c01603f7
AZ
8223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8224 New file.
8225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8226 New file.
8227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8228 New file.
8229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8230 New file.
8231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8232 New file.
8233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8234 New file.
8235
82362014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8237
0ff82463
AZ
8238 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8239 * shlib-versions: Likewise.
8240
1695c773
AZ
82412014-02-04 Roland McGrath <roland@hack.frob.com>
8242 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8243
8244 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8245 (abilist-pattern): New variable, set to %-le.abilist.
8246
8247 * Makerules (abilist-pattern): New variable.
8248 (vpath): Use $(abilist-pattern) in place of %.abilist.
8249 (check-abi-% pattern rule): Likewise.
8250 (check-abi, update-abi): Likewise.
8251
6c0ce4b4
EW
82522014-02-04 Eric Wong <normalperson@yhbt.net>
8253
8254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8255
481e3524
CD
82562014-02-03 Carlos O'Donell <carlos@redhat.com>
8257
8258 * manual/startup.texi: Add next, previous, and top entries for
8259 the `Program Arguments' and `Environment Variables' nodes.
8260
375592d3
AO
82612014-02-03 Alexandre Oliva <aoliva@redhat.com>
8262
8263 * manual/macros.texi: Add comments before MTASC-safety macros.
8264
f54838ba
AO
8265 * manual/users.texi: Document MTASC-safety properties.
8266
57f41c40
AS
8267 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8268 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
8269 @deftypefun, and add @safety note.
8270 * manual/signal.texi: Move comments that analyze the above
8271 functions to their home place.
8272
fd3daba4
AM
82732014-02-03 Allan McRae <allan@archlinux.org>
8274
8275 * po/sl.po: Update Slovenian translation from translation project.
8276
597636d7
AO
82772014-02-02 Alexandre Oliva <aoliva@redhat.com>
8278
8279 * manual/time.texi (timegm): Add missing blank after @c.
8280 Reported by Joseph Myers <joseph@codesourcery.com>.
8281
ee196e3c
AO
82822014-02-01 Alexandre Oliva <aoliva@redhat.com>
8283
8284 * manual/check-safety.sh: New.
8285 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8286
f8d529d5
AO
8287 * manual/terminal.texi: Document MTASC-safety properties.
8288
de55fdf4
AO
8289 * manual/filesys.texi: Document MTASC-safety properties.
8290
c3299c08
AO
8291 * manual/errno.texi: Document MTASC-safety properties.
8292
06e90b14
AO
8293 * manual/intro.texi: Document safety identifiers and
8294 conditionals.
8295
1acd4371
AO
8296 * manual/string.texi (wcstok): Fix prototype.
8297 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8298
23e5b8cb
AO
8299 * manual/time.texi: Document MTASC-safety properties.
8300
11087373
AO
8301 * manual/string.texi: Document MTASC-safety properties.
8302
5da2c93d
AO
8303 * manual/threads.texi: Document MTASC-safety properties.
8304
171e9210
AO
8305 * manual/stdio.texi: Document MTASC-safety properties.
8306
d9e02532
AO
8307 * manual/syslog.texi: Document MTASC-safety properties.
8308
6af8bab7
AO
8309 * manual/sysinfo.texi: Document MTASC-safety properties.
8310
663b02d7
AO
8311 * manual/startup.texi: Document MTASC-safety properties.
8312
973f180b
AO
8313 * manual/socket.texi: Document MTASC-safety properties.
8314
8f3c25c8
AO
8315 * manual/signal.texi: Document MTASC-safety properties.
8316
542210fb
AO
83172014-01-31 Alexandre Oliva <aoliva@redhat.com>
8318
8319 * manual/setjmp.texi: Document MTASC-safety properties.
8320
433c45a2
AO
8321 * manual/search.texi: Document MTASC-safety properties.
8322
c8ce789c
AO
8323 * manual/resource.texi: Document MTASC-safety properties.
8324
19f5d29c
AO
8325 * manual/process.texi: Document MTASC-safety properties.
8326
e2dfb7f4
AO
8327 * manual/platform.texi: Document MTASC-safety properties.
8328
8c1413f5
AO
8329 * manual/pipe.texi: Document MTASC-safety properties.
8330
03483ada
AO
8331 * manual/pattern.texi: Document MTASC-safety properties.
8332
29e7e2df
AO
8333 * manual/message.texi: Document MTASC-safety properties.
8334
9f529d7c
AO
8335 [BZ #12751]
8336 * manual/memory.texi: Document MTASC-safety properties.
8337
27aaa791
AO
8338 * manual/math.texi: Document MTASC-safety properties.
8339
f2d58726
AO
8340 * manual/locale.texi: Document MTASC-safety properties.
8341
2cc3615c
AO
8342 * manual/llio.texi: Document MTASC-safety properties.
8343
d9f0ec97
AO
8344 * manual/libdl.texi: New.
8345
e7c4409a
AO
8346 * manual/lang.texi: Document MTASC-safety properties.
8347
27bdc63c
AO
8348 * manual/job.texi: Document MTASC-safety properties.
8349
a7b90ea9
AO
8350 * manual/getopt.texi: Document MTASC-safety properties.
8351
c49130e3
AO
8352 * manual/ctype.texi: Document MTASC-safety properties.
8353
0d23a5c1
MR
83542014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8355
8356 [BZ #16046]
8357 * csu/libc-tls.c (static_map): Remove variable.
8358 (__libc_setup_tls): Use main executable's link map for TLS data.
8359 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8360 casing for LM_ID_BASE and GL(dl_nns).
8361 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8362 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8363 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8364 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8365 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8366 member.
8367 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8368 l_phnum members.
8369
0037bb60
AO
83702014-01-30 Alexandre Oliva <aoliva@redhat.com>
8371
8372 * manual/debug.texi: Document MTASC-safety properties.
8373
409e00bd
L
83742014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8375
8376 [BZ #16510]
8377 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8378 of __x86_64__ when disabling x87 inline functions.
8379
86e60666
AO
83802014-01-29 Alexandre Oliva <aoliva@redhat.com>
8381
8382 * manual/charset.texi: Document MTASC-safety properties.
8383
76167637
AO
8384 * manual/crypt.texi: Document MTASC-safety properties.
8385
e567f2a0
AO
8386 * manual/conf.texi: Document MTASC-safety properties.
8387
b719dafd
AO
8388 * manual/arith.texi: Document MTASC-safety properties.
8389
4a16c662
AO
8390 * manual/argp.texi: Document MTASC-safety properties.
8391
0a57b83e
AO
8392 * manual/macros.texi: Introduce macros to document multi
8393 thread, asynchronous signal and asynchronous cancellation
8394 safety properties.
8395 * manual/intro.texi: Introduce the properties themselves.
8396
feab2397
KK
83972014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8398
8399 * sysdeps/sh/sh4/Makefile: New file.
8400
1c0d11bc
AS
84012014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8402
8403 * math/gen-libm-test.pl ($srcdir): New variable.
8404 ($auto_input): Use it.
8405
af37a8a3
SP
84062014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8407
d7b00f98
SP
8408 [BZ #16506]
8409 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8410 access beyond array bounds when parsing netgroups file.
8411
af37a8a3
SP
8412 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8413 the old buffer before realloc.
8414
0c00f062
AM
84152014-01-27 Allan McRae <allan@archlinux.org>
8416
8417 * po/fr.po: Update French translation from translation project.
8418
7d69a1b0
KK
84192014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8420
8421 * sysdeps/sh/libm-test-ulps: Regenerate.
8422
6e697ff7
DM
84232014-01-24 David S. Miller <davem@davemloft.net>
8424
8425 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8426
9cadb35c
KK
84272014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8428
8429 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8430 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8431
5d41dadf
SP
84322013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8433
8434 [BZ #16474]
8435 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8436 string pointers after reallocation.
8437
0bad441c
KK
84382014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8439
8440 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8441 __SH4A__ instead of __SH_FPU_ANY__.
8442
7007c661
KK
84432014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8444
8445 * sysdeps/sh/fpu_control.h: New file.
8446 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8447 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8448 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8449 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8450 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8451 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8452 * sysdeps/sh/sys/ucontext.h: Remove.
8453 * sysdeps/sh/sys: Remove directory.
8454
0f0c35e4
AK
84552014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8456
8457 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8458 s390/sys/ucontext.h.
8459 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8460 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8461
4959e284
L
84622014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8463
8464 [BZ #15605]
8465 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8466
d98720e0
AZ
84672014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8468
8469 [BZ#16431]
8470 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8471 Adjust the vDSO correctly for internal calls.
8472 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8473
91cbd0bc
AM
84742014-01-20 Allan McRae <allan@archlinux.org>
8475
8476 * po/ca.po: Update Catalan translation from translation project.
8477
7a02cfad
MF
84782014-01-16 Mike Frysinger <vapier@gentoo.org>
8479
8480 * sysdeps/s390/sotruss-lib.c: New file.
8481
736c304a
AZ
84822014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8483
8484 [BZ#16430]
6e077ee5 8485 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
8486 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8487 local calls issues by not having a PLT stub required for IFUNC calls.
8488 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8489
94d0cea0
JM
84902014-01-16 Joseph Myers <joseph@codesourcery.com>
8491
8492 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8493 * math/test-fpucw-static.c: Likewise.
8494
980cb518
SP
84952013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8496
8497 [BZ #16453]
8498 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8499
2393fc01
AZ
85002014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8501
8502 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8503 implementation for powerpc.
8504
d359bcc2
OB
85052014-01-15 Ondřej Bílka <neleai@seznam.cz>
8506
8507 [BZ #14782]
8508 * sysdeps/posix/system.c (__libc_system): Do not enable
8509 asynchronous cancellation.
8510
7beb48cb
AK
85112014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8512
8513 [BZ #16427]
8514 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8515 handling only for numbers special also in the IEEE case.
8516
c20d5bf5
AK
85172014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8518
8519 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8520
e83bd4ee
AM
85212014-01-11 Allan McRae <allan@archlinux.org>
8522
76d0ea69
AM
8523 * po/bg.po: Update Bulgarian translation from translation project.
8524
e83bd4ee
AM
8525 * po/de.po: Update German translation from translation project.
8526
bc2ba20a
RM
85272014-01-10 Roland McGrath <roland@hack.frob.com>
8528
8529 * sysdeps/generic/gcc-compat.h: New file.
8530
649ecea2
SP
85312014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8532
8533 * benchtests/asin-inputs: Correct slow inputs.
8534 * benchtests/acos-inputs: Likewise.
8535
1b19c006
AM
85362014-01-10 Allan McRae <allan@archlinux.org>
8537
a46dab08
AM
8538 * po:sv.po: Update Swedish translation from translation project.
8539
421df74a
AM
8540 * po/vi.po: Update Vietnamese translation from translation project.
8541
d61c51a7
AM
8542 * po/eo.po: Update Esperanto translation from translation project.
8543
0339a319
AM
8544 * po/cs.po: Update Czech translation from translation project.
8545
94ad3e99
AM
8546 * po/nl.po: Update Dutch translation from translation project.
8547
e349ca71
AM
8548 * po/pl.po: Update Polish translation from translation project.
8549
ddf930c1
AM
8550 * po/ru.po: Update Russian translation from translation project.
8551
1b19c006
AM
8552 * po/uk.po: Update Ukrainian translation from translation project.
8553
9f236c49
BM
85542014-01-08 Brooks Moses <bmoses@google.com>
8555
8556 * elf/dl-load.c: Fix comment typo.
8557
cd6701cf
CD
85582014-01-08 Carlos O'Donell <carlos@redhat.com>
8559
8560 * po/header.pot: Rename to...
8561 * po/pot.header: ... this.
8562 * po/Makefile: Use pot.header.
8563
66671c84
YK
85642014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8565 Maxim Kuvyrkov <maxim@kugelworks.com>
8566
8567 [BZ #16394]
cd6701cf
CD
8568 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8569 SRC and DEST against LEN.
66671c84 8570
38f34581
AZ
85712014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8572
8573 [BZ #16414]
8574 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8575 implementation.
8576 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8577
85782014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
8579
8580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8581
4c327f2a
JM
85822014-01-08 Joseph Myers <joseph@codesourcery.com>
8583
8584 [BZ #16408]
8585 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8586 for large positive arguments.
8587
b821f414
JM
85882014-01-07 Joseph Myers <joseph@codesourcery.com>
8589
1f0f2067
JM
8590 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8591
a5a326f6
JM
8592 * math/auto-libm-test-in: Mark various tests with
8593 xfail-rounding:ldbl-128ibm.
8594 * math/auto-libm-test-out: Regenerated.
8595
b821f414
JM
8596 [BZ #16407]
8597 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8598 Increase overflow threshold.
8599
94c8a4bc
OB
86002014-01-07 Ondřej Bílka <neleai@seznam.cz>
8601
8602 [BZ #14286]
8603 * stdio-common/vfprintf.c: Check for integer overflow.
8604
87ded0c3
AK
86052014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8606
8607 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8608 the first argument and return value of __tls_get_addr_internal.
8609
c5eebdd0
AK
86102014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8611
8612 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8613 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8614
05d138ef
AK
86152014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8616
8617 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8618 * sysdeps/s390/rtld-global-offsets.sym: New file.
8619 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8620 GLIBC_2.19 symbol.
8621 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8622 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8623 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8624 ... this.
8625 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8626 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8627 ... this.
8628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8629 Regenerate.
8630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8631 Regenerate.
8632 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8633 halfs of GPRs for high_gprs contexts.
8634 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8635 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8636 field.
8637 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8638 uc_flags field.
8639 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8640 64 bit versions:
8641 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8642 for high GPRs (uc_high_gprs) and for future extensions
8643 (__reserved).
8644 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8645 for future extensions (__reserved).
8646 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8647 64 bit versions:
8648 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8649 SC_HIGHGPRS offset definition.
8650 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8651 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8652
93a45ff1
AK
8653 * Versions.def: Add GLIBC_2.19 for libpthread.
8654 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8655 siglongjmp for libpthread with GLIBC_2.19 symver.
8656 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8657 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8658 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8659 * sysdeps/s390/__longjmp.c: New file.
8660 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8661 * sysdeps/s390/longjmp.c: New file.
8662 * sysdeps/s390/setjmp.S: New file.
8663 * sysdeps/s390/sigjmp.S: New file.
8664 * sysdeps/s390/v1-longjmp.c: New file.
8665 * sysdeps/s390/v1-setjmp.h: New file.
8666 * sysdeps/s390/v1-sigjmp.c: New file.
8667 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8668 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8669 GLIBC_2.19 version.
8670 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8671 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8672 versioned symbols for ____longjmp_chk.
8673 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8674 Likewise.
8675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8676 Regenerate.
8677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8678 Regenerate.
8679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8680 Regenerate.
8681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8682 Regenerate.
8683 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8684 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8685 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8686 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8687 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8688 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8689 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8690 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8691 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8692 * sysdeps/s390/rtld-__longjmp.c: New file.
8693 * sysdeps/s390/rtld-setjmp.S: New file.
8694
eb3fc44b
JM
86952014-01-06 Joseph Myers <joseph@codesourcery.com>
8696
8697 [BZ #16400]
8698 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8699 Return -__logl (x) for small positive arguments without evaluating
8700 a polynomial.
8701
9341dde4
MF
87022014-01-06 Mike Frysinger <vapier@gentoo.org>
8703
8704 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8705 Rename to ...
8706 (__ptrace_peeksiginfo_args): ... this.
8707 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8708 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8709 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8710
4cff0293
AM
87112014-01-06 Allan McRae <allan@archlinux.org>
8712
8713 * inet/netinet/in.h: Fix typo in comment.
8714
75595dcf
AJ
87152014-01-05 Andreas Jaeger <aj@suse.de>
8716
8717 * sysdeps/i386/fpu/libm-test-ulps: Update.
8718
79c1e109
AM
87192014-01-05 Allan McRae <allan@archlinux.org>
8720
dd804818
AM
8721 * po/libc.pot: Regenerated.
8722
79c1e109
AM
8723 * malloc/memusagestat.c: Fix gettext call formatting.
8724
0c813d1f
SK
87252014-01-04 Sami Kerola <kerolasa@iki.fi>
8726
8727 * nscd/nscd.c: Improve usage() output.
8728
20f4a8d9
MF
87292014-01-04 Mike Frysinger <vapier@gentoo.org>
8730
8731 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8732 * sysdeps/unix/sysv/linux/configure: Regenerated.
8733 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8734 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8735
22562bb2
JM
87362014-01-03 Joseph Myers <joseph@codesourcery.com>
8737
8738 [BZ #16390]
8739 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8740 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8741
d7ad2d9b
AZ
87422014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8743
8744 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8745 extra tokens at end of #undef directive.
8746 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8747 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8748 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8749
7dd009d8
JM
87502014-01-03 Joseph Myers <joseph@codesourcery.com>
8751
24db925a
JM
8752 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8753
7dd009d8
JM
8754 * math/auto-libm-test-in: Mark various tests with
8755 xfail-rounding:ldbl-128ibm.
8756 * math/auto-libm-test-out: Regenerated.
8757
396e3ecf
JM
87582014-01-02 Joseph Myers <joseph@codesourcery.com>
8759
819e5d50
JM
8760 [BZ #16386]
8761 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8762 numbers with subnormal high part when calculating exponent.
8763
90b6a1e5
JM
8764 [BZ #16385]
8765 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8766 fabs.
8767
396e3ecf
JM
8768 [BZ #16384]
8769 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8770 M_LN2l.
8771 (__ieee754_acoshl): Use __log1pl not __log1p.
8772
6c8dbf00
OB
87732013-01-02 Ondřej Bílka <neleai@seznam.cz>
8774
57f41c40
AS
8775 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8776 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8777 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8778 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8779 (reused_arena, arena_get2): Convert to GNU style.
8780 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8781 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8782 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 8783 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
8784 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8785 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8786 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8787 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8788 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8789 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 8790 * malloc/malloc.h: Likewise.
57f41c40
AS
8791 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8792 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 8793 * malloc/mcheck.h: Likewise.
57f41c40
AS
8794 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8795 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
8796 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8797 * malloc/morecore.c (__default_morecore): Likewise.
8798 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
8799 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8800 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8801 (print_and_abort): Likewise.
6c8dbf00
OB
8802 * malloc/obstack.h: Likewise.
8803 * malloc/set-freeres.c (__libc_freeres): Likewise.
8804 * malloc/tst-mallocstate.c (main): Likewise.
8805 * malloc/tst-mtrace.c (main): Likewise.
8806 * malloc/tst-realloc.c (do_test): Likewise.
8807
d4124212
SP
88082013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8809
9a3c6a6f
SP
8810 [BZ #16366]
8811 * nscd/netgroupcache.c (do_notfound): New function.
8812 (addgetnetgrentX): Use it.
8813
d4124212
SP
8814 [BZ # 16365]
8815 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8816 NSS_STATUS_NOTFOUND.
8817
97b9a009
JM
88182014-01-01 Joseph Myers <joseph@codesourcery.com>
8819
8820 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8822
d4697bc9
AM
88232014-01-01 Allan McRae <allan@archlinux.org>
8824
ddb3687f
AM
8825 * scripts/update-copyrights: Update configure input file suffix.
8826
88726d48
AM
8827 * NEWS: Update copyright year.
8828 * catgets/gencat.c: Likewise.
8829 * csu/version.c: Likewise.
8830 * debug/catchsegv.sh: Likewise.
8831 * debug/pcprofiledump.c: Likewise.
8832 * debug/xtrace.sh: Likewise.
8833 * elf/ldconfig.c: Likewise.
8834 * elf/ldd.bash.in: Likewise.
8835 * elf/pldd.c: Likewise.
8836 * elf/sotruss.ksh: Likewise.
8837 * elf/sprof.c: Likewise.
8838 * iconv/iconv_prog.c: Likewise.
8839 * iconv/iconvconfig.c: Likewise.
8840 * locale/programs/locale.c: Likewise.
8841 * locale/programs/localedef.c: Likewise.
8842 * login/programs/pt_chown.c: Likewise.
8843 * malloc/memusage.sh: Likewise.
8844 * malloc/memusagestat.c: Likewise.
8845 * malloc/mtrace.pl: Likewise.
8846 * manual/libc.texinfo: Likewise.
8847 * nscd/nscd.c: Likewise.
8848 * nss/getent.c: Likewise.
8849 * nss/makedb.c: Likewise.
8850 * posix/getconf.c: Likewise.
8851 * scripts/test-installation.pl: Likewise.
8852
d4697bc9
AM
8853 * All files with FSF copyright notices: Update copyright dates
8854 using scripts/update-copyrights.
8855 * intl/plural.c: Regenerated.
8856 * locale/programs/charmap-kw.h: Likewise.
8857 * locale/programs/locfile-kw.h: Likewise.
8858
c8590f9d
MF
88592013-12-31 Mike Frysinger <vapier@gentoo.org>
8860
8861 * sysdeps/unix/sysv/linux/configure: Regenerated.
8862 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8863 the linux/fanotify.h header.
8864 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8865 HAVE_LINUX_FANOTIFY_H is defined.
8866
b19221b9
SP
88672013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8868
dd1d85e5
SP
8869 * benchtests/cos-inputs: New inputs.
8870 * benchtests/sin-inputs: Likewise.
8871
1acbb90f
SP
8872 * benchtests/atan-inputs: New inputs. Fix name of multiple
8873 precision fallback inputs.
8874
4c012ed3
SP
8875 * benchtests/atanh-inputs: New inputs.
8876 * benchtests/tanh-inputs: Likewise.
8877
eff98324
SP
8878 * benchtests/acosh-inputs: New inputs.
8879 * benchtests/asinh-inputs: Likewise.
8880
ce641152
SP
8881 * benchtests/cosh-inputs: New inputs.
8882 * benchtests/sinh-inputs: Likewise.
8883
b19221b9
SP
8884 * benchtests/acos-inputs: Add more inputs.
8885 * benchtests/asin-inputs: Likewise.
8886
030a4976 88872013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 8888
030a4976 8889 [BZ #16375]
9dcc8f11
VS
8890 * manual/arith.texi: Fix spelling.
8891 * manual/charset.texi: Likewise.
8892 * manual/errno.texi: Likewise.
8893 * manual/filesys.texi: Likewise.
8894 * manual/lang.texi: Likewise.
8895 * manual/llio.texi: Likewise.
8896 * manual/locale.texi: Likewise.
8897 * manual/message.texi: Likewise.
8898 * manual/resource.texi: Likewise.
8899 * manual/search.texi: Likewise.
8900 * manual/setjmp.texi: Likewise.
8901 * manual/stdio.texi: Likewise.
8902 * manual/string.texi: Likewise.
8903 * manual/sysinfo.texi: Likewise.
8904 * manual/time.texi: Likewise.
8905
11520a57
CD
89062013-12-27 Carlos O'Donell <carlos@redhat.com>
8907
8908 * po/sl.po: New file.
8909
471103ae
MF
89102013-12-27 Mike Frysinger <vapier@gentoo.org>
8911
8912 * .gitignore: Add core/.gdbinit/.gdb_history.
8913
6c9642ed
AM
89142013-12-27 Allan McRae <allan@archlinux.org>
8915
8916 [BZ #16369]
8917 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8918 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8919
3f637079
BM
89202013-12-24 Brooks Moses <bmoses@google.com>
8921
8922 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8923 all compilers that claim C++98 compliance, not just GCC.
8924 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8925 Likewise.
8926
abc26e99
MK
89272013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8928
8929 * NEWS: Restore accidentally deleted bug-fix entries.
8930
362b47fe
MK
89312013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8932 Ondřej Bílka <neleai@seznam.cz>
8933
8934 [BZ #15073]
8935 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 8936 have_lock.
362b47fe 8937
b9bcbbcb
OB
89382013-12-23 Ondřej Bílka <neleai@seznam.cz>
8939
8940 [BZ #12986]
8941 * manual/stdio.texi (String Input Conversions): Clarify that character
8942 classes are not supported.
8943
fb55fcd2
AZ
89442013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8945
8946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8947
ef7344f0
JM
89482013-12-22 Joseph Myers <joseph@codesourcery.com>
8949
4f40e4b3
JM
8950 [BZ #16337]
8951 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8952 Calculate results for small negative arguments directly rather
8953 than using reflection formula with special underflow handling.
8954
ef7344f0
JM
8955 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8956 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8957 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8958 (fchflags): Likewise.
8959 (revoke): Likewise.
8960 (setlogin): Likewise.
8961 (sigaltstack): Likewise.
8962 (wait4): Likewise.
8963 (sigblock): Remove.
8964 (sigsetmask): Likewise.
8965 (wait3): Likewise.
8966 (waitpid): Likewise.
8967 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8968 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8969 file.
8970 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8971 * sysdeps/unix/bsd/Makefile: ... here.
8972 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8973 * sysdeps/unix/bsd/Versions: ... here.
8974 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8975 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8976 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8977 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8978 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8979 * sysdeps/unix/bsd/sigblock.c: ... here.
8980 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8981 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8982 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8983 * sysdeps/unix/bsd/sigvec.c: ... here.
8984 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8985 * sysdeps/unix/bsd/tcdrain.c: ... here.
8986 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8987 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8988 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8989 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8990 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8991 * sysdeps/unix/bsd/wait.c: ... here.
8992 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8993 * sysdeps/unix/bsd/wait3.c: ... here.
8994 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8995 * sysdeps/unix/bsd/waitpid.c: ... here.
8996
5b0626b9
JM
89972013-12-21 Joseph Myers <joseph@codesourcery.com>
8998
8999 [BZ #16356]
9000 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9001 round-to-nearest for [!USE_AS_EXPM1L].
9002 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9003 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9004 more tests of exp and exp10. Expect some exp10 tests to miss
9005 exceptions or fail in directed rounding modes.
9006 * math/auto-libm-test-out: Regenerated.
9007 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9008 (exp10_test_tonearest): New function.
9009 (exp10_towardzero_test_data): New array.
9010 (exp10_test_towardzero): New function.
9011 (exp10_downward_test_data): New array.
9012 (exp10_test_downward): New function.
9013 (exp10_upward_test_data): New array.
9014 (exp10_test_upward): New function.
9015 (main): Call the new functions.
9016 * sysdeps/i386/fpu/libm-test-ulps: Update.
9017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9018
7fda5682
JM
90192013-12-20 Joseph Myers <joseph@codesourcery.com>
9020
31e3a405
JM
9021 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9022 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9023 * math/auto-libm-test-out: Regenerated.
9024 * math/libm-test.inc (acosh_test_data): Add more tests.
9025 (atanh_test_data): Likewise.
9026 (ceil_test_data): Likewise.
9027 (copysign_test_data): Likewise.
9028 * sysdeps/i386/fpu/libm-test-ulps: Update.
9029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9030
85bff96a
JM
9031 * timezone/checktab.awk: Update from tzcode 2013i.
9032 * timezone/private.h: Likewise.
9033 * timezone/scheck.c: Likewise.
9034 * timezone/tzfile.h: Likewise.
9035 * timezone/tzselect.ksh: Likewise.
9036 * timezone/zdump.c: Likewise.
9037 * timezone/zic.c: Likewise.
9038
b7867a3b
JM
9039 * math/auto-libm-test-in: Add tests of cpow.
9040 * math/auto-libm-test-out: Regenerated.
9041 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 9042 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
9043 mpc_cc_c.
9044 (func_calc_desc): Add mpc_cc_c union field.
9045 (test_functions): Add cpow.
9046 (special_fill_2pi): New function.
9047 (special_real_inputs): Add 2pi.
9048 (calc_generic_results): Handle mpc_cc_c.
9049 * sysdeps/i386/fpu/libm-test-ulps: Update.
9050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9051
7fda5682
JM
9052 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9053 csqrt, ctan and ctanh.
9054 * math/auto-libm-test-out: Regenerated.
9055 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9056 (TEST_COND_x86): Likewise.
9057 (ccos_test_data): Use AUTO_TESTS_c_c.
9058 (ccosh_test_data): Likewise.
9059 (cexp_test_data): Likewise.
9060 (clog_test_data): Likewise.
9061 (csqrt_test_data): Likewise.
9062 (ctan_test_data): Likewise.
9063 (ctan_tonearest_test_data): Likewise.
9064 (ctan_towardzero_test_data): Likewise.
9065 (ctan_downward_test_data): Likewise.
9066 (ctan_upward_test_data): Likewise.
9067 (ctanh_test_data): Likewise.
9068 (ctanh_tonearest_test_data): Likewise.
9069 (ctanh_towardzero_test_data): Likewise.
9070 (ctanh_downward_test_data): Likewise.
9071 (ctanh_upward_test_data): Likewise.
9072 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9073 mpc_c_c.
9074 (func_calc_desc): Add mpc_c_c union field.
9075 (FUNC_mpc_c_c): New macro.
9076 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9077 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9078 ctanh.
9079 (special_fill_min_subnorm_p120): New function.
9080 (special_real_inputs): Add min_subnorm_p120.
9081 (calc_generic_results): Handle mpc_c_c.
9082 * sysdeps/i386/fpu/libm-test-ulps: Update.
9083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9084
5ff8d60e
SP
90852013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9086
57f41c40
AS
9087 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9088 (do_sin_slow): New functions.
9089 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9090 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 9091
84ba214c
SP
9092 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9093 Use M to change sign of result instead of X. Assume X is
9094 positive.
9095 (csloww1): Likewise.
9096 (__sin): Adjust.
9097 (__cos): Adjust.
9098
975195e4
SP
9099 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9100 arguments A and DA.
9101 (__sin): Adjust.
9102 (__cos): Likewise.
9103
5ff8d60e
SP
9104 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9105 (__cos): Likewise.
9106 (sloww1): Don't adjust sign of DX.
9107 (csloww1): Likewise.
9108 (sloww2): Use X directly and don't adjust sign of DX.
9109 (csloww2): Likewise.
9110
eb983568
JM
91112013-12-19 Joseph Myers <joseph@codesourcery.com>
9112
64a17f1a
JM
9113 * math/auto-libm-test-in: Add tests of cabs and carg.
9114 * math/auto-libm-test-out: Regenerated.
9115 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9116 (carg_test_data): Likewise.
9117 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9118 mpc_c_f.
9119 (func_calc_desc): Add mpc_c_f union field.
9120 (test_functions): Add cabs and carg.
9121 (calc_generic_results): Handle mpc_c_f.
9122
eb983568
JM
9123 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9124 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9125 as a macro and a compat symbol.
9126 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9127 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9128 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9129 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9130 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9131 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9132 not use .hidden.
9133 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9134 Likewise.
9135 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9136 Likewise.
9137 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9138 Likewise.
9139 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9140 Likewise.
9141 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9142 Likewise.
9143 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9144 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9145 from GLIBC_2.3.2.
9146
6eeb678a
AZ
91472013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9148
9149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9150
6f6fc482
JM
91512013-12-19 Joseph Myers <joseph@codesourcery.com>
9152
21fea2e2
JM
9153 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9154 trailing whitespace removed.
9155 * scripts/config.guess: Update to version 2013-11-29.
9156 * scripts/config.sub: Update to version 2013-10-01.
9157
6f6fc482
JM
9158 * math/auto-libm-test-in: Add tests of sincos.
9159 * math/auto-libm-test-out: Regenerated.
9160 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9161 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9162 mpfr_f_11.
9163 (func_calc_desc): Add mpfr_f_11 union field.
9164 (test_functions): Add sincos.
9165 (calc_generic_results): Handle mpfr_f_11.
9166 * sysdeps/i386/fpu/libm-test-ulps: Update.
9167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9168
83f5c32d
AS
91692013-12-19 Andreas Schwab <schwab@suse.de>
9170
9171 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9172 CALL_MCOUNT.
9173 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9174 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9175 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9176
c688b419
JM
91772013-12-19 Joseph Myers <joseph@codesourcery.com>
9178
335ee092
JM
9179 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9180 * sysdeps/i386/fpu/libm-test-ulps: Update.
9181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9182
f88acd39
JM
9183 [BZ #16293]
9184 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9185 round-to-nearest mode when using frndint.
9186 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9187 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9188 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9189 Likewise.
9190 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9191 sinh test to fail.
9192 * math/auto-libm-test-out: Regenerated.
9193 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9194 (TEST_COND_x86): Likewise.
9195 (expm1_tonearest_test_data): New array.
9196 (expm1_test_tonearest): New function.
9197 (expm1_towardzero_test_data): New array.
9198 (expm1_test_towardzero): New function.
9199 (expm1_downward_test_data): New array.
9200 (expm1_test_downward): New function.
9201 (expm1_upward_test_data): New array.
9202 (expm1_test_upward): New function.
9203 (main): Run the new test functions.
9204 * sysdeps/i386/fpu/libm-test-ulps: Update.
9205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9206
c688b419
JM
9207 * include/features.h: Update comment documenting feature test
9208 macros. Mention _DEFAULT_SOURCE in comment.
9209 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9210 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9211 _BSD_SOURCE and _SVID_SOURCE.
9212 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9213 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9214 !_SVID_SOURCE]: Likewise.
9215 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9216 (__USE_POSIX_IMPLICITLY): Define.
9217 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9218 (_POSIX_SOURCE): Undefine and redefine.
9219 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9220 (_POSIX_C_SOURCE): Likewise.
9221 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9222 (Feature Test Macros): Update documentation of default features.
9223
9f6e964c
RS
92242013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9225
9226 * benchtests/Makefile: Add bench-strtok.
9227 * benchtests/bench-strtok.c: New file: strtok benchtest.
9228
ee0a148a
AM
92292013-12-19 Allan McRae <allan@archlinux.org>
9230
9231 * manual/install.texi: Suppress menu for plain text output.
9232 * INSTALL: Regenerated.
9233
b9ab448f
BM
92342013-12-18 Brooks Moses <bmoses@google.com>
9235
9236 [BZ #15846]
9237 * misc/getauxval.c: Include errno.h.
9238 (__getauxval): Set errno to ENOENT if the requested type is not
9239 found.
9240 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9241 don't declare with __attribute_const__.
9242 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9243 * manual/startup.texi: Document that getauxval sets errno.
9244
23776487
JM
92452013-12-18 Joseph Myers <joseph@codesourcery.com>
9246
f889953b
JM
9247 * math/auto-libm-test-in: Add tests of jn and yn.
9248 * math/auto-libm-test-out: Regenerated.
9249 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9250 (yn_test_data): Likewise.
9251 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9252 mpfr_if_f.
9253 (func_calc_desc): Add mpfr_if_f union field.
9254 (FUNC_mpfr_if_f): New macro.
9255 (test_functions): Add jn and yn.
9256 (calc_generic_results): Assert type of second input for
9257 mpfr_ff_f. Handle mpfr_if_f.
9258 (output_for_one_input_case): Disable all checking for arguments
9259 fitting floating-point types in case of an integer argument.
9260 * sysdeps/i386/fpu/libm-test-ulps: Update.
9261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9262
23776487
JM
9263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9264 Don't expect fegetround reference in libm.so.
9265
cb756c6d
MS
92662013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9267
9268 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9269 $(config-cflags-nofma).
9270
2dec468f
JM
92712013-12-18 Joseph Myers <joseph@codesourcery.com>
9272
5953eb3a
JM
9273 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9274 * math/auto-libm-test-out: Regenerated.
9275
2dec468f
JM
9276 [BZ #16338]
9277 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9278 to determine exponent and adjust argument to have exponent of -1.
9279 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9280 log2.
9281 * math/auto-libm-test-out: Regenerated.
9282 * sysdeps/i386/fpu/libm-test-ulps: Update.
9283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9284
4d84e6ad
OB
92852013-12-18 Ondřej Bílka <neleai@seznam.cz>
9286
9287 * manual/probes.texi: Remove cases when per-thread arenas are
9288 disabled.
9289
1818483b
AS
92902013-12-18 Andreas Schwab <schwab@suse.de>
9291
9292 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9293 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9294 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9295 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9296 * sysdeps/i386/i686/multiarch/Makefile: Update.
9297 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9298
25de95bf
JM
92992013-12-17 Joseph Myers <joseph@codesourcery.com>
9300
9301 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9302 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9303
674762d9
PE
93042013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9305
ed27ed83 9306 [BZ #15968]
0748546f
PE
9307 Support TZ transition times < 00:00:00.
9308 This is needed for version-3 tz-format files; it supports time
9309 stamps past 2037 for America/Godthab (the only entry in the tz
9310 database for which this change is relevant).
9311 * manual/time.texi (TZ Variable): Document transition times
9312 from -167:59:59 through -00:00:01.
9313 * time/tzset.c (tz_rule): Time of day is now signed.
9314 (__tzset_parse_tz): Parse negative time of day.
9315
4480e934
PE
9316 Document TZ transition times >= 25:00:00.
9317 * manual/time.texi (TZ Variable): Document transition times from
9318 25:00:00 through 167:59:59. These are already supported, and this
9319 support will help with version-3 tz-format files.
9320
69947401
PE
9321 * manual/time.texi (TZ Variable): Modernize North America example
9322 to reflect current (i.e., 2007-and-later) daylight saving rules.
9323
674762d9
PE
9324 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9325
7011c262
JM
93262013-12-17 Joseph Myers <joseph@codesourcery.com>
9327
2fc6557e
JM
9328 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9329 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9330 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9331 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9332 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9333 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9334 * sysdeps/unix/bsd/clock.c: Likewise.
9335 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9336 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9337 * sysdeps/unix/bsd/init-posix.c: Likewise.
9338 * sysdeps/unix/bsd/poll.c: Likewise.
9339 * sysdeps/unix/bsd/ptsname.c: Likewise.
9340 * sysdeps/unix/bsd/seekdir.c: Likewise.
9341 * sysdeps/unix/bsd/setegid.c: Likewise.
9342 * sysdeps/unix/bsd/seteuid.c: Likewise.
9343 * sysdeps/unix/bsd/setgid.c: Likewise.
9344 * sysdeps/unix/bsd/setrgid.c: Likewise.
9345 * sysdeps/unix/bsd/setruid.c: Likewise.
9346 * sysdeps/unix/bsd/setsid.c: Likewise.
9347 * sysdeps/unix/bsd/setuid.c: Likewise.
9348 * sysdeps/unix/bsd/sigaction.c: Likewise.
9349 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9350 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9351 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9352 * sysdeps/unix/bsd/telldir.c: Likewise.
9353 * sysdeps/unix/bsd/times.c: Likewise.
9354 * sysdeps/unix/bsd/usleep.c: Likewise.
9355
029c7b25
JM
9356 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9357 ($(objpfx)libbsd-compat.a): Remove rule.
9358
7011c262
JM
9359 * include/features.h (__FAVOR_BSD): Do not define.
9360 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9361 features conflicting with POSIX.
9362 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9363 (_BSD_SOURCE): Remove description of not being a subset of other
9364 feature test macros.
9365 * manual/job.texi (getpgrp): Do not document BSD version.
9366 (getpgid): Do not document by reference to BSD getpgrp.
9367 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9368 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9369 * signal/signal.h [__FAVOR_BSD]: Likewise.
9370 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9371 instead of making contents conditional on [__FAVOR_BSD].
9372 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9373
affb6f78
AZ
93742013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9375
9376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9377
c88769dd
JM
93782013-12-17 Joseph Myers <joseph@codesourcery.com>
9379
6432a540
JM
9380 [BZ #16314]
9381 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9382 values below 2**-450, not 2**-500.
9383 * math/auto-libm-test-in: Don't allow spurious underflow from
9384 hypot.
9385 * math/auto-libm-test-out: Regenerated.
9386
c88769dd
JM
9387 [BZ #16316]
9388 [BZ #16330]
9389 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9390 values of ha and hb and sort them after adjusting subnormal
9391 arguments.
9392 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9393 Likewise.
9394 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9395 values of ea and eb and sort them after adjusting subnormal
9396 arguments.
9397 * math/auto-libm-test-in: Do not expect some hypot tests of
9398 subnormals to fail. Add more hypot tests.
9399 * math/auto-libm-test-out: Regenerated.
9400
29618f6b
KK
94012013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9402
9403 [BZ #13304]
9404 * sysdeps/sh/s_fma.c: New file.
9405 * sysdeps/sh/s_fmaf.c: New file.
9406 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9407 version.
9408 * sysdeps/sh/Implies: Add sh/soft-fp.
9409
eacfdfbf
RM
94102013-12-16 Roland McGrath <roland@hack.frob.com>
9411
9412 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9413 level of indirection to members `objname', `errstring', `malloced'.
9414 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9415 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9416 it as the __longjmp argument (just pass 1 instead).
9417 (_dl_catch_error): Initialize C with argument pointers and address of
9418 volatile local ERRCODE rather than copying values out of C at return.
9419
ff362e5b
JM
94202013-12-16 Joseph Myers <joseph@codesourcery.com>
9421
9422 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9423 * math/auto-libm-test-out: Regenerated.
9424 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9425 (hypot_test_data): Likewise.
9426 (pow_test_data): Likewise.
9427 (pow_tonearest_test_data): Likewise.
9428 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9429 mpfr_ff_f.
9430 (func_calc_desc): Add mpfr_ff_f union field.
9431 (FUNC_mpfr_ff_f): New macro.
9432 (test_functions): Add atan2, hypot and pow.
9433 (special_fill_min): New function.
9434 (special_fill_minus_min): Likewise.
9435 (special_fill_min_subnorm): Likewise.
9436 (special_fill_minus_min_subnorm): Likewise.
9437 (special_real_inputs): Add min, -min, min_subnorm and
9438 -min_subnorm.
9439 (calc_generic_results): Handle mpfr_ff_f.
9440 * sysdeps/i386/fpu/libm-test-ulps: Update.
9441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9442
5764c27f
WN
94432013-12-16 Will Newton <will.newton@linaro.org>
9444
9445 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9446 (Aligned Memory Blocks): Add documentation for aligned_alloc
9447 and suggest it as an alternative to posix_memalign.
9448 (Hooks for Malloc): Document __memalign_hook is also called
9449 for aligned_alloc. (Summary of Malloc): Add summary for
9450 aligned alloc. Document __memalign_hook is also called
9451 for aligned_alloc.
9452
0a096e44
WN
94532013-12-16 Will Newton <will.newton@linaro.org>
9454
9455 * manual/memory.texi (Malloc Examples): Clarify default
9456 alignment documentation. Suggest posix_memalign rather
9457 than memalign or valloc.
9458 (Aligned Memory Blocks): Remove suggestion to use memalign
9459 or valloc. Remove obsolete comment about BSD.
9460 Document memalign errno values and mark the function obsolete.
9461 Document posix_memalign returned error codes. Mark valloc
9462 as obsolete. (Hooks for Malloc): __memalign_hook is also
9463 called for posix_memalign and valloc.
9464 (Summary of Malloc): Add posix_memalign to function summary.
9465 __memalign_hook is also called for posix_memalign and valloc.
9466
8d561986
SP
94672013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9468
9469 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9470 TAYLOR_SIN.
9471 (__sin): Adjust.
9472 (__cos): Likewise.
9473 (sloww): Use mynumber union. Expand ternary operator into
9474 if-else statements.
9475 (cslow): use mynumber union.
9476
73616a74
AM
94772013-12-16 Allan McRae <allan@archlinux.org>
9478
9e8ac24b
AM
9479 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9480 * configure: Regenerated.
9481
6f8e37eb
AM
9482 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9483
8894bad3
AM
9484 [BZ #14120]
9485 * configure.ac: Added --enable-maintainer-mode. Check for
9486 autoconf when enabled.
9487 * configure: Regenerated.
9488
73616a74
AM
9489 * nscd/nscd.service: New file.
9490 * nscd/nscd.tmpfiles: New file.
9491
584b18eb
OB
94922013-12-14 Ondřej Bílka <neleai@seznam.cz>
9493
9494 [BZ #12100]
9495 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9496 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9497 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9498 (strstr): Add __strstr_sse2_unaligned ifunc.
9499 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9500 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9501 (strcasestr): Remove __strcasestr_sse42 ifunc.
9502 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9503 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9504 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9505
8a5c7897
KK
95062013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9507
9508 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9509 * sysdeps/sh/bits/fenv.h: ... here.
9510 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9511
fd712ef3
AZ
95122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9513
9514 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9515
42fcb46c
AZ
9516 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9517 hypotf multiarch implementations.
9518 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9519 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9520 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9521 multiarch hypot for PPC64.
9522 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9523 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9524 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9525 multiarch hypotf for PPC64.
9526
83efded4
AZ
9527 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9528 modff multiarch implementations.
9529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9532 multiarch modf for PPC64.
9533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9536 multiarch modff for PPC64.
9537
43e246d2
AZ
9538 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9539 and logl multiarch implementations.
9540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9543 multiarch logb for PPC64.
9544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9547 multiarch logb for PPC64.
9548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9551 multiarch logb for PPC64.
9552
8fdad123
AZ
9553 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9554 isinff multiarch implementation.
9555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9556 file.
9557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9559 multiarch isinf for PPC64.
9560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9561 file.
9562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9563 multiarch isinff for PPC64.
9564
1481d706
AZ
9565 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9566 finitef multiarch implementation.
9567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9568 file.
9569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9571 multiarch finite for PPC64.
9572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9573 file.
9574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9575 multiarch finitef for PPC64.
9576
5ccd5fc8
AZ
9577 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9578 lrint multiarch implementation.
9579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9580 file.
9581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9583 multiarch llrint for PPC64.
9584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9585 multiarch lrint for PPC64.
9586
2568f3fa
AZ
9587 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9588 copysignf multiarch implementation.
9589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9590 file.
9591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9592 file.
9593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9594 multiarch copysign for PPC64.
9595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9596 multiarch copysignf for PPC64.
9597
1cb341fd
AZ
9598 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9599 multiarch implementation.
9600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9601 file.
9602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9603 file.
9604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9605 file.
9606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9607 file.
9608 multiarch llround for PPC64.
9609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9610 multiarch trunc for PPC64.
9611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9612 multiarch truncf for PPC64.
9613
59a3e194
AZ
9614 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9615 multiarch implementation.
9616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9617 file.
9618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9619 file.
9620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9621 file.
9622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9623 file.
9624 multiarch llround for PPC64.
9625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9626 multiarch round for PPC64.
9627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9628 multiarch roundf for PPC64.
9629
357fd3b4
AZ
9630 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9631 multiarch implementation.
9632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9633 file.
9634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9635 file.
9636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9637 file.
9638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9639 file.
9640 multiarch llround for PPC64.
9641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9642 multiarch floor for PPC64.
9643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9644 multiarch floorf for PPC64.
9645
96770f12
AZ
9646 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9647 multiarch implementation.
9648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9649 file.
9650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9651 file.
9652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9653 file.
9654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9655 file.
9656 multiarch llround for PPC64.
9657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9658 multiarch ceil for PPC64.
9659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9660 multiarch ceilf for PPC64.
9661
c3627f6e
AZ
9662 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9663 multiarch implementation.
9664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9665 file.
9666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9667 file.
9668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9669 file.
9670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9671 multiarch llround for PPC64.
9672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9673 multiarch lround for PPC64.
9674
b2284ad7
AZ
9675 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9676 multiarch implementation.
9677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9680 file.
9681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9684 multiarch isnan for PPC64.
9685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9686 multiarch isnanf for PPC64.
9687
69bbc63d
AZ
9688 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9689 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9690 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9691 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9692 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9694
c24517c9
AZ
9695 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9696 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9697 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9698 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9699
a52374e8
AZ
9700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9701 multiarch implementations.
9702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9703 (__libc_ifunc_impl_list): Likewise.
9704 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9705 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9706 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9707 multiarch stpcpy for PPC64.
9708
7f5ec113
AZ
9709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9710 multiarch implementations.
9711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9712 (__libc_ifunc_impl_list): Likewise.
9713 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9714 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9715 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9716 multiarch strcpy for PPC64.
9717
e28bcd42
AZ
9718 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9719 redefine function name.
9720 (_wordcopy_fwd_dest_aligned): Likewise.
9721 (_wordcopy_bwd_aligned): Likewise.
9722 (_wordcopy_bwd_dest_aligned): Likewise.
9723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9724 multiarch implementations.
9725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9726 (__libc_ifunc_impl_list): Likewise.
9727 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9728 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9729 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9730 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9731 multiarch wcscpy for PPC64.
9732
92cacfce
AZ
9733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9734 multiarch implementations.
9735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9736 (__libc_ifunc_impl_list): Likewise.
9737 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9738 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9739 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9740 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9741 multiarch wcscpy for PPC64.
9742
7b714620
AZ
9743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9744 multiarch implementations.
9745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9746 (__libc_ifunc_impl_list): Likewise.
9747 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9748 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9749 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9750 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9751 multiarch wcsrchr for PPC64.
9752
16fd2ae3
AZ
9753 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9754 multiarch implementations.
9755 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9756 (__libc_ifunc_impl_list): Likewise.
9757 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9758 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9759 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9760 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9761 multiarch wcschr for PPC64.
9762
9ee2969b
AZ
9763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9764 multiarch implementations.
9765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9766 (__libc_ifunc_impl_list): Likewise.
9767 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9768 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9769 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9770 multiarch strchrnul for PPC64.
9771
372dc060
AZ
9772 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9773 implementations.
9774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9775 (__libc_ifunc_impl_list): Likewise.
9776 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9777 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9778 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9779 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9780 strchr for PPC64.
9781
24c2c3b9
AZ
9782 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9783 implementations.
9784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9785 (__libc_ifunc_impl_list): Likewise.
9786 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9787 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9788 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9789 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9790 strncmp for PPC64.
9791
1c92d9a0
AZ
9792 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9793 multiarch implementations.
9794 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9795 (__libc_ifunc_impl_list): Likewise.
9796 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9797 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9798 strncasecmp for PPC64.
9799 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9800 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9801 multiarch strncasecmp_l for PPC64.
9802
17de3ee3
AZ
9803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9804 multiarch implementations.
9805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9806 (__libc_ifunc_impl_list): Likewise.
9807 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9808 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9809 multiarch strcasecmp for PPC64.
9810 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9811 file.
9812 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9813 multiarch strcasecmp_l for PPC64.
9814
62982bf9
AZ
9815 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9816 implementations.
9817 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9818 (__libc_ifunc_impl_list): Likewise.
9819 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9820 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9821 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9822 strnlen for PPC64.
9823
a65f4904
AZ
9824 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9825 implementations.
9826 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9827 (__libc_ifunc_impl_list): Likewise.
9828 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9829 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9830 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9831 strlen for PPC64.
9832
1fd005ad
AZ
9833 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9834 implementations.
9835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9836 (__libc_ifunc_impl_list): Likewise.
9837 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9838 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9839 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9840 rawmemrchr for PPC64.
9841
cd05ba91
AZ
9842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9843 implementation.
9844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9845 (__libc_ifunc_impl_list): Likewise.
9846 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9847 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9848 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9849 memrchr for PPC64.
9850
870f8676
AZ
9851 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9852 implementation.
9853 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9854 (__libc_ifunc_impl_list): Likewise.
9855 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9856 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9857 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9858 memchr for PPC64.
9859
f00be62b
AZ
9860 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9861 implementation.
9862 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9863 (__libc_ifunc_impl_list): Likewise.
9864 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9865 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9866 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9867 mempcpy for PPC64.
9868
8a29a3d0
AZ
9869 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9870 avoid cretion of __bzero symbol.
9871 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9872 Likewise.
9873 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9874 Likewise.
9875 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9876 Likewise.
9877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9878 multiarch implementations.
9879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9880 (__libc_ifunc_impl_list): Likewise.
9881 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9882 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9883 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9884 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9885 bzero for PPC32.
9886 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9887 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9888 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9889 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9890 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9891 memset for PPC64.
9892 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9893
07253fcf
AZ
9894 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9895 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9896 implementations.
9897 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9898 (__libc_ifunc_impl_list): Likewise.
9899 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9900 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9901 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9902 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9903 memcmp for PPC64.
9904
b5beafbc
AZ
9905 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9906 multiarch for POWER/PPC64.
9907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9908 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9909 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9910 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9911 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9912 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9913 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9914 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9915 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9916 memcpy for PPC64.
9917
5e6a4d4b
AZ
9918 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9919 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9920 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9921 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9922 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9923 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9924 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9925 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9926 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9927 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9928 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9929 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9930 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9931 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9932 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9940
ddfab6dc
KK
99412013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9942
9943 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9944
19b5525e
SP
99452013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9946
9947 * benchtests/Makefile (bench): Add exp2 and log2.
9948 (LDLIBS-bench-exp2): Add -lm.
9949 (LDLIBS-bench-log2): Likewise.
9950 * benchtests/exp2-inputs: New inputs file.
9951 * benchtests/log2-inputs: New inputs file.
9952 * benchtests/log-inputs: Add new inputs.
9953 * benchtests/tan-inputs: Likewise.
9954
196f7f5d
SP
99552013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9956
7a74607f
SP
9957 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9958 definition...
57f41c40
AS
9959 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9960 (csloww2): ... from here.
7a74607f 9961
196f7f5d
SP
9962 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9963 instead of structures.
9964 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9965 (POLYNOMIAL): Likewise.
9966 (TAYLOR_SLOW): Likewise.
9967 (__sin): Likewise.
9968 (__cos): Likewise.
9969 (slow1): Likewise.
9970 (slow2): Likewise.
9971 (sloww): Likewise.
9972 (sloww1); Likewise.
9973 (sloww2): Likewise.
9974 (bsloww1): Likewise.
9975 (bsloww2): Likewise.
9976 (cslow2): Likewise.
9977 (csloww): Likewise.
9978 (csloww1): Likewise.
9979 (csloww2): Likewise.
9980
0dfa665c
OB
99812013-12-10 Ondřej Bílka <neleai@seznam.cz>
9982
9983 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
9984 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9985 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
9986 * malloc/hooks.c (realloc_check): Likewise.
9987
5782a80f
OB
9988 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9989 * malloc/arena.c: Remove PER_THREAD conditional.
9990 [!PER_THREAD]: Remove code.
9991 (ptmalloc_unlock_all2): Likewise.
9992 (ptmalloc_init): Likewise.
9993 (_int_new_arena): Likewise.
9994 (arena_get2): Likewise.
9995 * malloc/hooks.c (__malloc_get_state): Likewise.
9996 (__malloc_set_state): Likewise.
9997 * malloc/malloc.c: Likewise.
9998 (struct malloc_state): Likewise.
9999 (struct malloc_par): Likewise.
10000 (__libc_realloc): Likewise.
10001 (__libc_mallopt): Likewise.
10002
aeb95445
AZ
100032013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10004
10005 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10006
e8349efd
OB
100072013-12-09 Ondřej Bílka <neleai@seznam.cz>
10008
10009 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10010 macro to a function. Check for zero perturb_byte.
10011 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10012
f3eeb3fc 10013 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
10014 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10015 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
10016 force_reg by atomic_forced_read.
10017 * malloc/arena.c (ptmalloc_init): Likewise.
10018 * malloc/hooks.c (top_check): Likewise.
10019
be2f9009
AZ
100202013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10021
10022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10023
e7b914bd
MT
100242013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10025
10026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10027
9f0be4f8
JM
100282013-12-08 Joseph Myers <joseph@codesourcery.com>
10029
10030 * math/auto-libm-test-in: Add tests of lgamma.
10031 * math/auto-libm-test-out: Regenerated.
10032 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10033 (M_LOG_2_SQRT_PIl): Likewise.
10034 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10035 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10036 mpfr_f_f1.
10037 (func_calc_desc): Add mpfr_f_f1 union field.
10038 (ARGS1): New macro.
10039 (ARGS2): Likewise.
10040 (ARGS3): Likewise.
10041 (ARGS4): Likewise.
10042 (RET1): Likewise.
10043 (RET2): Likewise.
10044 (CALC): Likewise.
10045 (FUNC): Likewise.
10046 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10047 (test_functions): Add lgamma.
10048 (calc_generic_results): Handle mpfr_f_f1.
10049 * sysdeps/i386/fpu/libm-test-ulps: Update.
10050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10051
24eeafdb
AZ
100522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10053
10054 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10055 __mpn_add_n for PowerPC64/POWER7.
10056 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10057 __mpn_sub_n for PowerPC64/POWER7.
10058
4a2c0fd4
AZ
10059 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10060 __mpn_addmul_1 for PowerPC64.
10061 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10062 __mpn_submul_1 for PowerPC64.
10063 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10064 for PowerPC64.
10065 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10066 for PowerPC64.
10067
4b5b548c
FS
100682013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10069
10070 [BZ #15089]
10071 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10072
0a3ac0aa
AZ
100732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10074
10075 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10076
ccdc8438
AZ
10077 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10078 add multiarch folders.
10079 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10080 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10081 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10082 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10083 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10084 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10085 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10086 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10087 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10088 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10089 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10096
2e973d99
AZ
10097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10098 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10100 New file.
10101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10102 New file.
10103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10104 multiarch __ieee754_hypot for PowerPC32.
10105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10106 New file.
10107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10108 New file.
10109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10110 multiarch __ieee754_hypotf for PowerPC32.
10111
2d9470b2
AZ
10112 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10113 long_double_symbol only if __logbl is defined.
10114 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10115 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10116 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10117 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10118 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10119 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10120 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10121 path for implementation.
10122 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10123 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10125 logb, and logbl multiarch implementations for PowerPC32.
10126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10127 file.
10128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10129 file.
10130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10131 multiarch logb for PowerPC32.
10132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10133 file.
10134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10135 file.
10136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10137 multiarch logbf for PowerPC32.
10138 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10140 file.
10141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10142 multiarch logbl implementation for PowerPC32.
10143
5212ffce
AZ
10144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10145 and modff multiarch implementations.
10146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10147 New file.
10148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10149 New file.
10150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10151 multiarch modf for PowerPC32.
10152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10153 New file.
10154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10155 New file.
10156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10157 multiarch modff for PowerPC32.
10158
79dccf31
AZ
10159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10160 and lrintf multiarch implementations.
10161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10162 New file.
10163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10164 New file.
10165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10166 multiarch lrint for PowerPC32.
10167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10168 file: multiarch lrintf for PowerPC32.
10169
deb66480
AZ
10170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10171 and lroundf multiarch implementations.
10172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10173 New file.
10174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10175 New file.
10176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10177 New file.
10178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10179 multiarch lround for PowerPC32.
10180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10181 file: multiarch lroundf for PowerPC32.
10182
264b036b
AZ
10183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10184 copysign and copysignf multiarch implementations.
10185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10186 New file.
10187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10188 New file.
10189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10190 file: multiarch copysign for PowerPC32.
10191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10192 file: multiarch copysignf for PowerPC32.
10193
d47db6c9
AZ
10194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10195 and truncf multiarch implementations.
10196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10197 New file.
10198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10199 file.
10200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10201 multiarch trunc for PowerPC32.
10202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10203 New file.
10204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10205 New file.
10206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10207 multiarch truncf for PowerPC32.
10208
ddb60b5a
AZ
10209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10210 and roundf multiarch implementations.
10211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10212 New file.
10213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10214 file.
10215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10216 multiarch round for PowerPC32.
10217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10218 New file.
10219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10220 New file.
10221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10222 multiarch roundf for PowerPC32.
10223
bedcf49b
AZ
10224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10225 and floorf multiarch implementations.
10226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10227 New file.
10228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10229 file.
10230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10231 multiarch floor for PowerPC32.
10232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10233 New file.
10234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10235 New file.
10236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10237 multiarch floorf for PowerPC32.
10238
35ae5b40
AZ
10239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10240 and ceilf multiarch implementations.
10241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10242 New file.
10243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10244 file.
10245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10246 multiarch ceil for PowerPC32.
10247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10248 New file.
10249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10250 file.
10251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10252 multiarch ceilf for PowerPC32.
10253
ae1a4cd9
AZ
10254 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10255 is defined.
10256 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10257 FINITEF is defined.
10258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10259 and finitef multiarch implementations.
10260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10261 New file.
10262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10263 file.
10264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10265 multiarch finite for PowerPC32.
10266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10267 New file.
10268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10269 file: multiarch finitef for PowerPC32.
10270
64fffd65
AZ
10271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10272 and isinff multiarch implementations.
10273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10274 file.
10275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10276 file.
10277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10278 multiarch isinf for PowerPC32.
10279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10280 New file.
10281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10282 multiarch isinff for PowerPC32.
10283
8e4e7ba2
AZ
10284 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10285 alias when __isnan is defined.
10286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10287 and isnanf multiarch implementations.
10288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10289 file.
10290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10291 file.
10292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10293 file.
10294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10295 file.
10296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10297 multiarch isnan for PowerPC32.
10298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10299 New file.
10300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10301 New file.
10302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10303 multiarch isnanf for PowerPC32.
10304
ddba588e
AZ
10305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10306 and sqrtf multiarch implementations.
10307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10308 file.
10309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10310 file.
10311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10312 multiarch sqrt for PowerPC32.
10313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10314 file.
10315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10316 file.
10317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10318 multiarch sqrtf for PowerPC32.
10319
0f96a2f0
AZ
10320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10321 and llroundf multiarch implementations.
10322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10323 New file.
10324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10325 New file.
10326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10327 New file.
10328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10329 file: multiarch llround for PowerPC32.
10330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10331 file: multiarch llroundf for PowerPC32.
10332
c9b5d79e
AZ
10333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10334 multiarch PowerPC32 fpu implementations.
10335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10336 New file.
10337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10338 New file.
10339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10340 multiarch llrint for PowerPC32.
10341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10342 New file.
10343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10344 New file.
10345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10346 file.
10347
9cbb3aab
AZ
10348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10349
ea5a72f8
AZ
10350 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10351 file.
10352 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10353 file.
10354 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10355 file.
10356 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10357 multiarch wordcopy for PPC32.
10358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10359 wordcopy objects.
10360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10361 (__libc_ifunc_impl_list): Likewise.
10362 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10363 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10364 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10365 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10366 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10367 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10368
93be09e7
AZ
10369 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10370 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10371 file.
10372 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10373 file.
10374 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10375 file.
10376 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10377 multiarch wcscpy for PPC32.
10378 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10379 multiarch objects.
10380 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10381 (__libc_ifunc_impl_list): Likewise.
10382 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10383 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10384 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10385 sysdeps/powerpc/power6/wcscpy.c.
10386
bb04e529
AZ
10387 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10388 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10389 file.
10390 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10391 file.
10392 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10393 file.
10394 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10395 multiarch wcsrchr for PPC32.
10396 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10397 multiarch objects.
10398 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10399 (__libc_ifunc_impl_list): Likewise.
10400 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10401 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10402 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10403 sysdeps/powerpc/power6/wcsrchr.c.
10404
05b5cd1c
AZ
10405 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10406 file.
10407 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10408 file.
10409 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10410 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10411 multiarch wcschr for PPc32.
10412 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10413 multiarch objects.
10414 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10415 (__libc_ifunc_impl_list): Likewise.
10416 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10417 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10418 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10419 sysdeps/powerpc/power6/wcschr.c.
10420
ba964147
AZ
10421 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10422 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10423 file.
10424 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10425 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10426 file: multiarch strchr for PPC32.
10427 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10428 multiarch objects.
10429 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10430 (__libc_ifunc_impl_list): Likewise.
10431
31c81aaa
AZ
10432 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10433 name.
10434 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10435 file.
10436 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10437 file.
10438 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10439 multiarch strchrnul for PPC32.
10440 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10441 multiarch objects.
10442 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10443 (__libc_ifunc_impl_list): Likewise.
10444
0d0607d9
AZ
10445 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10446 file.
10447 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10448 multiarch strncasecmp for PPC32.
10449 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10450 file.
10451 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10452 multiarch strncasecmp_l for PPC32.
10453 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10454 strncasecmp multiarch objects.
10455 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10456 (__libc_ifunc_impl_list): Likewise.
10457
4dfd5c86
AZ
10458 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10459 file.
10460 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10461 multiarch strncasecmp for PPC32.
10462 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10463 New file.
10464 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10465 multiarch strcasecmp_l for PPC32.
10466 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10467 multiarch objects.
10468 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10469 (__libc_ifunc_impl_list): Likewise.
10470
a19e01a3
AZ
10471 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10472 file.
10473 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10474 file.
10475 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10476 multiarch strncmp for PPC32.
10477 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10478 multiarch objects.
10479 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10480 (__libc_ifunc_impl_list): Likewise.
10481
ae9cf7a2
AZ
10482 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10483 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10484 file.
10485 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10486 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10488 multiarch objects.
10489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10490 (__libc_ifunc_impl_list): Likewise.
10491
3148bb7d
AZ
10492 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10493 file.
10494 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10495 file.
10496 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10497 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10498 multiarch objects.
10499 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10500 (__libc_ifunc_impl_list): Likewise.
10501
7af8b946
AZ
10502 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10503 file.
10504 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10505 file.
10506 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10507 multiarch rawmemchr for PPC32.
10508 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10509 multiarch objects.
10510 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10511 (__libc_ifunc_impl_list): Likewise.
10512
03a6aa6a
AZ
10513 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10514 file.
10515 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10516 file.
10517 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10518 file: memrchr multiarch for PPC32.
10519 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10520 multiarch objects.
10521 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10522 (__libc_ifunc_impl_list): Likewise.
10523
1c62e6d9
AZ
10524 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10525 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10526 file.
10527 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10528 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10529 multiarch memchr for PPC32.
10530 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10531 multiarch objects.
10532 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10533 (__libc_ifunc_impl_list): Likewise.
10534
87da8bdb
AZ
10535 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10536 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10537 file.
10538 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10539 file.
10540 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10541 file: multiarch mempcpy for PPC32.
10542 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10543 multiarch objects.
10544 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10545 (__libc_ifunc_impl_list): Likewise.
10546
20ed4714
AZ
10547 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10548 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10549 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10550 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10551 multiarch bzero for PPC32.
10552 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10553 file.
10554 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10555 file.
10556 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10557 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10558 file: multiarch memset for PPC32.
10559 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10560 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10561 memset multiarch objects.
10562 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10563 (__libc_ifunc_impl_list): Likewise.
10564
ab3e3a46
AZ
10565 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10566 file.
10567 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10568 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10569 memcmp for PPC32.
10570 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10571 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10572 multiarch objects.
10573 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10574 (__libc_ifunc_impl_list): Likewise.
10575
930de6f0
AZ
10576 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10577 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10578 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10579 file.
10580 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10581 file.
10582 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10583 file.
10584 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10585 multiarch memcpy for PPC32.
10586 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10587 multiarch objects.
10588 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10589 (__libc_ifunc_impl_list): Likewise.
10590
4c628e00
AZ
10591 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10592 support multiarch for POWER/PPC32.
10593 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10594 Likewise.
10595 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10597 Implies file to make multiarch folder appers before the fpu and
10598 default folder for power4 configuration.
10599
f4479220
SP
106002013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10601
10602 * scripts/bench.pl: Append volatile keyword to type.
10603
8517800f
KK
106042013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10605
10606 * sysdeps/sh/sotruss-lib.c: New file.
10607 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10608
180138f1
AZ
106092013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10610
10611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10612
bbf37bdc
JM
106132013-12-05 Joseph Myers <joseph@codesourcery.com>
10614
e47cc4e0
JM
10615 [BZ #6810]
10616 * math/w_tgamma.c: Include <errno.h>.
10617 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10618 * math/w_tgammaf.c: Include <errno.h>.
10619 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10620 * math/w_tgammal.c: Include <errno.h>.
10621 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10622 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10623 underflow. Add more tgamma tests.
10624 * math/auto-libm-test-out: Regenerated.
10625 * sysdeps/i386/fpu/libm-test-ulps: Update.
10626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10627
bbf37bdc
JM
10628 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10629 sin, sinh, tan, tanh, tgamma, y0 and y1.
10630 * math/auto-libm-test-out: Regenerated.
10631 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10632 (TEST_COND_x86): Likewise.
10633 (M_E2l): Remove macro.
10634 (M_E3l): Likewise.
10635 (M_2_SQRT_PIl): Likewise.
10636 (M_SQRT_PIl): Likewise.
10637 (M_1_DIV_El): Likewise.
10638 (log_test_data): Use AUTO_TESTS_f_f.
10639 (log10_test_data): Likewise.
10640 (log1p_test_data): Likewise.
10641 (log2_test_data): Likewise.
10642 (sin_test_data): Likewise.
10643 (sin_tonearest_test_data): Likewise.
10644 (sin_towardzero_test_data): Likewise.
10645 (sin_downward_test_data): Likewise.
10646 (sin_upward_test_data): Likewise.
10647 (sinh_test_data): Likewise.
10648 (sinh_tonearest_test_data): Likewise.
10649 (sinh_towardzero_test_data): Likewise.
10650 (sinh_downward_test_data): Likewise.
10651 (sinh_upward_test_data): Likewise.
10652 (tan_test_data): Likewise.
10653 (tan_tonearest_test_data): Likewise.
10654 (tan_towardzero_test_data): Likewise.
10655 (tan_downward_test_data): Likewise.
10656 (tan_upward_test_data): Likewise.
10657 (tanh_test_data): Likewise.
10658 (tgamma_test_data): Likewise.
10659 (y0_test_data): Likewise.
10660 (y1_test_data): Likewise.
10661 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10662 (special_real_inputs): Add pi/4.
10663 * sysdeps/i386/fpu/libm-test-ulps: Update.
10664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10665
eb5ad6b9
AZ
106662013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10667
10668 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10669 "longjmp_target" static probes.
10670 (__longjmp): Rename to __longjmp_symbol.
10671 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10672 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10673 on which longjmp to generate.
10674 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10675 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10676 probe.
10677 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10678 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10679 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10680 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10681 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10682 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10684 __longjmp_symbol based on which __longjmp to generate.
10685 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10686 probe.
10687 (setjmp): Rename to setjmp_symbol.
10688 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10689 (_setjmp): Rename to _setjmp_symbol.
10690 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10691 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10692 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10693 which setjmp to generate.
10694 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10695 "longjmp_target" static probes.
10696
d136c6dc
SP
106972013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10698
9298ecba
SP
10699 * benchtests/README: Add note about output arguments.
10700 * benchtests/bench-sincos.c: Remove file.
10701 * benchtests/sincos-inputs: New file.
10702 * scripts/bench.pl: Identify output arguments and define
10703 static variables for them.
10704
232983e9
SP
10705 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10706
d136c6dc
SP
10707 [BZ #15941]
10708 * Makefile (INSTALL): Add install-plain.texi as the primary
10709 dependency.
10710 * manual/install-plain.texi: New file.
10711 * manual/install.texi: Include node directive only for
10712 non-plaintext output.
10713
699ff837
JM
107142013-12-04 Joseph Myers <joseph@codesourcery.com>
10715
ab07cea8
JM
10716 * stdlib/longlong.h: Update from GCC.
10717
699ff837
JM
10718 [BZ #6807]
10719 [BZ #15901]
10720 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10721 * math/w_j0f.c (y0f): Likewise.
10722 * math/w_j0l.c (__y0l): Likewise.
10723 * math/w_j1.c (y1): Likewise.
10724 * math/w_j1f.c (y1f): Likewise.
10725 * math/w_j1l.c (__y1l): Likewise
10726 * math/w_jn.c (yn): Likewise.
10727 * math/w_jnf.c (ynf): Likewise.
10728 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10729 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10730 value for Bessel function domain errors outside _SVID_ mode.
10731 Adjust sign of return value for yn (negative integer, 0).
10732 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10733 by zero in return for negative x and set sign appropriately for
10734 negative n.
10735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10736 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10737 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10738 expectations in error cases.
10739 (y1_test_data): Likewise.
10740 (yn_test_data): Likewise.
10741 * sysdeps/i386/fpu/libm-test-ulps: Update.
10742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10743
5b118558
UW
107442013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10745
10746 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10747 "64" to "64-v1". Add "64-v2".
10748 (abi-64-options): Rename to ...
10749 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10750 (abi-64-condition): Rename to ...
10751 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10752 (abi-64-ld-soname): Rename to ...
10753 (abi-64-v1-ld-soname): ... this.
10754 (abi-64-v2-options): Define.
10755 (abi-64-v2-condition): Likewise.
10756 (abi-64-v2-ld-soname): Likewise.
10757 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10758 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10762
61cd8fe4
UW
107632013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10764 Alan Modra <amodra@gmail.com>
10765
10766 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10767 New versions for use with the ELFv2 ABI.
10768 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10769 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10770 declaration.
10771 (struct La_ppc64v2_retval): Likewise.
10772 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10773 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10774 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10775 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10776 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10777 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10778 Do not save or restore CR.
10779 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10780 (_dl_profile_resolve): Do no save or restore CR. Support extended
10781 return values for ELFv2 ABI. Fix location of FPR return registers.
10782 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10783 updated values for _CALL_ELF == 2.
10784 (La_regs, La_retval, int_retval): Likewise.
10785
8b8a692c
UW
107862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10787
10788 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10789 (FRAME_MIN_SIZE_PARM): Likewise.
10790 (FRAME_BACKCHAIN): Likewise.
10791 (FRAME_CR_SAVE): Likewise.
10792 (FRAME_LR_SAVE): Likewise.
10793 (FRAME_TOC_SAVE): Likewise.
10794 (FRAME_PARM_SAVE): Likewise.
10795 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10796 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10797 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10798 (call_mcount_parm_offset): New macro.
10799 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10800 (PROF): Use symbolic stack frame offsets.
10801 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10802 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10803 Redefine in terms of FRAME_MIN_SIZE.
10804 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10805 (_dl_profile_resolve): Likewise. Update comment.
10806 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10807 symbols stack frame offsets.
10808 (__sigsetjmp): Likewise.
10809 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10810 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10811 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10812 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10813
10814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10815 (FRAME_BACKCHAIN): Remove.
10816 (FRAME_CR_SAVE): Likewise.
10817 (FRAME_LR_SAVE): Likewise.
10818 (FRAME_COMPILER_DW): Likewise.
10819 (FRAME_LINKER_DW): Likewise.
10820 (FRAME_TOC_SAVE): Likewise.
10821 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
10822 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10823 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10824 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
10825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10826 (CHECK_SP): Use symbolic stack frame offsets.
10827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10828 zone" instead of caller's parameter save area for temp storage.
10829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10830 Likewise. Also, use symbolic stack frame offsets.
10831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10832 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10833 our own stack frame instead of the caller's.
10834 (__socket): Use symbolic stack frame offsets.
10835
122b66de
UW
108362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10837 Alan Modra <amodra@gmail.com>
10838
10839 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10840 Define.
57f41c40
AS
10841 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10842 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
10843 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10844 New function.
10845 (elf_machine_fixup_plt): Call it.
10846 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10847 reloc arguments.
10848 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
10849 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10850 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
10851 r2 before calling target.
10852
696caf1d
UW
108532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10854 Alan Modra <amodra@gmail.com>
10855
10856 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10857 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10858 versions of macros to support ELFv2 ABI.
10859 (LOCALENTRY): New macro.
10860 (ENTRY, EALIGN): Use it.
10861 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10862 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10863 fall through into ENTRY entry point.
10864 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10865 Only define if _CALL_ELF != 2.
10866
10867 (elf_machine_matches_host): Verify ABI version matches.
10868 (RTLD_START): Use LOCALENTRY.
10869 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10870 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10871 (PLT_ENTRY_WORDS): New macro.
10872 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10873 (elf_machine_runtime_setup): Support ELFv2 ABI.
10874 (elf_machine_fixup_plt): Likewise.
10875 (elf_machine_plt_conflict): Likewise.
10876 (resolve_ifunc): Likewise.
10877 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10878 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10879 Likewise.
10880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10881 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10883 (makecontext): Support ELFv2 ABI.
10884 * elf/elf.h (EF_PPC64_ABI): Define.
10885
d31beafa
UW
108862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10887
57f41c40
AS
10888 * sysdeps/powerpc/powerpc64/sysdep.h
10889 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10890 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10891 (ENTRY) [ASSEMBLER]: ... but instead here ...
10892 (EALIGN) [ASSEMBLER]: ... and here.
10893 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10894 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10895 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
10896 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10897 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
10898 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10899 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
10900 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10902 Use PPC64_LOAD_FUNCPTR.
10903
b525166b
UW
10904 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10905
7ec07d9a
AM
109062013-12-04 Alan Modra <amodra@gmail.com>
10907
10908 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10909 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10910 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10911 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10912
10913 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10914 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10915 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10916 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10917 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10918 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10919
5162e7dd
UW
109202013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10921
10922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10923 (__makecontext): Fix incorrect CFI when backtracing out of
10924 context created via makecontext.
10925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10926 (__setcontext): Fix incorrect CFI during switch to new context.
10927 (__novec_setcontext): Likewise.
10928
19e3372b
OB
109292013-12-04 Ondřej Bílka <neleai@seznam.cz>
10930
10931 [BZ #4772]
10932 * time/strptime_l.c (__strptime_internal): Allow modifiers
10933 in strptime.
10934 * time/tst-strptime.c (day_tests): Add testcase.
10935
ecaf142d
SP
109362013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10937
10938 * scripts/bench.pl: Skip over blank lines.
10939
fbf964ae
PE
109402013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10941
10942 [BZ #926]
10943 * manual/time.texi (Calendar Time): Clarify what timezone functions
10944 use.
10945
fa60a674
AZ
109462013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10947
10948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10949
d674f0ef
OB
109502013-12-04 Ondřej Bílka <neleai@seznam.cz>
10951
10952 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10953 implementation.
10954 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10955 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10956 * debug/memset_chk.c (__memset_chk): Likewise.
10957 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10958 * debug/strncpy_chk.c: Likewise.
10959
17dea188
JM
109602013-12-03 Joseph Myers <joseph@codesourcery.com>
10961
749008ff
JM
10962 [BZ #15268]
10963 [BZ #15425]
10964 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10965 (__ieee754_exp): For possibly underflowing results, check size of
10966 result and force underflow exception if required.
10967 * math/auto-libm-test-in: Add more tests of exp.
10968 * math/auto-libm-test-out: Regenerated.
10969 * sysdeps/i386/fpu/libm-test-ulps: Update.
10970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10971
17dea188
JM
10972 [BZ #16283]
10973 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10974 * math/w_exp2f.c (__exp2f): Likewise.
10975 * math/w_exp2l.c (__exp2l): Likewise.
10976 * math/auto-libm-test-in: Do not allow missing errno on exp2
10977 underflow.
10978 * math/auto-libm-test-out: Regenerated.
10979
b20de2c3
OB
109802013-12-03 Ondřej Bílka <neleai@seznam.cz>
10981
10982 [BZ #16274]
10983 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10984 handle filename validation.
10985 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10986 (do_open): Delete.
10987
d8e2dbe3
JM
109882013-12-03 Joseph Myers <joseph@codesourcery.com>
10989
34e16df5
JM
10990 [BZ #6786]
10991 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10992 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10993 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10994 <float.h>.
10995 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10996 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10997 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10998 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10999 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11000 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11001 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11002 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11003 Add more erfc tests.
11004 * math/auto-libm-test-out: Regenerated.
11005 * sysdeps/i386/fpu/libm-test-ulps: Update.
11006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11007
d8e2dbe3
JM
11008 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11009 exp2, expm1, j0 and j1.
11010 * math/auto-libm-test-out: Regenerated.
11011 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11012 (erfc_test_data): Likewise.
11013 (exp_test_data): Likewise.
11014 (exp_tonearest_test_data): Likewise.
11015 (exp_towardzero_test_data): Likewise.
11016 (exp_downward_test_data): Likewise.
11017 (exp_upward_test_data): Likewise.
11018 (exp10_test_data): Likewise.
11019 (exp2_test_data): Likewise.
11020 (expm1_test_data): Likewise.
11021 (j0_test_data): Likewise.
11022 (j1_test_data): Likewise.
11023 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11024 (input_flag_type): Add flag_xfail_rounding.
11025 (input_flags): Add xfail-rounding.
11026 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11027 (output_for_one_input_case): Handle flag_xfail_rounding.
11028 * sysdeps/i386/fpu/libm-test-ulps: Update.
11029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11030
18d14251
AJ
110312013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11032
3d2e6075 11033 [BZ #16289]
18d14251
AJ
11034 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11035 division by 0.
11036
520d437b
SP
110372013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11038
11039 [BZ #16195]
11040 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11041 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11042 (STAP_PROBE0): New macro.
11043 (STAP_PROBE1): Likewise.
11044 (STAP_PROBE2): Likewise.
11045 (STAP_PROBE3): Likewise.
11046 (STAP_PROBE4): Likewise.
11047
416e0145
OB
110482013-12-02 Ondřej Bílka <neleai@seznam.cz>
11049
11050 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11051
9d17796a
SE
110522013-12-02 Steve Ellcey <sellcey@mips.com>
11053
11054 * benchtests/Makefile (bench): Add sqrt.
11055 (LDLIBS-bench-sqrt): New.
11056 * benchtests/sqrt-input: New.
11057
f524d6a8
PS
110582013-12-02 Pavel Simerda <psimerda@redhat.com>
11059
639a0ef8
PS
11060 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11061 (GAIH_EAI): Likewise.
11062 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11063 (gaih_inet): Likewise.
11064 (getaddrinfo): Don't use GAIH_EAI.
11065
f524d6a8
PS
11066 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11067 (struct gaih): Remove definition.
11068
df3aedaf
SP
110692013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11070
11071 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11072 Use HERRNOP directly.
11073
1ab19dec
AZ
110742013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11075
b42ad38d 11076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 11077
176b0c79
JM
110782013-11-30 Joseph Myers <joseph@codesourcery.com>
11079
11080 * math/gen-auto-libm-tests.c (test_functions): Add more
11081 single-argument functions.
11082 (special_fill_pi_2): New function.
11083 (special_fill_minus_pi_2): Likewise.
11084 (special_fill_pi_6): Likewise.
11085 (special_fill_minus_pi_6): Likewise.
11086 (special_fill_pi_3): Likewise.
11087 (special_fill_2pi_3): Likewise.
11088 (special_fill_e): Likewise.
11089 (special_fill_1_e): Likewise.
11090 (special_fill_e_minus_1): Likewise.
11091 (special_real_inputs): Add more special inputs.
11092 (output_for_one_input_case): Do not require ERANGE on underflow to
11093 zero if round-to-nearest result does not underflow to zero, unless
11094 exact results required.
11095 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11096 atan, atanh, cbrt, cos and cosh.
11097 * math/auto-libm-test-out: Regenerated.
11098 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11099 (acos_tonearest_test_data): Likewise.
11100 (acos_towardzero_test_data): Likewise.
11101 (acos_downward_test_data): Likewise.
11102 (acos_upward_test_data): Likewise.
11103 (acosh_test_data): Likewise.
11104 (asin_test_data): Likewise.
11105 (asin_tonearest_test_data): Likewise.
11106 (asin_towardzero_test_data): Likewise.
11107 (asin_upward_test_data): Likewise.
11108 (asinh_test_data): Likewise.
11109 (atan_test_data): Likewise.
11110 (atanh_test_data): Likewise.
11111 (cbrt_test_data): Likewise.
11112 (cos_test_data): Likewise.
11113 (cos_tonearest_test_data): Likewise.
11114 (cos_towardzero_test_data): Likewise.
11115 (cos_downward_test_data): Likewise.
11116 (cos_upward_test_data): Likewise.
11117 (cosh_test_data): Likewise.
11118 (cosh_tonearest_test_data): Likewise.
11119 (cosh_towardzero_test_data): Likewise.
11120 (cosh_downward_test_data): Likewise.
11121 (cosh_upward_test_data): Likewise.
11122 * sysdeps/i386/fpu/libm-test-ulps: Update.
11123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11124
ffb536d0
JM
111252013-11-29 Joseph Myers <joseph@codesourcery.com>
11126
2a77a467
JM
11127 [BZ #6787]
11128 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11129 * math/w_exp10f.c (__exp10f): Likewise.
11130 * math/w_exp10l.c (__exp10l): Likewise.
11131 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11132 errno settings in existing tests.
11133
ea3bc4e8
JM
11134 [BZ #14032]
11135 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11136 precision control set to double precision.
11137 * sysdeps/i386/fpu/w_sqrt.c: New file.
11138 * math/auto-libm-test-in: Add more tests.
11139 * math/auto-libm-test-out: Update.
11140
0712c9d8
JM
11141 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11142 (sqrt_test_tonearest): New function.
11143 (sqrt_towardzero_test_data): New variable.
11144 (sqrt_test_towardzero): New function.
11145 (sqrt_downward_test_data): New variable.
11146 (sqrt_test_downward): New function.
11147 (sqrt_upward_test_data): New variable.
11148 (sqrt_test_upward): New function.
11149 (main): Call the new functions.
11150
ffb536d0
JM
11151 * math/gen-auto-libm-tests.c: New file.
11152 * math/auto-libm-test-in: Likewise.
11153 * math/auto-libm-test-out: New generated file.
11154 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11155 variables.
11156 (%beautify): Add generated representations of zero.
11157 (top level): Set $auto_input and call parse_auto_input.
11158 (beautify): Remove trailing "f" from hex float constants.
11159 (parse_args): Handle XFAIL_TEST.
11160 (convert_condition): New function.
11161 (or_value): Likewise.
11162 (or_cond_value): Likewise.
11163 (generate_testfile): Handle AUTO_TESTS_* lines.
11164 (parse_auto_input): New function.
11165 * math/libm-test.inc (XFAIL_TEST): New macro.
11166 (ERRNO_UNCHANGED): Update value.
11167 (ERRNO_EDOM): Likewise.
11168 (ERRNO_ERANGE): Likewise.
11169 (IGNORE_RESULT): Likewise.
11170 (TEST_COND_flt_32): New macro.
11171 (TEST_COND_dbl_64): Likewise.
11172 (TEST_COND_ldbl_96_intel): Likewise.
11173 (TEST_COND_ldbl_96_m68k): Likewise.
11174 (TEST_COND_ldbl_128): Likewise.
11175 (TEST_COND_ldbl_128ibm): Likewise.
11176 (TEST_COND_long32): Likewise.
11177 (TEST_COND_long64): Likewise.
11178 (TEST_COND_before_rounding): Likewise.
11179 (TEST_COND_after_rounding): Likewise.
11180 (enable_test): Handle XFAIL_TEST flag.
11181 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11182 with finite results.
11183 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11184 auto-libm-test-out.
11185
acd98a8e
AK
111862013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11187 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11188
11189 [BZ #16214]
11190 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11191 __tls_get_addr_internal instead of __tls_get_offset in order to
11192 avoid GOT pointer dependency. Make rtld export
11193 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11194 __tls_get_addr since we are a __tls_get_offset platform.
11195 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11196 GOT pointer being set up before.
11197 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11198
3c1c46a6
JM
111992013-11-28 Joseph Myers <joseph@codesourcery.com>
11200
7475aef5
JM
11201 * manual/math.texi (Errors in Math Functions): Document accuracy
11202 goals.
11203
8bca7cd8
JM
11204 [BZ #15004]
11205 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11206 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11209 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11211 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11212 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11213 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11214 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11215 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11216 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11217 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11218 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11219 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11220 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11221
91a1f3fe
JM
11222 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11223 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11224 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11225 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11226 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11227 Likewise.
11228 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11229 Likewise.
11230 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11231 Likewise.
11232 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11233 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11234 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11235 atomic-feupdateenv and flt-rounds.
11236 * sysdeps/powerpc/nofpu/Versions (libc): Add
11237 __atomic_feholdexcept, __atomic_feclearexcept,
11238 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11239 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11240 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11241 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11242 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11243 here.
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11245 Update.
11246
c5df7609
JM
11247 * manual/arith.texi (FP Exceptions): Document that exceptions may
11248 not be raised when matherr is used.
11249 (Math Error Reporting): Document overflow in directed rounding
11250 modes. Document that errno may not be set when finite values are
11251 returned on overflow. Document intent to set errno on underflow
11252 only for underflow to zero.
11253
3c1c46a6
JM
11254 [BZ #16271]
11255 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11256 round-to-nearest then adjust result for other rounding modes.
11257 * include/fenv.h (fegetround): Use libm_hidden_proto.
11258 * math/fegetround.c (fegetround): Use libm_hidden_def.
11259 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11260 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11261 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11262 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11263 Likewise.
11264 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11265 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11266 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11267 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11268
5a4c6d53
SP
112692013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11270
11271 [BZ #16077]
11272 * nss/Versions (libnss_files): Add
11273 _nss_files_gethostbyname3_r.
11274 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11275 New function.
11276 (HOST_DB_LOOKUP): Remove macro.
11277 (_nss_files_gethostbyname_r): Implement function without the
11278 HOST_DB_LOOKUP macro.
11279 (_nss_files_gethostbyname2_r): Likewise.
11280
897b98ba
OB
112812013-11-28 Ondřej Bílka <neleai@seznam.cz>
11282
11283 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11284
6f476861
UB
112852013-11-26 Uros Bizjak <ubizjak@gmail.com>
11286
11287 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11288 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11289 warning.
11290
bd12ab55
AZ
112912013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11292
11293 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11294 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11295 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11296 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11297 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11298 __fe_nomask_env_priv and attribute_hidden.
11299 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11300 (libc_feupdateenv_test_ppc): Likewise.
11301 (libc_feresetround_ppc): Likewise.
11302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11303 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11304 compat_symbol macro.
11305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11306 (__fe_nomask_env): Likewise.
11307 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11308
52bb6543
OB
113092013-11-26 Ondřej Bílka <neleai@seznam.cz>
11310
11311 * string/Makefile: Remove ifunc tests.
11312 * string/test-string.h: Define TEST_IFUNC.
11313 * string/test-bcopy-ifunc.c: Remove.
11314 * string/test-bzero-ifunc.c: Likewise.
11315 * string/test-memccpy-ifunc.c: Likewise.
11316 * string/test-memchr-ifunc.c: Likewise.
11317 * string/test-memcmp-ifunc.c: Likewise.
11318 * string/test-memcpy-ifunc.c: Likewise.
11319 * string/test-memmem-ifunc.c: Likewise.
11320 * string/test-memmove-ifunc.c: Likewise.
11321 * string/test-mempcpy-ifunc.c: Likewise.
11322 * string/test-memrchr-ifunc.c: Likewise.
11323 * string/test-memset-ifunc.c: Likewise.
11324 * string/test-rawmemchr-ifunc.c: Likewise.
11325 * string/test-stpcpy-ifunc.c: Likewise.
11326 * string/test-stpncpy-ifunc.c: Likewise.
11327 * string/test-strcasecmp-ifunc.c: Likewise.
11328 * string/test-strcasestr-ifunc.c: Likewise.
11329 * string/test-strcat-ifunc.c: Likewise.
11330 * string/test-strchr-ifunc.c: Likewise.
11331 * string/test-strchrnul-ifunc.c: Likewise.
11332 * string/test-strcmp-ifunc.c: Likewise.
11333 * string/test-strcpy-ifunc.c: Likewise.
11334 * string/test-strcspn-ifunc.c: Likewise.
11335 * string/test-strlen-ifunc.c: Likewise.
11336 * string/test-strncasecmp-ifunc.c: Likewise.
11337 * string/test-strncat-ifunc.c: Likewise.
11338 * string/test-strncmp-ifunc.c: Likewise.
11339 * string/test-strncpy-ifunc.c: Likewise.
11340 * string/test-strnlen-ifunc.c: Likewise.
11341 * string/test-strpbrk-ifunc.c: Likewise.
11342 * string/test-strrchr-ifunc.c: Likewise.
11343 * string/test-strspn-ifunc.c: Likewise.
11344 * string/test-strstr-ifunc.c: Likewise.
11345
ab260039 113462013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
11347
11348 * benchtests/Makefile: Remove ifunc tests.
11349 * benchtests/bench-string.h: Define TEST_IFUNC.
11350 * benchtests/bench-bcopy-ifunc.c: Remove.
11351 * benchtests/bench-bzero-ifunc.c: Likewise.
11352 * benchtests/bench-memccpy-ifunc.c: Likewise.
11353 * benchtests/bench-memchr-ifunc.c: Likewise.
11354 * benchtests/bench-memcmp-ifunc.c: Likewise.
11355 * benchtests/bench-memcpy-ifunc.c: Likewise.
11356 * benchtests/bench-memmem-ifunc.c: Likewise.
11357 * benchtests/bench-memmove-ifunc.c: Likewise.
11358 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11359 * benchtests/bench-memrchr-ifunc.c: Likewise.
11360 * benchtests/bench-memset-ifunc.c: Likewise.
11361 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11362 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11363 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11364 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11365 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11366 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11367 * benchtests/bench-strcat-ifunc.c: Likewise.
11368 * benchtests/bench-strchr-ifunc.c: Likewise.
11369 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11370 * benchtests/bench-strcmp-ifunc.c: Likewise.
11371 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11372 * benchtests/bench-strcpy-ifunc.c: Likewise.
11373 * benchtests/bench-strcspn-ifunc.c: Likewise.
11374 * benchtests/bench-strlen-ifunc.c: Likewise.
11375 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11376 * benchtests/bench-strncat-ifunc.c: Likewise.
11377 * benchtests/bench-strncmp-ifunc.c: Likewise.
11378 * benchtests/bench-strncpy-ifunc.c: Likewise.
11379 * benchtests/bench-strnlen-ifunc.c: Likewise.
11380 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11381 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 11382 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
11383 * benchtests/bench-strspn-ifunc.c: Likewise.
11384 * benchtests/bench-strstr-ifunc.c: Likewise.
11385
113862013-11-26 Ondřej Bílka <neleai@seznam.cz>
11387
ab260039
OB
11388 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11389
d1d9eaf4 113902013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 11391
d1d9eaf4
OB
11392 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11393 * rt/aio.h: Likewise.
11394 * sysdeps/gnu/bits/utmp.h: Likewise.
11395 * sysdeps/gnu/bits/utmpx.h: Likewise.
11396 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11397 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11398 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11399 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11400 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11401 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11402 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11403 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11404 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11405 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11406 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11407 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11408 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11410 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11411 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11412 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11413 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11414 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11415 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11416 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11417 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11418 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11419 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11420 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11421 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11422 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11423 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11424 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11425 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11426 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11427 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11428 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11429 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11430 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11431 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11432 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11433 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11434 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11435 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11436 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11437 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11438
a7624ed9
CD
114392013-11-25 Carlos O'Donell <carlos@redhat.com>
11440
11441 [BZ #16245]
11442 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11443 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11444
63cfe52b
JM
114452013-11-25 Joseph Myers <joseph@codesourcery.com>
11446
11447 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11448 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11449 Likewise.
11450
41e8926a
AZ
114512013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11452
11453 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11454 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11455 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11456 (__fesetround): Remove define.
11457 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11458 rounding and exceptions handling.
11459 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11460 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11461 (__fe_nomask_env): Likewise.
11462 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11463 __fegetround instead of fegetround.
11464 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11465 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11466
6851bd4d
RM
114672013-11-21 Roland McGrath <roland@hack.frob.com>
11468
070906ff
RM
11469 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11470 it's there.
11471
6851bd4d
RM
11472 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11473
84ae135d
MI
114742013-11-21 Meador Inge <meadori@codesourcery.com>
11475
11476 [BZ #11157]
11477 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11478 (encrypt_r): Likewise.
11479 * malloc/obstack.h (obstack_free): Likewise.
11480 * posix/unistd.h (encrypt): Likewise.
11481
daf75146
GM
114822013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11483
11484 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11485 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11486 DL_CALL_DT_FINI() that call the functions directly.
11487 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11488 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11489 * elf/dl-fini.c: Likewise.
11490
10ad46bc
OB
114912013-11-20 Ondřej Bílka <neleai@seznam.cz>
11492
11493 * malloc/hooks.c (memalign_check): Add alignment rounding.
11494 * malloc/malloc.c (_mid_memalign): New function.
11495 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11496 Implement by calling _mid_memalign.
11497 * manual/probes.texi (Memory Allocation Probes): Remove
11498 memory_valloc_retry and memory_pvalloc_retry.
11499
f3fd2628
SP
115002013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11501
4712799f
SP
11502 * locale/programs/locarchive.c (open_archive): Add const
11503 qualifier to ARCHIVEFNAME and copy default fname to
11504 DEFAULT_FNAME.
11505
0417b20f
SP
11506 [BZ #15601]
11507 * libio/tst-widetext.input: Rename Oriya to Odia.
11508 * locale/iso-639.def: Likewise.
11509
f3fd2628
SP
11510 * manual/probes.texi (Mathematical Function Probes): Add
11511 documentation for sin, cos, asin and acos probes.
11512 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11513 (__sin32): Add slowasin probe.
11514 (__cos32): Add slowacos probe.
11515 (__mpsin): Add slowsin probe.
11516 (__mpcos): Add slowcos probe.
11517
73c1ce4f
JM
115182013-11-19 Joseph Myers <joseph@codesourcery.com>
11519
11520 [BZ #15483]
11521 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11522 thread-local __sim_exceptions_thread and global
11523 __sim_exceptions_global.
11524 (__sim_disabled_exceptions): Change to thread-local
11525 __sim_disabled_exceptions_thread and global
11526 __sim_disabled_exceptions_global.
11527 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11528 and global __sim_round_mode_global.
11529 (__simulate_exceptions): Use thread-local floating-point state and
11530 set global state from it as needed.
11531 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11532 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11533 __sim_round_mode_thread.
11534 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11535 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11536 and global __sim_exceptions_global.
11537 (__sim_disabled_exceptions): Change to thread-local
11538 __sim_disabled_exceptions_thread and global
11539 __sim_disabled_exceptions_global.
11540 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11541 and global __sim_round_mode_global.
11542 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11543 (SIM_SET_GLOBAL): Likewise.
11544 * sysdeps/powerpc/soft-fp/sfp-machine.h
11545 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11546 __sim_round_mode_thread.
11547 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11548 __sim_disabled_exceptions_thread.
11549 (__sim_exceptions): Change to __sim_exceptions_thread.
11550 (__sim_disabled_exceptions): Change to
11551 __sim_disabled_exceptions_thread.
11552 (__sim_round_mode): Change to __sim_round_mode_thread.
11553 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11554 thread-local floating-point state and set global state from it as
11555 needed.
11556 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11557 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11558 (__sim_disabled_exceptions): Remove extern declaration.
11559 (feenableexcept): Use thread-local floating-point state and set
11560 global state from it as needed.
11561 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11562 extern declaration.
11563 (__sim_disabled_exceptions): Likewise.
11564 (__sim_round_mode): Likewise.
11565 (__fegetenv): Use thread-local floating-point state.
11566 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11567 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11568 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11569 floating-point state and set global state from it as needed.
11570 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11571 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11572 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11573 Likewise.
11574 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11575 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11576 Likewise.
11577 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11578 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11579 Use __sim_round_mode_thread.
11580 * math/test-fenv-tls.c: New file.
11581 * math/Makefile (tests): Add test-fenv-tls.
11582 ($(objpfx)test-fenv-tls): Depend on
11583 $(common-objpfx)nptl/libpthread.so.
11584
b5449b12
AS
115852013-11-19 Andreas Schwab <schwab@suse.de>
11586
11587 * locale/programs/locale.c (show_info): Decode wordarray elements.
11588 * locale/categories.def (LC_MONETARY): Add element for
11589 _NL_MONETARY_CRNCYSTR.
11590 * locale/C-monetary.c (conversion_rate): New variable.
11591 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11592 element.
11593
e186536b
CM
115942013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11595
11596 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11597 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11598
5c349950
PP
115992013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11600
11601 * elf/Makefile (tst-auxv): New test.
11602 * elf/tst-auxv.c: New
11603 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11604
699df45b
JM
116052013-11-18 Joseph Myers <joseph@codesourcery.com>
11606
11607 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11608 (hidden_proto): Caller changed.
11609 (hidden_tls_proto): New macro.
11610 (libc_hidden_tls_proto): Likewise.
11611 (rtld_hidden_tls_proto): Likewise.
11612 (libm_hidden_tls_proto): Likewise.
11613 (libresolv_hidden_tls_proto): Likewise.
11614 (librt_hidden_tls_proto): Likewise.
11615 (libdl_hidden_tls_proto): Likewise.
11616 (libnss_files_hidden_tls_proto): Likewise.
11617 (libnsl_hidden_tls_proto): Likewise.
11618 (libnss_nisplus_hidden_tls_proto): Likewise.
11619 (libutil_hidden_tls_proto): Likewise.
11620
b7589107
OB
116212013-11-18 Ondřej Bílka <neleai@seznam.cz>
11622
11623 [BZ #10253]
11624 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11625 (decompose_rpath): Defer expansion to fillin_rpath.
11626 (_dl_init_paths): Pass linkmap to fillin_rpath.
11627
250c23bd
RS
116282013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11629
11630 * benchtests/Makefile: Add strsep.
11631 * benchtests/bench-strsep.c: New file: strsep benchtest.
11632 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11633
a7931fcf
AS
116342013-11-18 Andreas Schwab <schwab@suse.de>
11635
11636 * locale/programs/locale.c (show_info) [case byte]: Check for
11637 '\377' instead of '\177'.
11638 * locale/C-monetary.c (not_available): Always use "\377".
11639 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11640 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11641 detect unavailable sign_posn locale elements.
11642 * locale/localeconv.c (__localeconv): For grouping and
11643 mon_grouping handle "\177" and "\377" like no grouping.
11644 (INT_ELEM): New macro. Use it to set all numeric members.
11645 * locale/programs/ld-monetary.c (monetary_read)
11646 <tok_mon_grouping>: Normalize single -1 to the empty string.
11647 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11648 Likewise.
11649
728dab0e
OB
116502013-11-07 Ondřej Bílka <neleai@seznam.cz>
11651
11652 [BZ #16055]
11653 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11654 when we match (nil).
11655 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11656
66294491
JM
116572013-11-16 Joseph Myers <joseph@codesourcery.com>
11658
ce665817
JM
11659 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11660 (NO_TEST_INLINE): Update value.
11661 (ERRNO_UNCHANGED): Likewise.
11662 (ERRNO_EDOM): Likewise.
11663 (ERRNO_ERANGE): Likewise.
11664 (IGNORE_RESULT): Likewise.
11665 (check_float_internal): Check signs of NaN results if
11666 TEST_NAN_SIGN used.
11667 (check_complex): Pass TEST_NAN_SIGN flag through to second
11668 check_float_internal call.
11669 (copysign_test_data): Add tests with quiet NaNs as second
11670 argument. Use TEST_NAN_SIGN.
11671 (fabs_test_data): Add test of negative quiet NaN argument. Use
11672 TEST_NAN_SIGN.
11673 (signbit_test_data): Add tests of quiet NaN argument.
11674 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11675
ee1466a9
JM
11676 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11677 $ignore_result.
11678 (parse_args): Handle function results specified as IGNORE.
11679 * math/libm-test.inc (IGNORE_RESULT): New macro.
11680 (check_float_internal): Do not check numerical result if flag
11681 IGNORE_RESULT set.
11682 (check_complex): Pass through IGNORE_RESULT to second
11683 check_float_internal call.
11684 (check_int): Do not check numerical result if flag IGNORE_RESULT
11685 set.
11686 (check_long): Likewise.
11687 (check_bool): Likewise.
11688 (check_longlong): Likewise.
11689 (lrint_test_data): Add tests of infinite and NaN arguments.
11690 (lrint_tonearest_test_data): Likewise.
11691 (lrint_towardzero_test_data): Likewise.
11692 (lrint_downward_test_data): Likewise.
11693 (lrint_upward_test_data): Likewise.
11694 (llrint_test_data): Likewise.
11695 (llrint_tonearest_test_data): Likewise.
11696 (llrint_towardzero_test_data): Likewise.
11697 (llrint_downward_test_data): Likewise.
11698 (llrint_upward_test_data): Likewise.
11699 (lround_test_data): Likewise.
11700 (llround_test_data): Likewise.
11701
14407b7e
JM
11702 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11703 (ERRNO_UNCHANGED): Update value.
11704 (ERRNO_EDOM): Likewise.
11705 (ERRNO_ERANGE): Likewise.
11706 (NO_TEST_INLINE_FLOAT): New macro.
11707 (NO_TEST_INLINE_DOUBLE): Likewise.
11708 (enable_test): New function.
11709 (RUN_TEST_f_f): Check enable_test before running test.
11710 (RUN_TEST_2_f): Likewise.
11711 (RUN_TEST_fff_f): Likewise.
11712 (RUN_TEST_c_f): Likewise.
11713 (RUN_TEST_f_f1): Likewise.
11714 (RUN_TEST_fF_f1): Likewise.
11715 (RUN_TEST_fI_f1): Likewise.
11716 (RUN_TEST_ffI_f1): Likewise.
11717 (RUN_TEST_c_c): Likewise.
11718 (RUN_TEST_cc_c): Likewise.
11719 (RUN_TEST_f_i): Likewise.
11720 (RUN_TEST_f_i_tg): Likewise.
11721 (RUN_TEST_ff_i_tg): Likewise.
11722 (RUN_TEST_f_b): Likewise.
11723 (RUN_TEST_f_b_tg): Likewise.
11724 (RUN_TEST_f_l): Likewise.
11725 (RUN_TEST_f_L): Likewise.
11726 (RUN_TEST_fFF_11): Likewise.
11727 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11728 conditionals.
11729 (cosh_test_data): Likewise.
11730 (exp_test_data): Likewise.
11731 (expm1_test_data): Likewise.
11732 (hypot_test_data): Likewise.
11733 (pow_test_data): Likewise.
11734 (sinh_test_data): Likewise.
11735 (tanh_test_data): Likewise.
11736 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11737 flags argument.
11738
ca07f197
JM
11739 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11740 tests with quiet NaN input and output.
11741 (acosh_test_data): Likewise.
11742 (asin_test_data): Likewise.
11743 (asinh_test_data): Likewise.
11744 (atan_test_data): Likewise.
11745 (atanh_test_data): Likewise.
11746 (atan2_test_data): Likewise.
11747 (cbrt_test_data): Likewise.
11748 (cos_test_data): Likewise.
11749 (cosh_test_data): Likewise.
11750 (erf_test_data): Likewise.
11751 (erfc_test_data): Likewise.
11752 (exp_test_data): Likewise.
11753 (exp10_test_data): Likewise.
11754 (exp2_test_data): Likewise.
11755 (expm1_test_data): Likewise.
11756 (hypot_test_data): Likewise.
11757 (j0_test_data): Likewise.
11758 (j1_test_data): Likewise.
11759 (jn_test_data): Likewise.
11760 (lgamma_test_data): Likewise.
11761 (log_test_data): Likewise.
11762 (log10_test_data): Likewise.
11763 (log1p_test_data): Likewise.
11764 (log2_test_data): Likewise.
11765 (pow_test_data): Likewise.
11766 (scalb_test_data): Likewise.
11767 (sin_test_data): Likewise.
11768 (sincos_test_data): Likewise.
11769 (sinh_test_data): Likewise.
11770 (tan_test_data): Likewise.
11771 (tanh_test_data): Likewise.
11772 (tgamma_test_data): Likewise.
11773 (y0_test_data): Likewise.
11774 (y1_test_data): Likewise.
11775 (yn_test_data): Likewise.
11776
66294491
JM
11777 [BZ #16167]
11778 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11779 argument being NaN and avoid computations with second argument in
11780 that case.
11781 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11782 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11783 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11784
1820b143
CL
117852013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11786
11787 * locale/iso-639.def: Add Chitwani Tharu (the).
11788
714bd261
AS
117892013-11-14 Andreas Schwab <schwab@suse.de>
11790
11791 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11792 word instead of empty string.
11793
7ab44563
AZ
117942013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11795
11796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11797 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11799 (__fe_nomask_env): Likewise.
11800
e8470ea2
SE
118012013-11-13 Steve Ellcey <sellcey@mips.com>
11802
11803 * benchtests/bench-timing.h: Include time.h.
11804
17c1d9f0
L
118052013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11806
11807 [BZ #15997]
11808 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11809 to 3.4.0 for x32.
11810 * sysdeps/unix/sysv/linux/configure: Regenerated.
11811
9310c284
JM
118122013-11-13 Joseph Myers <joseph@codesourcery.com>
11813
11814 [BZ #16151]
11815 * stdlib/strtod_l.c (round_and_return): Do not consider
11816 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11817 exponent one less than half the least subnormal exponent.
11818 * stdlib/test-strtod-round-data: Add more tests.
11819 * stdlib/tst-strtod-round.c (tests): Regenerated.
11820
7a2ad8cf
AZ
118212013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11822
11823 [BZ #14143]
11824 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11825 (__fe_mask_env): Likewise.
11826 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11827 libm_hidden_proto and add function prototype.
11828 (__fe_mask_env): Add function prototype.
11829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11830 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11832 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11834 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11835
50727aa7
MS
118362013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11837
b2f386c1 11838 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
11839 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11840
a615be46
MS
118412013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11842
11843 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11844 of htab_find_slot().
11845
7ddace62
DM
118462013-11-11 David S. Miller <davem@davemloft.net>
11847
11848 [BZ #16150]
11849 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11850 symbol in the non-vis3 case in static builds.
11851 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11852 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11853 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11854 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11855
9182aa67
JK
118562013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11857
11858 [BZ #387]
11859 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11860 it is empty.
11861
450a2e2d
AZ
118622013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11863
b2f386c1
SP
11864 * benchtests/Makefile: Add bench-strtod.
11865 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 11866
8ec3f656
AS
118672013-11-11 Andreas Schwab <schwab@suse.de>
11868
11869 [BZ #16153]
11870 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11871 terminating NUL in key length.
11872
76a9b998
AZ
118732013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11874
11875 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11876 Add artificial ODP entry for vDSO symbol for PPC64.
11877 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11878 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11879
e4368156
OB
118802013-11-07 Ondřej Bílka <neleai@seznam.cz>
11881
11882 [BZ #15374]
11883 * nss/getent.c (services_keys): Recognize services starting with digit.
11884
8d6bb57c
DM
118852013-11-06 David S. Miller <davem@davemloft.net>
11886
11887 [BZ #15985]
11888 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11889 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11890
e256c421
WN
118912013-11-06 Will Newton <will.newton@linaro.org>
11892
11893 * manual/memory.texi (Malloc Examples): Remove register
11894 keyword from examples.
11895
f6e12daa 118962013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 11897
f6e12daa 11898 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 11899
9d880655
AS
119002013-11-04 Joseph Myers <joseph@codesourcery.com>
11901
fd2f9486 11902 [BZ #6981]
9d880655
AS
11903 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11904 depending on [__GCC_IEC_559 > 0].
11905 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11906 depending on [__GCC_IEC_559_COMPLEX > 0].
11907
ae129d3c
CL
119082013-11-03 Chris Leonard <cjl@sugarlabs.org>
11909
11910 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11911 to iso-639.def.
11912
4a15c2a4 119132013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
11914
11915 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11916
8b35e35d
OB
119172013-11-01 Ondřej Bílka <neleai@seznam.cz>
11918
11919 [BZ #16112]
11920 * malloc/malloc (malloc_info): Do not handle first bin as
11921 special case.
11922
1d70fd6c
CL
119232013-11-01 Chris Leonard <cjl@sugarlabs.org>
11924
11925 * locale/iso-639.def: Add Central Nahuatl (nhn).
11926
8c5c2600
BH
119272013-11-01 Bruno Haible <bruno@clisp.org>
11928
11929 [BZ #7003]
11930 * manual/math.texi (BSD Random): Specify range upper bound as
11931 in POSIX.
11932
da5579c2
CL
119332013-10-31 Chris Leonard <cjl@sugarlabs.org>
11934
11935 * locale/iso-639.def: Add Meadow Mari (mhr).
11936
5d30d853
OB
119372013-10-31 Ondřej Bílka <neleai@seznam.cz>
11938
11939 [BZ #14752], [BZ #15763]
11940 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11941 Validate name.
11942 * rt/tst_shm.c: Add test for escaping directory.
11943
a4966c61
AS
119442013-10-31 Andreas Schwab <schwab@suse.de>
11945
8a43e768 11946 [BZ #15917]
a4966c61
AS
11947 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11948 followed by 'x' as part of digit sequence.
11949 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11950
28d708c4
MAP
119512013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11952
11953 [BZ #16037]
11954 * configure.ac: allow GNU Make 4.0 and greater.
11955 * configure: Regenerated.
11956
a56ee40b
WN
119572013-10-30 Will Newton <will.newton@linaro.org>
11958
11959 [BZ #16038]
11960 * malloc/hooks.c (memalign_check): Limit alignment to the
11961 maximum representable power of two.
11962 * malloc/malloc.c (__libc_memalign): Likewise.
11963 * malloc/tst-memalign.c (do_test): Add test for very
11964 large alignment values.
11965 * malloc/tst-posix_memalign.c (do_test): Likewise.
11966
c6e4925d
OB
119672013-10-30 Ondřej Bílka <neleai@seznam.cz>
11968
11969 [BZ #11087]
11970 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11971 (munmap_chunk): Likewise.
11972 (mremap_chunk): Likewise.
11973
119742013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 11975
8a43e768 11976 [BZ #15799]
bbea82f7
OB
11977 * stdlib/div.c (div): Remove obsolete code.
11978 * stdlib/ldiv.c (ldiv): Likewise.
11979 * stdlib/lldiv.c (lldiv): Likewise.
11980
977f4b31
SP
119812013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11982
11983 [BZ #16071]
11984 * nss/nss_files/files-XXX.c (get_contents_ret): New
11985 enumerator.
11986 (get_contents): New function.
11987 (internal_getent): Use it. Expand size of LINEBUFLEN.
11988
cb8a6dbd
MF
119892013-10-30 Mike Frysinger <vapier@gentoo.org>
11990
11991 * configure.in: Moved to ...
11992 * configure.ac: ... here. Change reference to configure.in
11993 to configure.ac.
11994 * sysdeps/arm/preconfigure.ac: ... here.
11995 configure.in to configure.ac.
11996 * sysdeps/gnu/configure.in: Moved to ...
11997 * sysdeps/gnu/configure.ac: ... here.
11998 * sysdeps/i386/configure.in: Moved to ...
11999 * sysdeps/i386/configure.ac: ... here.
12000 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12001 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12002 * sysdeps/mach/configure.in: Moved to ...
12003 * sysdeps/mach/configure.ac: ... here.
12004 * sysdeps/mach/hurd/configure.in: Moved to ...
12005 * sysdeps/mach/hurd/configure.ac: ... here.
12006 * sysdeps/powerpc/configure.in: Moved to ...
12007 * sysdeps/powerpc/configure.ac: ... here.
12008 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12009 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12010 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12011 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12012 * sysdeps/s390/s390-32/configure.in: Moved to ...
12013 * sysdeps/s390/s390-32/configure.ac: ... here.
12014 * sysdeps/s390/s390-64/configure.in: Moved to ...
12015 * sysdeps/s390/s390-64/configure.ac: ... here.
12016 * sysdeps/sh/configure.in: Moved to ...
12017 * sysdeps/sh/configure.ac: ... here.
12018 * sysdeps/sparc/configure.in: Moved to ...
12019 * sysdeps/sparc/configure.ac: ... here.
12020 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12021 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12022 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12023 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12024 * sysdeps/x86_64/configure.in: Moved to ...
12025 * sysdeps/x86_64/configure.ac: ... here.
12026 * sysdeps/x86_64/preconfigure.in: Moved to ...
12027 * sysdeps/x86_64/preconfigure.ac: ... here.
12028 * aclocal.m4: Change reference to configure.in to configure.ac.
12029 * config.h.in: Likewise.
12030 * manual/install.texi: Likewise.
12031 * manual/maint.texi: Likewise.
12032 * Makefile: Likewise.
12033 * malloc/Makefile: Likewise.
12034 * nscd/Makefile: Likewise.
12035 * Makeconfig: Change reference to configure.in and
12036 preconfigure.in to configure.ac and preconfigure.ac
12037 respectively.
12038 * INSTALL: Regenerated.
12039 * configure: Likewise.
12040 * sysdeps/gnu/configure: Likewise.
12041 * sysdeps/i386/configure: Likewise.
12042 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12043 * sysdeps/mach/configure: Likewise.
12044 * sysdeps/mach/hurd/configure: Likewise.
12045 * sysdeps/powerpc/configure: Likewise.
12046 * sysdeps/powerpc/powerpc32/configure: Likewise.
12047 * sysdeps/powerpc/powerpc64/configure: Likewise.
12048 * sysdeps/s390/s390-32/configure: Likewise.
12049 * sysdeps/s390/s390-64/configure: Likewise.
12050 * sysdeps/sh/configure: Likewise.
12051 * sysdeps/sparc/configure: Likewise.
12052 * sysdeps/unix/sysv/linux/configure: Likewise.
12053 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12054 * sysdeps/x86_64/configure: Likewise.
12055 * sysdeps/x86_64/preconfigure: Likewise.
12056
36a4953a
AS
120572013-10-29 Andreas Schwab <schwab@suse.de>
12058
12059 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12060
c79a1204
SP
120612013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12062
dfa1b402
SP
12063 * benchtests/pow-inputs: Add new inputs.
12064
54f73d9c
SP
12065 * benchtests/exp-inputs: Add new inputs.
12066
c79a1204
SP
12067 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12068 conditional check for return value.
12069 (__cos32): Likewise.
12070
67beb545 120712013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
12072
12073 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12074 to provide a boost for large inputs with word alignment.
12075 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12076 implementation based on optimized PPC64 strcpy.
12077 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12078 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12079 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12080 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12081
151659f6
OB
120822013-10-25 Ondřej Bílka <neleai@seznam.cz>
12083
482a077e 12084 [BZ #2801]
151659f6
OB
12085 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12086
10b0f26b
OB
120872013-10-25 Ondřej Bílka <neleai@seznam.cz>
12088
12089 [BZ #14876]
12090 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12091 * time/tst-strptime.c (day_tests): Add testcase.
12092
ca42d35e
OB
120932013-10-25 Ondřej Bílka <neleai@seznam.cz>
12094
482a077e 12095 [BZ #14029]
ca42d35e
OB
12096 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12097
52e6d801
FB
120982013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12099
12100 [BZ #16074]
12101 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12102 MAP_FAILED on error.
12103
7cbcdb36
SP
121042013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12105
12106 [BZ #16072]
12107 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12108 heap for large requests.
12109
894f3f10
AM
121102013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12111
12112 [BZ #9954]
12113 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12114 result if the result has no associated interface.
12115 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12116 interface for all 127.X.Y.Z addresses.
12117
b85545a6
CL
121182013-10-24 Chris Leonard <cjl@sugarlabs.org>
12119
12120 * locale/iso-639.def: Add Ligurian (lij)
12121
d1f23d46
OB
121222013-10-21 Ondřej Bílka <neleai@seznam.cz>
12123
12124 [BZ #15825]
12125 * sunrpc/rpc_main.c: Document rpcgen -5.
12126
4db5b08f
MS
121272013-10-19 Michael Stahl <mstahl@redhat.com>
12128
12129 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12130
a471e96a
OB
121312013-10-19 Ondřej Bílka <neleai@seznam.cz>
12132
d1f23d46 12133 [BZ #10278]
a471e96a
OB
12134 * posix/glob.c: Match only directories when trailing slash is present.
12135 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12136 (main): Add testcase.
12137
45c30c61
OB
121382013-10-19 Ondřej Bílka <neleai@seznam.cz>
12139
12140 [BZ #15670]
12141 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12142
484c12fb
CD
121432013-10-18 Carlos O'Donell <carlos@redhat.com>
12144
3d7dc513
CD
12145 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12146 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12147 AUTH_DES and cindex for FIPS 140-2.
12148 (DES Encryption): Add cindex FIPS 46-3.
12149
484c12fb
CD
12150 * locale/locarchive.h (struct locarhandle): Add fname.
12151 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12152 if an optional argument was specified to --list-archive,
12153 otherwise NULL.
12154 * locale/programs/locarchive.c (show_archive_content): Take new
12155 argument fname and pass it via ah.fname to open_archive.
12156 * locale/programs/localedef.h: Update decl.
12157 (open_archive): If AH->fname is non-null, open that file
12158 rather than the default file name, and don't ignore ENOENT.
12159 (create_archive): Set AH.fname to NULL.
12160 (delete_locales_from_archive): Likewise.
12161 (add_locales_to_archive): Likewise.
12162 * locale/programs/locfile.c (write_all_categories): Likewise.
12163
3c8325fb
JM
121642013-10-18 Joseph Myers <joseph@codesourcery.com>
12165 Aldy Hernandez <aldyh@redhat.com>
12166
12167 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12168 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12169 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12170 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12171 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12172 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12173 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12174 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12175 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12176 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12177 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12178 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12179 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12180 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12181 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12182 Likewise.
12183 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12184 Likewise.
12185 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12186 Likewise.
12187 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12188 Likewise.
12189 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12190 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12191 Likewise.
12192 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12193 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12194 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12195 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12196 Likewise.
12197 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12198 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12199 * sysdeps/powerpc/preconfigure: Likewise.
12200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12201 Likewise.
12202 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12203 Replace contents of file by #include of <fenv_libc.h>.
12204 * sysdeps/powerpc/soft-fp/sfp-machine.h
12205 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12206 and <sys/prctl.h>.
12207 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12208 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12209 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12210 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12211 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12212 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12214 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12215 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12216 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12217 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12218 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12220 Allow copysignl PLT reference to be missing.
12221
5abe0682
RS
122222013-10-18 Richard Sandiford <richard@codesourcery.com>
12223 Joseph Myers <joseph@codesourcery.com
12224
12225 [BZ #15948]
12226 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12227 single character.
12228 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12229
c7738d08
SP
122302013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12231
12232 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12233 * elf/tst-tls1.c: Likewise.
12234 * elf/tst-tls10.h: Likewise.
12235 * elf/tst-tls14.c: Likewise.
12236 * elf/tst-tls2.c: Likewise.
12237 * elf/tst-tls3.c: Likewise.
12238 * elf/tst-tls4.c: Likewise.
12239 * elf/tst-tls5.c: Likewise.
12240 * elf/tst-tls6.c: Likewise.
12241 * elf/tst-tls7.c: Likewise.
12242 * elf/tst-tls8.c: Likewise.
12243 * elf/tst-tls9.c: Likewise.
12244 * elf/tst-tlsmod1.c: Likewise.
12245 * elf/tst-tlsmod13.c: Likewise.
12246 * elf/tst-tlsmod13a.c: Likewise.
12247 * elf/tst-tlsmod14a.c: Likewise.
12248 * elf/tst-tlsmod16a.c: Likewise.
12249 * elf/tst-tlsmod16b.c: Likewise.
12250 * elf/tst-tlsmod2.c: Likewise.
12251 * elf/tst-tlsmod3.c: Likewise.
12252 * elf/tst-tlsmod4.c: Likewise.
12253 * elf/tst-tlsmod5.c: Likewise.
12254 * elf/tst-tlsmod6.c: Likewise.
12255
0bfcf2c7
OB
122562013-10-18 Ondřej Bílka <neleai@seznam.cz>
12257
12258 [BZ #12486]
12259 * malloc/malloc.c: remove checks for statistics.
12260
264aad1e
OB
122612013-10-17 Ondřej Bílka <neleai@seznam.cz>
12262
12263 [BZ #15277]
12264 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12265 * inet/tst-network.c: Add testcase.
12266
b957ced8
AS
122672013-10-17 Andreas Schwab <schwab@suse.de>
12268
12269 [BZ #15218]
12270 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12271 to determine canonical name.
12272
c5d5d574
OB
122732013-10-17 Ondřej Bílka <neleai@seznam.cz>
12274
12275 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12276 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12277 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12278 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12280 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12281 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12282 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12284 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12285 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12286 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12287 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12288 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12289 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12290 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12291 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12292 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12293 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12294 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12295 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12296 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12297 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12298 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12299 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12300 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12303 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12304 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12305 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12307 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12308 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12309 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12310 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12311 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12312 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12313 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12314 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12315 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12316 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12317 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12318 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12319 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12320 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12321 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12322 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12323 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12324 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12325 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12326 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12327 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12328 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12329 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12330 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12331 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12332 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12333
e5c2c2d0
JM
123342013-10-17 Joseph Myers <joseph@codesourcery.com>
12335
12336 [BZ #16041]
12337 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12338 make result into a quiet NaN.
12339
51ca9e29
JM
123402013-10-16 Joseph Myers <joseph@codesourcery.com>
12341
12342 * soft-fp/adddf3.c: Fix horizontal whitespace.
12343 * soft-fp/addsf3.c: Likewise.
12344 * soft-fp/addtf3.c: Likewise.
12345 * soft-fp/divdf3.c: Likewise.
12346 * soft-fp/divsf3.c: Likewise.
12347 * soft-fp/divtf3.c: Likewise.
12348 * soft-fp/double.h: Likewise.
12349 * soft-fp/eqdf2.c: Likewise.
12350 * soft-fp/eqsf2.c: Likewise.
12351 * soft-fp/eqtf2.c: Likewise.
12352 * soft-fp/extenddftf2.c: Likewise.
12353 * soft-fp/extended.h: Likewise.
12354 * soft-fp/extendsfdf2.c: Likewise.
12355 * soft-fp/extendsftf2.c: Likewise.
12356 * soft-fp/extendxftf2.c: Likewise.
12357 * soft-fp/fixdfdi.c: Likewise.
12358 * soft-fp/fixdfsi.c: Likewise.
12359 * soft-fp/fixdfti.c: Likewise.
12360 * soft-fp/fixsfdi.c: Likewise.
12361 * soft-fp/fixsfsi.c: Likewise.
12362 * soft-fp/fixsfti.c: Likewise.
12363 * soft-fp/fixtfdi.c: Likewise.
12364 * soft-fp/fixtfsi.c: Likewise.
12365 * soft-fp/fixtfti.c: Likewise.
12366 * soft-fp/fixunsdfdi.c: Likewise.
12367 * soft-fp/fixunsdfsi.c: Likewise.
12368 * soft-fp/fixunsdfti.c: Likewise.
12369 * soft-fp/fixunssfdi.c: Likewise.
12370 * soft-fp/fixunssfsi.c: Likewise.
12371 * soft-fp/fixunssfti.c: Likewise.
12372 * soft-fp/fixunstfdi.c: Likewise.
12373 * soft-fp/fixunstfsi.c: Likewise.
12374 * soft-fp/fixunstfti.c: Likewise.
12375 * soft-fp/floatdidf.c: Likewise.
12376 * soft-fp/floatdisf.c: Likewise.
12377 * soft-fp/floatditf.c: Likewise.
12378 * soft-fp/floatsidf.c: Likewise.
12379 * soft-fp/floatsisf.c: Likewise.
12380 * soft-fp/floatsitf.c: Likewise.
12381 * soft-fp/floattidf.c: Likewise.
12382 * soft-fp/floattisf.c: Likewise.
12383 * soft-fp/floattitf.c: Likewise.
12384 * soft-fp/floatundidf.c: Likewise.
12385 * soft-fp/floatundisf.c: Likewise.
12386 * soft-fp/floatunditf.c: Likewise.
12387 * soft-fp/floatunsidf.c: Likewise.
12388 * soft-fp/floatunsisf.c: Likewise.
12389 * soft-fp/floatunsitf.c: Likewise.
12390 * soft-fp/floatuntidf.c: Likewise.
12391 * soft-fp/floatuntisf.c: Likewise.
12392 * soft-fp/floatuntitf.c: Likewise.
12393 * soft-fp/fmadf4.c: Likewise.
12394 * soft-fp/fmasf4.c: Likewise.
12395 * soft-fp/fmatf4.c: Likewise.
12396 * soft-fp/gedf2.c: Likewise.
12397 * soft-fp/gesf2.c: Likewise.
12398 * soft-fp/getf2.c: Likewise.
12399 * soft-fp/ledf2.c: Likewise.
12400 * soft-fp/lesf2.c: Likewise.
12401 * soft-fp/letf2.c: Likewise.
12402 * soft-fp/muldf3.c: Likewise.
12403 * soft-fp/mulsf3.c: Likewise.
12404 * soft-fp/multf3.c: Likewise.
12405 * soft-fp/negdf2.c: Likewise.
12406 * soft-fp/negsf2.c: Likewise.
12407 * soft-fp/negtf2.c: Likewise.
12408 * soft-fp/op-1.h: Likewise.
12409 * soft-fp/op-2.h: Likewise.
12410 * soft-fp/op-4.h: Likewise.
12411 * soft-fp/op-8.h: Likewise.
12412 * soft-fp/op-common.h: Likewise.
12413 * soft-fp/quad.h: Likewise.
12414 * soft-fp/single.h: Likewise.
12415 * soft-fp/soft-fp.h: Likewise.
12416 * soft-fp/sqrtdf2.c: Likewise.
12417 * soft-fp/sqrtsf2.c: Likewise.
12418 * soft-fp/sqrttf2.c: Likewise.
12419 * soft-fp/subdf3.c: Likewise.
12420 * soft-fp/subsf3.c: Likewise.
12421 * soft-fp/subtf3.c: Likewise.
12422 * soft-fp/truncdfsf2.c: Likewise.
12423 * soft-fp/trunctfdf2.c: Likewise.
12424 * soft-fp/trunctfsf2.c: Likewise.
12425 * soft-fp/trunctfxf2.c: Likewise.
12426 * soft-fp/unorddf2.c: Likewise.
12427 * soft-fp/unordsf2.c: Likewise.
12428 * soft-fp/unordtf2.c: Likewise.
12429
9ebb0332
JM
124302013-10-15 Joseph Myers <joseph@codesourcery.com>
12431
12432 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12433 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12434
4b1a6d8b
OB
124352013-10-15 Ondřej Bílka <neleai@seznam.cz>
12436
12437 * elf/dl-libc.c: Clear initfini list after freeing.
12438
1e145589
JM
124392013-10-14 Joseph Myers <joseph@codesourcery.com>
12440
12441 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12442 * soft-fp/addsf3.c: Likewise.
12443 * soft-fp/addtf3.c: Likewise.
12444 * soft-fp/divdf3.c: Likewise.
12445 * soft-fp/divsf3.c: Likewise.
12446 * soft-fp/divtf3.c: Likewise.
12447 * soft-fp/double.h: Likewise.
12448 * soft-fp/eqdf2.c: Likewise.
12449 * soft-fp/eqsf2.c: Likewise.
12450 * soft-fp/eqtf2.c: Likewise.
12451 * soft-fp/extenddftf2.c: Likewise.
12452 * soft-fp/extended.h: Likewise.
12453 * soft-fp/extendsfdf2.c: Likewise.
12454 * soft-fp/extendsftf2.c: Likewise.
12455 * soft-fp/extendxftf2.c: Likewise.
12456 * soft-fp/fixdfdi.c: Likewise.
12457 * soft-fp/fixdfsi.c: Likewise.
12458 * soft-fp/fixdfti.c: Likewise.
12459 * soft-fp/fixsfdi.c: Likewise.
12460 * soft-fp/fixsfsi.c: Likewise.
12461 * soft-fp/fixsfti.c: Likewise.
12462 * soft-fp/fixtfdi.c: Likewise.
12463 * soft-fp/fixtfsi.c: Likewise.
12464 * soft-fp/fixtfti.c: Likewise.
12465 * soft-fp/fixunsdfdi.c: Likewise.
12466 * soft-fp/fixunsdfsi.c: Likewise.
12467 * soft-fp/fixunsdfti.c: Likewise.
12468 * soft-fp/fixunssfdi.c: Likewise.
12469 * soft-fp/fixunssfsi.c: Likewise.
12470 * soft-fp/fixunssfti.c: Likewise.
12471 * soft-fp/fixunstfdi.c: Likewise.
12472 * soft-fp/fixunstfsi.c: Likewise.
12473 * soft-fp/fixunstfti.c: Likewise.
12474 * soft-fp/floatdidf.c: Likewise.
12475 * soft-fp/floatdisf.c: Likewise.
12476 * soft-fp/floatditf.c: Likewise.
12477 * soft-fp/floatsidf.c: Likewise.
12478 * soft-fp/floatsisf.c: Likewise.
12479 * soft-fp/floatsitf.c: Likewise.
12480 * soft-fp/floattidf.c: Likewise.
12481 * soft-fp/floattisf.c: Likewise.
12482 * soft-fp/floattitf.c: Likewise.
12483 * soft-fp/floatundidf.c: Likewise.
12484 * soft-fp/floatundisf.c: Likewise.
12485 * soft-fp/floatunsidf.c: Likewise.
12486 * soft-fp/floatunsisf.c: Likewise.
12487 * soft-fp/floatuntidf.c: Likewise.
12488 * soft-fp/floatuntisf.c: Likewise.
12489 * soft-fp/floatuntitf.c: Likewise.
12490 * soft-fp/fmadf4.c: Likewise.
12491 * soft-fp/fmasf4.c: Likewise.
12492 * soft-fp/fmatf4.c: Likewise.
12493 * soft-fp/gedf2.c: Likewise.
12494 * soft-fp/gesf2.c: Likewise.
12495 * soft-fp/getf2.c: Likewise.
12496 * soft-fp/ledf2.c: Likewise.
12497 * soft-fp/lesf2.c: Likewise.
12498 * soft-fp/letf2.c: Likewise.
12499 * soft-fp/muldf3.c: Likewise.
12500 * soft-fp/mulsf3.c: Likewise.
12501 * soft-fp/multf3.c: Likewise.
12502 * soft-fp/negdf2.c: Likewise.
12503 * soft-fp/negsf2.c: Likewise.
12504 * soft-fp/negtf2.c: Likewise.
12505 * soft-fp/op-1.h: Likewise.
12506 * soft-fp/op-2.h: Likewise.
12507 * soft-fp/op-4.h: Likewise.
12508 * soft-fp/op-8.h: Likewise.
12509 * soft-fp/op-common.h: Likewise.
12510 * soft-fp/quad.h: Likewise.
12511 * soft-fp/single.h: Likewise.
12512 * soft-fp/soft-fp.h: Likewise.
12513 * soft-fp/sqrtdf2.c: Likewise.
12514 * soft-fp/sqrtsf2.c: Likewise.
12515 * soft-fp/sqrttf2.c: Likewise.
12516 * soft-fp/subdf3.c: Likewise.
12517 * soft-fp/subsf3.c: Likewise.
12518 * soft-fp/subtf3.c: Likewise.
12519 * soft-fp/truncdfsf2.c: Likewise.
12520 * soft-fp/trunctfdf2.c: Likewise.
12521 * soft-fp/trunctfsf2.c: Likewise.
12522 * soft-fp/trunctfxf2.c: Likewise.
12523 * soft-fp/unorddf2.c: Likewise.
12524 * soft-fp/unordsf2.c: Likewise.
12525 * soft-fp/unordtf2.c: Likewise.
12526
17c48a60
OB
125272013-10-14 Ondřej Bílka <neleai@seznam.cz>
12528
12529 [BZ #15672]
12530 * misc/error.c (error_tail): Fix possible buffer overflow.
12531
cabba934
OB
125322013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12533
12534 [BZ #13028]
12535 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12536 address.
12537
94bf958a
PM
125382013-10-14 P. J. McDermott <pj@pehjota.net>
12539
12540 [BZ #832]
12541 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12542 testing pipefail option.
12543
71b4dea7
JM
125442013-10-12 Joseph Myers <joseph@codesourcery.com>
12545
12546 * soft-fp/double.h: Indent preprocessor directives inside #if.
12547 * soft-fp/extended.h: Likewise.
12548 * soft-fp/op-2.h: Likewise.
12549 * soft-fp/op-4.h: Likewise.
12550 * soft-fp/op-common.h: Likewise.
12551 * soft-fp/quad.h: Likewise.
12552 * soft-fp/single.h: Likewise.
12553 * soft-fp/soft-fp.h: Likewise.
12554
55602758
YC
125552013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12556
12557 * iconv/iconv_prog.c: Fix typos.
12558 * stdio-common/psiginfo-data.h: Likewise.
12559
9cd83302
RT
125602013-10-12 Reuben Thomas <rrt@sc3d.org>
12561
12562 [BZ #15764]
12563 * locale/setlocale.c: Fix typo.
12564
99fd9f47
JM
125652013-10-12 Joseph Myers <joseph@codesourcery.com>
12566
b7ea74f0
JM
12567 [BZ #16036]
12568 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12569 signaling NaN arguments.
12570 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12571 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12572
8a509447
JM
12573 [BZ #14910]
12574 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12575 unordered operands.
12576 * soft-fp/gesf2.c (__gesf2): Likewise.
12577 * soft-fp/getf2.c (__getf2): Likewise.
12578 * soft-fp/ledf2.c (__ledf2): Likewise.
12579 * soft-fp/lesf2.c (__lesf2): Likewise.
12580 * soft-fp/letf2.c (__letf2): Likewise.
12581
98998e9f
JM
12582 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12583 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12584 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12585 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12586 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12587 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12588 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12589 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12590 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12591 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12592 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12593 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12594 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12595 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12596 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12597 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12598 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12599 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12600 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12601 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12602 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12603 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12604 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12605 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12606 * soft-fp/floattidf.c (__floattidf): Likewise.
12607 * soft-fp/floattisf.c (__floattisf): Likewise.
12608 * soft-fp/floattitf.c (__floattitf): Likewise.
12609 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12610 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12611 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12612 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12613 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12614 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12615 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12616 * soft-fp/gesf2.c (__gesf2): Likewise.
12617 * soft-fp/getf2.c (__getf2): Likewise.
12618 * soft-fp/ledf2.c (__ledf2): Likewise.
12619 * soft-fp/lesf2.c (__lesf2): Likewise.
12620 * soft-fp/letf2.c (__letf2): Likewise.
12621
8edc4a11
JM
12622 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12623 Undefine and redefine.
12624 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12625 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12626 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12627 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12628 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12629 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12630 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12631 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12632 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12633 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12634 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12635 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12636 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12637 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12638 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12639
8399acaf
JM
12640 [BZ #16032]
12641 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12642 without decrementing exponent if mantissa >= that for the
12643 denominator, not >.
12644 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12645 denominator, not >. Decrement exponent in < case instead of
12646 incrementing in >= case.
12647 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12648 without decrementing exponent if mantissa >= that for the
12649 denominator, not >.
12650
99fd9f47
JM
12651 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12652 computing saturated result for unsigned overflow.
12653
10e1cf6b
SP
126542013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12655 Jeff Law <law@redhat.com>
12656
12657 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12658 (atan2Mp): Add systemtap probe marker.
12659 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12660 (__ieee754_log): Add systemtap probe marker.
12661 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12662 (atanMp): Add systemtap probe marker.
12663 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12664 (tanMp): Add systemtap probe marker.
12665 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12666 (__slowexp): Add systemtap probe marker.
12667 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12668 (__slowpow): Add systemtap probe marker.
12669 * manual/probes.texi: Document probes.
12670
3d110c7c
EB
126712013-10-11 Eric Biggers <ebiggers3@gmail.com>
12672
12673 [BZ #15362]
12674 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12675 written.
12676 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12677 written.
12678 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12679 written to buffer but not flushed.
12680 * libio/iofwrite_u.c: Likewise.
12681 * libio/iopadn.c: Return bytes returned even if EOF was
12682 encountered.
12683 * libio/iowpadn.c: Likewise.
12684 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12685 if _IO_padn does not write the whole buffer.
12686 [!COMPILE_WPRINTF] (PAD): Likewise.
12687
75b4202a
DM
126882013-10-10 David S. Miller <davem@davemloft.net>
12689
12690 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12691 directory block.
12692
6c6352e6
JM
126932013-10-10 Joseph Myers <joseph@codesourcery.com>
12694
33b853c3
JM
12695 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12696 instead of FSF address.
12697 * soft-fp/fixdfti.c: Likewise.
12698 * soft-fp/fixsfti.c: Likewise.
12699 * soft-fp/fixtfti.c: Likewise.
12700 * soft-fp/fixunsdfti.c: Likewise.
12701 * soft-fp/fixunssfti.c: Likewise.
12702 * soft-fp/fixunstfti.c: Likewise.
12703 * soft-fp/floattidf.c: Likewise.
12704 * soft-fp/floattisf.c: Likewise.
12705 * soft-fp/floattitf.c: Likewise.
12706 * soft-fp/floatuntidf.c: Likewise.
12707 * soft-fp/floatuntisf.c: Likewise.
12708 * soft-fp/floatuntitf.c: Likewise.
12709 * soft-fp/trunctfxf2.c: Likewise.
12710
6c6352e6
JM
12711 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12712 * soft-fp/fixdfti.c: Likewise.
12713 * soft-fp/fixsfti.c: Likewise.
12714 * soft-fp/fixtfti.c: Likewise.
12715 * soft-fp/fixunsdfti.c: Likewise.
12716 * soft-fp/fixunssfti.c: Likewise.
12717 * soft-fp/fixunstfti.c: Likewise.
12718 * soft-fp/floattidf.c: Likewise.
12719 * soft-fp/floattisf.c: Likewise.
12720 * soft-fp/floattitf.c: Likewise.
12721 * soft-fp/floatuntidf.c: Likewise.
12722 * soft-fp/floatuntisf.c: Likewise.
12723 * soft-fp/floatuntitf.c: Likewise.
12724 * soft-fp/trunctfxf2.c: Likewise.
12725
3bf78b71
DM
127262013-10-10 David S. Miller <davem@davemloft.net>
12727
12728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12729
6f10289e
JM
127302013-10-10 Joseph Myers <joseph@codsourcery.com>
12731
bd878fc0
JM
12732 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12733 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12734 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12735 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12736 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12737 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12738 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12739
6f10289e
JM
12740 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12741 for NaNs before doing comparisons on argument.
12742 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12743 Likewise.
12744
321e2684
WN
127452013-10-10 Will Newton <will.newton@linaro.org>
12746
12747 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12748 passed to _int_memalign does not overflow.
12749
40fefba1
TR
127502013-10-10 Torvald Riegel <triegel@redhat.com>
12751
12752 * scripts/bench.pl: Add include-sources directive.
12753 * benchtests/README: Update documentation.
12754
2ae21ed2
JM
127552013-10-10 Joseph Myers <joseph@codesourcery.com>
12756
dcc2dd3f
JM
12757 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12758 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12759 instead of FP_INIT_ROUNDMODE.
12760 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12761 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12762
2ae21ed2
JM
12763 [BZ #16034]
12764 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12765 copy class of input value.
12766 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12767 not handle exceptions.
12768 * soft-fp/negsf2.c (__negsf2): Likewise.
12769 * soft-fp/negtf2.c (__negtf2): Likewise.
12770 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12771
cb8f9562
JM
127722013-10-09 Joseph Myers <joseph@codesourcery.com>
12773
12774 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12775 semicolon. From Linux kernel.
12776
5b60c59d
AB
127772013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12778
12779 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12780
b86835ca
YC
127812013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12782
12783 [BZ #156]
12784 * manual/socket.texi: Added statement about buffer
12785 for gethostbyname2_r.
12786
e7044ea7
OB
127872013-10-08 Ondřej Bílka <neleai@seznam.cz>
12788
12789 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12790 Use .p2align directive instead, throughout.
12791 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12792 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12793 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12794 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12795 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12796 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12797 * sysdeps/x86_64/strchr.S: Likewise.
12798 * sysdeps/x86_64/strrchr.S: Likewise.
12799
09544cbc
SP
128002013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12801
88576635
SP
12802 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12803
e7b2d1dd
SP
12804 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12805
09544cbc
SP
12806 * sysdeps/generic/math_private.h (__mpsin1): Remove
12807 declaration.
12808 (__mpcos1): Likewise.
12809 (__mpsin): New argument __range_reduce.
12810 (__mpcos): Likewise.
12811 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12812 (slow): Use __mpsin and __mpcos.
12813 (slow1): Likewise.
12814 (slow2): Likewise.
12815 (sloww): Likewise.
12816 (sloww1): Likewise.
12817 (sloww2): Likewise.
12818 (bsloww): Likewise.
12819 (bsloww1): Likewise.
12820 (bsloww2): Likewise.
12821 (cslow2): Likewise.
12822 (csloww): Likewise.
12823 (csloww1): Likewise.
12824 (csloww2): Likewise.
12825 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12826 range_reduce. Merge in __mpsin1.
12827 (__mpcos): Likewise.
12828 (__mpsin1): Remove.
12829 (__mpcos1): Likewise.
12830
7602d070
JM
128312013-10-07 Joseph Myers <joseph@codesourcery.com>
12832
12833 * locale/loadlocale.c (_nl_intern_locale_data): Use
12834 LOCFILE_ALIGNED_P.
12835 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12836 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12837 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12838 obstack data is appropriately aligned.
12839 (obstack_int32_grow_fast): Likewise.
12840 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12841 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12842 (add_locale_uint32_array): Likewise.
12843
a357259b
SP
128442013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12845
12846 * benchtests/Makefile: Remove ARGLIST and RET variables.
12847 ($(objpfx)bench-%.c): Pass only function name to the script.
12848 * benchtests/README: Update documentation.
12849 * benchtests/acos-inputs: Add new directives.
12850 * benchtests/acosh-inputs: Likewise.
12851 * benchtests/asin-inputs: Likewise.
12852 * benchtests/asinh-inputs: Likewise.
12853 * benchtests/atan-inputs: Likewise.
12854 * benchtests/atanh-inputs: Likewise.
12855 * benchtests/cos-inputs: Likewise.
12856 * benchtests/cosh-inputs: Likewise.
12857 * benchtests/exp-inputs: Likewise.
12858 * benchtests/log-inputs: Likewise.
12859 * benchtests/pow-inputs: Likewise.
12860 * benchtests/rint-inputs: Likewise.
12861 * benchtests/sin-inputs: Likewise.
12862 * benchtests/sinh-inputs: Likewise.
12863 * benchtests/tan-inputs: Likewise.
12864 * benchtests/tanh-inputs: Likewise.
12865 * scripts/bench.pl: Add support for new directives.
12866
9ec1b13d
AM
128672013-10-07 Alan Modra <amodra@gmail.com>
12868
12869 * README: Fix careless merge.
12870
8b7d57cd
AM
128712013-10-05 Alan Modra <amodra@gmail.com>
12872
12873 * NEWS: Mention powerpc64le support and bugs fixed.
12874 * README: Both big-endian and little-endian powerpc64 supported.
12875
7b7bab13
ST
128762013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12877
57f41c40
AS
12878 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12879 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
12880 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12881 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12882
d39baad1
RA
128832013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12884
12885 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12886 match prototype.
12887
cd78f7e7
JM
128882013-10-04 Joseph Myers <joseph@codesourcery.com>
12889
29d73d86
JM
12890 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12891 Move -mhard-float appending from
12892 ports/sysdeps/powerpc/powerpc32/Makefile.
12893 [$(with-fp) = yes] (ASFLAGS): Likewise.
12894 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12895 * sysdeps/powerpc/nofpu: Move directory from
12896 ports/sysdeps/powerpc/nofpu.
12897 * sysdeps/powerpc/soft-fp: Move directory from
12898 ports/sysdeps/powerpc/soft-fp.
12899 * sysdeps/powerpc/powerpc32/405: Move directory from
12900 ports/sysdeps/powerpc/powerpc32/405.
12901 * sysdeps/powerpc/powerpc32/440: Move directory from
12902 ports/sysdeps/powerpc/powerpc32/440.
12903 * sysdeps/powerpc/powerpc32/464: Move directory from
12904 ports/sysdeps/powerpc/powerpc32/464.
12905 * sysdeps/powerpc/powerpc32/476: Move directory from
12906 ports/sysdeps/powerpc/powerpc32/476.
12907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12908 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12910 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12912 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12914 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12916 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12917 * README: Update for powerpc-*-linux-gnu software floating point
12918 support in libc.
12919
e246b347
JM
12920 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12921 case to powerpc/powerpc32*.
12922 * sysdeps/unix/sysv/linux/configure: Regenerated.
12923
89c2003e
JM
12924 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12925 (_FPU_MASK_OM): Define as 0x04.
12926 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12927 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12928 0x00c10080.
12929 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12930 0x0000003c.
12931 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12932
cd78f7e7
JM
12933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12934 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12935 getcontext_e500.
12936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12937 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12938 setcontext_e500.
12939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12940 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12941 and setcontext_e500.
12942
c755294d
CL
129432013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12944
12945 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12946
e16d221c
SP
129472013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12948
12949 * manual/threads.texi (Default Thread Attributes): Fix typo.
12950
215c7d43
WN
129512013-10-04 Will Newton <will.newton@linaro.org>
12952
12953 * malloc/Makefile: Add tst-memalign.
12954 * malloc/tst-memalign.c: New file.
12955
27d0461b
WN
12956 * malloc/tst-posix_memalign.c: Add comments.
12957 (do_test): Add comments and call free on all potentially
12958 allocated pointers. Add space after cast.
12959
1bc92709
WN
12960 * malloc/tst-pvalloc.c: Add comments.
12961 (do_test): Add comments and call free on all potentially
12962 allocated pointers. Remove duplicate check for NULL pointer.
12963 Add space after cast.
12964
66a9be9d
WN
12965 * malloc/tst-valloc.c: Add comments.
12966 (do_test): Add comments and call free on all potentially
12967 allocated pointers. Remove duplicate check for NULL pointer.
12968 Add space after cast.
12969
4cb81307
AM
129702013-10-04 Alan Modra <amodra@gmail.com>
12971
12972 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12973 Use stdint types in rather than __attribute__((mode())).
12974 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12975
f8e3e9f3
AM
129762013-10-04 Alan Modra <amodra@gmail.com>
12977
12978 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12979 Correct handling of unaligned relocs for little-endian.
12980 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12981
8f9ebb08
AM
129822013-10-04 Alan Modra <amodra@gmail.com>
12983
12984 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12985 * configure: Regenerate.
12986 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12987 * shlib-versions: Likewise.
12988
0edf96c2
AM
129892013-10-04 Alan Modra <amodra@gmail.com>
12990
12991 * string/tester.c (test_memrchr): Increment reported test cycle.
12992
e0f7a380
AM
129932013-10-04 Alan Modra <amodra@gmail.com>
12994
12995 * string/test-memcpy.c (do_one_test): When reporting errors, print
12996 string address and don't overrun end of string.
12997
466b0393
AM
129982013-10-04 Alan Modra <amodra@gmail.com>
12999
13000 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13001 insrdi. Make better use of reg selection to speed exit slightly.
13002 Schedule entry path a little better. Remove useless "are we done"
13003 checks on entry to main loop. Handle wrapping around zero address.
13004 Correct main loop count. Handle single left-over word from main
13005 loop inline rather than by using loop_small. Remove extra word
13006 case in loop_small caused by wrong loop count. Add little-endian
13007 support.
13008 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13009 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13010 cache hint.
13011 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13012 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13013 support. Avoid rlwimi.
13014 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13015
3be87c77
AM
130162013-10-04 Alan Modra <amodra@gmail.com>
13017
13018 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 13019 insrdi. Formatting.
3be87c77
AM
13020 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13021 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13022 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13023 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13024 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13025 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13026
759cfef3
AM
130272013-10-04 Alan Modra <amodra@gmail.com>
13028
13029 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13030 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13031 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13032 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13033 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13034 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13035 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13036 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13037 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13038 use of regs. Use power7 mtocrf. Tidy function tails.
13039
fe6e95d7
AM
130402013-10-04 Alan Modra <amodra@gmail.com>
13041
13042 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13043 Formatting. Consistently use rXXX register defines or rN defines.
13044 Use early exit labels that avoid restoring unused non-volatile regs.
13045 Make cr field use more consistent with rWORDn compares. Rename
13046 regs used as shift registers for unaligned loop, using rN defines
13047 for short lifetime/multiple use regs.
13048 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13049 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13050 addi 1,1,64 to pop stack frame. Simplify return value code.
13051 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13052
664318c3
AM
130532013-10-04 Alan Modra <amodra@gmail.com>
13054
13055 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13056 support. Correct typos, formatting. Optimize tail. Use insrdi
13057 rather than rlwimi.
13058 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13059 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13060 little-endian support. Correct typos.
13061 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13062 rather than rlwimi.
13063 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13064 in loop and entry code to keep "and." results.
13065 (strchr): Add little-endian support. Comment. Move cntlzd
13066 earlier in tail.
13067 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13068
43b84013
AM
130692013-10-04 Alan Modra <amodra@gmail.com>
13070
13071 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13072 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13073 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13074 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13075
8a7413f9
AM
130762013-10-04 Alan Modra <amodra@gmail.com>
13077
13078 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13079 (rTMP): Define as r11.
13080 (strcmp): Add little-endian support. Optimise tail.
13081 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13082 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13083 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13084 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13085 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13086 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13087 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13088
33ee81de
AM
130892013-10-04 Alan Modra <amodra@gmail.com>
13090
13091 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13092 little-endian support. Remove unnecessary "are we done" tests.
13093 Handle "s" wrapping around zero and extremely large "size".
13094 Correct main loop count. Handle single left-over word from main
13095 loop inline rather than by using small_loop. Correct comments.
13096 Delete "zero" tail, use "end_max" instead.
13097 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13098
db9b4570
AM
130992013-10-04 Alan Modra <amodra@gmail.com>
13100
13101 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13102 support. Don't branch over align.
13103 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13104 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13105 support. Rearrange tmp reg use to suit. Comment.
13106 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13107
f7c399cf
AM
131082013-10-04 Alan Modra <amodra@gmail.com>
13109
13110 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13111
0b2c2ace
AM
131122013-10-04 Alan Modra <amodra@gmail.com>
13113
13114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13115 conditional form of branch and link when obtaining pc.
13116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13117
02f04a6c
AM
131182013-10-04 Alan Modra <amodra@gmail.com>
13119
13120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13121 HIWORD/LOWORD.
13122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13124
9b874b2f
AM
131252013-10-04 Alan Modra <amodra@gmail.com>
13126
13127 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13128 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13129 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13130 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13131 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13132 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13133 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13134 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13135 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13136 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13137
be1e5d31
AB
131382013-10-04 Anton Blanchard <anton@au1.ibm.com>
13139 Alistair Popple <alistair@ozlabs.au.ibm.com>
13140 Alan Modra <amodra@gmail.com>
13141
13142 [BZ #15723]
13143 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13144 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13145 _dl_hwcap access for little-endian.
13146 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13147 destroy vmx regs when saving unaligned.
13148 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13149 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13150 destroy vmx regs when saving unaligned.
13151
fef13a78
AM
131522013-10-04 Alan Modra <amodra@gmail.com>
13153
13154 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13155 Don't use a union to pack hi/low value.
13156
76a66d51
AB
131572013-10-04 Anton Blanchard <anton@au1.ibm.com>
13158
13159 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13160 for little-endian.
13161 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13162 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13163 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13164 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13165 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13166
6a31fe7f
AM
131672013-10-04 Alan Modra <amodra@gmail.com>
13168
13169 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13170 constants to usual value for .cst8 section, and remove redundant
13171 high address load.
13172 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13173 constant for 0x1p52. Load little-endian words of double from
13174 correct stack offsets.
13175
7b88401f
AM
131762013-10-04 Alan Modra <amodra@gmail.com>
13177
13178 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13179 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13180 words of double from correct stack offsets.
13181 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13182 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13183 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13184 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13185 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13186 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13187 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13188 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13189 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13190 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13191 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13192 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13193 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13194 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13195 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13196 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13197 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13198
9c008155
AM
131992013-10-04 Alan Modra <amodra@gmail.com>
13200
13201 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13202 64-bit int/double union.
13203 (_FPU_SETCW): Likewise.
13204 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13205 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13206
da13146d
AM
132072013-10-04 Alan Modra <amodra@gmail.com>
13208
13209 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13210 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13211
603e8410
AM
132122013-10-04 Alan Modra <amodra@gmail.com>
13213
13214 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13215 use vector int constants.
13216 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13217
4a28b3ca
AB
132182013-10-04 Anton Blanchard <anton@au1.ibm.com>
13219
13220 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13221 array with long long.
13222 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13223 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13224 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13225 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13226 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13227 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13228 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13229 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13230 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13231 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13232 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13233 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13234 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13235
2ca85d2b
AB
132362013-10-04 Anton Blanchard <anton@au1.ibm.com>
13237
13238 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13239 (__signbit): Likewise. Correct for little-endian.
13240 (__signbitl): Call __signbit.
13241 (lrint): Correct for little-endian.
13242 (lrintf): Call lrint.
13243
62a728ae
AM
132442013-10-04 Alan Modra <amodra@gmail.com>
13245
13246 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13247 union 32-bit int array member with 64-bit int array.
13248 (t515, tm256): Double rather than long double.
13249 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13250
32c301df
AM
132512013-10-04 Alan Modra <amodra@gmail.com>
13252
13253 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13254 Delete.
13255 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13256 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13257 version of math_ldbl.h.
13258
650ef4bd
AM
132592013-10-04 Alan Modra <amodra@gmail.com>
13260
13261 [BZ #15734], [BZ #15735]
13262 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13263 all uses of ieee875 long double macros and unions. Simplify test
13264 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13265 ldbl_extract_mantissa value for ix,iy exponents. Properly
13266 normalize after ldbl_extract_mantissa, and don't add hidden bit
13267 already handled. Don't treat low word of ieee854 mantissa like
13268 low word of IBM long double and mask off bit when testing for
13269 zero.
13270 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13271 all uses of ieee875 long double macros and unions. Simplify tests
13272 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13273 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13274 two1022, instead use their values. Recognise that tests for large
13275 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13276 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13277 Rewrite all uses of ieee875 long double macros and unions. Simplify
13278 test for 0.0L and nan. Correct negation.
13279 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13280 ieee875 long double macros and unions. Correct output for large
13281 magnitude x. Correct absolute value calculation.
13282 (__erfcl): Likewise.
13283 * math/libm-test.inc: Add tests for errors discovered in IBM long
13284 double versions of fmodl, remainderl, erfl and erfcl.
13285
765714ca
AM
132862013-10-04 Alan Modra <amodra@gmail.com>
13287
13288 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13289 all uses of ieee854 long double macros and unions. Simplify tests
13290 for long doubles that are fully specified by the high double.
13291 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13292 Likewise.
13293 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13294 Remove dead code too.
13295 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13296 (__ieee754_ynl): Likewise.
13297 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13298 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13299 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13300 Remove dead code too.
13301 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13302 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13303 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13304 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13305 Simplify.
13306 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13307 Simplify.
13308 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13309 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13310 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13311 Comment on variable precision.
13312 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13313 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13314 Likewise.
13315 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13316 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13317 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13318 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13319 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13320
4ebd120c
AM
133212013-10-04 Alan Modra <amodra@gmail.com>
13322
13323 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13324 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13325 all uses of ieee854 long double macros and unions.
13326 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13327 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13328 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13329 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13330 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13331 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13332 Likewise.
13333 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13334 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13335 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13336 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13337 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13338 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13339 Simplify sign and nan test too.
13340 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13341 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13342 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13343 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13344 Likewise.
13345 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13346 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13347 Likewise.
13348 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13349 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13350 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13351 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13352 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13353 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13354
1b6adf88
AM
133552013-10-04 Alan Modra <amodra@gmail.com>
13356
13357 * stdio-common/printf_size.c (__printf_size): Don't use
13358 union ieee854_long_double in fpnum union.
13359 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13360 signbit macro to retrieve sign from long double.
13361 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13362 retrieve sign from long double.
13363 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13364 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13365 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13366 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13367 * math/test-misc.c (main): Don't use union ieee854_long_double.
13368
4cf69995
AM
133692013-10-04 Alan Modra <amodra@gmail.com>
13370
13371 [BZ #15680]
13372 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13373 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13374 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13375 calculation. Remove unnecessary test for denormal exponent.
13376 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13377 Correct handling of denormals. Avoid undefined shift behaviour.
13378 Correct normalisation of low mantissa when low double is denormal.
13379 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13380 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13381 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13382 Correct normalisation of low mantissa. Test for overflow of high
13383 mantissa and normalise.
13384 (ldbl_nearbyint): Use more readable constant for two52.
13385 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13386 (__mpn_construct_long_double): Fix test for overflow of high
13387 mantissa and correct normalisation. Avoid undefined shift.
13388
9605ca6c
AM
133892013-10-04 Alan Modra <amodra@gmail.com>
13390
13391 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13392 (union ibm_extended_long_double): Define as an array of ieee754_double.
13393 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13394 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13395 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13396 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13397 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13398 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13399 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13400 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13401 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13402 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13403 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13404
975569d0
JM
134052013-10-03 Joseph Myers <joseph@codesourcery.com>
13406
d3d23756
JM
13407 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13408 page size instead of calling getpagesize.
13409
975569d0
JM
13410 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13411 (LOCFILE_ALIGN_MASK): Likewise.
13412 (LOCFILE_ALIGN_UP): Likewise.
13413 (LOCFILE_ALIGNED_P): Likewise.
13414 * locale/programs/ld-collate.c (collate_output): Use the new
13415 macros instead of __alignof__ (int32_t).
13416 * locale/weight.h (findidx): Likewise.
13417
b1fe1f2b
OB
134182013-10-03 Ondřej Bílka <neleai@seznam.cz>
13419
13420 [BZ #431]
13421 * manual/string.texi: Fix strncat and wcsncat.
13422
5f855e35
BM
134232013-10-03 Brooks Moses <bmoses@google.com>
13424
13425 [BZ #15915]
13426 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13427 * Makerules: ...here, and adjust associated comments.
13428
3cef6009
WN
134292013-10-02 Will Newton <will.newton@linaro.org>
13430
13431 * malloc/Makefile: Add tst-pvalloc.
13432 * malloc/tst-pvalloc.c: New file.
13433
7815420b
WN
134342013-10-02 Will Newton <will.newton@linaro.org>
13435
13436 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13437 improve test coverage.
13438
4868b204
WN
134392013-10-02 Will Newton <will.newton@linaro.org>
13440
13441 * malloc/Makefile: Add tst-posix_memalign.
13442 * malloc/tst-posix_memalign.c: New file.
13443
29c793b3
EB
134442013-10-01 Eric Blake <eblake@redhat.com>
13445
13446 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13447 Use __THROWNL rather than __THROW on static functions.
13448
fd967522
PM
134492013-09-30 Petr Machata <pmachata@redhat.com>
13450
13451 * elf/elf.h (R_AARCH64_ABS16): New macro.
13452 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13453 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13454 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13455 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13456 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13457 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13458 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13459 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13460 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13461 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13462 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13463 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13464 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13465 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13466 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13467 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13468 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13469 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13470 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13471 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13472 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13473 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13474 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13475 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13476 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13477 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13478 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13479 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13480 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13481 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13482 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13483 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13484 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13485 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13486 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13487 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13488 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13489 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13490 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13491 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13492 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13493 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13494 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13495 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13496 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13497 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13498 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13499 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13500 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13501 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13502 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13503 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13504 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13505 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13506 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13507 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13508 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13509 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13510 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13511 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13512 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13513 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13514 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13515 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13516 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13517 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13518 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13519 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13520 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13521 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13522 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13523 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13524 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13525 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13526 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13527 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13528 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13529 (R_AARCH64_TLSDESC_LDR): Likewise.
13530 (R_AARCH64_TLSDESC_ADD): Likewise.
13531 (R_AARCH64_TLSDESC_CALL): Likewise.
13532
b2179107
AS
135332013-09-30 Andreas Schwab <schwab@suse.de>
13534
13535 [BZ #15048]
13536 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13537 the nss database lookup.
13538 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13540
47f28d0a
MF
135412013-09-28 Mike Frysinger <vapier@gentoo.org>
13542
13543 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13544
135452013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
13546
13547 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13548 ${Bash-specific parameter/pattern/string} parameter expansion.
13549 * sysdeps/unix/make-syscalls.sh: Likewise.
13550
f4518a17
KK
135512013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13552
13553 * sysdeps/sh/stackguard-macros.h: New file.
13554
dc1a95c7
OB
135552013-09-26 Ondřej Bílka <neleai@seznam.cz>
13556
13557 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13558 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13559 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13560 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13561 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13562 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13563
5ebbff8f
AZ
135642013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13565
13566 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13567 Fix thread ID register.
13568
4fd2cf9f
JM
135692013-09-25 Joseph Myers <joseph@codesourcery.com>
13570
13571 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13572 [POSIX || UNIX98]: Require rather than permitting all symbols from
13573 <time.h>.
13574 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13575 element of struct sched_param.
13576 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13577 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13578 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13579 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13580 constant.
13581
12c22bc4
OL
135822013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13583
13584 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13585 argument calculation.
13586
a03d8ea7
JM
135872013-09-24 Joseph Myers <joseph@codesourcery.com>
13588
13589 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13590 Expect macro.
13591 [POSIX] (pthread_attr_t): Do not require type.
13592 [POSIX] (pthread_cond_t): Likewise.
13593 [POSIX] (pthread_condattr_t): Likewise.
13594 [POSIX] (pthread_key_t): Likewise.
13595 [POSIX] (pthread_mutex_t): Likewise.
13596 [POSIX] (pthread_mutexattr_t): Likewise.
13597 [POSIX] (pthread_once_t): Likewise.
13598 [POSIX] (pthread_t): Likewise.
13599 [POSIX-based standards] (pthread_atfork): Expect function.
13600
6055173a
JM
136012013-09-24 Joseph Myers <joseph@codesourcery.com>
13602 Richard Sandiford <richard@codesourcery.com>
13603
13604 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13605 (swap_endianness_p): New extern variable.
13606 (set_big_endian): New inline function.
13607 (maybe_swap_uint32): Likewise.
13608 (maybe_swap_uint32_array): Likewise.
13609 (maybe_swap_uint32_obstack): Likewise.
13610 * locale/programs/locfile.c: Include <stdbool.h>.
13611 (swap_endianness_p): New variable.
13612 (add_locale_uint32): Call maybe_swap_uint32.
13613 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13614 (write_locale_data): Call maybe_swap_uint32_array.
13615 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13616 maybe_swap_uint32.
13617 (obstack_int32_grow_fast): Likewise.
13618 (output_weightwc): Call maybe_swap_uint32_obstack.
13619 (collate_output): Likewise.
13620 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13621 (OPT_LITTLE_ENDIAN): Likewise.
13622 (options): Add --little-endian and --big-endian options.
13623 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13624 * locale/programs/locarchive.c: Include "locfile.h".
13625 (GET): New macro.
13626 (SET): Likewise.
13627 (INC): Likewise.
13628 (create_archive): Use the new macros to access fields of
13629 structures directly mapped from or written to locale archives.
13630 (oldlocrecentcmp): Likewise.
13631 (enlarge_archive): Likewise.
13632 (insert_name): Likewise.
13633 (add_alias): Likewise.
13634 (add_locale): Likewise.
13635 (delete_locales_from_archive): Likewise.
13636 (show_archive_content): Likewise.
13637 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13638 locale data.
13639
39bf0bb4
RM
136402013-09-24 Roland McGrath <roland@hack.frob.com>
13641
13642 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13643 http://www.gnu.org/doc/freemanuals.texi.
13644 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13645
f02eed10
WN
136462013-09-24 Will Newton <will.newton@linaro.org>
13647
13648 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13649 macro.
13650
a3a6c312
JM
136512013-09-23 Joseph Myers <joseph@codesourcery.com>
13652
13653 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13654 unsigned char.
13655
107375ac
MR
136562013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13657
13658 * manual/threads.texi (POSIX Threads): Fix a typo.
13659
141f3a77
SP
136602013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13661
303e567a
SP
13662 [BZ #14547]
13663 * string/tst-strcoll-overflow.c: New test case.
13664 * string/Makefile (xtests): Add tst-strcoll-overflow.
13665 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13666 cache if string sizes may cause integer overflow.
13667
141f3a77
SP
13668 [BZ #14547]
13669 * string/strcoll_l.c (coll_seq): New members rule, idx,
13670 save_idx and back_us.
13671 (get_next_seq_nocache): New function.
13672 (do_compare_nocache): New function.
13673 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13674 when malloc fails.
13675
c61b4d41
CD
136762013-09-23 Carlos O'Donell <carlos@redhat.com>
13677
0b1f8e35
CD
13678 [BZ #15754]
13679 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13680 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13681 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13682
c61b4d41
CD
13683 [BZ #15754]
13684 * elf/Makefile (tests): Add tst-ptrguard1.
13685 (tests-static): Add tst-ptrguard1-static.
13686 (tst-ptrguard1-ARGS): Define.
13687 (tst-ptrguard1-static-ARGS): Define.
13688 * elf/tst-ptrguard1.c: New file.
13689 * elf/tst-ptrguard1-static.c: New file.
13690 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13691 * sysdeps/i386/stackguard-macros.h: Likewise.
13692 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13693 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13694 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13695 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13696 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13697 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13698
136992013-09-23 Hector Marco <hecmargi@upv.es>
13700 Ismael Ripoll <iripoll@disca.upv.es>
13701 Carlos O'Donell <carlos@redhat.com>
13702
13703 [BZ #15754]
13704 * sysdeps/generic/stackguard-macros.h: Define
13705 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13706 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13707 Define __pointer_chk_guard_local.
13708 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13709 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13710
f5f4e7b4
VV
137112013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13712
13713 [BZ #15859]
13714 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13715
5bb43a43
AS
137162013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13717
13718 * include/string.h (__ffs): Declare as hidden.
13719 * string/ffs.c (__ffs): Define as hidden.
13720 * sysdeps/i386/ffs.c (__ffs): Likewise.
13721 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13722 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13723 * sysdeps/s390/ffs.c (__ffs): Likewise.
13724 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13725
3ea5be54
AO
137262013-09-20 Alexandre Oliva <aoliva@redhat.com>
13727
ffb89e53
AO
13728 * NEWS: Mention malloc probes.
13729
322dea08
AO
13730 * malloc/arena.c (new_heap): New memory_heap_new probe.
13731 (grow_heap): New memory_heap_more probe.
13732 (shrink_heap): New memory_heap_less probe.
13733 (heap_trim): New memory_heap_free probe.
13734 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13735 (systrim): New memory_sbrk_less probe.
13736 * manual/probes.texi: Document them.
13737
655673f3
AO
13738 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13739 * manual/probes.texi: Document it.
13740
35fed6f1
AO
13741 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13742 (__libc_realloc): Add memory_realloc_retry probe.
13743 (__libc_memalign): Add memory_memalign_retry probe.
13744 (__libc_valloc): Add memory_valloc_retry probe.
13745 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13746 (__libc_calloc): Add memory_calloc_retry probe.
13747 * manual/probes.texi: Document them.
13748
6999d38c
AO
13749 * malloc/arena.c (get_free_list): Add probe
13750 memory_arena_reuse_free_list.
13751 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13752 and memory_arena_reuse.
13753 (arena_get2) [!PER_THREAD]: Likewise.
13754 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13755 memory_arena_reuse_realloc.
13756 * manual/probes.texi: Document them.
13757
0653427f
AO
13758 * malloc/malloc.c (__libc_free): Add
13759 memory_mallopt_free_dyn_thresholds probe.
13760 (__libc_mallopt): Add multiple memory_mallopt probes.
13761 * manual/probes.texi: Document them.
13762
3ea5be54
AO
13763 * malloc/malloc.c: Include stap-probe.h.
13764 (__libc_mallopt): Add memory_mallopt probe.
13765 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13766 * manual/probes.texi: New.
13767 * manual/Makefile (chapters): Add probes.
13768 * manual/threads.texi: Set next node.
13769
e35696c3 137702013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 13771
e35696c3
CL
13772 [BZ #15963, #13985]
13773 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13774 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13775 Add `Chinese' to `nan' entry name.
13776
4aafb73c
SP
137772013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13778
13779 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13780 (POLYNOMIAL): Likewise.
13781 (TAYLOR_SINCOS): Likewise.
13782 (TAYLOR_SLOW): Likewise.
13783 (__sin): Use TAYLOR_SINCOS.
13784 (__cos): Likewise.
13785 (slow): Use TAYLOR_SLOW.
13786 (sloww): Likewise.
13787 (bsloww): Likewise.
13788 (csloww): Likewise.
13789
d84f25c7
LD
137902013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13791
13792 * stdlib/strtod_l.c: Fix buffer overrun.
13793
5eea0404
SP
137942013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13795
7849ff93
SP
13796 * benchtests/Makefile (bench): Add sincos.
13797 * benchtests/bench-sincos.c: New file.
13798
cfa3c886
SP
13799 * math/libm-test.inc (cos_test_data): New test inputs.
13800 (sin_test_data): Likewise.
13801
b348e1e3
SP
13802 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13803 macro.
13804 (__sin): Use it.
13805 (__cos): Likewise.
13806 (slow1): Likewise.
13807 (slow2): Likewise.
13808 (sloww1): Likewise.
13809 (sloww2): Likewise.
13810 (bsloww1): Likewise.
13811 (bsloww2): Likewise.
13812 (cslow2): Likewise.
13813 (csloww1): Likewise.
13814 (csloww2): Likewise.
13815
6cce25f8
SP
13816 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13817 function.
13818 (__sin): Use it.
13819 (__cos): Likewise.
13820
5eea0404
SP
13821 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13822 gotos.
13823 (__cos): Likewise.
13824
9c21573c
MR
138252013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13826
13827 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13828 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13829 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13830 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13831 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13832 * elf/cache.c (print_entry): Handle the new cache flags.
13833
24d22e65
JM
138342013-09-18 Joseph Myers <joseph@codesourcery.com>
13835 Aldy Hernandez <aldyh@redhat.com>
13836
13837 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13838 Change condition to [_SOFT_FLOAT].
13839 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13840 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13841 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13842 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13843 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13844 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13846 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13847 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13849 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13851 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13854 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13855 declaration.
13856
d13ef066
JM
138572013-09-18 Joseph Myers <joseph@codesourcery.com>
13858
2e071de0
JM
13859 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13860 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13861 (__longjmp): Use LOAD_GP to load saved GPRs.
13862 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13863 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13864 (__sigsetjmp): Use SAVE_GP to save GPRs.
13865
d13ef066
JM
13866 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13867 Do not append -msoft-float.
13868 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13869
97a0650b
SP
138702013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13871
13872 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13873
11ca09e9
JM
138742013-09-17 Joseph Myers <joseph@codesourcery.com>
13875
13876 [BZ #15966]
13877 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13878 (_FPU_GETCW): Use initial "__" on variable and field names but not
13879 on macro parameter name.
13880 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13881 parentheses around reference to macro parameter.
13882
08ffcf34
RS
138832013-09-13 Richard Sandiford <richard@codesourcery.com>
13884
13885 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13886 prototype.
13887 (ctype_startup): Use uint32_t in cast and sizeof for
13888 ctype->charnames.
13889
ae7080d3
JL
138902013-09-11 Jia Liu <proljc@gmail.com>
13891
13892 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13893 __daddr_t_defined.
13894 [__FreeBSD__]: Likewise.
13895
5905e7b3
OB
138962013-09-11 Ondřej Bílka <neleai@seznam.cz>
13897
13898 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13899 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13900 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13901 (strchr): Remove __strchr_sse42 ifunc selection.
13902 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13903 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13904
b987c776
WN
139052013-09-11 Will Newton <will.newton@linaro.org>
13906
13907 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13908 parameter to RES. Remove hardcoded 1000 value.
13909 * benchtests/bench-skeleton.c (main): Pass RES parameter
13910 to TIMING_INIT and multiply result by 1000.
13911
ddf985af
AZ
139122013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13913
13914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13915
ffdd3181
AS
139162013-09-11 Andreas Schwab <schwab@suse.de>
13917
13918 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13919 if not defined.
13920 (O_TMPFILE) [__USE_GNU]: Define.
13921 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13922 Define.
13923
b73ed247
WN
139242013-09-11 Will Newton <will.newton@linaro.org>
13925
13926 [BZ #15857]
13927 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13928 does not overflow.
13929
55e17aad
WN
139302013-09-11 Will Newton <will.newton@linaro.org>
13931
13932 [BZ #15856]
13933 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13934 does not overflow.
13935
1159a193
WN
139362013-09-11 Will Newton <will.newton@linaro.org>
13937
13938 [BZ #15855]
13939 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13940 does not overflow.
13941
5905e7b3 139422013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
13943
13944 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13945 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13946 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13947 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13948 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13949
cdfc721b
AM
139502013-09-10 Allan McRae <allan@archlinux.org>
13951
aa04af00
AM
13952 [BZ #15748]
13953 * manual/arith.texi (Parsing of Floats): Clarify
13954 cross-reference.
13955
cdfc721b
AM
13956 [BZ #15849]
13957 * manual/install.texi (Running make install): Mention
13958 --enable-pt-chown.
13959 * INSTALL: Regenerated.
13960
95e7cf29
MR
139612013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13962
13963 * csu/init-first.c (_init): Remove the !SHARED condition around
13964 FPU control word initialization.
13965 * elf/dl-support.c (_dl_fpu_control): New variable.
13966 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13967 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13968 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13969 * math/test-fpucw-static.c: New file.
13970 * math/test-fpucw-ieee.c: New file.
13971 * math/test-fpucw-ieee-static.c: New file.
13972 * math/Makefile (tests): Add `test-fpucw-ieee' and
13973 `$(tests-static)'.
13974 (tests-static): New variable.
13975 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13976 dependency to...
13977 [($(build-shared),yes)]
13978 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13979 ... this.
13980 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13981 New dependency.
13982
83e43bf0
AM
139832013-09-09 Allan McRae <allan@archlinux.org>
13984
a9f5ce09
AM
13985 [BZ #15939]
13986 * manual/string.texi (Collation Functions): Fix typo in
13987 strcoll example.
13988 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13989
34829bc2
AM
13990 [BZ #15893]
13991 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13992
3932737d
AM
13993 [BZ #15892]
13994 * libio/memstream.c (open_memstream): Fix memory leak.
13995 * libio/wmemstream.c (open_wmemstream): Likewise.
13996
83e43bf0
AM
13997 [BZ #15895]
13998 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13999
0c66b8e9
WN
140002013-09-09 Will Newton <will.newton@linaro.org>
14001
14002 * malloc/Makefile: Add tst-realloc to tests.
14003 * malloc/tst-realloc.c: New file.
14004
f6b00fd1
AM
140052013-09-09 Allan McRae <allan@archlinux.org>
14006
14007 [BZ #15844]
14008 * COPYING: Update from GNU website to fix FSF address.
14009 * COPYING.LIB: Likewise.
14010
eec55e16
DM
140112013-09-06 David S. Miller <davem@davemloft.net>
14012
14013 * po/zh_TW.po: Update Chinese (traditional) translation from
14014 translation project.
14015
1ecbb381
RS
140162013-09-06 Richard Sandiford <richard@codesourcery.com>
14017 Joseph Myers <joseph@codesourcery.com>
14018
14019 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14020 "localeinfo.h".
14021 (obstack_chunk_alloc): New macro.
14022 (obstack_chunk_free): Likewise.
14023 (record_offset): New function.
14024 (init_locale_data): Likewise.
14025 (align_locale_data): Likewise.
14026 (add_locale_empty): Likewise.
14027 (add_locale_raw_data): Likewise.
14028 (add_locale_raw_obstack): Likewise.
14029 (add_locale_string): Likewise.
14030 (add_locale_wstring): Likewise.
14031 (add_locale_uint32): Likewise.
14032 (add_locale_uint32_array): Likewise.
14033 (add_locale_char): Likewise.
14034 (start_locale_structure): Likewise.
14035 (end_locale_structure): Likewise.
14036 (start_locale_prelude): Likewise.
14037 (end_locale_prelude): Likewise.
14038 (write_locale_data): Take locale_file structure rather than an
14039 iovec.
14040 * locale/programs/locfile.h: Include "obstack.h".
14041 (struct locale_file): Change to store locale file contents instead
14042 of header.
14043 (init_locale_data): New prototype.
14044 (align_locale_data): Likewise.
14045 (add_locale_empty): Likewise.
14046 (add_locale_raw_data): Likewise.
14047 (add_locale_raw_obstack): Likewise.
14048 (add_locale_string): Likewise.
14049 (add_locale_wstring): Likewise.
14050 (add_locale_uint32): Likewise.
14051 (add_locale_uint32_array): Likewise.
14052 (add_locale_char): Likewise.
14053 (start_locale_structure): Likewise.
14054 (end_locale_structure): Likewise.
14055 (start_locale_prelude): Likewise.
14056 (end_locale_prelude): Likewise.
14057 (write_locale_data): Update prototype.
14058 * locale/programs/3level.h (struct TABLE): Remove result field.
14059 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14060 Use new locale_file interface.
14061 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14062 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14063 * locale/programs/ld-address.c (address_output): Use new
14064 locale_file interface.
14065 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14066 NO_ADD_LOCALE.
14067 (collate_finish): Don't call collseq_table_finalize.
14068 (collate_output): Use new locale_file interface.
14069 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14070 in file.
14071 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14072 (TABLE): Move defines earlier in file.
14073 (ELEMENT): Likewise.
14074 (DEFAULT): Likewise.
14075 (wctrans_table_add): Move macro and inline function earlier in
14076 file.
14077 (struct wctype_table): Move type earlier in file.
14078 (add_locale_wctype_table): New static prototype.
14079 (struct locale_ctype_t): Use logical types instead of struct iovec
14080 pointers for members.
14081 (ctype_output): Use new locale_file interface.
14082 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14083 new locale_file interface.
14084 (allocate_arrays): Update for use of new locale_file interface.
14085 * locale/programs/ld-identification.c (identification_output): Use
14086 new locale_file interface.
14087 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14088 * locale/programs/ld-messages.c (messages_output): Likewise.
14089 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14090 * locale/programs/ld-name.c (name_output): Likewise.
14091 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14092 * locale/programs/ld-paper.c (paper_output): Likewise.
14093 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14094 * locale/programs/ld-time.c (time_output): Likewise.
14095
e029e2e5
AZ
140962013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14097
14098 * benchtests/Makefile: Add memrchr benchmark.
14099 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14100 benchmark as memrchr.
14101 * benchtests/bench-memrchr-ifunc.c: New file.
14102 * benchtests/bench-memrchr.c: New file.
14103
bbf6e8e4
WN
141042013-09-06 Will Newton <will.newton@linaro.org>
14105
14106 * benchtests/Makefile (string-bench): Add memcpy.
14107
6c82a2f8
CD
141082013-09-05 Carlos O'Donell <carlos@redhat.com>
14109 Cong Wang <amwang@redhat.com>
14110
e732c5f0 14111 [BZ #15850]
6c82a2f8
CD
14112 * sysdeps/unix/sysv/linux/bits/in.h
14113 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14114 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14115 before __USE_KERNEL_IPV6_DEFS uses.
14116 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14117 IPPROTO_BEETPH.
14118 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14119 sockaddr_in6, or ipv6_mreq.
14120
5430fc65
AZ
141212013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14122
14123 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14124 memory access for final bytes in some large inputs.
14125 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14126
4660856c
AZ
141272013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14128
14129 * string/test-memrchr.c: New file.
14130 * string/test-memrchr-ifunc.c: New file.
14131 * string/Makefile: Add new memrchr testcase.
14132
bb8ea713
MF
141332013-09-05 Mike Frysinger <vapier@gentoo.org>
14134
14135 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14136 fanotify_init returns EPERM.
14137
b92a20b5
JM
141382013-09-04 Joseph Myers <joseph@codesourcery.com>
14139
14140 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14141 errors.
14142 (top level): Treat second token from macro or constant entries for
14143 allowed headers as allowed.
14144 * include/complex.h: Condition internal declarations on
14145 [!_ISOMAC].
14146 * include/fenv.h: Condition include of <stdbool.h> and internal
14147 declarations on [!_ISOMAC].
7447ccd9
CL
14148
141492013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14150
3e181dda 14151 [BZ #15923]
7447ccd9
CL
14152 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14153
3f2e46a4
JM
141542013-09-04 Joseph Myers <joseph@codesourcery.com>
14155
14156 * configure.in (--enable-versioning): Remove configure option.
14157 (libc_cv_asm_symver_directive): Remove configure test.
14158 (libc_cv_ld_version_script_option): Likewise.
14159 (VERSIONING): Remove variable and AC_SUBST.
14160 (DO_VERSIONING): Remove AC_DEFINE.
14161 * configure: Regenerated.
14162 * config.h.in (DO_VERSIONING): Remove macro.
14163 * Makerules [$(versioning) = yes]: Change conditionals to
14164 [$(build-shared) = yes].
14165 * config.make.in (versioning): Remove variable.
14166 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14167 [$(build-shared) = yes].
14168 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14169 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14170 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14171 [$(build-shared) = yes].
14172 * extra-lib.mk [$(versioning) = yes]: Likewise.
14173 * hurd/Makefile [$(versioning) = yes]: Likewise.
14174 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14175 [SHARED].
14176 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14177 [SHARED].
14178 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14179 [SHARED && !NO_HIDDEN].
14180 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14181 [SHARED].
14182 [SHARED && DO_VERSIONING]: Likewise..
14183 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14184 [$(build-shared) = yes].
14185 * manual/install.texi (--disable-versioning): Remove
14186 documentation.
14187 * INSTALL: Regenerated.
14188 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14189 to [SHARED].
14190 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14191 [$(build-shared) = yes].
14192 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14193 * sysdeps/i386/i686/multiarch/strstr-c.c
14194 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14195 [SHARED && !NO_HIDDEN].
14196 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14197 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14198 * sysdeps/powerpc/powerpc32/dl-machine.c
14199 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14200 * sysdeps/powerpc/powerpc32/sysdep.h
14201 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14202 to [SHARED && PIC && !NO_HIDDEN].
14203 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14204 conditional to [SHARED].
14205
44558701
WN
142062013-09-04 Will Newton <will.newton@linaro.org>
14207
14208 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14209 * benchtests/bench-string.h: Include bench-timing.h instead
14210 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14211 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14212 call to HP_TIMING_DIFF_INIT.
14213 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14214 instead of hp-timing.h macros.
14215 * benchtests/bench-memchr.c: Likewise.
14216 * benchtests/bench-memcmp.c: Likewise.
14217 * benchtests/bench-memcpy.c: Likewise.
14218 * benchtests/bench-memmem.c: Likewise.
14219 * benchtests/bench-memmove.c: Likewise.
14220 * benchtests/bench-memset.c: Likewise.
14221 * benchtests/bench-rawmemchr.c: Likewise.
14222 * benchtests/bench-strcasecmp.c: Likewise.
14223 * benchtests/bench-strcasestr.c: Likewise.
14224 * benchtests/bench-strcat.c: Likewise.
14225 * benchtests/bench-strchr.c: Likewise.
14226 * benchtests/bench-strcmp.c: Likewise.
14227 * benchtests/bench-strcpy.c: Likewise.
14228 * benchtests/bench-strcpy_chk.c: Likewise.
14229 * benchtests/bench-strlen.c: Likewise.
14230 * benchtests/bench-strncasecmp.c: Likewise.
14231 * benchtests/bench-strncat.c: Likewise.
14232 * benchtests/bench-strncmp.c: Likewise.
14233 * benchtests/bench-strncpy.c: Likewise.
14234 * benchtests/bench-strnlen.c: Likewise.
14235 * benchtests/bench-strpbrk.c: Likewise.
14236 * benchtests/bench-strrchr.c: Likewise.
14237 * benchtests/bench-strspn.c: Likewise.
14238 * benchtests/bench-strstr.c: Likewise.
14239
cae16d66
WN
142402013-09-04 Will Newton <will.newton@linaro.org>
14241
14242 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14243
ffa3cd7f
JM
142442013-09-03 Joseph Myers <joseph@codesourcery.com>
14245
14246 [BZ #15427]
14247 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14248 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14249 * math/libm-test.inc (lgamma_test_data): Add more tests.
14250 * sysdeps/i386/fpu/libm-test-ulps: Update.
14251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14252
8f02859f
OB
142532013-09-03 Ondřej Bílka <neleai@seznam.cz>
14254
14255 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14256 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14257 Add ifunc.
14258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14259 Add strcmp-sse2-unaligned
14260 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14261
18d43716
MF
142622013-09-02 Mike Frysinger <vapier@gentoo.org>
14263
14264 * Versions.def (libc): Add GLIBC_2.19.
14265
ac444012
MF
142662013-09-02 Mike Frysinger <vapier@gentoo.org>
14267
14268 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14269 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14270
b7835e32
JM
142712013-09-02 Joseph Myers <joseph@codesourcery.com>
14272
14273 [BZ #14155]
14274 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14275 intermediate calculations in recurrence.
14276 (__ieee754_ynf): Likewise.
14277 * math/libm-test.inc (jn_test_data): Do not allow spurious
14278 underflow exception. Add more tests.
14279 (yn_test_data): Add more tests.
14280 * sysdeps/i386/fpu/libm-test-ulps: Update.
14281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14282
8220f4f0
OB
142832013-09-02 Ondřej Bílka <neleai@seznam.cz>
14284
14285 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14286
f24a6d08
OB
142872013-08-30 Ondřej Bílka <neleai@seznam.cz>
14288
14289 * csu/init-first.c: Fix then/than typos.
14290 * locale/programs/ld-collate.c: Likewise.
14291 * locale/programs/linereader.h: Likewise.
14292 * manual/charset.texi: Likewise.
14293 * manual/filesys.texi: Likewise.
14294 * manual/stdio.texi: Likewise.
14295 * manual/string.texi: Likewise.
14296 * stdlib/fmtmsg.c: Likewise.
14297 * sysdeps/i386/stpncpy.S: Likewise.
14298 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14299 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14300 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14301 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14302
382466e0
OB
143032013-08-30 Ondřej Bílka <neleai@seznam.cz>
14304
14305 * elf/dl-open.c: Fix typos.
14306 * iconvdata/gbbig5.c: Likewise.
14307 * iconvdata/iso-2022-jp.c: Likewise.
14308 * iconv/gconv_int.h: Likewise.
14309 * iconv/loop.c: Likewise.
14310 * nis/rpcsvc/nis.h: Likewise.
14311 * resolv/ns_name.c: Likewise.
14312 * stdio-common/vfscanf.c: Likewise.
14313 * streams/stropts.h: Likewise.
14314 * sunrpc/rpc_thread.c: Likewise.
14315 * sysdeps/i386/strpbrk.S: Likewise.
14316 * sysdeps/ieee754/k_standard.c: Likewise.
14317 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14318 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14319 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14320 * sysdeps/mach/hurd/profil.c: Likewise.
14321 * sysdeps/s390/dl-procinfo.h: Likewise.
14322 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14323 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14324 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14325 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14326 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14327
0186c6e9
OB
143282013-08-30 Ondřej Bílka <neleai@seznam.cz>
14329
14330 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14331 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14332
d4e16af1
OB
143332013-08-29 Ondřej Bílka <neleai@seznam.cz>
14334
14335 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14336 aix specific files.
14337 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14338 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14339 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14340 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14341 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14342 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14343 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14344 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14345
88335980
TS
143462013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14347 Roland McGrath <roland@hack.frob.com>
14348
14349 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14350 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14351
ed479b02
ST
143522013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14353
14354 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14355 __executable_start symbol instead of _start.
14356
f1cc4c86
TS
143572013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14358
d821f07c
TS
14359 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14360 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14361 Move macros to...
14362 * sysdeps/gnu/ldsodefs.h: ... this new file.
14363
c54290cf
TS
14364 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14365 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14366 instead of ELFOSABI_LINUX.
14367
0007fc9b 14368 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
14369 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14370 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14371 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14372 Likewise.
14373 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14374 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14375 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14376 Likewise.
14377 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14378 (ibm_extended_long_double): Add ieee_nan member.
14379 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14380 (do_test): New function.
14381
f1cc4c86
TS
14382 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14383 TEST_TRUNC.
14384 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14385 functions, renamed from truncdfsf_test, trunctfsf_test,
14386 trunctfdf_test.
14387 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14388 functions.
14389 (do_test): Run all these.
14390
6f65e668
OB
143912013-08-29 Ondřej Bílka <neleai@seznam.cz>
14392
14393 * argp/argp-help.c: Fix typos.
14394 * argp/argp-parse.c: Likewise.
14395 * debug/backtracesyms.c: Likewise.
14396 * elf/elf.h: Likewise.
14397 * malloc/malloc.c: Likewise.
14398 * nis/nis_print.c: Likewise.
14399 * resolv/res_comp.c: Likewise.
14400 * stdlib/stdlib.h: Likewise.
14401 * sunrpc/clnt_tcp.c: Likewise.
14402 * sunrpc/clnt_udp.c: Likewise.
14403 * sunrpc/clnt_unix.c: Likewise.
14404 * sysdeps/unix/bsd/ptsname.c: Likewise.
14405 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14406 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
14407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14408 Likewise.
14409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14410 Likewise.
14411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14412 Likewise.
6f65e668
OB
14413 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14414
3a309239
SP
144152013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14416
14417 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14418 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14419
3b813b29
MF
144202013-08-27 Mike Frysinger <vapier@gentoo.org>
14421
14422 [BZ #15897]
14423 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14424 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14425 ($(objpfx)bug-dl-leaf): New rule.
14426 ($(objpfx)bug-dl-leaf.so): Likewise.
14427 ($(objpfx)bug-dl-leaf.out): Likewise.
14428 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14429 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14430 * dlfcn/bug-dl-leaf.c: New test.
14431 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14432 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14433 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14434 (dlclose): Likewise.
14435 (dlmopen): Likewise.
14436
8cc3269f
RM
144372013-08-27 Roland McGrath <roland@hack.frob.com>
14438
7f9d0034
RM
14439 * include/netdb.h [!_ISOMAC]:
14440 Don't include <tls.h>.
14441 (h_errno, __libc_h_errno): Move declaration and macros out of
14442 [_LIBC_REENTRANT].
14443
fb431262
RM
14444 * include/resolv.h [_RESOLV_H_]:
14445 Don't include <tls.h>.
14446 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14447 * resolv/res_libc.c: Don't include <tls.h>.
14448 (_res): Use __attribute__ ((nocommon)) in place of
14449 __attribute__ ((section (".bss"))).
14450
bd81123a
RM
14451 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14452 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14453
c4e42566
RM
14454 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14455
f890a59b
RM
14456 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14457 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14458
14459 * resolv/res_mkquery.c: Include <sys/time.h>.
14460
5d1f0a09
RM
14461 * inet/ifreq.c: Moved to ...
14462 * sysdeps/unix/ifreq.c: ... here.
14463 * inet/ifreq.c: New file, true stub version.
14464
6fcf28b3
RM
14465 * socket/sa_len.c: New file.
14466 * socket/Makefile (aux): Add it.
14467 * sysdeps/unix/sysv/linux/Makefile
14468 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14469 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14470 and #include <socket/sa_len.c>.
14471 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14472 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14473
e041fb8b
RM
14474 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14475 * bits/socket.h: ... here.
14476
8cc3269f
RM
14477 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14478 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14479 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14480
5d228a43
AS
144812013-08-27 Andreas Schwab <schwab@suse.de>
14482
45b8accc
AS
14483 [BZ #15736]
14484 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14485 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14486 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14487 * string/test-strcasecmp.c (test_main): Run tests in several
14488 locales.
14489 * string/test-strncasecmp.c (test_main): Likewise.
14490
5d228a43
AS
14491 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14492 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14493 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14494 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14495 (__strncasecmp_ssse3) [PIC]: Likewise.
14496
59d112a4
RM
144972013-08-26 Roland McGrath <roland@hack.frob.com>
14498
53234cc3
RM
14499 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14500
59d112a4
RM
14501 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14502 instead of explicitly declaring xdecrypt.
14503 * nis/nss_nis/nis-publickey.c: Likewise.
14504
595aba70
SP
145052013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14506
14507 [BZ #15890]
14508 * nscd/aicache.c: Include res_hconf.h.
14509 (addhstaiX): Initialize res_hconf.
14510
ffabd393
AS
145112013-08-26 Andreas Schwab <schwab@suse.de>
14512
14513 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14514 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14515
e0a69f5c
SP
145162013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14517
14518 * nscd/aicache.c (addhstaiX): Fix indentation.
14519
8c12f01d
MF
145202013-08-25 Mike Frysinger <vapier@gentoo.org>
14521
14522 * configure.ac: Quote $build_pt_chown test.
14523 * configure: Regenerated.
14524
8fe89494
JM
145252013-08-23 Joseph Myers <joseph@codesourcery.com>
14526
14527 [BZ #15532]
14528 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14529 * math/s_cexpf.c (__cexpf): Likewise.
14530 * math/s_cexpl.c (__cexpl): Likewise.
14531 * math/libm-test.inc (cexp_test_data): Correct expected return
14532 value for NaN + i0. Add another test.
14533
75b181d6
DM
145342013-08-22 David S. Miller <davem@davemloft.net>
14535
14536 * po/ca.po: Update Catalan translation from translation project.
936241e4 14537 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 14538
acd06bb1
JM
145392013-08-21 Joseph Myers <joseph@codesourcery.com>
14540
14541 [BZ #15797]
14542 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14543 is infinite, not alongside NaN test.
14544 * math/s_fdimf.c (__fdimf): Likewise.
14545 * math/s_fdiml.c (__fdiml): Likewise.
14546 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14547 errno is unchanged.
14548
c0c3f78a
OB
145492013-08-21 Ondřej Bílka <neleai@seznam.cz>
14550
14551 * argp/argp-help.c: Fix typos.
14552 * crypt/speeds.c: Likewise.
14553 * csu/check_fds.c: Likewise.
14554 * elf/dl-load.c: Likewise.
14555 * elf/dl-open.c: Likewise.
14556 * elf/reldep3.c: Likewise.
14557 * elf/reldep.c: Likewise.
14558 * elf/sprof.c: Likewise.
14559 * iconv/iconv_charmap.c: Likewise.
14560 * iconv/skeleton.c: Likewise.
14561 * iconv/strtab.c: Likewise.
14562 * io/lockf64.c: Likewise.
14563 * libio/libioP.h: Likewise.
14564 * resolv/gai_notify.c: Likewise.
14565 * resolv/ns_name.c: Likewise.
14566 * resolv/ns_samedomain.c: Likewise.
14567 * resolv/res_send.c: Likewise.
14568 * stdlib/random.c: Likewise.
14569 * sunrpc/rpc/xdr.h: Likewise.
14570 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14571 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14572 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14573 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14574 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14575 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14576 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14577 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14578 * sysdeps/mach/hurd/check_fds.c: Likewise.
14579 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14580 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14581 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14582 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14583 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14584 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14585 * sysdeps/pthread/aio_notify.c: Likewise.
14586 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14587 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14588 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14589 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14590 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14591
46ed1038
LD
145922013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14593
14594 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14595 version if bit_Slow_SSE4_2 is set.
14596 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14597 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14598
d400dcac
AZ
145992013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14600
14601 [BZ #15867]
14602 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14603 trampoline stack frame information.
14604 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14605 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14606 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14607 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14608 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14609 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14610 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14611 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14612 sa_flags value.
14613 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14614 interrupting a syscall and set with option SA_SIGINFO.
14615
42c8fdd8
JM
146162013-08-20 Joseph Myers <joseph@codesourcery.com>
14617
c980f2f4
JM
14618 [BZ #15531]
14619 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14620 argument is infinite.
14621 * math/s_cprojf.c (__cprojf): Likewise.
14622 * math/s_cprojl.c (__cprojl): Likewise.
14623 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14624 * math/libm-test.inc (cproj_test_data): Add more tests.
14625
0716c4fc
JM
14626 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14627
42c8fdd8
JM
14628 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14629 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14630 size. Use __ffs to determine corresponding shift.
14631
b31469d0
JM
146322013-08-20 Joseph Myers <joseph@codesourcery.com>
14633 Roland McGrath <roland@hack.frob.com>
14634
14635 * Makefile (INSTALL): Remove trailing blank lines from output of
14636 makeinfo.
14637
4e39af6e
AK
146382013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14639
14640 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14641 Align 32 bit compat elf_greg to 8 bytes.
14642
f315524e
AA
146432013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14644
14645 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14646
1326ba1a
SP
146472013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14648
14649 * string/strcoll_l.c (coll_seq): New structure.
14650 (get_next_seq_cached): New function.
14651 (get_next_seq): New function.
14652 (do_compare): New function.
14653 (STRCOLL): Use GNU style definition. Simplify implementation
14654 by using get_next_seq, get_next_seq_cached and do_compare.
14655
91ce4085
FW
146562013-08-16 Florian Weimer <fweimer@redhat.com>
14657
14658 [BZ #14699]
14659 CVE-2013-4237
14660 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14661 member.
14662 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14663 member.
14664 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14665 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14666 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14667 conditional.
14668 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14669 GETDENTS_64BIT_ALIGNED.
14670 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14671 * manual/filesys.texi (Reading/Closing Directory): Document
14672 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14673 strongly.
14674 * manual/conf.texi (Limits for Files): Add portability note to
14675 NAME_MAX, PATH_MAX.
14676 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14677
ca0a6bc4
AS
146782013-08-13 Andreas Schwab <schwab@suse.de>
14679
14680 [BZ #15749]
14681 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14682 of fabs.
14683 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14684 LDBL_MAX_EXP >= 16384]: Add tests for it.
14685
6c1fd795
DM
146862013-08-12 David S. Miller <davem@davemloft.net>
14687
14688 * version.h (RELEASE): Set to "development".
14689 (VERSION): Set to "2.18.90".
14690 * NEWS: Add 2.19 section.
14691
31ad488d
DM
146922013-08-03 David S. Miller <davem@davemloft.net>
14693
14694 * po/ko.po: Update Korean translation from translation project.
14695
db24e684
DM
146962013-08-01 David S. Miller <davem@davemloft.net>
14697
14698 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14699 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14700 Bilka.
14701
f723285b
DM
147022013-07-30 David S. Miller <davem@davemloft.net>
14703
14704 * po/fr.po: Update French translation from translation project.
14705
3cbc52db
DM
147062013-07-28 David S. Miller <davem@davemloft.net>
14707
30bbc0cc
DM
14708 * po/cs.po: Update Czech translation from translation project.
14709
3cbc52db
DM
14710 * po/sv.po: Update Swedish translation from translation project.
14711
d492e6d0
DM
147122013-07-27 David S. Miller <davem@davemloft.net>
14713
f1a7f492
DM
14714 * po/eo.po: Update Esperanto translation from translation project.
14715
90e62a4a
DM
14716 * po/vi.po: Update Vietnamese translation from translation project.
14717
d492e6d0
DM
14718 * po/de.po: Update German translation from translation project.
14719
d4baa62d
DM
147202013-07-26 David S. Miller <davem@davemloft.net>
14721
641aa7b4
DM
14722 * po/bg.po: Update Bulgarian translation from translation project.
14723
d4baa62d
DM
14724 * po/nl.po: Update Dutch translation from translation project.
14725 * po/pl.po: Update Polish translation from translation project.
14726 * po/ru.po: Update Russian translation from translation project.
14727
61a9dcb9
DM
147282013-07-24 David S. Miller <davem@davemloft.net>
14729
14730 * po/libc.pot: Update.
14731
7b1f8b58
AZ
147322013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14733
14734 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14735 variable page size.
14736 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14737 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14738 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14739
a8fc7a03
AK
147402013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14741
14742 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14743
e4608715
CD
147442013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14745 Andreas Schwab <schwab@suse.de>
14746 Roland McGrath <roland@hack.frob.com>
14747 Joseph Myers <joseph@codesourcery.com>
14748 Carlos O'Donell <carlos@redhat.com>
14749
14750 [BZ #15755]
14751 * config.h.in: Define HAVE_PT_CHOWN.
14752 * config.make.in (build-pt-chown): New variable.
14753 * configure.in (--enable-pt_chown): New configure option.
14754 * configure: Regenerate.
14755 * login/Makefile: Include Makeconfig. Build pt_chown only if
14756 build-pt-chown is enabled.
14757 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14758 pt_chown to fix pty ownership.
14759 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14760 CLOSE_ALL_FDS.
14761 * manual/install.texi (Configuring and compiling): Mention
14762 --enable-pt_chown. Add @findex for grantpt.
14763 * INSTALL: Regenerate.
14764
da2d62df
DM
147652013-07-20 David S. Miller <davem@davemloft.net>
14766
14767 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14768 difference between 32-bit and 64-bit.
14769
d7e06450
CD
147702013-07-15 Carlos O'Donell <carlos@redhat.com>
14771
14772 [BZ #15711]
14773 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14774 Avoid system header dependency with -ffreestanding.
14775 ($(objpfx)bits/syscall%d): Likewise.
14776
f959cfd7
DM
147772013-07-13 David S. Miller <davem@davemloft.net>
14778
14779 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14780 underflows from atanl/atan2l due to bug 15319.
14781 (casinh_test_data): Likewise.
14782
c61f8513
DM
147832013-07-07 David S. Miller <davem@davemloft.net>
14784
14785 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14786
72c90ed0
JA
147872013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14788
14789 * sysdeps/i386/fpu/libm-test-ulps: Update.
14790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14791
52dfbe13
SP
147922013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14793
14794 * configure.in (--enable-lock-elision): Fix message text.
14795 * INSTALL: Regenerate.
14796 * configure: Regenerate.
14797
3f169543
AZ
147982013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14799
14800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14801
521c6785
AJ
148022013-07-03 Andreas Jaeger <aj@suse.de>
14803
14804 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14805 define.
14806 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14807 (ptrace_peeksiginfo_args): Add.
14808 (__ptrace_peeksiginfo_flags): Add.
14809 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14810 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14811 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14812
d2cc15cb
AM
148132013-07-03 Allan McRae <allan@archlinux.org>
14814
14815 * sysdeps/i386/fpu/libm-test-ulps: Update.
14816
3aaeeca7
DM
148172013-07-02 David S. Miller <davem@davemloft.net>
14818
14819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14820
5314ed1a
MT
148212013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14822
14823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14824
67338156
JM
148252013-07-02 Joseph Myers <joseph@codesourcery.com>
14826
14827 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14829
1717da59
AK
148302013-07-02 Andi Kleen <ak@linux.intel.com>
14831
14832 * config.h.in (ENABLE_LOCK_ELISION): Add.
14833 * configure.in (--enable-lock-elision): Add option.
14834 * manual/install.texi: Document --enable lock elision.
14835 * configure: Regenerate
14836 * INSTALL: Regenerate.
14837
1c81621c
L
148382013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14839
14840 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14841 SSE4.2 strcasecmp for libc.a.
14842 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14843
77f01ab5
JM
148442013-07-02 Joseph Myers <joseph@codesourcery.com>
14845
14846 [BZ #13304]
14847 * soft-fp/op-common.h (_FP_FMA): New macro.
14848 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14849 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14850 (_FP_MUL_MEAT_1_imm): ... here.
14851 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14852 (_FP_MUL_MEAT_1_wide): ... here.
14853 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14854 (_FP_MUL_MEAT_1_hard): ... here.
14855 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14856 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14857 (_FP_MUL_MEAT_2_wide): ... here.
14858 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14859 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14860 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14861 (_FP_MUL_MEAT_2_gmp): ... here.
14862 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14863 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14864 (_FP_MUL_MEAT_4_wide): ... here.
14865 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14866 (_FP_MUL_MEAT_4_gmp): ... here.
14867 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14868 (_FP_WFRACBITS_DW_S): Likewise.
14869 (_FP_WFRACXBITS_DW_S): Likewise.
14870 (_FP_HIGHBIT_DW_S): Likewise.
14871 (FP_FMA_S): Likewise.
14872 (_FP_FRAC_HIGH_DW_S): Likewise.
14873 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14874 (_FP_WFRACBITS_DW_D): Likewise.
14875 (_FP_WFRACXBITS_DW_D): Likewise.
14876 (_FP_HIGHBIT_DW_D): Likewise.
14877 (FP_FMA_D): Likewise.
14878 (_FP_FRAC_HIGH_DW_D): Likewise.
14879 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14880 (_FP_WFRACBITS_DW_E): Likewise.
14881 (_FP_WFRACXBITS_DW_E): Likewise.
14882 (_FP_HIGHBIT_DW_E): Likewise.
14883 (FP_FMA_E): Likewise.
14884 (_FP_FRAC_HIGH_DW_E): Likewise.
14885 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14886 (_FP_WFRACBITS_DW_Q): Likewise.
14887 (_FP_WFRACXBITS_DW_Q): Likewise.
14888 (_FP_HIGHBIT_DW_Q): Likewise.
14889 (FP_FMA_Q): Likewise.
14890 (_FP_FRAC_HIGH_DW_Q): Likewise.
14891 * soft-fp/fmasf4.c: New file.
14892 * soft-fp/fmadf4.c: Likewise.
14893 * soft-fp/fmatf4.c: Likewise.
14894
6308fd9a
LD
148952013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14896
14897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14898 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14899 Silvermont.
14900 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14901 macro.
14902 (index_Slow_SSE4_2): Likewise.
14903 (index_Prefer_PMINUB_for_stringop): Likewise.
14904 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14905 bit_Slow_SSE4_2 is set.
14906 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14907 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14908
89cd9569
RA
149092013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14910
14911 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14912 rtld_global._dl_hwcap2.
14913 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14914 POWER8.
14915 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14916 POWER8 feature descriptions defined in _dl_hwcap2.
14917 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14918 string handling for POWER8 feature bits.
14919 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14920 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14921 _dl_powerpc_cap_flags.
14922 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14923 * sysdeps/powerpc/rtld-global-offsets.sym
14924 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14925 _dl_hwcap2 in the rtld_global_ro structure.
14926
1ae8bfe0
RA
149272013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14928
14929 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14930 hardware capabilities in support of AT_HWCAP2.
14931 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14932 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14933 GLRO(dl_hwcap2).
14934 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14935 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14936 explicitly the unknown a_type display mechanism is used.
14937 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14938 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14939 struct member.
14940 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14941 to macro prototype for AT_HWCAP2 support.
14942 * sysdeps/i386/dl-procinfo.h: Likewise.
14943 * sysdeps/s390/dl-procinfo.h: Likewise.
14944 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14945 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14946 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14947 return -1 for unknown a_type display fallback.
14948 * sysdeps/sparc/dl-procinfo.h: Likewise.
14949 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14950 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14951
8fbec010
JM
149522013-06-28 Joseph Myers <joseph@codesourcery.com>
14953
14954 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14955 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14956
0432680e
PY
149572013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14958
14959 [BZ #12492]
14960 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14961 mprotect making __stack_prot writable.
14962
ce61a2ad
NF
149632013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14964 Joseph Myers <joseph@codesourcery.com>
14965
14966 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14967 as being properly aligned.
14968
f91f1c0f
MR
149692013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14970
3d0f5d0c
MR
14971 * dlfcn/modstatic5.c: New file.
14972 * dlfcn/tststatic5.c: New file.
14973 * dlfcn/Makefile (tests): Add tststatic5.
14974 (tests-static): Likewise.
14975 (modules-names): Add modstatic5.
14976 (tststatic5-ENV): New variable.
14977 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14978
f91f1c0f
MR
14979 [BZ #15022]
14980 * elf/dl-support.c (_dl_main_map): New variable.
14981 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14982 (_dl_nns, _dl_load_adds): Set to 1.
14983 (_dl_initial_searchlist): Refer to _dl_main_map.
14984 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14985 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14986 call to _dl_get_origin.
14987 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14988 around call_map.
14989 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14990 * dlfcn/modstatic3.c: New file.
14991 * dlfcn/tststatic3.c: New file.
14992 * dlfcn/tststatic4.c: New file.
14993 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14994 (tests-static): Likewise.
14995 (modules-names): Add modstatic3.
14996 (tststatic3-ENV, tststatic4-ENV): New variables.
14997 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14998 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14999
cbe7d24b
JM
150002013-06-26 Joseph Myers <joseph@codesourcery.com>
15001
15002 * configure.in (CC): Require GCC version 4.4 or later.
15003 * configure: Regenerated.
15004 * manual/install.texi (Tools for Compilation): Update GCC version
15005 requirement.
15006 * INSTALL: Regenerated.
15007
11b8a0e1
LD
150082013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15009
15010 [BZ #15674]
bb5bb87c
L
15011 * string/test-memcmp.c (check2): New.
15012 (main): Call check2.
15013
11b8a0e1
LD
15014 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15015
b0037103
MR
150162013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15017
15018 [BZ #15022]
15019 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15020 over to...
15021 (dl_open_worker) [!SHARED]: ... here.
15022
c18c701d
RA
150232013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15024
15025 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15026
1d17fa5f
RH
150272013-06-25 Richard Henderson <rth@redhat.com>
15028
15029 * locale/programs/locarchive.c: Include <libc-internal.h>
15030
8fcb833a
JM
150312013-06-25 Joseph Myers <joseph@codesourcery.com>
15032
15033 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15034 trailing whitespace removed.
15035
17db6e8d
MF
150362013-06-24 Mike Frysinger <vapier@gentoo.org>
15037
15038 [BZ #10283]
17db6e8d
MF
15039 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15040 * locale/programs/locarchive.c: Include libc-mmap.h.
15041 (prepare_address_space): Take two new outputs (the mmap base and len).
15042 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15043 values.
15044 (create_archive): Declare new mmap base and len values for
15045 prepare_address_space, and store the result in ah.
15046 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15047 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15048 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15049 Declare new mmap base and len values for
15050 prepare_address_space, and store the result in new_ah.
15051 (open_archive): Declare new mmap base and len values for
15052 prepare_address_space, and store the result in ah.
15053 (close_archive): If ah->mmap_base is not NULL, use that and
15054 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15055 * sysdeps/generic/libc-mmap.h: New file.
15056
d605071e
MF
150572013-06-24 Mike Frysinger <vapier@gentoo.org>
15058
15059 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15060 (ALIGN_UP): Likewise.
15061 (PTR_ALIGN_DOWN): Likewise.
15062 (PTR_ALIGN_UP): Likewise.
15063
2f063a6e
RA
150642013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15065
15066 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15067 entry mapped to PPC_PLATFORM_POWER8.
15068 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15069 POWER8.
15070 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15071 (_dl_string_platform): Add case for exporting platform position for
15072 POWER8.
15073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15074 search path to sysdeps/powerpc/powerpc32/power8 directory.
15075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15076 search path to sysdeps/powerpc/powerpc64/power8 directory.
15077 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15078 power7 directories.
15079 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15080 power7 directories.
15081
a31ee4b3
SP
150822013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15083
a74ca98f
SP
15084 * INSTALL: Regenerate.
15085
a31ee4b3
SP
15086 * nscd/connections.c (nscd_init): Fix comment.
15087
695c378f
JM
150882013-06-22 Joseph Myers <joseph@codesourcery.com>
15089
d8412221
JM
15090 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15091
695c378f
JM
15092 [BZ #15667]
15093 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15094 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15095
d1d54715
MR
150962013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15097
15098 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15099 DL_DST_REQ_STATIC.
15100 (DL_DST_REQ_STATIC): Remove macro.
15101
8fdda7af
JM
151022013-06-21 Joseph Myers <joseph@codesourcery.com>
15103
15104 [BZ #7006]
15105 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15106 with a shift of 0 bits.
15107
f3bc5e5a
MR
151082013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15109
15110 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15111 $(tststatic-ENV).
15112
be09e8c9
KK
151132013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15114
15115 [BZ #15655]
15116 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15117
85c2e611
AZ
151182013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15119
15120 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15121 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15122 accepts -fno-tree-loop-distribute-patterns.
15123 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15124 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15125 recursive call.
15126 * string/memset.c (memset): Likewise.
15127 * string/test-memmove.c (simple_memmove): Disable loop transformation
15128 to library calls.
15129 * string/test-memset.c (simple_memset): Likewise.
15130 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15131 * benchtests/bench-memset.c (simple_memset): Likewise.
15132 * configure: Regenerated.
15133
c91e0825
JM
151342013-06-20 Joseph Myers <joseph@codesourcery.com>
15135
b8c792af
JM
15136 * math/test-misc.c (main): Ignore fesetround failure when failures
15137 of subsequent rounding tests would be ignored.
15138
c91e0825
JM
15139 [BZ #15654]
15140 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15141 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15142 * math/fegetenv.c (__fegetenv): Return 0.
15143 * math/fegetexcept.c (fegetexcept): Return 0.
15144 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15145 FE_TONEAREST.
15146 * math/feholdexcpt.c (feholdexcept): Return 0.
15147 * math/fesetenv.c (__fesetenv): Return 0.
15148 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15149 argument FE_TONEAREST.
15150 * math/feupdateenv.c (__feupdateenv): Return 0.
15151 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15152
bfcacbde
RM
151532013-06-18 Roland McGrath <roland@hack.frob.com>
15154
15155 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15156 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15157 ($(objpfx)rtld-%.os rules): Use them.
15158
e55a9b25
AZ
151592013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15160
15161 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15162 fields.
15163
346d65b3
RM
151642013-06-17 Roland McGrath <roland@hack.frob.com>
15165
12086fb4
RM
15166 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15167 length of target pattern, then descending length of dependency pattern.
15168 * configure.in (AWK): Require gawk 3.1.2 or newer.
15169 * manual/install.texi (Tools for Compilation): Say that we do.
15170 * configure: Regenerated.
15171
346d65b3
RM
15172 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15173 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15174 * scripts/sysd-rules.awk: ... this new script.
15175 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15176 than a glob-style pattern.
15177
1a846317
JM
151782013-06-17 Joseph Myers <joseph@codesourcery.com>
15179
15180 * math/test-misc.c (main): Do not treat incorrectly rounded
15181 conversions as failure unless ROUNDING_TESTS passes.
15182
8fc75e6f
JM
151832013-06-15 Joseph Myers <joseph@codesourcery.com>
15184
3711a167
JM
15185 [BZ #15631]
15186 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15187 restore exception state around main square root computation, then
15188 check for inexactness explicitly.
15189
8fc75e6f
JM
15190 * math/libm-test.inc (fma_test_data): Add another test.
15191
61dd6208
SP
151922013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15193
adf23d2c
SP
15194 * manual/threads.texi (Non-POSIX Extensions): New document
15195 node. Document pthread_getattr_default_np and
15196 pthread_setattr_default_np.
15197
61dd6208
SP
15198 * Versions.def (libpthread): Add GLIBC_2.18.
15199 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15201 Likewise.
15202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15203 Likewise.
15204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15205 Likewise.
15206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15207 Likewise.
15208 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15209 Likewise.
15210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15211 Likewise.
15212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15213 Likewise.
15214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15215 Likewise.
15216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15217 Likewise.
15218
d086fc7b
LD
152192013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15220
15221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15222 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15223
747ef469
SP
152242013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15225 H.J. Lu <hjl.tools@gmail.com>
15226
15227 [BZ #15627]
15228 * sysdeps/x86_64/rtld-memset.c: Remove file.
15229 * sysdeps/x86_64/rtld-memset.S: New file.
15230
1b2feed2
JM
152312013-06-14 Joseph Myers <joseph@codesourcery.com>
15232
15233 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15234 (test_in_one_mode): Take arguments for whether the rounding mode
15235 is supported for each floating-point type.
15236 (do_test): Pass new arguments to test_in_one_mode using
15237 ROUNDING_TESTS.
15238
a58ad3f8
RM
152392013-06-13 Roland McGrath <roland@hack.frob.com>
15240
15241 * posix/tst-waitid.c (do_test): Distinguish different instances of
15242 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15243 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15244 before entering the kernel for waitpid.
15245
c204ab28
SP
152462013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15247
15248 * NEWS: Fix note on clock function precision. Text by Roland
15249 McGrath.
15250
f4a29fba
RM
152512013-06-13 Roland McGrath <roland@hack.frob.com>
15252
15253 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15254 it into place only when and if the sanity check passes.
15255
1f24b9ad
JM
152562013-06-13 Joseph Myers <joseph@codesourcery.com>
15257
15258 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15259 output for whether conversion result is exact. Take argument
15260 indicating whether type is IBM long double.
15261 (round_for_all): Change need_exact field to ibm_ld.
15262 * stdlib/tst-strtod-round.c (struct exactness): New type.
15263 (struct test): Change bool ld_ok field to struct exactness exact.
15264 (TEST): Update all definitions for change to field.
15265 (tests): Regenerate array contents.
15266 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15267 field value. Check for IBM long double here.
15268 (do_test): Update calls to test_in_one_mode.
15269
58206c68
SP
152702013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15271
15272 [BZ #12515]
15273 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15274 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15275
2d6f4c5b 152762013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
15277
15278 [BZ #15605]
15279 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15280 generated by the compiler on loop optimizations.
15281 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15282 general definitions.
15283
94f2c076
JM
152842013-06-12 Joseph Myers <joseph@codesourcery.com>
15285
15286 * math/bug-nextafter.c: Include <math-tests.h>.
15287 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15288 the relevant type.
15289 * math/bug-nexttoward.c: Include <math-tests.h>.
15290 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15291 the relevant type.
15292 * math/test-misc.c: Include <math-tests.h>.
15293 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15294 the relevant type.
15295
e0e50a0a
AJ
152962013-06-12 Andreas Jaeger <aj@suse.de>
15297
15298 * po/ia.po: Update Interlingua translation from translation
15299 project.
15300
25061094
SP
153012013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15302
15303 * include/fenv.h: Include stdbool.h.
15304 (struct rm_ctx): New structure.
15305 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15306 Define macro.
15307 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15308 (SET_RESTORE_ROUNDF): Likewise.
15309 (SET_RESTORE_ROUNDL): Likewise.
15310 (SET_RESTORE_ROUND_NOEX): Likewise.
15311 (SET_RESTORE_ROUND_NOEXF): Likewise.
15312 (SET_RESTORE_ROUND_NOEXL): Likewise.
15313 (SET_RESTORE_ROUND_53BIT): Likewise.
15314 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15315 (libc_feresetround_noexf_ctx): Likewise.
15316 (libc_feresetround_noexl_ctx): Likewise.
15317 (libc_feholdsetround_53bit_ctx): Likewise.
15318 (libc_feresetround_53bit_ctx): Likewise.
15319 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15320 (libc_feholdexcept_setround_sse_ctx): New function.
15321 (libc_fesetenv_sse_ctx): Likewise.
15322 (libc_feupdateenv_sse_ctx): Likewise.
15323 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15324 (libc_feholdexcept_setround_387_ctx): Likewise.
15325 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15326 (libc_feholdsetround_387_prec_ctx): Likewise.
15327 (libc_feholdsetround_387_ctx): Likewise.
15328 (libc_feholdsetround_387_53bit_ctx): Likewise.
15329 (libc_feholdsetround_sse_ctx): Likewise.
15330 (libc_feresetround_sse_ctx): Likewise.
15331 (libc_feresetround_387_ctx): Likewise.
15332 (libc_feupdateenv_387_ctx): Likewise.
15333 (libc_feholdexcept_setroundf_ctx): Define macro.
15334 (libc_fesetenvf_ctx): Likewise.
15335 (libc_feupdateenvf_ctx): Likewise.
15336 (libc_feholdsetroundf_ctx): Likewise.
15337 (libc_feresetroundf_ctx): Likewise.
15338 (libc_feholdexcept_setround_ctx): Likewise.
15339 (libc_fesetenv_ctx): Likewise.
15340 (libc_feupdateenv_ctx): Likewise.
15341 (libc_feholdsetround_ctx): Likewise.
15342 (libc_feresetround_ctx): Likewise.
15343 (libc_feholdexcept_setroundl_ctx): Likewise.
15344 (libc_feupdateenvl_ctx): Likewise.
15345 (libc_feholdsetroundl_ctx): Likewise.
15346 (libc_feresetroundl_ctx): Likewise.
15347 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15348 (libc_feresetround_53bit_ctx): Likewise.
15349
59b30555
SP
153502013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15351
15352 * locale/iso-639.def: Convert to UTF-8.
15353
f1d73d30
JM
153542013-06-11 Joseph Myers <joseph@codesourcery.com>
15355
15356 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15357 (EXCEPTION_TESTS_double): Likewise.
15358 (EXCEPTION_TESTS_long_double): Likewise.
15359 (EXCEPTION_TESTS): Likewise.
15360 * math/libm-test.inc (test_exceptions): Only test exceptions if
15361 EXCEPTION_TESTS (FLOAT).
15362
94aca5e7
SP
153632013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15364
15365 * benchtests/Makefile (string-bench): Add strcpy_chk and
15366 stpcpy_chk.
15367 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15368 * benchtests/bench-stpcpy_chk.c: New file.
15369 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15370 * benchtests/bench-strcpy_chk.c: New file.
15371 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15372 code.
15373 (do_test): Likewise.
15374
fac0c5f2
RA
153752013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15376
15377 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15378 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15379 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15380 with tabs where appropriate.
15381 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15382 dl-procinfo.h.
15383 [PPC_PLATFORM_PPC440]: Likewise.
15384 [PPC_PLATFORM_PPC464]: Likewise.
15385 [PPC_PLATFORM_PPC476]: Likewise.
15386 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15387 ppc464, and ppc476 platform strings merging from ports/
15388 dl-procinfo.h.
15389
f22bc486
AS
153902013-06-11 Andreas Schwab <schwab@suse.de>
15391
15392 [BZ #14991]
15393 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15394 (from_ucs4_idx): Regenerate.
15395 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15396 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15397 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15398 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15399 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15400 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15401 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15402 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15403 from FROM_LOOP and TO_LOOP specific macros.
15404 (BODY): Handle combining characters.
15405 * iconvdata/BIG5HKSCS.irreversible: Update.
15406 * iconvdata/BIG5HKSCS.precomposed: New file.
15407 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15408 characters.
15409 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15410
c1f75dc3
SP
154112013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15412
4eacded2
SP
15413 * include/sys/time.h: Fix indentation and add copyright header.
15414
fec799f8
SP
15415 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15416 (do_test): Likewise.
15417 * string/test-memchr.c (do_one_test): Likewise.
15418 (do_test): Likewise.
15419 * string/test-memcmp.c (do_one_test): Likewise.
15420 (do_test): Likewise.
15421 * string/test-memcpy.c (do_one_test): Likewise.
15422 (do_test): Likewise.
15423 * string/test-memmem.c (do_one_test): Likewise.
15424 (do_test): Likewise.
15425 (do_random_tests): Likewise.
15426 * string/test-memmove.c (do_one_test): Likewise.
15427 (do_test): Likewise.
15428 * string/test-memset.c (do_one_test): Likewise.
15429 (do_test): Likewise.
15430 * string/test-rawmemchr.c (do_one_test): Likewise.
15431 (do_test): Likewise.
15432 * string/test-strcasecmp.c (do_one_test): Likewise.
15433 (do_test): Likewise.
15434 * string/test-strcasestr.c (do_one_test): Likewise.
15435 (do_test): Likewise.
15436 * string/test-strcat.c (do_one_test): Likewise.
15437 (do_test): Likewise.
15438 * string/test-strchr.c (do_one_test): Likewise.
15439 (do_test): Likewise.
15440 * string/test-strcmp.c (do_one_test): Likewise.
15441 (do_test): Likewise.
15442 * string/test-strcpy.c (do_one_test): Likewise.
15443 (do_test): Likewise.
15444 * string/test-string.h: Likewise.
15445 (test_init): Likewise.
15446 * string/test-strlen.c (do_one_test): Likewise.
15447 (do_test): Likewise.
15448 * string/test-strncasecmp.c (do_one_test): Likewise.
15449 (do_test): Likewise.
15450 * string/test-strncat.c (do_one_test): Likewise.
15451 (do_test): Likewise.
15452 * string/test-strncmp.c (do_one_test): Likewise.
15453 (do_test_limit): Likewise.
15454 (do_test): Likewise.
15455 * string/test-strncpy.c (do_one_test): Likewise.
15456 (do_test): Likewise.
15457 * string/test-strnlen.c (do_one_test): Likewise.
15458 (do_test): Likewise.
15459 * string/test-strpbrk.c (do_one_test): Likewise.
15460 (do_test): Likewise.
15461 * string/test-strrchr.c (do_one_test): Likewise.
15462 (do_test): Likewise.
15463 * string/test-strspn.c (do_one_test): Likewise.
15464 (do_test): Likewise.
15465 * string/test-strstr.c (do_one_test): Likewise.
15466 (do_test): Likewise.
15467
97020474
SP
15468 * benchtests/Makefile (string-bench): Add string benchmarks.
15469 * benchtests/bench-bcopy-ifunc.c: New file.
15470 * benchtests/bench-bcopy.c: New file.
15471 * benchtests/bench-bzero-ifunc.c: New file.
15472 * benchtests/bench-bzero.c: New file.
15473 * benchtests/bench-memccpy-ifunc.c: New file.
15474 * benchtests/bench-memccpy.c: New file.
15475 * benchtests/bench-memchr-ifunc.c: New file.
15476 * benchtests/bench-memchr.c: New file.
15477 * benchtests/bench-memcmp-ifunc.c: New file.
15478 * benchtests/bench-memcmp.c: New file.
15479 * benchtests/bench-memmem-ifunc.c: New file.
15480 * benchtests/bench-memmem.c: New file.
15481 * benchtests/bench-memmove-ifunc.c: New file.
15482 * benchtests/bench-memmove.c: New file.
15483 * benchtests/bench-mempcpy-ifunc.c: New file.
15484 * benchtests/bench-mempcpy.c: New file.
15485 * benchtests/bench-memset-ifunc.c: New file.
15486 * benchtests/bench-memset.c: New file.
15487 * benchtests/bench-rawmemchr-ifunc.c: New file.
15488 * benchtests/bench-rawmemchr.c: New file.
15489 * benchtests/bench-stpcpy-ifunc.c: New file.
15490 * benchtests/bench-stpcpy.c: New file.
15491 * benchtests/bench-stpncpy-ifunc.c: New file.
15492 * benchtests/bench-stpncpy.c: New file.
15493 * benchtests/bench-strcasecmp-ifunc.c: New file.
15494 * benchtests/bench-strcasecmp.c: New file.
15495 * benchtests/bench-strcasestr-ifunc.c: New file.
15496 * benchtests/bench-strcasestr.c: New file.
15497 * benchtests/bench-strcat-ifunc.c: New file.
15498 * benchtests/bench-strcat.c: New file.
15499 * benchtests/bench-strchr-ifunc.c: New file.
15500 * benchtests/bench-strchr.c: New file.
15501 * benchtests/bench-strchrnul-ifunc.c: New file.
15502 * benchtests/bench-strchrnul.c: New file.
15503 * benchtests/bench-strcmp-ifunc.c: New file.
15504 * benchtests/bench-strcmp.c: New file.
15505 * benchtests/bench-strcpy-ifunc.c: New file.
15506 * benchtests/bench-strcpy.c: New file.
15507 * benchtests/bench-strcspn-ifunc.c: New file.
15508 * benchtests/bench-strcspn.c: New file.
15509 * benchtests/bench-strlen-ifunc.c: New file.
15510 * benchtests/bench-strlen.c: New file.
15511 * benchtests/bench-strncasecmp-ifunc.c: New file.
15512 * benchtests/bench-strncasecmp.c: New file.
15513 * benchtests/bench-strncat-ifunc.c: New file.
15514 * benchtests/bench-strncat.c: New file.
15515 * benchtests/bench-strncmp-ifunc.c: New file.
15516 * benchtests/bench-strncmp.c: New file.
15517 * benchtests/bench-strncpy-ifunc.c: New file.
15518 * benchtests/bench-strncpy.c: New file.
15519 * benchtests/bench-strnlen-ifunc.c: New file.
15520 * benchtests/bench-strnlen.c: New file.
15521 * benchtests/bench-strpbrk-ifunc.c: New file.
15522 * benchtests/bench-strpbrk.c: New file.
15523 * benchtests/bench-strrchr-ifunc.c: New file.
15524 * benchtests/bench-strrchr.c: New file.
15525 * benchtests/bench-strspn-ifunc.c: New file.
15526 * benchtests/bench-strspn.c: New file.
15527 * benchtests/bench-strstr-ifunc.c: New file.
15528 * benchtests/bench-strstr.c: New file.
15529
c1f75dc3
SP
15530 * benchtests/Makefile: Disable parallel execution of targets.
15531 (string-bench): Add memcpy.
15532 (benchset): New variable to store a list of benchmark sets.
15533 (bench-func): Renamed from bench.
15534 (bench-set): New target.
15535 (bench): Depend on bench-func and bench-set.
15536 * benchtests/README: Add section on benchmark sets.
15537 * benchtests/bench-memcpy-ifunc.c: New file.
15538 * benchtests/bench-memcpy.c: New file.
15539 * benchtests/bench-string.h: New file.
15540
50fd745b
AS
155412013-06-11 Andreas Schwab <schwab@suse.de>
15542
15543 [BZ #15577]
15544 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15545 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15546 values in the triple.
15547 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15548 terminator in the group key.
15549
3ee7e9fe
AJ
155502013-06-11 Andreas Jaeger <aj@suse.de>
15551
15552 * po/zh_TW.po: Update Chinese (traditional) translation from
15553 translation project.
15554
89fb6835
SP
155552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15556
15557 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15558 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15559 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15560 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15561 (clock_getcpuclockid): Likewise.
15562 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15563 Add weak_alias and libc_hidden_def.
15564 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15565 * rt/clock_gettime.c (clock_gettime): Rename to
15566 __clock_gettime. Add weak_alias and libc_hidden_def.
15567 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15568 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15569 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15570 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15571 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15572 Likewise.
15573 * rt/clock_settime.c (clock_settime): Rename to
15574 __clock_settime. Add weak_alias and libc_hidden_def.
15575 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15576
0efa6f8b
JM
155772013-06-10 Joseph Myers <joseph@codesourcery.com>
15578
b8c61b4b
JM
15579 * mach/err_boot.sub: Remove trailing whitespace.
15580 * mach/err_ipc.sub: Likewise.
15581 * mach/err_mach.sub: Likewise.
15582
0efa6f8b
JM
15583 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15584 (ROUNDING_TESTS_double): Likewise.
15585 (ROUNDING_TESTS_long_double): Likewise.
15586 (ROUNDING_TESTS): Likewise.
15587 * math/libm-test.inc: Include <math-tests.h>.
15588 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15589 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15590 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15591 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15592
50b818bf
SP
155932013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15594
15595 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15596 of assigning.
15597
60d2f8f3
JM
155982013-06-08 Joseph Myers <joseph@codesourcery.com>
15599
4902d2c3
JM
15600 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15601 otherwise empty TRANS lines.
15602 * sysdeps/gnu/errlist.c: Regenerated.
15603
60d2f8f3
JM
15604 * catgets/gencat.c (error_print): Use (void) in function
15605 definition.
15606 * crypt/crypt_util.c (__init_des): Likewise.
15607 * crypt/speeds.c (Stop): Likewise.
15608 (main): Likewise.
15609 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15610 * inet/ruserpass.c (token): Likewise.
15611 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15612 * intl/localealias.c (extend_alias_table): Likewise.
15613 * intl/plural-exp.c (init_germanic_plural): Likewise.
15614 * libio/fcloseall.c (__fcloseall): Likewise.
15615 * libio/genops.c (_IO_flush_all): Likewise.
15616 (_IO_flush_all_linebuffered): Likewise.
15617 (_IO_cleanup): Likewise.
15618 (_IO_iter_begin): Likewise.
15619 (_IO_iter_end): Likewise.
15620 (_IO_list_lock): Likewise.
15621 (_IO_list_unlock): Likewise.
15622 (_IO_list_resetlock): Likewise.
15623 * libio/getchar.c (getchar): Likewise.
15624 * libio/getchar_u.c (getchar_unlocked): Likewise.
15625 * libio/getwchar.c (getwchar): Likewise.
15626 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15627 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15628 * login/getpt.c (__getpt): Likewise.
15629 * login/tst-utmp.c (main): Likewise.
15630 * malloc/hooks.c (__malloc_check_init): Likewise.
15631 * malloc/malloc.c (__malloc_stats): Likewise.
15632 * malloc/mtrace.c (tr_break): Likewise.
15633 (mtrace): Likewise.
15634 (muntrace): Likewise.
15635 * misc/fstab.c (endfsent): Likewise.
15636 * misc/getclktck.c (__getclktck): Likewise.
15637 * misc/getdtsz.c (__getdtablesize): Likewise.
15638 * misc/gethostid.c (gethostid): Likewise.
15639 * misc/getpagesize.c (__getpagesize): Likewise.
15640 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15641 (__get_nprocs): Likewise.
15642 (__get_phys_pages): Likewise.
15643 (__get_avphys_pages): Likewise.
15644 * misc/getttyent.c (getttyent): Likewise.
15645 (setttyent): Likewise.
15646 (endttyent): Likewise.
15647 * misc/getusershell.c (getusershell): Likewise.
15648 (endusershell): Likewise.
15649 (setusershell): Likewise.
15650 (initshells): Likewise.
15651 * misc/hsearch.c (__hdestroy): Likewise.
15652 * misc/sync.c (sync): Likewise.
15653 * misc/syslog.c (closelog_internal): Likewise.
15654 (closelog): Likewise.
15655 * misc/ttyslot.c (ttyslot): Likewise.
15656 * misc/vhangup.c (vhangup): Likewise.
15657 * posix/fork.c (__fork): Likewise.
15658 * posix/getegid.c (__getegid): Likewise.
15659 * posix/geteuid.c (__geteuid): Likewise.
15660 * posix/getgid.c (__getgid): Likewise.
15661 * posix/getpid.c (__getpid): Likewise.
15662 * posix/getppid.c (__getppid): Likewise.
15663 * posix/getuid.c (__getuid): Likewise.
15664 * posix/pause.c (pause): Likewise.
15665 * posix/setpgrp.c (setpgrp): Likewise.
15666 * posix/setsid.c (__setsid): Likewise.
15667 * posix/test-vfork.c (noop): Likewise.
15668 * resolv/gethnamaddr.c (_endhtent): Likewise.
15669 (_gethtent): Likewise.
15670 (ht_endhostent): Likewise.
15671 (gethostent): Likewise.
15672 (dns_service): Likewise.
15673 * stdlib/drand48.c (drand48): Likewise.
15674 * stdlib/lrand48.c (lrand48): Likewise.
15675 * stdlib/mrand48.c (mrand48): Likewise.
15676 * stdlib/rand.c (rand): Likewise.
15677 * stdlib/random.c (__random): Likewise.
15678 * stdlib/setenv.c (clearenv): Likewise.
15679 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15680 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15681 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15682 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15683 (__get_nprocs): Likewise.
15684 (__get_phys_pages): Likewise.
15685 (__get_avphys_pages): Likewise.
15686 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15687 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15688 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15689 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15690 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15691 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15692 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15693 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15694 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15695 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15696 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15697 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15698 * sysdeps/posix/clock.c (clock): Likewise.
15699 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15700 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15701 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15702 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15703 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15704 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15705 (__get_nprocs_conf): Likewise.
15706 (__get_phys_pages): Likewise.
15707 (__get_avphys_pages): Likewise.
15708 * time/clock.c (clock): Likewise.
15709 * time/tzset.c (__tzname_max): Likewise.
15710
2e09a79a
JM
157112013-06-07 Joseph Myers <joseph@codesourcery.com>
15712
15713 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15714 (__bswap_32): Do not use "register".
15715 * crypt/crypt.c (_ufc_doit_r): Likewise.
15716 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15717 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15718 * gmon/gmon.c (__monstartup): Likewise.
15719 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15720 * hurd/hurdmalloc.c (more_memory): Likewise.
15721 (malloc): Likewise.
15722 (free): Likewise.
15723 (realloc): Likewise.
15724 (malloc_fork_prepare): Likewise.
15725 (malloc_fork_parent): Likewise.
15726 (malloc_fork_child): Likewise.
15727 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15728 (_svcauth_des): Likewise.
15729 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15730 * inet/inet_net.c (inet_network): Likewise.
15731 * inet/inet_netof.c (inet_netof): Likewise.
15732 * inet/rcmd.c (__validuser2_sa): Likewise.
15733 * io/fts.c (fts_open): Likewise.
15734 (fts_load): Likewise.
15735 (fts_close): Likewise.
15736 (fts_read): Likewise.
15737 (fts_children): Likewise.
15738 (fts_build): Likewise.
15739 (fts_stat): Likewise.
15740 (fts_sort): Likewise.
15741 (fts_alloc): Likewise.
15742 (fts_lfree): Likewise.
15743 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15744 (_IO_file_xsgetn): Likewise.
15745 (_IO_file_xsgetn_mmap): Likewise.
15746 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15747 (_IO_cookie_write): Likewise.
15748 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15749 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15750 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15751 * malloc/obstack.c (_obstack_begin): Likewise.
15752 (_obstack_begin_1): Likewise.
15753 (_obstack_newchunk): Likewise.
15754 (_obstack_allocated_p): Likewise.
15755 (obstack_free): Likewise.
15756 (_obstack_memory_used): Likewise.
15757 * misc/getttyent.c (getttynam): Likewise.
15758 (getttyent): Likewise.
15759 (skip): Likewise.
15760 (value): Likewise.
15761 * misc/getusershell.c (initshells): Likewise.
15762 * misc/syslog.c (__vsyslog_chk): Likewise.
15763 * misc/ttyslot.c (ttyslot): Likewise.
15764 * nis/nis_hash.c (__nis_hash): Likewise.
15765 * posix/fnmatch_loop.c (FCT): Likewise.
15766 * posix/getconf.c (print_all): Likewise.
15767 (main): Likewise.
15768 * posix/getopt.c (exchange): Likewise.
15769 * posix/glob.c (globfree): Likewise.
15770 (prefix_array): Likewise.
15771 (__glob_pattern_type): Likewise.
15772 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15773 (NS_GET32): Likewise.
15774 (NS_PUT16): Likewise.
15775 (NS_PUT32): Likewise.
15776 * resolv/gethnamaddr.c (getanswer): Likewise.
15777 (gethostbyname2): Likewise.
15778 (gethostbyaddr): Likewise.
15779 (_gethtent): Likewise.
15780 (_gethtbyname2): Likewise.
15781 (_gethtbyaddr): Likewise.
15782 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15783 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15784 * resolv/res_init.c (__res_vinit): Likewise.
15785 (net_mask): Likewise.
15786 * resolv/res_mkquery.c (outchar): Likewise.
15787 (PRINT): Likewise.
15788 * stdio-common/printf_fp.c (outchar): Likewise.
15789 (PRINT): Likewise.
15790 * stdio-common/printf_fphex.c (outchar): Likewise.
15791 (PRINT): Likewise.
15792 * stdio-common/printf_size.c (outchar): Likewise.
15793 (PRINT): Likewise.
15794 * stdio-common/test_rdwr.c (main): Likewise.
15795 * stdio-common/tfformat.c (matches): Likewise.
15796 * stdio-common/vfprintf.c (outchar): Likewise.
15797 (printf_unknown): Likewise.
15798 (buffered_vfprintf): Likewise.
15799 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15800 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15801 (ReadFile): Likewise.
15802 * stdlib/qsort.c (SWAP): Likewise.
15803 (_quicksort): Likewise.
15804 * stdlib/setenv.c (__add_to_environ): Likewise.
15805 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15806 * stdlib/strtol_l.c (__strtol_l): Likewise.
15807 * stdlib/tst-strtod.c (main): Likewise.
15808 * stdlib/tst-strtol.c (main): Likewise.
15809 * stdlib/tst-strtoll.c (main): Likewise.
15810 * string/bits/string2.h (__strcmp_cc): Likewise.
15811 (__strcmp_cg): Likewise.
15812 (__strcspn_c1): Likewise.
15813 (__strcspn_c2): Likewise.
15814 (__strcspn_c3): Likewise.
15815 (__strspn_c1): Likewise.
15816 (__strspn_c2): Likewise.
15817 (__strspn_c3): Likewise.
15818 (__strsep_1c): Likewise.
15819 (__strsep_2c): Likewise.
15820 (__strsep_3c): Likewise.
15821 * string/memccpy.c (__memccpy): Likewise.
15822 * string/stpcpy.c (__stpcpy): Likewise.
15823 * string/strcmp.c (strcmp): Likewise.
15824 * string/strrchr.c (strrchr): Likewise.
15825 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15826 Likewise.
15827 * sysdeps/mach/hurd/getcwd.c
15828 (_hurd_canonicalize_directory_name_internal): Likewise.
15829 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15830 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15831 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15832 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15833 Likewise, in both definitions.
15834 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15835 definitions.
15836 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15837 64] (__bswap_64): Likewise.
15838 * time/test_time.c (main): Likewise.
15839 * time/tzfile.c (__tzfile_read): Likewise.
15840 (__tzfile_compute): Likewise.
15841 * time/tzset.c (__tzset_parse_tz): Likewise.
15842 (tzset_internal): Likewise.
15843 (compute_change): Likewise.
15844 * wcsmbs/wcscat.c (__wcscat): Likewise.
15845 * wcsmbs/wcschr.c (wcschr): Likewise.
15846 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15847 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15848 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15849 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15850 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15851 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15852 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15853 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15854 * wcsmbs/wmemset.c (wmemset): Likewise.
15855
9e54314b
JM
158562013-06-06 Joseph Myers <joseph@codesourcery.com>
15857
15858 * scripts/config.guess: Update to version 2013-05-16.
15859 * scripts/config.sub: Update to version 2013-04-24.
15860 * scripts/install-sh: Update to version 2011-11-20.07.
15861 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15862 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15863
350635a5
OB
158642013-06-06 Ondřej Bílka <neleai@seznam.cz>
15865
15866 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15867 * elf/sln.c: Likewise.
15868 * hurd/hurd/ioctl.h: Likewise.
15869 * hurd/hurdmalloc.c: Likewise.
15870 * hurd/xattr.c: Likewise.
15871 * include/shlib-compat.h: Likewise.
15872 * inet/ruserpass.c: Likewise.
15873 * libio/iofgets_u.c: Likewise.
15874 * libio/iofgetws_u.c: Likewise.
15875 * locale/programs/ld-identification.c: Likewise.
15876 * locale/programs/ld-time.c: Likewise.
15877 * mach/msg-destroy.c: Likewise.
15878 * nss/nss_files/files-netgrp.c: Likewise.
15879 * resolv/res_data.c: Likewise.
15880 * soft-fp/op-1.h: Likewise.
15881 * soft-fp/op-2.h: Likewise.
15882 * soft-fp/op-4.h: Likewise.
15883 * soft-fp/op-common.h: Likewise.
15884 * stdio-common/printf_fphex.c: Likewise.
15885 * stdlib/strtod_l.c: Likewise.
15886 * sunrpc/rpc/clnt.h: Likewise.
15887 * sysdeps/generic/framestate.c: Likewise.
15888 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15889 * sysdeps/i386/bsd-setjmp.S: Likewise.
15890 * sysdeps/i386/__longjmp.S: Likewise.
15891 * sysdeps/i386/setjmp.S: Likewise.
15892 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15893 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15894 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15895 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15896 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15897 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15898 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15899 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15900 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15901 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15902 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15903 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15904 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15905 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15906 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15907 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15908 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15909 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15910 * sysdeps/ieee754/support.c: Likewise.
15911 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15912 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15913 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15914 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15915 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15916 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15917 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15918 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15919 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15920 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15921 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15922 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15923 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15924 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15925 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15926 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15927 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15929
44a988af
OB
159302013-06-05 Ondřej Bílka <neleai@seznam.cz>
15931
25506f09 15932 * posix/transbug.c: Remove executable mode.
44a988af 15933
9c84384c
JM
159342013-06-05 Joseph Myers <joseph@codesourcery.com>
15935
15936 * crypt/speeds.c: Remove trailing whitespace.
15937 * dlfcn/default.c: Likewise.
15938 * elf/ifuncdep2.c: Likewise.
15939 * elf/ifuncmain1.c: Likewise.
15940 * elf/ifuncmain1vis.c: Likewise.
15941 * elf/testobj.h: Likewise.
15942 * elf/tst-stackguard1.c: Likewise.
15943 * gmon/sys/gmon.h: Likewise.
15944 * hurd/hurdmsg.c: Likewise.
15945 * hurd/new-fd.c: Likewise.
15946 * hurd/ports-get.c: Likewise.
15947 * iconvdata/ibm1008_420.c: Likewise.
15948 * inet/tst-getni1.c: Likewise.
15949 * inet/tst-getni2.c: Likewise.
15950 * libio/ioungetc.c: Likewise.
15951 * libio/wfiledoalloc.c: Likewise.
15952 * manual/libm-err-tab.pl: Likewise.
15953 * math/w_dremf.c: Likewise.
15954 * misc/ftruncate.c: Likewise.
15955 * posix/bug-glob2.c: Likewise.
15956 * posix/tst-pcre.c: Likewise.
15957 * posix/wait4.c: Likewise.
15958 * resolv/README: Likewise.
15959 * resolv/res_debug.h: Likewise.
15960 * resolv/tst-inet_ntop.c: Likewise.
15961 * setjmp/bug269-setjmp.c: Likewise.
15962 * soft-fp/extended.h: Likewise.
15963 * soft-fp/op-1.h: Likewise.
15964 * soft-fp/op-2.h: Likewise.
15965 * soft-fp/op-4.h: Likewise.
15966 * soft-fp/op-8.h: Likewise.
15967 * soft-fp/testit.c: Likewise.
15968 * stdio-common/bug16.c: Likewise.
15969 * stdlib/random.c: Likewise.
15970 * sunrpc/rpcsvc/rquota.x: Likewise.
15971 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15972 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15973 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15974 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15975 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15976 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15977 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15978 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15979 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15980 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15981 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15982 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15983 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15984 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15985 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15986 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15987 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15988 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15989 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15990 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15991 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15992 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15993 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15994 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15995 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15996 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15997 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15998 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15999 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16000 * sysdeps/ieee754/s_lib_version.c: Likewise.
16001 * sysdeps/mach/hurd/check_fds.c: Likewise.
16002 * sysdeps/mach/hurd/getsockname.c: Likewise.
16003 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16004 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16005 * sysdeps/powerpc/bits/link.h: Likewise.
16006 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16007 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16008 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16009 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16010 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16011 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16012 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16013 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16014 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16015 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16016 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16017 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16018 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16019 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16020 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16021 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16022 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16023 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16024 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16025 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16026 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16027 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16028 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16029 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16030 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16031 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16032 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16033 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16034 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16035 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16036 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16037 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16038 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16039 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16040 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16041 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16042 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16043 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16044 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16045 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16046 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16047 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16048 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16049 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16050 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16051 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16052 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16053 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16054 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16055 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16056 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16057 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16058 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16059 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16060 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16061 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16062 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16063 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16064 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16065 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16066 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16067 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16068 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16069 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16070 * sysdeps/powerpc/sysdep.h: Likewise.
16071 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16072 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16073 * sysdeps/sh/dl-trampoline.S: Likewise.
16074 * sysdeps/sh/memset.S: Likewise.
16075 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16076 * sysdeps/sh/strlen.S: Likewise.
16077 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16078 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16079 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16080 * sysdeps/sparc/sparc32/rem.S: Likewise.
16081 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16082 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16083 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16084 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16085 * sysdeps/sparc/sparc32/urem.S: Likewise.
16086 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16087 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16088 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16089 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16090 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16091 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16092 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16093 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16094 * sysdeps/unix/bsd/times.c: Likewise.
16095 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16096 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16100 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16101 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16102 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16103 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16104 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16105 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16106 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16107 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16108 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16109 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16110 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16111 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16112 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16113 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16114 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16115 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16116 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16117 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16118 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16119 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16120 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16121 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16122 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16123 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16124 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16125 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16126 * sysdeps/x86_64/strcspn.S: Likewise.
16127
869378a5
RA
161282013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16129
16130 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16131 generated file. Regenerate properly from gen-translit.pl.
16132 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16133 locale/C-translit.h.
16134
840e2943
AS
161352013-06-05 Andreas Schwab <schwab@suse.de>
16136
16137 [BZ #15100]
16138 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16139 week as 6 instead of -1.
16140 * time/tst-strptime.c (day_tests): Add test case.
16141
4c60cb0c
SP
161422013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16143
16144 * sysdeps/generic/math_private.h
16145 (libc_feholdexcept_setround_53bit): Replace with
16146 libc_feholdsetround_53bit.
16147 (libc_feupdateenv_53bit): Replace with
16148 libc_feresetround_53bit.
16149 (SET_RESTORE_ROUND_53BIT): Adjust.
16150
d180203e
SP
161512013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16152
96df079a
SP
16153 * string/test-strchrnul.c: Add copyright header.
16154
d180203e
SP
16155 * posix/tst-getaddrinfo4.c: Increase test timeout.
16156
8b0ccb2d
CD
161572013-06-03 Carlos O'Donell <carlos@redhat.com>
16158
16159 [BZ #15536]
16160 * math/libm-test.inc (MAX_EXP): Remove
16161 (MIN_EXP): Define.
16162 (ulp): Use MIN_EXP - MANT_DIG.
16163 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16164
3b3c4d40
CD
161652013-05-31 Carlos O'Donell <carlos@redhat.com>
16166
16167 * po/be.po: Revert last change.
16168 * po/zh_CN.po: Likewise.
16169 * po/header.pot: Likewise.
16170
fab7ce3f
JM
161712013-05-31 Joseph Myers <joseph@codesourcery.com>
16172
16173 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16174 link-libc-deps to empty as target-specific variable.
16175 * Makerules (link-libc-args): New variable.
16176 (libc-for-link): Likewise.
16177 (link-libc-deps): Likewise.
16178 (lib%.so): Depend on $(link-libc-deps). Link with
16179 $(link-libc-args).
16180 (build-module): Link with $(link-libc-args).
16181 (build-module-asneeded): Likewise.
16182 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16183 list of objects.
16184 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16185 target-specific variable.
16186 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16187 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16188 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16189 libc.
16190 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16191 libc and ld.so.
16192 ($(objpfx)libpcprofile.so): Likewise.
16193 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16194 libc_nonshared.a.
16195 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16196 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16197 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16198 $(link-libc-deps).
16199 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16200 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16201 * login/Makefile ($(objpfx)libutil.so): Likewise.
16202 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16203 * math/Makefile ($(objpfx)libm.so): Likewise.
16204 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16205 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16206 variable instead of depending directly on libc.
16207 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16208 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16209 $(link-libc-deps).
16210 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16211 libc.
16212 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16213 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16214 ($(objpfx)libanl.so): Likewise.
16215 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16216 ld.so.
16217 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16218 $(link-libc-deps).
16219 * sysdeps/i386/fpu/Makefile: Remove file.
16220 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16221 ($(objpfx)libm.so): Remove dependency on ld.so.
16222
eca5920c
PF
162232013-05-30 Patsy Franklin <pfrankli@redhat.com>
16224
16225 [BZ # 15553]
16226 * nis/yp_xdr.c (XDRMAXNAME): Define.
16227 (XDRMAXRECORD): Define.
16228 (xdr_domainname): Use XDRMAXNAME.
16229 (xdr_mapname): Likewise.
16230 (xdr_peername): Likewise.
16231 (xdr_keydat): Use XDRMAXRECORD.
16232 (xdr_valdat): Likewise.
16233
162342013-05-30 Jeff Law <law@redhat.com>
96945714
JL
16235
16236 [BZ #14256]
16237 * manual/errno.texi (ESTALE): Update to account for more than
16238 just NFS file systems.
16239 * sysdeps/gnu/errlist.c: Regenerated.
16240
b9375348
SP
162412013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16242
16243 [BZ #15465]
16244 * elf/Makefile (tests): Add tst-null-argv.
16245 (modules-names): Add tst-null-argv-lib.
16246 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16247 (tst-null-argv-ENV): Set environment for tst-null-argv.
16248 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16249 (RTLD_PROGNAME): New macro.
16250 * elf/tst-null-argv.c: New test case.
16251 * elf/tst-null-argv-lib.c: Library for test case.
16252 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16253 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16254 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16255 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16256 * elf/dl-init.c (call_init): Likewise.
16257 (_dl_init): Likewise.
16258 * elf/dl-load.c (print_search_path): Likewise.
16259 (_dl_map_object): Likewise.
16260 * elf/dl-lookup.c (do_lookup_x): Likewise.
16261 (add_dependency): Likewise.
16262 (_dl_lookup_symbol_x): Likewise.
16263 (_dl_debug_bindings): Likewise.
16264 * elf/dl-open.c (_dl_show_scope): Likewise.
16265 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16266 * elf/dl-version.c (match_symbol): Likewise.
16267 (_dl_check_map_versions): Likewise.
16268 * elf/rtld.c (dl_main): Likewise.
16269 (print_unresolved): Use RTLD_PROGNAME.
16270 (print_missing_version): Likewise.
16271 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16272 (elf_machine_rela): Likewise.
16273 * sysdeps/powerpc/powerpc32/dl-machine.c
16274 (__process_machine_rela): Likewise.
16275 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16276 Likewise.
16277 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16278 Likewise.
16279 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16280 Likewise.
16281 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16282 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16283 Likewise.
16284 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16285 Likewise.
16286 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16287
8a9f20c8
CD
162882013-05-28 Carlos O'Donell <carlos@redhat.com>
16289
16290 * po/be.po: Add descriptive title.
16291 * po/zh_CN.po: Likewise.
16292 * po/header.pot: Likewise.
16293
0e60d68e
MF
162942013-05-28 Mike Frysinger <vapier@gentoo.org>
16295
16296 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16297 error message.
16298 (enlarge_archive): Likewise.
16299
56b672e9
BN
163002013-05-28 Ben North <ben@redfrontdoor.org>
16301
16302 * manual/arith.texi (frexp): It is the magnitude of the return
16303 value which lies in [0.5, 1), not the return value itself.
16304
5e056687
AZ
163052013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16306
16307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16308
2b66ef5d
TS
163092013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16310
528c2405
TS
16311 * stdio-common/bug26.c (main): Correct fscanf template.
16312
07b4c13d
TS
16313 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16314 declare _dl_skip_args.
16315
ec9dd97c
TS
16316 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16317 Don't declare.
16318
2b66ef5d
TS
16319 * manual/platform.texi: Add missing @end deftypefun.
16320
4f8dfe27
JM
163212013-05-24 Joseph Myers <joseph@codesourcery.com>
16322
0323d086
JM
16323 [BZ #15529]
16324 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16325 bit of mantissa of 2^16382.
16326 * math/libm-test.inc (hypot_test_data): Add more tests.
16327
dd4259b9
JM
16328 * math/libm-test.inc: Add drem and pow10 to list of tested
16329 functions.
16330 (pow10_test): New function.
16331 (drem_test): Likewise.
16332 (drem_test_tonearest): Likewise.
16333 (drem_test_towardzero): Likewise.
16334 (drem_test_downward): Likewise.
16335 (drem_test_upward): Likewise.
16336 (main): Call the new functions.
16337
4f8dfe27
JM
16338 * math/libm-test.inc (finite_test_data): Remove.
16339 (finite_test): Run tests from isfinite_test_data.
16340 (gamma_test_data): Remove.
16341 (gamma_test): Run tests from lgamma_test_data.
16342 * sysdeps/i386/fpu/libm-test-ulps: Update.
16343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16344
d116b7c4
AZ
163452013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16346
16347 * manual/platform.texi: Add PowerPC PPR function set documentation.
16348 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16349 implementation.
16350
e96e3767
CD
163512013-05-24 Carlos O'Donell <carlos@redhat.com>
16352
16353 * math/libm-test.inc (MAX_EXP): Define.
16354 (ULPDIFF): Define.
16355 (ulp): New function.
16356 (check_float_internal): Use ULPDIFF.
16357 (cpow_test): Disable failing test.
16358 (check_ulp): Test ulp() implemetnation.
16359 (main): Call check_ulp before starting tests.
16360
b679a606
JM
163612013-05-24 Joseph Myers <joseph@codesourcery.com>
16362
e8bdba36
JM
16363 * math/gen-libm-test.pl (generate_testfile): Do not handle
16364 START_DATA and END_DATA.
16365 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16366 END_DATA.
16367 (acos_tonearest_test_data): Likewise.
16368 (acos_towardzero_test_data): Likewise.
16369 (acos_downward_test_data): Likewise.
16370 (acos_upward_test_data): Likewise.
16371 (acosh_test_data): Likewise.
16372 (asin_test_data): Likewise.
16373 (asin_tonearest_test_data): Likewise.
16374 (asin_towardzero_test_data): Likewise.
16375 (asin_downward_test_data): Likewise.
16376 (asin_upward_test_data): Likewise.
16377 (asinh_test_data): Likewise.
16378 (atan_test_data): Likewise.
16379 (atanh_test_data): Likewise.
16380 (atan2_test_data): Likewise.
16381 (cabs_test_data): Likewise.
16382 (cacos_test_data): Likewise.
16383 (cacosh_test_data): Likewise.
16384 (carg_test_data): Likewise.
16385 (casin_test_data): Likewise.
16386 (casinh_test_data): Likewise.
16387 (catan_test_data): Likewise.
16388 (catanh_test_data): Likewise.
16389 (cbrt_test_data): Likewise.
16390 (ccos_test_data): Likewise.
16391 (ccosh_test_data): Likewise.
16392 (ceil_test_data): Likewise.
16393 (cexp_test_data): Likewise.
16394 (cimag_test_data): Likewise.
16395 (clog_test_data): Likewise.
16396 (clog10_test_data): Likewise.
16397 (conj_test_data): Likewise.
16398 (copysign_test_data): Likewise.
16399 (cos_test_data): Likewise.
16400 (cos_tonearest_test_data): Likewise.
16401 (cos_towardzero_test_data): Likewise.
16402 (cos_downward_test_data): Likewise.
16403 (cos_upward_test_data): Likewise.
16404 (cosh_test_data): Likewise.
16405 (cosh_tonearest_test_data): Likewise.
16406 (cosh_towardzero_test_data): Likewise.
16407 (cosh_downward_test_data): Likewise.
16408 (cosh_upward_test_data): Likewise.
16409 (cpow_test_data): Likewise.
16410 (cproj_test_data): Likewise.
16411 (creal_test_data): Likewise.
16412 (csin_test_data): Likewise.
16413 (csinh_test_data): Likewise.
16414 (csqrt_test_data): Likewise.
16415 (ctan_test_data): Likewise.
16416 (ctan_tonearest_test_data): Likewise.
16417 (ctan_towardzero_test_data): Likewise.
16418 (ctan_downward_test_data): Likewise.
16419 (ctan_upward_test_data): Likewise.
16420 (ctanh_test_data): Likewise.
16421 (ctanh_tonearest_test_data): Likewise.
16422 (ctanh_towardzero_test_data): Likewise.
16423 (ctanh_downward_test_data): Likewise.
16424 (ctanh_upward_test_data): Likewise.
16425 (erf_test_data): Likewise.
16426 (erfc_test_data): Likewise.
16427 (exp_test_data): Likewise.
16428 (exp_tonearest_test_data): Likewise.
16429 (exp_towardzero_test_data): Likewise.
16430 (exp_downward_test_data): Likewise.
16431 (exp_upward_test_data): Likewise.
16432 (exp10_test_data): Likewise.
16433 (exp2_test_data): Likewise.
16434 (expm1_test_data): Likewise.
16435 (fabs_test_data): Likewise.
16436 (fdim_test_data): Likewise.
16437 (finite_test_data): Likewise.
16438 (floor_test_data): Likewise.
16439 (fma_test_data): Likewise.
16440 (fma_towardzero_test_data): Likewise.
16441 (fma_downward_test_data): Likewise.
16442 (fma_upward_test_data): Likewise.
16443 (fmax_test_data): Likewise.
16444 (fmin_test_data): Likewise.
16445 (fmod_test_data): Likewise.
16446 (fpclassify_test_data): Likewise.
16447 (frexp_test_data): Likewise.
16448 (gamma_test_data): Likewise.
16449 (hypot_test_data): Likewise.
16450 (ilogb_test_data): Likewise.
16451 (isfinite_test_data): Likewise.
16452 (isgreater_test_data): Likewise.
16453 (isgreaterequal_test_data): Likewise.
16454 (isinf_test_data): Likewise.
16455 (isless_test_data): Likewise.
16456 (islessequal_test_data): Likewise.
16457 (islessgreater_test_data): Likewise.
16458 (isnan_test_data): Likewise.
16459 (isnormal_test_data): Likewise.
16460 (issignaling_test_data): Likewise.
16461 (isunordered_test_data): Likewise.
16462 (j0_test_data): Likewise.
16463 (j1_test_data): Likewise.
16464 (jn_test_data): Likewise.
16465 (ldexp_test_data): Likewise.
16466 (lgamma_test_data): Likewise.
16467 (lrint_test_data): Likewise.
16468 (lrint_tonearest_test_data): Likewise.
16469 (lrint_towardzero_test_data): Likewise.
16470 (lrint_downward_test_data): Likewise.
16471 (lrint_upward_test_data): Likewise.
16472 (llrint_test_data): Likewise.
16473 (llrint_tonearest_test_data): Likewise.
16474 (llrint_towardzero_test_data): Likewise.
16475 (llrint_downward_test_data): Likewise.
16476 (llrint_upward_test_data): Likewise.
16477 (log_test_data): Likewise.
16478 (log10_test_data): Likewise.
16479 (log1p_test_data): Likewise.
16480 (log2_test_data): Likewise.
16481 (logb_test_data): Likewise.
16482 (logb_downward_test_data): Likewise.
16483 (lround_test_data): Likewise.
16484 (llround_test_data): Likewise.
16485 (modf_test_data): Likewise.
16486 (nearbyint_test_data): Likewise.
16487 (nextafter_test_data): Likewise.
16488 (nexttoward_test_data): Likewise.
16489 (pow_test_data): Likewise.
16490 (pow_tonearest_test_data): Likewise.
16491 (pow_towardzero_test_data): Likewise.
16492 (pow_downward_test_data): Likewise.
16493 (pow_upward_test_data): Likewise.
16494 (remainder_test_data): Likewise.
16495 (remainder_tonearest_test_data): Likewise.
16496 (remainder_towardzero_test_data): Likewise.
16497 (remainder_downward_test_data): Likewise.
16498 (remainder_upward_test_data): Likewise.
16499 (remquo_test_data): Likewise.
16500 (rint_test_data): Likewise.
16501 (rint_tonearest_test_data): Likewise.
16502 (rint_towardzero_test_data): Likewise.
16503 (rint_downward_test_data): Likewise.
16504 (rint_upward_test_data): Likewise.
16505 (round_test_data): Likewise.
16506 (scalb_test_data): Likewise.
16507 (scalbn_test_data): Likewise.
16508 (scalbln_test_data): Likewise.
16509 (signbit_test_data): Likewise.
16510 (sin_test_data): Likewise.
16511 (sin_tonearest_test_data): Likewise.
16512 (sin_towardzero_test_data): Likewise.
16513 (sin_downward_test_data): Likewise.
16514 (sin_upward_test_data): Likewise.
16515 (sincos_test_data): Likewise.
16516 (sinh_test_data): Likewise.
16517 (sinh_tonearest_test_data): Likewise.
16518 (sinh_towardzero_test_data): Likewise.
16519 (sinh_downward_test_data): Likewise.
16520 (sinh_upward_test_data): Likewise.
16521 (sqrt_test_data): Likewise.
16522 (tan_test_data): Likewise.
16523 (tan_tonearest_test_data): Likewise.
16524 (tan_towardzero_test_data): Likewise.
16525 (tan_downward_test_data): Likewise.
16526 (tan_upward_test_data): Likewise.
16527 (tanh_test_data): Likewise.
16528 (tgamma_test_data): Likewise.
16529 (trunc_test_data): Likewise.
16530 (y0_test_data): Likewise.
16531 (y1_test_data): Likewise.
16532 (yn_test_data): Likewise.
16533 (significand_test_data): Likewise.
16534
b679a606
JM
16535 * math/gen-libm-test.pl (@functions): Remove variable.
16536 (generate_testfile): Don't handle START and END lines.
16537 * math/libm-test.inc (START): New macro.
16538 (END): Likewise.
16539 (END_COMPLEX): Likewise.
16540 (acos_test): Use END macro without arguments.
16541 (acos_test_tonearest): Likewise.
16542 (acos_test_towardzero): Likewise.
16543 (acos_test_downward): Likewise.
16544 (acos_test_upward): Likewise.
16545 (acosh_test): Likewise.
16546 (asin_test): Likewise.
16547 (asin_test_tonearest): Likewise.
16548 (asin_test_towardzero): Likewise.
16549 (asin_test_downward): Likewise.
16550 (asin_test_upward): Likewise.
16551 (asinh_test): Likewise.
16552 (atan_test): Likewise.
16553 (atanh_test): Likewise.
16554 (atan2_test): Likewise.
16555 (cabs_test): Likewise.
16556 (cacos_test): Use END_COMPLEX macro without arguments.
16557 (cacosh_test): Likewise.
16558 (carg_test): Use END macro without arguments.
16559 (casin_test): Use END_COMPLEX macro without arguments.
16560 (casinh_test): Likewise.
16561 (catan_test): Likewise.
16562 (catanh_test): Likewise.
16563 (cbrt_test): Use END macro without arguments.
16564 (ccos_test): Use END_COMPLEX macro without arguments.
16565 (ccosh_test): Likewise.
16566 (ceil_test): Use END macro without arguments.
16567 (cexp_test): Use END_COMPLEX macro without arguments.
16568 (cimag_test): Use END macro without arguments.
16569 (clog_test): Use END_COMPLEX macro without arguments.
16570 (clog10_test): Likewise.
16571 (conj_test): Likewise.
16572 (copysign_test): Use END macro without arguments.
16573 (cos_test): Likewise.
16574 (cos_test_tonearest): Likewise.
16575 (cos_test_towardzero): Likewise.
16576 (cos_test_downward): Likewise.
16577 (cos_test_upward): Likewise.
16578 (cosh_test): Likewise.
16579 (cosh_test_tonearest): Likewise.
16580 (cosh_test_towardzero): Likewise.
16581 (cosh_test_downward): Likewise.
16582 (cosh_test_upward): Likewise.
16583 (cpow_test): Use END_COMPLEX macro without arguments.
16584 (cproj_test): Likewise.
16585 (creal_test): Use END macro without arguments.
16586 (csin_test): Use END_COMPLEX macro without arguments.
16587 (csinh_test): Likewise.
16588 (csqrt_test): Likewise.
16589 (ctan_test): Likewise.
16590 (ctan_test_tonearest): Likewise.
16591 (ctan_test_towardzero): Likewise.
16592 (ctan_test_downward): Likewise.
16593 (ctan_test_upward): Likewise.
16594 (ctanh_test): Likewise.
16595 (ctanh_test_tonearest): Likewise.
16596 (ctanh_test_towardzero): Likewise.
16597 (ctanh_test_downward): Likewise.
16598 (ctanh_test_upward): Likewise.
16599 (erf_test): Use END macro without arguments.
16600 (erfc_test): Likewise.
16601 (exp_test): Likewise.
16602 (exp_test_tonearest): Likewise.
16603 (exp_test_towardzero): Likewise.
16604 (exp_test_downward): Likewise.
16605 (exp_test_upward): Likewise.
16606 (exp10_test): Likewise.
16607 (exp2_test): Likewise.
16608 (expm1_test): Likewise.
16609 (fabs_test): Likewise.
16610 (fdim_test): Likewise.
16611 (finite_test): Likewise.
16612 (floor_test): Likewise.
16613 (fma_test): Likewise.
16614 (fma_test_towardzero): Likewise.
16615 (fma_test_downward): Likewise.
16616 (fma_test_upward): Likewise.
16617 (fmax_test): Likewise.
16618 (fmin_test): Likewise.
16619 (fmod_test): Likewise.
16620 (fpclassify_test): Likewise.
16621 (frexp_test): Likewise.
16622 (gamma_test): Likewise.
16623 (hypot_test): Likewise.
16624 (ilogb_test): Likewise.
16625 (isfinite_test): Likewise.
16626 (isgreater_test): Likewise.
16627 (isgreaterequal_test): Likewise.
16628 (isinf_test): Likewise.
16629 (isless_test): Likewise.
16630 (islessequal_test): Likewise.
16631 (islessgreater_test): Likewise.
16632 (isnan_test): Likewise.
16633 (isnormal_test): Likewise.
16634 (issignaling_test): Likewise.
16635 (isunordered_test): Likewise.
16636 (j0_test): Likewise.
16637 (j1_test): Likewise.
16638 (jn_test): Likewise.
16639 (ldexp_test): Likewise.
16640 (lgamma_test): Likewise.
16641 (lrint_test): Likewise.
16642 (lrint_test_tonearest): Likewise.
16643 (lrint_test_towardzero): Likewise.
16644 (lrint_test_downward): Likewise.
16645 (lrint_test_upward): Likewise.
16646 (llrint_test): Likewise.
16647 (llrint_test_tonearest): Likewise.
16648 (llrint_test_towardzero): Likewise.
16649 (llrint_test_downward): Likewise.
16650 (llrint_test_upward): Likewise.
16651 (log_test): Likewise.
16652 (log10_test): Likewise.
16653 (log1p_test): Likewise.
16654 (log2_test): Likewise.
16655 (logb_test): Likewise.
16656 (logb_test_downward): Likewise.
16657 (lround_test): Likewise.
16658 (llround_test): Likewise.
16659 (modf_test): Likewise.
16660 (nearbyint_test): Likewise.
16661 (nextafter_test): Likewise.
16662 (nexttoward_test): Likewise.
16663 (pow_test): Likewise.
16664 (pow_test_tonearest): Likewise.
16665 (pow_test_towardzero): Likewise.
16666 (pow_test_downward): Likewise.
16667 (pow_test_upward): Likewise.
16668 (remainder_test): Likewise.
16669 (remainder_test_tonearest): Likewise.
16670 (remainder_test_towardzero): Likewise.
16671 (remainder_test_downward): Likewise.
16672 (remainder_test_upward): Likewise.
16673 (remquo_test): Likewise.
16674 (rint_test): Likewise.
16675 (rint_test_tonearest): Likewise.
16676 (rint_test_towardzero): Likewise.
16677 (rint_test_downward): Likewise.
16678 (rint_test_upward): Likewise.
16679 (round_test): Likewise.
16680 (scalb_test): Likewise.
16681 (scalbn_test): Likewise.
16682 (scalbln_test): Likewise.
16683 (signbit_test): Likewise.
16684 (sin_test): Likewise.
16685 (sin_test_tonearest): Likewise.
16686 (sin_test_towardzero): Likewise.
16687 (sin_test_downward): Likewise.
16688 (sin_test_upward): Likewise.
16689 (sincos_test): Likewise.
16690 (sinh_test): Likewise.
16691 (sinh_test_tonearest): Likewise.
16692 (sinh_test_towardzero): Likewise.
16693 (sinh_test_downward): Likewise.
16694 (sinh_test_upward): Likewise.
16695 (sqrt_test): Likewise.
16696 (tan_test): Likewise.
16697 (tan_test_tonearest): Likewise.
16698 (tan_test_towardzero): Likewise.
16699 (tan_test_downward): Likewise.
16700 (tan_test_upward): Likewise.
16701 (tanh_test): Likewise.
16702 (tgamma_test): Likewise.
16703 (trunc_test): Likewise.
16704 (y0_test): Likewise.
16705 (y1_test): Likewise.
16706 (yn_test): Likewise.
16707 (significand_test): Likewise.
16708
bae143d2
OB
167092013-05-24 Ondřej Bílka <neleai@seznam.cz>
16710
16711 [BZ #15381]
16712 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16713
9323d39b
EM
167142013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16715
d4ea44a0 16716 [BZ #14894]
9323d39b
EM
16717 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16718 __ppc_mdoio and __ppc_mdoom.
16719 * manual/platform.texi: Document new functions __ppc_yield,
16720 __ppc_mdoio and __ppc_mdoom.
16721
13e23af7
CD
167222013-05-22 Carlos O'Donell <carlos@redhat.com>
16723
16724 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16725 (main): Mention "tls" pseudo-hwcap is legacy.
16726 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16727
351fe550
JM
167282013-05-22 Joseph Myers <joseph@codesourcery.com>
16729
16730 * math/gen-libm-test.pl (parse_args): Output only string of
16731 arguments as text for test name, not full call or descriptions of
16732 tests for extra outputs.
16733 (generate_testfile): Do not pass function name to parse_args.
16734 Generate this_func variable from START.
16735 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16736 field to arg_str.
16737 (struct test_ff_f_data): Likewise.
16738 (test_ff_f_data_nexttoward): Likewise.
16739 (struct test_fi_f_data): Likewise.
16740 (struct test_fl_f_data): Likewise.
16741 (struct test_if_f_data): Likewise.
16742 (struct test_fff_f_data): Likewise.
16743 (struct test_c_f_data): Likewise.
16744 (struct test_f_f1_data): Likewise. Remove field extra_name.
16745 (struct test_fF_f1_data): Likewise.
16746 (struct test_ffI_f1_data): Likewise.
16747 (struct test_c_c_data): Rename test_name field to arg_str.
16748 (struct test_cc_c_data): Likewise.
16749 (struct test_f_i_data): Likewise.
16750 (struct test_ff_i_data): Likewise.
16751 (struct test_f_l_data): Likewise.
16752 (struct test_f_L_data): Likewise.
16753 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16754 and extra2_name.
16755 (COMMON_TEST_SETUP): New macro.
16756 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16757 (COMMON_TEST_CLEANUP): Likewise.
16758 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16759 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16760 macros.
16761 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16762 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16763 macros.
16764 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16765 (RUN_TEST_fff_f): Take argument string. Call new setup and
16766 cleanup macros.
16767 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16768 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16769 macros.
16770 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16771 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16772 macros.
16773 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16774 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16775 cleanup macros.
16776 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16777 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16778 cleanup macros.
16779 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16780 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16781 cleanup macros.
16782 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16783 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16784 macros.
16785 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16786 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16787 macros.
16788 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16789 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16790 macros.
16791 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16792 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16793 cleanup macros.
16794 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16795 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16796 cleanup macros.
16797 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16798 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16799 macros.
16800 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16801 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16802 cleanup macros.
16803 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16804 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16805 macros.
16806 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16807 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16808 macros.
16809 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16810 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16811 cleanup macros.
16812 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16813
85118d4d
EBM
168142013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16815
16816 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16817 to _sifields.sigfault.
16818 (si_addr_lsb): Define new macro.
16819 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16820 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16821 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16822
7a44c18f
CD
168232013-05-03 Carlos O'Donell <carlos at redhat.com>
16824
16825 [BZ #15441]
16826 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16827 returns -1.
16828 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16829 null return -1.
16830 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16831 loading the domain.
16832
b50a7181
JM
168332013-05-22 Joseph Myers <joseph@codesourcery.com>
16834
16835 * math/gen-libm-test.pl (parse_args): Do not include expected
16836 result in test name.
16837 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16838 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16839 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16840 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16841 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16843
051063c8
SP
168442013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16845
3ce9e010
SP
16846 * benchtests/Makefile: Sort function entries.
16847
051063c8
SP
16848 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16849 tanh, asinh, acosh, atanh.
16850 * benchtests/acos-inputs: New file.
16851 * benchtests/acosh-inputs: New file.
16852 * benchtests/asin-inputs: New file.
16853 * benchtests/asinh-inputs: New file.
16854 * benchtests/atanh-inputs: New file.
16855 * benchtests/cosh-inputs: New file.
16856 * benchtests/log-inputs: New file.
16857 * benchtests/sinh-inputs: New file.
16858 * benchtests/tanh-inputs: New file.
16859
47c22455
DL
168602013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16861
16862 [BZ #15339]
16863 * posix/tst-getaddrinfo4.c: New test.
16864 * posix/Makefile (tests): Add it.
16865
3d04f5db
SP
168662013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16867
16868 [BZ #15339]
16869 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16870 when no services were used.
16871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16872 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16873
d5dd6189
AS
168742013-05-21 Andreas Schwab <schwab@suse.de>
16875
16876 [BZ #15014]
16877 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16878 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16879 successful.
16880 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16881 redundant variable declarations and reallocation of buffer when
16882 parsing as IPv6 address. Always set NSS status when called from
16883 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16884 buffer too small. Correct computation of needed size.
16885 * nss/Makefile (tests): Add test-digits-dots.
16886 * nss/test-digits-dots.c: New test.
16887
fef94eab
SP
168882013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16889
16890 * benchtests/Makefile: Remove instructions for adding
16891 benchmark tests.
16892 * benchtests/README: New file to explain how to execute and
16893 enhance the benchmark tests.
16894
e39adf43
AS
168952013-05-21 Andreas Schwab <schwab@suse.de>
16896
16897 [BZ #15493]
16898 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16899 * setjmp/tst-sigsetjmp.c: New test.
16900
b2b671b6
OB
169012013-05-20 Ondřej Bílka <neleai@seznam.cz>
16902
16903 * sysdeps/x86_64/memset.S (memset): New implementation.
16904 (__bzero): Likewise.
16905 (__memset_tail): New function.
16906
2d48b41c
OB
169072013-05-20 Ondřej Bílka <neleai@seznam.cz>
16908
16909 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16910 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16911 __memcpy_sse2_unaligned ifunc selection.
16912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16913 Add memcpy-sse2-unaligned.S.
16914 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16915 Add: __memcpy_sse2_unaligned.
16916
f16cc3eb
JM
169172013-05-19 Joseph Myers <joseph@codesourcery.com>
16918
3e694268
JM
16919 [BZ #15490]
16920 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16921 math_force_eval before restoring floating-point envrionment.
16922 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16923 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16924 Likewise.
16925 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16926 <math_private.h>.
16927 (__nearbyintl): Use math_force_eval before restoring
16928 floating-point environment.
16929 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16930
db62a907
JM
16931 * math/gen-libm-test.pl (special_functions): Remove.
16932 (parse_args): Don't handle TEST_extra. Handle functions with no
16933 return value.
16934 * math/libm-test.inc (struct test_sincos_data): Replace with
16935 struct test_fFF_11_data.
16936 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16937 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16938 (sincos_test_data): Change element type to struct
16939 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16940 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16941 RUN_TEST_LOOP_sincos.
16942 * math/README.libm-test: Don't mention special handling of
16943 individual functions.
16944 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16945 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16946 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16947 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16948 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16950
f16cc3eb
JM
16951 * math/gen-libm-test.pl (get_variable): Remove function.
16952 (parse_args): Don't show pointer parameters to call in test
16953 names. Use "extra output N" in test names for extra outputs
16954 rather than naming variables.
16955
3779b5b6
JM
169562013-05-18 Joseph Myers <joseph@codesourcery.com>
16957
2ee094ff
JM
16958 [BZ #15488]
16959 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16960 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16961 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16962 double tests.
16963 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16964 disable.
16965 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16966 check_long_double.
16967
3779b5b6
JM
16968 * math/gen-libm-test.pl (@tests): Remove variable.
16969 ($count): Likewise.
16970 (new_test): Remove function.
16971 (show_exceptions): New function.
16972 (special_functions): Use show_exceptions instead of new_test.
16973 (parse_args): Likewise.
16974 (generate_testfile): Pass only function name in generated call to
16975 print_max_error or print_complex_max_error.
16976 (get_ulps): Do not handle complex tests specially.
16977 (output_test): Rename to ...
16978 (get_all_ulps_for_test): ... this. Return a string rather than
16979 printing to a file. Require ulps to be present.
16980 (output_ulps): Generate arrays rather than #defines.
16981 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16982 (struct ulp_data): New type.
16983 (BUILD_COMPLEX_ULP): Remove macro.
16984 (compare_ulp_data): New function.
16985 (find_ulps): Likewise.
16986 (find_test_ulps): Likewise.
16987 (find_function_ulps): Likewise.
16988 (find_complex_function_ulps): Likewise.
16989 (print_max_error): Determine allowed ulps using
16990 find_function_ulps.
16991 (print_complex_max_error): Determine allowed ulps using
16992 find_complex_function_ulps.
16993 (check_float_internal): Determine max ulps using find_test_ulps.
16994 (check_float): Do not take max_ulp parameter. Update call to
16995 check_float_internal.
16996 (check_complex): Likewise.
16997 (check_int): Do not take max_ulp parameter.
16998 (check_long): Likewise.
16999 (check_bool): Likewise.
17000 (check_longlong): Likewise.
17001 (struct test_f_f_data): Remove max_ulp field.
17002 (struct test_ff_f_data): Likewise.
17003 (struct test_ff_f_data_nexttoward): Likewise.
17004 (struct test_fi_f_data): Likewise.
17005 (struct test_fl_f_data): Likewise.
17006 (struct test_if_f_data): Likewise.
17007 (struct test_fff_f_data): Likewise.
17008 (struct test_c_f_data): Likewise.
17009 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17010 (struct test_fF_f1_data): Likewise.
17011 (struct test_ffI_f1_data): Likewise.
17012 (struct test_c_c_data): Remove max_ulp field.
17013 (struct test_cc_c_data): Likewise.
17014 (struct test_f_i_data): Likewise.
17015 (struct test_ff_i_data): Likewise.
17016 (struct test_f_l_data): Likewise.
17017 (struct test_f_L_data): Likewise.
17018 (struct test_sincos_data): Likewise.
17019 (RUN_TEST_f_f): Do not handle ulps.
17020 (RUN_TEST_LOOP_f_f): Likewise.
17021 (RUN_TEST_2_f): Likewise.
17022 (RUN_TEST_LOOP_2_f): Likewise.
17023 (RUN_TEST_fff_f): Likewise.
17024 (RUN_TEST_LOOP_fff_f): Likewise.
17025 (RUN_TEST_c_f): Likewise.
17026 (RUN_TEST_LOOP_c_f): Likewise.
17027 (RUN_TEST_f_f1): Likewise.
17028 (RUN_TEST_LOOP_f_f1): Likewise.
17029 (RUN_TEST_fF_f1): Likewise.
17030 (RUN_TEST_LOOP_fF_f1): Likewise.
17031 (RUN_TEST_fI_f1): Likewise.
17032 (RUN_TEST_LOOP_fI_f1): Likewise.
17033 (RUN_TEST_ffI_f1): Likewise.
17034 (RUN_TEST_LOOP_ffI_f1): Likewise.
17035 (RUN_TEST_c_c): Likewise.
17036 (RUN_TEST_LOOP_c_c): Likewise.
17037 (RUN_TEST_cc_c): Likewise.
17038 (RUN_TEST_LOOP_cc_c): Likewise.
17039 (RUN_TEST_f_i): Likewise.
17040 (RUN_TEST_LOOP_f_i): Likewise.
17041 (RUN_TEST_f_i_tg): Likewise.
17042 (RUN_TEST_LOOP_f_i_tg): Likewise.
17043 (RUN_TEST_ff_i_tg): Likewise.
17044 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17045 (RUN_TEST_f_b): Likewise.
17046 (RUN_TEST_LOOP_f_b): Likewise.
17047 (RUN_TEST_f_b_tg): Likewise.
17048 (RUN_TEST_LOOP_f_b_tg): Likewise.
17049 (RUN_TEST_f_l): Likewise.
17050 (RUN_TEST_LOOP_f_l): Likewise.
17051 (RUN_TEST_f_L): Likewise.
17052 (RUN_TEST_LOOP_f_L): Likewise.
17053 (RUN_TEST_sincos): Likewise.
17054 (RUN_TEST_LOOP_sincos): Likewise.
17055
8269107f
JM
170562013-05-17 Joseph Myers <joseph@codesourcery.com>
17057
bb38759d
JM
17058 [BZ #15480]
17059 [BZ #15485]
17060 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17061 main case of finite arguments, set rounding mode to FE_TONEAREST
17062 and discard exceptions.
17063 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17064 exceptions.
17065 (remainder_tonearest_test_data): New variable.
17066 (remainder_test_tonearest): New function.
17067 (remainder_towardzero_test_data): New variable.
17068 (remainder_test_towardzero): New function.
17069 (remainder_downward_test_data): New variable.
17070 (remainder_test_downward): New function.
17071 (remainder_upward_test_data): New variable.
17072 (remainder_test_upward): New function.
17073 (main): Call the new test functions.
17074
a00bdcf0
JM
17075 * math/libm-test.inc (struct test_f_f1_data): Remove field
17076 extra_init.
17077 (struct test_fF_f1_data): Likewise.
17078 (struct test_ffI_f1_data): Likewise.
17079 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17080 based on value of EXTRA_EXPECTED.
17081 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17082 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17083 EXTRA_VAR based on value of EXTRA_EXPECTED.
17084 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17085 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17086 EXTRA_VAR based on value of EXTRA_EXPECTED.
17087 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17088 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17089 EXTRA_VAR based on value of EXTRA_EXPECTED.
17090 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17091 * math/gen-libm-test.pl (parse_args): Don't output initializers
17092 for extra output values.
17093
de407f79
JM
17094 * math/libm-test.inc (check_int): Expect result to be exactly
17095 equal to expected value and do not handle ulps.
17096 (check_long): Likewise.
17097 (check_longlong): Likewise.
17098
8269107f
JM
17099 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17100 exceptions.
17101 (cimag_test_data): Likewise.
17102 (conj_test_data): Likewise.
17103 (copysign_test_data): Likewise.
17104 (cproj_test_data): Likewise.
17105 (creal_test_data): Likewise.
17106 (fabs_test_data): Likewise.
17107 (fdim_test_data): Likewise.
17108 (finite_test_data): Likewise.
17109 (floor_test_data): Likewise.
17110 (fmax_test_data): Likewise.
17111 (fmin_test_data): Likewise.
17112 (fmod_test_data): Likewise.
17113 (fpclassify_test_data): Likewise.
17114 (frexp_test_data): Likewise.
17115 (ilogb_test_data): Likewise.
17116 (isfinite_test_data): Likewise.
17117 (isgreater_test_data): Likewise.
17118 (isgreaterequal_test_data): Likewise.
17119 (isinf_test_data): Likewise.
17120 (isless_test_data): Likewise.
17121 (islessequal_test_data): Likewise.
17122 (islessgreater_test_data): Likewise.
17123 (isnan_test_data): Likewise.
17124 (isnormal_test_data): Likewise.
17125 (issignaling_test_data): Likewise.
17126 (isunordered_test_data): Likewise.
17127 (ldexp_test_data): Likewise.
17128 (lrint_test_data): Likewise.
17129 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17130 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17131 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17132 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17133 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17134 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17135 test input.
17136 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17137 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17138 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17139 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17140 that test input.
17141 (lrint_downward_test_data): Test for "inexact" exceptions.
17142 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17143 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17144 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17145 test input.
17146 (lrint_upward_test_data): Test for "inexact" exceptions.
17147 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17148 test input.
17149 (llrint_test_data): Test for "inexact" exceptions.
17150 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17151 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17152 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17153 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17154 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17155 (llrint_downward_test_data): Test for "inexact" exceptions.
17156 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17157 (llrint_upward_test_data): Test for "inexact" exceptions.
17158 (logb_test_data): Likewise.
17159 (logb_downward_test_data): Likewise.
17160 (nextafter_test_data): Likewise.
17161 (nexttoward_test_data): Likewise.
17162 (remainder_test_data): Likewise.
17163 (remquo_test_data): Likewise.
17164 (scalbn_test_data): Likewise.
17165 (scalbln_test_data): Likewise.
17166 (signbit_test_data): Likewise.
17167 (sqrt_test_data): Likewise.
17168 (significand_test_data): Likewise.
17169
48a18de1
SP
171702013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17171
17172 [BZ #15424]
17173 * benchtests/bench-modf.c (struct args): Mark arg0 as
17174 volatile.
17175 * scripts/bench.pl: Mark members of struct args as volatile.
17176
13d3b41a
AZ
171772013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17178
68191c1d 17179 [BZ # 15497]
13d3b41a
AZ
17180 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17181 negative infinity on POWER6 or lower.
17182 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17183
2848b105
MR
171842013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17185
17186 [BZ #15442]
17187 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17188 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17189 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17190 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17191 (_FP_SETQNAN): New macro.
17192 (_FP_SETQNAN_SEMIRAW): Likewise.
17193 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17194 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17195 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17196 (FP_EXTEND): Use _FP_FRAC_SNANP.
17197 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17198 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17199 into account.
17200 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17201 New macro.
17202 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17203 Likewise.
17204
323e5cb7
JM
172052013-05-16 Joseph Myers <joseph@codesourcery.com>
17206
c58b274f
JM
17207 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17208 with DIVIDE_BY_ZERO_EXCEPTION.
17209 (gamma_test_data): Likewise.
17210 (lgamma_test_data): Likewise.
17211 (log_test_data): Likewise.
17212 (log10_test_data): Likewise.
17213 (log2_test_data): Likewise.
17214 (tgamma_test_data): Likewise.
17215
0ab34904
JM
17216 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17217 (acos_test_tonearest): Likewise.
17218 (acos_test_towardzero): Likewise.
17219 (acos_test_downward): Likewise.
17220 (acos_test_upward): Likewise.
17221 (acosh_test): Likewise.
17222 (asin_test): Likewise.
17223 (asin_test_tonearest): Likewise.
17224 (asin_test_towardzero): Likewise.
17225 (asin_test_downward): Likewise.
17226 (asin_test_upward): Likewise.
17227 (asinh_test): Likewise.
17228 (atan_test): Likewise.
17229 (atanh_test): Likewise.
17230 (atan2_test): Likewise.
17231 (cabs_test): Likewise.
17232 (cacos_test): Likewise.
17233 (cacosh_test): Likewise.
17234 (casin_test): Likewise.
17235 (casinh_test): Likewise.
17236 (catan_test): Likewise.
17237 (catanh_test): Likewise.
17238 (cbrt_test): Likewise.
17239 (ccos_test): Likewise.
17240 (ccosh_test): Likewise.
17241 (cexp_test): Likewise.
17242 (clog_test): Likewise.
17243 (clog10_test): Likewise.
17244 (cos_test): Likewise.
17245 (cos_test_tonearest): Likewise.
17246 (cos_test_towardzero): Likewise.
17247 (cos_test_downward): Likewise.
17248 (cos_test_upward): Likewise.
17249 (cosh_test): Likewise.
17250 (cosh_test_tonearest): Likewise.
17251 (cosh_test_towardzero): Likewise.
17252 (cosh_test_downward): Likewise.
17253 (cosh_test_upward): Likewise.
17254 (cpow_test): Likewise.
17255 (csin_test): Likewise.
17256 (csinh_test): Likewise.
17257 (csqrt_test): Likewise.
17258 (ctan_test): Likewise.
17259 (ctan_test_tonearest): Likewise.
17260 (ctan_test_towardzero): Likewise.
17261 (ctan_test_downward): Likewise.
17262 (ctan_test_upward): Likewise.
17263 (ctanh_test): Likewise.
17264 (ctanh_test_tonearest): Likewise.
17265 (ctanh_test_towardzero): Likewise.
17266 (ctanh_test_downward): Likewise.
17267 (ctanh_test_upward): Likewise.
17268 (erf_test): Likewise.
17269 (erfc_test): Likewise.
17270 (exp_test): Likewise.
17271 (exp_test_tonearest): Likewise.
17272 (exp_test_towardzero): Likewise.
17273 (exp_test_downward): Likewise.
17274 (exp_test_upward): Likewise.
17275 (exp10_test): Likewise.
17276 (exp2_test): Likewise.
17277 (expm1_test): Likewise.
17278 (fmod_test): Likewise.
17279 (gamma_test): Likewise.
17280 (hypot_test): Likewise.
17281 (j0_test): Likewise.
17282 (j1_test): Likewise.
17283 (jn_test): Likewise.
17284 (lgamma_test): Likewise.
17285 (log_test): Likewise.
17286 (log10_test): Likewise.
17287 (log1p_test): Likewise.
17288 (log2_test): Likewise.
17289 (logb_test_downward): Likewise.
17290 (pow_test): Likewise.
17291 (pow_test_tonearest): Likewise.
17292 (pow_test_towardzero): Likewise.
17293 (pow_test_downward): Likewise.
17294 (pow_test_upward): Likewise.
17295 (remainder_test): Likewise.
17296 (remquo_test): Likewise.
17297 (sin_test): Likewise.
17298 (sin_test_tonearest): Likewise.
17299 (sin_test_towardzero): Likewise.
17300 (sin_test_downward): Likewise.
17301 (sin_test_upward): Likewise.
17302 (sincos_test): Likewise.
17303 (sinh_test): Likewise.
17304 (sinh_test_tonearest): Likewise.
17305 (sinh_test_towardzero): Likewise.
17306 (sinh_test_downward): Likewise.
17307 (sinh_test_upward): Likewise.
17308 (sqrt_test): Likewise.
17309 (tan_test): Likewise.
17310 (tan_test_tonearest): Likewise.
17311 (tan_test_towardzero): Likewise.
17312 (tan_test_downward): Likewise.
17313 (tan_test_upward): Likewise.
17314 (tanh_test): Likewise.
17315 (tgamma_test): Likewise.
17316 (y0_test): Likewise.
17317 (y1_test): Likewise.
17318 (yn_test): Likewise.
17319
323e5cb7
JM
17320 * math/gen-libm-test.pl (adjust_arg): Remove function.
17321 (special_function): Remove argument $in_func. Only handle
17322 generating output for tables of tests, not inside functions.
17323 (parse_args): Likewise.
17324 (generate_testfile): Remove variable $in_func. Update call to
17325 parse_args.
17326 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17327 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17328 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17329 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17330 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17331 (MAX_VALUE_INIT): Rename macro to max_value.
17332 (MIN_VALUE_INIT): Rename macro to min_value.
17333 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17334 (plus_zero): Remove variable.
17335 (minus_zero): Likewise.
17336 (plus_infty): Likewise.
17337 (minus_infty): Likewise.
17338 (qnan_value): Likewise.
17339 (max_value): Likewise.
17340 (min_value): Likewise.
17341 (min_subnorm_value): Likewise.
17342
e054f494
RA
173432013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17344
17345 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17346 uint64_t or uint32_t usage.
17347 * crypt/sha256-block.c: Likewise.
17348 * crypt/sha256-crypt.c: Likewise.
17349 * crypt/sha256.c: Likewise.
17350 * crypt/sha512-block.c: Likewise.
17351 * crypt/sha512-crypt.c: Likewise.
17352 * crypt/sha512.c: Likewise.
17353 * debug/backtrace-tst.c: Likewise.
17354 * debug/pcprofiledump.c: Likewise.
17355 * elf/cache.c: Likewise.
17356 * elf/dl-cache.c: Likewise.
17357 * elf/dl-misc.c: Likewise.
17358 * elf/dl-profile.c: Likewise.
17359 * elf/dl-support.c: Likewise.
17360 * elf/ldconfig.c: Likewise.
17361 * elf/sprof.c: Likewise.
17362 * iconv/dummy-repertoire.c: Likewise.
17363 * iconv/iconv_charmap.c: Likewise.
17364 * iconv/skeleton.c: Likewise.
17365 * iconvdata/8bit-generic.c: Likewise.
17366 * iconvdata/cp737.h: Likewise.
17367 * iconvdata/cp775.h: Likewise.
17368 * iconvdata/ibm1008.h: Likewise.
17369 * iconvdata/ibm1025.h: Likewise.
17370 * iconvdata/ibm1046.h: Likewise.
17371 * iconvdata/ibm1097.h: Likewise.
17372 * iconvdata/ibm1112.h: Likewise.
17373 * iconvdata/ibm1122.h: Likewise.
17374 * iconvdata/ibm1123.h: Likewise.
17375 * iconvdata/ibm1124.h: Likewise.
17376 * iconvdata/ibm1129.h: Likewise.
17377 * iconvdata/ibm1130.h: Likewise.
17378 * iconvdata/ibm1132.h: Likewise.
17379 * iconvdata/ibm1133.h: Likewise.
17380 * iconvdata/ibm1137.h: Likewise.
17381 * iconvdata/ibm1140.h: Likewise.
17382 * iconvdata/ibm1141.h: Likewise.
17383 * iconvdata/ibm1142.h: Likewise.
17384 * iconvdata/ibm1143.h: Likewise.
17385 * iconvdata/ibm1144.h: Likewise.
17386 * iconvdata/ibm1145.h: Likewise.
17387 * iconvdata/ibm1146.h: Likewise.
17388 * iconvdata/ibm1147.h: Likewise.
17389 * iconvdata/ibm1148.h: Likewise.
17390 * iconvdata/ibm1149.h: Likewise.
17391 * iconvdata/ibm1153.h: Likewise.
17392 * iconvdata/ibm1154.h: Likewise.
17393 * iconvdata/ibm1155.h: Likewise.
17394 * iconvdata/ibm1156.h: Likewise.
17395 * iconvdata/ibm1157.h: Likewise.
17396 * iconvdata/ibm1158.h: Likewise.
17397 * iconvdata/ibm1160.h: Likewise.
17398 * iconvdata/ibm1161.h: Likewise.
17399 * iconvdata/ibm1162.h: Likewise.
17400 * iconvdata/ibm1163.h: Likewise.
17401 * iconvdata/ibm1164.h: Likewise.
17402 * iconvdata/ibm1166.h: Likewise.
17403 * iconvdata/ibm1167.h: Likewise.
17404 * iconvdata/ibm12712.h: Likewise.
17405 * iconvdata/ibm1390.h: Likewise.
17406 * iconvdata/ibm1399.h: Likewise.
17407 * iconvdata/ibm16804.h: Likewise.
17408 * iconvdata/ibm4517.h: Likewise.
17409 * iconvdata/ibm4899.h: Likewise.
17410 * iconvdata/ibm4909.h: Likewise.
17411 * iconvdata/ibm4971.h: Likewise.
17412 * iconvdata/ibm5347.h: Likewise.
17413 * iconvdata/ibm803.h: Likewise.
17414 * iconvdata/ibm856.h: Likewise.
17415 * iconvdata/ibm901.h: Likewise.
17416 * iconvdata/ibm902.h: Likewise.
17417 * iconvdata/ibm9030.h: Likewise.
17418 * iconvdata/ibm9066.h: Likewise.
17419 * iconvdata/ibm921.h: Likewise.
17420 * iconvdata/ibm922.h: Likewise.
17421 * iconvdata/ibm9448.h: Likewise.
17422 * iconvdata/isiri-3342.h: Likewise.
17423 * iconvdata/jis0201.h: Likewise.
17424 * include/link.h: Likewise.
17425 * include/netdb.h: Likewise.
17426 * inet/check_native.c: Likewise.
17427 * inet/check_pf.c: Likewise.
17428 * inet/getipv4sourcefilter.c: Likewise.
17429 * inet/getnameinfo.c: Likewise.
17430 * inet/getsourcefilter.c: Likewise.
17431 * inet/htonl.c: Likewise.
17432 * inet/setipv4sourcefilter.c: Likewise.
17433 * inet/setsourcefilter.c: Likewise.
17434 * inet/test-inet6_opt.c: Likewise.
17435 * inet/tst-network.c: Likewise.
17436 * locale/C-collate.c: Likewise.
17437 * locale/C-ctype.c: Likewise.
17438 * locale/C-time.c: Likewise.
17439 * locale/C-translit.h: Likewise.
17440 * locale/loadarchive.c: Likewise.
17441 * locale/programs/3level.h: Likewise.
17442 * locale/programs/charmap.c: Likewise.
17443 * locale/programs/charmap.h: Likewise.
17444 * locale/programs/ld-address.c: Likewise.
17445 * locale/programs/ld-collate.c: Likewise.
17446 * locale/programs/ld-ctype.c: Likewise.
17447 * locale/programs/ld-identification.c: Likewise.
17448 * locale/programs/ld-measurement.c: Likewise.
17449 * locale/programs/ld-messages.c: Likewise.
17450 * locale/programs/ld-monetary.c: Likewise.
17451 * locale/programs/ld-name.c: Likewise.
17452 * locale/programs/ld-numeric.c: Likewise.
17453 * locale/programs/ld-paper.c: Likewise.
17454 * locale/programs/ld-telephone.c: Likewise.
17455 * locale/programs/ld-time.c: Likewise.
17456 * locale/programs/linereader.c: Likewise.
17457 * locale/programs/locale.c: Likewise.
17458 * locale/programs/locarchive.c: Likewise.
17459 * locale/programs/locfile.h: Likewise.
17460 * locale/programs/repertoire.c: Likewise.
17461 * locale/programs/simple-hash.c: Likewise.
17462 * locale/programs/simple-hash.h: Likewise.
17463 * malloc/memusage.c: Likewise.
17464 * malloc/memusagestat.c: Likewise.
17465 * nis/nis_defaults.c: Likewise.
17466 * nis/nis_hash.c: Likewise.
17467 * nis/nis_print.c: Likewise.
17468 * nis/nis_xdr.c: Likewise.
17469 * nscd/connections.c: Likewise.
17470 * nscd/hstcache.c: Likewise.
17471 * nscd/nscd_gethst_r.c: Likewise.
17472 * nscd/nscd_getserv_r.c: Likewise.
17473 * nscd/nscd_helper.c: Likewise.
17474 * nscd/servicescache.c: Likewise.
17475 * nss/makedb.c: Likewise.
17476 * nss/nss_db/db-XXX.c: Likewise.
17477 * nss/nss_db/db-initgroups.c: Likewise.
17478 * nss/nss_db/db-netgrp.c: Likewise.
17479 * nss/nss_files/files-network.c: Likewise.
17480 * nss/nss_files/files-parse.c: Likewise.
17481 * posix/bug-regex5.c: Likewise.
17482 * posix/fnmatch_loop.c: Likewise.
17483 * posix/regcomp.c: Likewise.
17484 * posix/regexec.c: Likewise.
17485 * posix/tst-rfc3484-2.c: Likewise.
17486 * posix/tst-rfc3484-3.c: Likewise.
17487 * posix/tst-rfc3484.c: Likewise.
17488 * resolv/nss_dns/dns-canon.c: Likewise.
17489 * resolv/nss_dns/dns-network.c: Likewise.
17490 * resolv/res_init.c: Likewise.
17491 * resolv/res_mkquery.c: Likewise.
17492 * resolv/tst-aton.c: Likewise.
17493 * stdlib/cxa_atexit.c: Likewise.
17494 * stdlib/cxa_finalize.c: Likewise.
17495 * stdlib/gen-fpioconst.c: Likewise.
17496 * stdlib/strtol_l.c: Likewise.
17497 * string/tst-endian.c: Likewise.
17498 * sunrpc/auth_des.c: Likewise.
17499 * sunrpc/clnt_udp.c: Likewise.
17500 * sunrpc/rtime.c: Likewise.
17501 * sunrpc/svcauth_des.c: Likewise.
17502 * sunrpc/xdr.c: Likewise.
17503 * sunrpc/xdr_intXX_t.c: Likewise.
17504 * sunrpc/xdr_rec.c: Likewise.
17505 * sysdeps/generic/ldconfig.h: Likewise.
17506 * sysdeps/generic/ldsodefs.h: Likewise.
17507 * sysdeps/generic/memusage.h: Likewise.
17508 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17509 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17510 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17511 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17512 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17513 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17514 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17515 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17516 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17517 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17518 * sysdeps/posix/getaddrinfo.c: Likewise.
17519 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17520 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17521 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17522 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17523 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17524 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17525 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17526 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17527 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17528 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17529 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17530 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17531 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17532 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17533 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17534 * sysdeps/x86_64/dl-tls.h: Likewise.
17535 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17536 * time/alt_digit.c: Likewise.
17537 * time/era.c: Likewise.
17538 * wcsmbs/tst-c16c32-1.c: Likewise.
17539
8c75f674
JM
175402013-05-16 Joseph Myers <joseph@codesourcery.com>
17541
17542 * math/libm-test.inc (struct test_sincos_data): New type.
17543 (RUN_TEST_LOOP_sincos): New macro.
17544 (sincos_test_data): New variable.
17545 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17546
e6e49e59
RH
175472013-05-16 Richard Henderson <rth@redhat.com>
17548
17549 * math/atest-exp2.c (LIMB64): New macro.
17550 (CONSTSZ): New macro.
17551 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17552 (hexdig): Move ...
17553 (print_mpn_fp): ... to function scope.
17554 (read_mpn_hex): Remove.
17555 (get_log2): Remove.
17556 (exp2_mpn): Use mp_log2.
17557 (main): Use mp_exp1.
17558
15c7c18d
JM
175592013-05-16 Joseph Myers <joseph@codesourcery.com>
17560
105a07df
JM
17561 * math/libm-test.inc: Remove comment about not testing "inexact"
17562 exceptions.
17563 (INEXACT_EXCEPTION): New macro.
17564 (NO_INEXACT_EXCEPTION): Likewise.
17565 (INVALID_EXCEPTION_OK): Update value.
17566 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17567 (OVERFLOW_EXCEPTION_OK): Likewise.
17568 (UNDERFLOW_EXCEPTION_OK): Likewise.
17569 (IGNORE_ZERO_INF_SIGN): Likewise.
17570 (ERRNO_UNCHANGED): Likewise.
17571 (ERRNO_EDOM): Likewise.
17572 (ERRNO_ERANGE): Likewise.
17573 (test_exceptions): Handle testing "inexact" exceptions.
17574 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17575 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17576 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17577 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17578 INEXACT_EXCEPTION.
17579 (rint_towardzero_test_data): Likewise.
17580 (rint_downward_test_data): Likewise.
17581 (rint_upward_test_data): Likewise.
17582
e9eee333
JM
17583 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17584 with OVERFLOW_EXCEPTION.
17585 (exp10_test_data): Likewise.
17586 (exp2_test_data): Likewise.
17587 (expm1_test_data): Likewise.
17588 (lgamma_test_data): Likewise.
17589 (pow_test_data): Likewise.
17590 (tgamma_test_data): Likewise.
17591 (yn_test_data): Remove duplicate test of overflow.
17592
1c38ff73
JM
17593 * math/libm-test.inc (struct test_cc_c_data): New type.
17594 (RUN_TEST_LOOP_cc_c): New macro.
17595 (cpow_test_data): New variable.
17596 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17597
15c7c18d
JM
17598 * math/libm-test.inc (struct test_f_L_data): New type.
17599 (RUN_TEST_LOOP_f_L): New macro.
17600 (llrint_test_data): New variable.
17601 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17602 (llrint_tonearest_test_data): New variable.
17603 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17604 (llrint_towardzero_test_data): New variable.
17605 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17606 (llrint_downward_test_data): New variable.
17607 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17608 (llrint_upward_test_data): New variable.
17609 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17610 (llround_test_data): New variable.
17611 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17612
f137ff13
PC
176132013-05-13 Peter Collingbourne <pcc@google.com>
17614
17615 * math/atest-exp2.c (get_log2): Remove const attribute.
17616
3608cb24
JM
176172013-05-15 Joseph Myers <joseph@codesourcery.com>
17618
17619 * math/libm-test.inc (struct test_f_l_data): New type.
17620 (RUN_TEST_LOOP_f_l): New macro.
17621 (lrint_test_data): New variable.
17622 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17623 (lrint_tonearest_test_data): New variable.
17624 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17625 (lrint_towardzero_test_data): New variable.
17626 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17627 (lrint_downward_test_data): New variable.
17628 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17629 (lrint_upward_test_data): New variable.
17630 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17631 (lround_test_data): New variable.
17632 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17633
39b1f617
PC
176342013-05-15 Peter Collingbourne <pcc@google.com>
17635
1deff3dc
PC
17636 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17637 (EXTRACT_WORDS64) Use where appropriate.
17638 (INSERT_WORDS64) Likewise.
17639
791f3ba0
PC
17640 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17641 constraints with x constraints.
17642 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17643
39b1f617
PC
17644 * malloc/obstack.c (_obstack_compat): Add initializer.
17645
12fba011
EM
176462013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17647
17648 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17649 si_trapno and add si_addr_lsb to _sifields.sigfault.
17650 (si_trapno): Remove macro.
17651 (si_addr_lsb): Define new macro.
17652 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17653
d369f531
JM
176542013-05-15 Joseph Myers <joseph@codesourcery.com>
17655
b861c6c4
JM
17656 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17657 instead of TEST_f_l.
17658 (llrint_test_tonearest): Likewise.
17659 (llrint_test_towardzero): Likewise.
17660 (llrint_test_downward): Likewise.
17661 (llrint_test_upward): Likewise.
17662 (llround_test): Likewise.
17663
7abeee12
JM
17664 * math/libm-test.inc (struct test_f_i_data): Add comment.
17665 (RUN_TEST_LOOP_f_b): New macro.
17666 (RUN_TEST_LOOP_f_b_tg): Likewise.
17667 (finite_test_data): New variable.
17668 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17669 (isfinite_test_data): New variable.
17670 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17671 (isinf_test_data): New variable.
17672 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17673 (isnan_test_data): New variable.
17674 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17675 (isnormal_test_data): New variable.
17676 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17677 (issignaling_test_data): New variable.
17678 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17679 (signbit_test_data): New variable.
17680 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17681
cbe8c4d3
JM
17682 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17683 with INVALID_EXCEPTION.
17684 (acosh_test_data): Likewise.
17685 (asin_test_data): Likewise.
17686 (atanh_test_data): Likewise.
17687 (fmod_test_data): Likewise.
17688 (log_test_data): Likewise.
17689 (log10_test_data): Likewise.
17690 (log2_test_data): Likewise.
17691 (pow_test_data): Likewise.
17692 (sqrt_test_data): Likewise.
17693 (y0_test_data): Likewise.
17694 (y1_test_data): Likewise.
17695 (yn_test_data): Likewise.
17696
5575c0e5
JM
17697 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17698 function contents.
17699
d369f531
JM
17700 * math/libm-test.inc (struct test_ff_i_data): New type.
17701 (RUN_TEST_LOOP_ff_i_tg): New macro.
17702 (isgreater_test_data): New variable.
17703 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17704 (isgreaterequal_test_data): New variable.
17705 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17706 (isless_test_data): New variable.
17707 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17708 (islessequal_test_data): New variable.
17709 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17710 (islessgreater_test_data): New variable.
17711 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17712 (isunordered_test_data): New variable.
17713 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17714
781fd748
DM
177152013-05-14 David S. Miller <davem@davemloft.net>
17716
17717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17718
87aa21df
JM
177192013-05-14 Joseph Myers <joseph@codesourcery.com>
17720
5e908270
JM
17721 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17722
f71172e5
JM
17723 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17724 extra_test to int.
17725 (struct test_f_i_data): Change type of max_ulp to int.
17726
8cfa635a
JM
17727 * math/libm-test.inc (test_ffI_f1_data): New type.
17728 (RUN_TEST_LOOP_ffI_f1): New macro.
17729 (remquo_test_data): New variable.
17730 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17731
2bcb36b2
JM
17732 * setjmp/tst-setjmp-fp.c: New file.
17733 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17734 (link-libm): New variable.
17735 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17736
acbd839a
JM
17737 * math/libm-test.inc (struct test_f_i_data): New type.
17738 (RUN_TEST_LOOP_f_i): New macro.
17739 (RUN_TEST_LOOP_f_i_tg): Likewise.
17740 (fpclassify_test_data): New variable.
17741 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17742 (ilogb_test_data): New variable.
17743 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17744
e414d745
JM
17745 * math/libm-test.inc (scalbln_test): Correct function name in END
17746 call.
17747
d9c2a0fd
JM
17748 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17749 (RUN_TEST_LOOP_fI_f1): New macro.
17750 (frexp_test_data): New variable.
17751 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17752
9dc9095d
JM
17753 * math/libm-test.inc (struct test_fF_f1_data): New type.
17754 (RUN_TEST_LOOP_fF_f1): New macro.
17755 (modf_test_data): New variable.
17756 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17757
87aa21df
JM
17758 * math/libm-test.inc (struct test_f_f1_data): New type.
17759 (RUN_TEST_LOOP_f_f1): New macro.
17760 (gamma_test_data): New variable.
17761 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17762 (lgamma_test_data): New variable.
17763 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17764
141af660
CD
177652013-05-13 Carlos O'Donell <carlos@redhat.com>
17766
17767 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17768 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17769 (main): Comment "tls" pseudo-hwcap.
17770
6d33265c
JM
177712013-05-13 Joseph Myers <joseph@codesourcery.com>
17772
68fc074c
JM
17773 * math/libm-test.inc (struct test_fl_f_data): New type.
17774 (RUN_TEST_LOOP_fl_f): New variable.
17775 (scalbln_test_data): New variable.
17776 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17777
243216e1
JM
17778 * math/libm-test.inc (struct test_fi_f_data): New type.
17779 (RUN_TEST_LOOP_fi_f): New macro.
17780 (ldexp_test_data): New variable.
17781 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17782 (scalbn_test_data): New variable.
17783 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17784
6a1992e2
JM
17785 * math/libm-test.inc (struct test_c_f_data): New type.
17786 (RUN_TEST_LOOP_c_f): New macro.
17787 (cabs_test_data): New variable.
17788 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17789 (carg_test_data): New variable.
17790 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17791 (cimag_test_data): New variable.
17792 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17793 (creal_test_data): New variable.
17794 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17795
0e400df5
JM
17796 * math/libm-test.inc (struct test_if_f_data): New type.
17797 (RUN_TEST_LOOP_if_f): New macro.
17798 (jn_test_data): New variable.
17799 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17800 (yn_test_data): New variable.
17801 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17802
6d33265c
JM
17803 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17804
f98ece5f
AZ
178052013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17806
17807 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17808 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17809
0f7d347b
SP
178102013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17811
43fe811b
SP
17812 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17813 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17814 (bench-deps): Add bench-timing.h.
17815 * benchtests-bench-skeleton.c: Include bench-timing.h.
17816 (main): Use TIMING_* macros instead of clock_gettime.
17817 * benchtests/bench-timing.h: New file.
17818
0f7d347b
SP
17819 [BZ #14582]
17820 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17821 Renamed from _LIB_VERSION.
17822 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17823
601a3a5f
JM
178242013-05-12 Joseph Myers <joseph@codesourcery.com>
17825
4f184d30
JM
17826 * math/libm-test.inc (struct test_fff_f_data): New type.
17827 (RUN_TEST_LOOP_fff_f): New macro.
17828 (fma_test_data): New variable.
17829 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17830 (fma_towardzero_test_data): New variable.
17831 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17832 (fma_downward_test_data): New variable.
17833 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17834 (fma_upward_test_data): New variable.
17835 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17836
08198877
JM
17837 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17838 (struct test_c_c_data): New type.
17839 (RUN_TEST_LOOP_c_c): New macro.
17840 (cacos_test_data): New variable.
17841 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17842 (cacosh_test_data): New variable.
17843 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17844 (casin_test_data): New variable.
17845 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17846 (casinh_test_data): New variable.
17847 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17848 (catan_test_data): New variable.
17849 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17850 (catanh_test_data): New variable.
17851 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17852 (ccos_test_data): New variable.
17853 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17854 (ccosh_test_data): New variable.
17855 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17856 (cexp_test_data): New variable.
17857 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17858 (clog_test_data): New variable.
17859 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17860 (clog10_test_data): New variable.
17861 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17862 (conj_test_data): New variable.
17863 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17864 (cproj_test_data): New variable.
17865 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17866 (csin_test_data): New variable.
17867 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17868 (csinh_test_data): New variable.
17869 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17870 (csqrt_test_data): New variable.
17871 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17872 (ctan_test_data): New variable.
17873 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17874 (ctan_tonearest_test_data): New variable.
17875 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17876 (ctan_towardzero_test_data): New variable.
17877 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17878 (ctan_downward_test_data): New variable.
17879 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17880 (ctan_upward_test_data): New variable.
17881 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17882 (ctanh_test_data): New variable.
17883 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17884 (ctanh_tonearest_test_data): New variable.
17885 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17886 (ctanh_towardzero_test_data): New variable.
17887 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17888 (ctanh_downward_test_data): New variable.
17889 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17890 (ctanh_upward_test_data): New variable.
17891 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17892 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17893 of BUILD_COMPLEX.
17894
601a3a5f
JM
17895 * math/libm-test.inc (struct test_ff_f_data): New type.
17896 (struct test_ff_f_data_nexttoward): Likewise.
17897 (RUN_TEST_LOOP_2_f): New macro.
17898 (RUN_TEST_LOOP_ff_f): Likewise.
17899 (atan2_test_data): New variable.
17900 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17901 (copysign_test_data): New variable.
17902 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17903 (fdim_test_data): New variable.
17904 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17905 (fmax_test_data): New variable.
17906 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17907 (fmin_test_data): New variable.
17908 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17909 (fmod_test_data): New variable.
17910 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17911 (hypot_test_data): New variable.
17912 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17913 (nextafter_test_data): New variable.
17914 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17915 (nexttoward_test_data): New variable.
17916 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17917 (pow_test_data): New variable.
17918 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17919 (pow_tonearest_test_data): New variable.
17920 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17921 (pow_towardzero_test_data): New variable.
17922 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17923 (pow_downward_test_data): New variable.
17924 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17925 (pow_upward_test_data): New variable.
17926 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17927 (remainder_test_data): New variable.
17928 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17929 (scalb_test_data): New variable.
17930 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17931 * sysdeps/i386/fpu/libm-test-ulps: Update.
17932
74c57478
JM
179332013-05-11 Joseph Myers <joseph@codesourcery.com>
17934
8329e4da
JM
17935 * math/libm-test.inc (fma_test): Use max_value instead of local
17936 variable fltmax.
17937 (nextafter_test): Likewise.
17938
74c57478
JM
17939 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17940 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17941 (acos_downward_test_data): New variable.
17942 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17943 (acos_upward_test_data): New variable.
17944 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17945 (acosh_test_data): New variable.
17946 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17947 (asin_test_data): New variable.
17948 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17949 (asin_tonearest_test_data): New variable.
17950 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17951 (asin_towardzero_test_data): New variable.
17952 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17953 (asin_downward_test_data): New variable.
17954 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17955 (asin_upward_test_data): New variable.
17956 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17957 (asinh_test_data): New variable.
17958 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17959 (atan_test_data): New variable.
17960 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17961 (atanh_test_data): New variable.
17962 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17963 (cbrt_test_data): New variable.
17964 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17965 (ceil_test_data): New variable.
17966 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17967 (cos_test_data): New variable.
17968 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17969 (cos_tonearest_test_data): New variable.
17970 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17971 (cos_towardzero_test_data): New variable.
17972 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17973 (cos_downward_test_data): New variable.
17974 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17975 (cos_upward_test_data): New variable.
17976 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17977 (cosh_test_data): New variable.
17978 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17979 (cosh_tonearest_test_data): New variable.
17980 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17981 (cosh_towardzero_test_data): New variable.
17982 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17983 (cosh_downward_test_data): New variable.
17984 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17985 (cosh_upward_test_data): New variable.
17986 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17987 (erf_test_data): New variable.
17988 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17989 (erfc_test_data): New variable.
17990 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17991 (exp_test_data): New variable.
17992 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17993 (exp_tonearest_test_data): New variable.
17994 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17995 (exp_towardzero_test_data): New variable.
17996 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17997 (exp_downward_test_data): New variable.
17998 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17999 (exp_upward_test_data): New variable.
18000 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18001 (exp10_test_data): New variable.
18002 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18003 (exp2_test_data): New variable.
18004 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18005 (expm1_test_data): New variable.
18006 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18007 (fabs_test_data): New variable.
18008 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18009 (floor_test_data): New variable.
18010 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18011 (j0_test_data): New variable.
18012 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18013 (j1_test_data): New variable.
18014 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18015 (log_test_data): New variable.
18016 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18017 (log10_test_data): New variable.
18018 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18019 (log1p_test_data): New variable.
18020 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18021 (log2_test_data): New variable.
18022 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18023 (logb_test_data): New variable.
18024 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18025 (logb_downward_test_data): New variable.
18026 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18027 (nearbyint_test_data): New variable.
18028 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18029 (rint_test_data): New variable.
18030 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18031 (rint_tonearest_test_data): New variable.
18032 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18033 (rint_towardzero_test_data): New variable.
18034 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18035 (rint_downward_test_data): New variable.
18036 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18037 (rint_upward_test_data): New variable.
18038 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18039 (round_test_data): New variable.
18040 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18041 (sin_test_data): New variable.
18042 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18043 (sin_tonearest_test_data): New variable.
18044 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18045 (sin_towardzero_test_data): New variable.
18046 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18047 (sin_downward_test_data): New variable.
18048 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18049 (sin_upward_test_data): New variable.
18050 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18051 (sinh_test_data): New variable.
18052 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18053 (sinh_tonearest_test_data): New variable.
18054 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18055 (sinh_towardzero_test_data): New variable.
18056 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18057 (sinh_downward_test_data): New variable.
18058 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18059 (sinh_upward_test_data): New variable.
18060 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18061 (sqrt_test_data): New variable.
18062 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18063 (tan_test_data): New variable.
18064 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18065 (tan_tonearest_test_data): New variable.
18066 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18067 (tan_towardzero_test_data): New variable.
18068 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18069 (tan_downward_test_data): New variable.
18070 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18071 (tan_upward_test_data): New variable.
18072 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18073 (tanh_test_data): New variable.
18074 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18075 (tgamma_test_data): New variable.
18076 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18077 (trunc_test_data): New variable.
18078 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18079 (y0_test_data): New variable.
18080 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18081 (y1_test_data): New variable.
18082 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18083 (significand_test_data): New variable.
18084 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18085
7187d844
CG
180862013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18087
18088 [BZ #12387]
18089 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18090
f63fae73
PT
180912013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18092
18093 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18094
8a67a4b3
AJ
180952013-05-10 Andreas Jaeger <aj@suse.de>
18096
18097 [BZ #15448]
18098 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18099 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18100
51df539d
JM
181012013-05-10 Joseph Myers <joseph@codesourcery.com>
18102
18103 * math/gen-libm-test.pl (adjust_arg): New function.
18104 (special_functions): Handle generating output in both functions
18105 and arrays.
18106 (parse_args): Likewise.
18107 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18108 $in_func argument to parse_args.
18109 * math/libm-test.inc (struct test_f_f_data): New type.
18110 (IF_ROUND_INIT_): New macro.
18111 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18112 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18113 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18114 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18115 (ROUND_RESTORE_): Likewise.
18116 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18117 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18118 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18119 (ROUND_RESTORE_FE_UPWARD): Likewise.
18120 (RUN_TEST_LOOP_f_f): New macro.
18121 (acos_test_data): New variable.
18122 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18123 (acos_tonearest_test_data): New variable.
18124 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18125
5c637fe5
SP
181262013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18127
18128 * benchtests/bench-skeleton.c (startup): Fix coding style.
18129
ab2b9461
JM
181302013-05-10 Joseph Myers <joseph@codesourcery.com>
18131
18132 [BZ #6809]
18133 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18134 negative infinity argument.
18135 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18136 negative infinity argument.
18137 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18138 negative infinity argument.
18139 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18140 domain errors.
18141
4c0fe6fe
FW
181422013-05-10 Florian Weimer <fweimer@redhat.com>
18143
18144 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18145 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18146 * iconv/iconv_prog.c (main): Likewise.
18147 * locale/programs/charmap-dir.c (charmap_readdir)
18148 (fopen_uncompressed): Likewise.
18149 * locale/programs/locfile.c (siblings_uncached)
18150 (write_locale_data): Use lstat64 instead of lstat.
18151 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18152 stat.
18153
a3375d29
AJ
181542013-05-10 Andreas Jaeger <aj@suse.de>
18155
18156 [BZ #15395]
18157 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18158 localization.
18159 Include <locale.h>.
18160
36129722
CD
181612013-05-09 Carlos O'Donell <carlos@redhat.com>
18162
18163 * elf/dl-close.c (_dl_close_worker): Add comments.
18164
faa7f811
JM
181652013-05-09 Joseph Myers <joseph@codesourcery.com>
18166
ed41ffef
JM
18167 [BZ #15359]
18168 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18169 high part of pi/2.
18170 (__ieee754_rem_pio2l): Update comments.
18171
d0213cd0
JM
18172 [BZ #15429]
18173 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18174 high part of pi/2.
18175 (__ieee754_rem_pio2l): Update comments.
18176
0d3e777a
JM
18177 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18178 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18179
24f56066
JM
18180 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18181 M_PI_4l.
18182
faa7f811
JM
18183 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18184 (M_PI_34_LOG10El): Likewise.
18185 (M_PI2_LOG10El): Likewise.
18186 (M_PI4_LOG10El): Likewise.
18187 (M_PI_LOG10El): Likewise.
18188
e9a5e0fd
AZ
181892013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18190
18191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18192
d8cd06db
JM
181932013-05-08 Joseph Myers <joseph@codesourcery.com>
18194
a0d9f9d7
JM
18195 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18196 (MINUS_ZERO_INIT): Likewise.
18197 (PLUS_INFTY_INIT): Likewise.
18198 (MINUS_INFTY_INIT): Likewise.
18199 (QNAN_VALUE_INIT): Likewise.
18200 (MAX_VALUE_INIT): Likewise.
18201 (MIN_VALUE_INIT): Likewise.
18202 (MIN_SUBNORM_VALUE_INIT): Likewise.
18203 (plus_zero): Initialize with PLUS_ZERO_INIT.
18204 (minus_zero): Initialize with MINUS_ZERO_INIT.
18205 (plus_infty): Initialize with PLUS_INFTY_INIT.
18206 (minus_infty): Initialize with MINUS_INFTY_INIT.
18207 (qnan_value): Initialize with QNAN_VALUE_INIT.
18208 (max_value): Initialize with MAX_VALUE_INIT.
18209 (min_value): Initialize with MIN_VALUE_INIT.
18210 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18211
ae08db3b
JM
18212 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18213 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18214 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18215 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18216
f44bf14a
JM
18217 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18218 (RUN_TEST_2_f): Likewise.
18219 (RUN_TEST_ff_f): Likewise.
18220 (RUN_TEST_fi_f): Likewise.
18221 (RUN_TEST_fl_f): Likewise.
18222 (RUN_TEST_fff_f): Likewise.
18223 (RUN_TEST_c_f): Likewise.
18224 (RUN_TEST_f_f1): Likewise.
18225 (RUN_TEST_fF_f1): Likewise.
18226 (RUN_TEST_fI_f1): Likewise.
18227 (RUN_TEST_ffI_f1): Likewise.
18228 (RUN_TEST_c_c): Likewise.
18229 (RUN_TEST_cc_c): Likewise.
18230 (RUN_TEST_f_i): Likewise.
18231 (RUN_TEST_f_i_tg): Likewise.
18232 (RUN_TEST_ff_i_tg): Likewise.
18233 (RUN_TEST_f_b): Likewise.
18234 (RUN_TEST_f_b_tg): Likewise.
18235 (RUN_TEST_f_l): Likewise.
18236 (RUN_TEST_f_L): Likewise.
18237 (RUN_TEST_sincos): Likewise.
18238 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18239 whether to show exceptions. Do not include ");\n" in return
18240 value.
18241 (special_functions): Output call to RUN_TEST_sincos instead of
18242 check_float calls. Update calls to new_test.
18243 (parse_args): Output call to single RUN_TEST_* macro instead of
18244 check_* calls and other assignments. Update calls to new_test.
18245
d8cd06db
JM
18246 [BZ #2546]
18247 [BZ #2560]
18248 [BZ #5159]
18249 [BZ #15426]
18250 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18251 input to result for tgamma overflow.
18252 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18253 (gamma_coeff): New variable.
18254 (NCOEFF): New macro.
18255 (gamma_positive): New function.
18256 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18257 underflow here. Use gamma_positive instead of exp (lgamma) for
18258 other arguments.
18259 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18260 (gamma_coeff): New variable.
18261 (NCOEFF): New macro.
18262 (gammaf_positive): New function.
18263 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18264 underflow here. Use gamma_positive instead of exp (lgamma) for
18265 other arguments.
18266 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18267 (gamma_coeff): New variable.
18268 (NCOEFF): New macro.
18269 (gammal_positive): New function.
18270 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18271 underflow here. Use gamma_positive instead of exp (lgamma) for
18272 other arguments.
18273 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18274 (gamma_coeff): New variable.
18275 (NCOEFF): New macro.
18276 (gammal_positive): New function.
18277 (__ieee754_gammal_r): Handle positive infinity, overflow and
18278 underflow here. Handle NaN the same as positive infinity. Remove
18279 check x < 0xffffffff for negative integers. Use gamma_positive
18280 instead of exp (lgamma) for other arguments.
18281 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18282 (gamma_coeff): New variable.
18283 (NCOEFF): New macro.
18284 (gammal_positive): New function.
18285 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18286 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18287 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18289 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18290 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18291 * sysdeps/generic/math_private.h (__gamma_productf): New
18292 prototype.
18293 (__gamma_product): Likewise.
18294 (__gamma_productl): Likewise.
18295 * math/Makefile (libm-calls): Add gamma_product.
18296 * math/libm-test.inc (tgamma_test): Add more tests.
18297 * sysdeps/i386/fpu/libm-test-ulps: Update.
18298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18299
bb7cf681
OB
183002013-05-08 Ondřej Bílka <neleai@seznam.cz>
18301
18302 * benchtests/bench-skeleton.c (main): Preheat CPU.
18303
ba853947
AJ
183042013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18305
18306 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18307
8347c74c
RM
183082013-05-07 Roland McGrath <roland@hack.frob.com>
18309
18310 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18311 and _dl_skip_args_internal.
18312
e8dd4791
CD
183132013-05-07 Carlos O'Donell <carlos@redhat.com>
18314
18315 * manual/message.texi (Message Translation): Talk about users.
18316 Message to key mapping impacts design.
18317
c7405830
RM
183182013-05-06 Roland McGrath <roland@hack.frob.com>
18319
a9173057
RM
18320 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18321
976e2f03
RM
18322 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18323
9723ffc5
RM
18324 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18325 * sysdeps/wordsize-64/glob64.c: ... here.
18326
962e6658
RM
18327 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18328 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18329 New macros.
18330
ee586a6d
RM
18331 * debug/getlogin_r_chk.c: Moved to ...
18332 * login/getlogin_r_chk.c: ... here.
18333 * debug/Makefile (routines): Move getlogin_r_chk to ...
18334 * login/Makefile (routines): ... here.
18335 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18336 * login/Versions (libc: GLIBC_2.4): ... here.
18337
355f9165
RM
18338 * io/poll.c (__poll): Renamed from poll.
18339 Add libc_hidden_def.
18340 (poll): Define as weak alias.
18341
bd9ffde6
RM
18342 * debug/ptsname_r_chk.c: Moved to ...
18343 * login/ptsname_r_chk.c: ... here.
18344 * debug/Makefile (routines): Move ptsname_r_chk to ...
18345 * login/Makefile (routines): ... here.
18346 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18347 * login/Versions (libc: GLIBC_2.4): ... here.
18348
8fb16a04
RM
18349 * posix/getlogin.c: Moved to ...
18350 * login/getlogin.c: ... here.
18351 * posix/getlogin_r.c: Moved to ...
18352 * login/getlogin_r.c: ... here.
18353 * posix/getlogin_r.c: Moved to ...
18354 * login/getlogin_r.c: ... here.
18355 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18356 * login/Makefile (routines): ... here.
18357 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18358 * login/Versions (libc: GLIBC_2.0): ... here.
18359
b99b892f
RM
18360 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18361 (setrlimit): Define as weak alias.
18362
c7405830
RM
18363 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18364 Call __ names for open, ftruncate, and close.
18365 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18366 (truncate): Define as weak alias.
18367
5bf96de5
JM
183682013-05-06 Joseph Myers <joseph@codesourcery.com>
18369
9ea3513c
JM
18370 * math/gen-libm-test.pl (parse_args): Initialize x before each
18371 test of frexp, modf and remquo.
18372
5bf96de5
JM
18373 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18374 test signgam value.
18375
16e616a7
AZ
183762013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18377
18378 [BZ #15418]
18379 [BZ #15419]
18380 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18381 internal tests.
18382 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18383
d5e82754
RM
183842013-05-06 Roland McGrath <roland@hack.frob.com>
18385
18386 * elf/dl-writev.h: New file.
18387 * elf/dl-misc.c: Include it.
18388 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18389 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18390
a7548d41
JM
183912013-05-04 Joseph Myers <joseph@codesourcery.com>
18392
b7dab1e4
JM
18393 * math/libm-test.inc (noXFails): Remove variable.
18394 (noXPasses): Likewise.
18395 (BUILD_COMPLEX_INT): Remove macro.
18396 (print_screen): Remove xfail argument.
18397 (print_screen_max_error): Likewise.
18398 (update_stats): Likewise.
18399 (print_max_error): Likewise. Update calls to other affected
18400 functions.
18401 (print_complex_max_error): Likewise.
18402 (test_single_exception): Update calls to print_screen.
18403 (test_single_errno): Likewise.
18404 (check_float_internal): Remove xfail argument. Update calls to
18405 other affected functions.
18406 (check_float): Likewise.
18407 (check_complex): Likewise.
18408 (check_int): Likewise.
18409 (check_long): Likewise.
18410 (check_bool): Likewise.
18411 (check_longlong): Likewise.
18412 (main): Don't print noXFails and noXPasses.
18413 * math/gen-libm-test.pl (top level): Don't mention expected
18414 failure handling in comment.
18415 (new_test): Don't handle expected failures.
18416 (parse_args): Don't mention expected failure handling in comment.
18417 (generate_testfile): Don't handle expected failures.
18418 (parse_ulps): Likewise.
18419 (print_ulps_file): Likewise.
18420 (get_failure): Remove function.
18421 (output_test): Don't handle expected failures.
18422 * make/README.libm-test: Don't mention expected failure handling.
18423
a7548d41
JM
18424 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18425 (minus_zero): Likewise.
18426 (plus_infty): Likewise.
18427 (minus_infty): Likewise.
18428 (qnan_value): Likewise.
18429 (max_value): Likewise.
18430 (min_value): Likewise.
18431 (min_subnorm_value): Likewise.
18432 (initialize): Do not initialize those variables dynamically.
18433
60bfd54c
RM
184342013-05-03 Roland McGrath <roland@hack.frob.com>
18435
cc0e6ed8
RM
18436 * io/open.c (__open_2): Moved to ...
18437 * io/open_2.c: ... this new file.
18438 * io/open64.c (__open64_2): Moved to ...
18439 * io/open64_2.c: ... this new file.
18440 * io/openat.c (__openat_2): Moved to ...
18441 * io/openat_2.c: ... this new file.
18442 * io/openat64.c (__openat64_2): Moved to ...
18443 * io/openat64_2.c: ... this new file.
18444 * io/Makefile (routines): Add them.
18445 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18446 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18447 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18448 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18449 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18450 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18451 (__openat64): Add hidden_ver.
18452 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18453 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18454
60bfd54c
RM
18455 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18456 Separately conditionalize setting of GLRO(dl_sysinfo) so
18457 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18458 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18459
83e7640f
AZ
184602013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18461
18462 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18463 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18464 definition.
18465 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18466 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18467 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18468 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18469 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18470
d5dc2af3
JM
184712013-05-03 Joseph Myers <joseph@codesourcery.com>
18472
c31a5b1e
JM
18473 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18474 test signgam value.
18475
d5dc2af3
JM
18476 * math/libm-test.inc (hypot_test): Do not use
18477 IGNORE_ZERO_INF_SIGN.
18478
164fd39d
AJ
184792013-05-03 Andreas Jaeger <aj@suse.de>
18480
18481 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18482 Linux 3.9.
18483 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18484 (PF_MAX): Adjust for VSOCK change.
18485
8237f48c
AZ
184862013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18487
18488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18489
9df02941
CD
184902013-05-02 Carlos O'Donell <carlos@redhat.com>
18491
18492 [BZ #15264]
18493 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18494 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18495 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18496
d422395e
DM
184972013-05-02 David S. Miller <davem@davemloft.net>
18498
18499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18500
a07c5731
OB
185012013-05-01 Ondřej Bílka <neleai@seznam.cz>
18502
18503 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18504
1324e37f
RM
185052013-05-01 Roland McGrath <roland@hack.frob.com>
18506
18507 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18508
0695940b
RS
185092013-05-01 Richard Smith <richard@metafoo.co.uk>
18510
bb5f27ad 18511 [BZ #14952]
0695940b
RS
18512 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18513 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18514 Use __attribute__ ((__gnu_inline__)).
18515 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18516 Don't use __attribute__ ((__gnu_inline__)).
18517
10de07f5
JM
185182013-05-01 Joseph Myers <joseph@codesourcery.com>
18519
18520 [BZ #15423]
18521 * math/s_catan.c (__catan): Handle small real or imaginary part of
18522 input specially to avoid spurious underflow.
18523 * math/s_catanf.c (__catanf): Likewise.
18524 * math/s_catanh.c (__catanh): Likewise.
18525 * math/s_catanhf.c (__catanhf): Likewise.
18526 * math/s_catanhl.c (__catanhl): Likewise.
18527 * math/s_catanl.c (__catanl): Likewise.
18528 * math/libm-test.inc (catan_test): Add more tests.
18529 (catanh_test): Likewise.
18530 * sysdeps/i386/fpu/libm-test-ulps: Update.
18531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18532
cb4d5414
AZ
185332013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18534
18535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18536
caf84319
JM
185372013-04-30 Joseph Myers <joseph@codesourcery.com>
18538
18539 [BZ #15416]
18540 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18541 accurately for denominator in atan2.
18542 * math/s_catanf.c (__catanf): Likewise.
18543 * math/s_catanh.c (__catanh): Likewise.
18544 * math/s_catanhf.c (__catanhf): Likewise.
18545 * math/s_catanhl.c (__catanhl): Likewise.
18546 * math/s_catanl.c (__catanl): Likewise.
18547 * math/libm-test.inc (catan_test): Add more tests.
18548 (catanh_test): Likewise.
18549 * sysdeps/i386/fpu/libm-test-ulps: Update.
18550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18551
d569c6ee
SP
185522013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18553
6dbe713d
SP
18554 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18555
f0ee064b
SP
18556 * benchtests/Makefile (bench): Remove slow benchmarks.
18557 * benchtests/atan-inputs: Add slow benchmark inputs.
18558 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18559 (BENCH_FUNC): Accept variant offset.
18560 (VARIANT): Define.
18561 * benchtests/bench-skeleton.c (main): Run benchmark for each
18562 variant.
18563 * benchtests/cos-inputs: Add slow benchmark inputs.
18564 * benchtests/exp-inputs: Likewise.
18565 * benchtests/pow-inputs: Likewise.
18566 * benchtests/sin-inputs: Likewise.
18567 * benchtests/slowatan-inputs: Remove.
18568 * benchtests/slowatan.c: Remove.
18569 * benchtests/slowcos-inputs: Remove.
18570 * benchtests/slowcos.c: Remove.
18571 * benchtests/slowexp-inputs: Remove.
18572 * benchtests/slowexp.c: Remove.
18573 * benchtests/slowpow-inputs: Remove.
18574 * benchtests/slowpow.c: Remove.
18575 * benchtests/slowsin-inputs: Remove.
18576 * benchtests/slowsin.c: Remove.
18577 * benchtests/slowtan-inputs: Remove.
18578 * benchtests/slowtan.c: Remove.
18579 * benchtests/tan-inputs: Add slow benchmark inputs.
18580 * scripts/bench.pl: Parse comments and directives.
18581
d569c6ee
SP
18582 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18583 in CPPFLAGS.
18584 ($(objpfx)bench-%.c): Remove *-ITER.
18585 * benchtests/bench-modf.c: Remove definition of ITER.
18586 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18587 (main): Loop for DURATION seconds instead of fixed number of
18588 iterations.
18589 * scripts/bench.pl: Don't expect iterations in parameters.
18590
a6a242fe
RM
185912013-04-29 Roland McGrath <roland@hack.frob.com>
18592
18593 * io/fchdir.c (__fchdir): Renamed from fchdir.
18594 (fchdir): Define as weak alias.
18595
f2da7793
JM
185962013-04-29 Joseph Myers <joseph@codesourcery.com>
18597
18598 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18599 (ERRNO_EDOM): Likewise.
18600 (ERRNO_ERANGE): Likewise.
18601 (noErrnoTests): New variable.
18602 (init_max_error): Set errno to 0.
18603 (test_single_errno): New function.
18604 (test_errno): Likewise.
18605 (check_float_internal): Call test_errno. Set errno to 0.
18606 (check_complex): Refer to errno tests in comment.
18607 (check_int): Call test_errno. Set errno to 0.
18608 (check_long): Likewise.
18609 (check_bool): Likewise.
18610 (check_longlong): Likewise.
18611 (cos_test): Use ERRNO_* flags for errno tests instead of
18612 check_int.
18613 (expm1_test): Likewise.
18614 (fmod_test): Likewise.
18615 (ilogb_test): Likewise.
18616 (lgamma_test): Likewise.
18617 (pow_test): Likewise.
18618 (remainder_test): Likewise.
18619 (sin_test): Likewise.
18620 (tan_test): Likewise.
18621 (yn_test): Likewise.
18622 (initialize): Set errno to 0.
18623 (main): Print number of errno tests.
18624 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18625
b1a36ceb
AJ
186262013-04-29 Andreas Jaeger <aj@suse.de>
18627
c3ed8088
AJ
18628 [BZ #15084]
18629 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18630 and RES_USEVC.
18631
f1a24198
AJ
18632 [BZ #15085]
18633 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18634 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18635 unimplemented.
18636
9ce3b2cb
AJ
18637 [BZ #15380]
18638 * stdlib/random.c (__initstate): Return NULL if
18639 __initstate fails.
18640
f1a24198 18641 [BZ #15086]
b1a36ceb
AJ
18642 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18643 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18644 RES_SNGLKUPREOP.
18645
7e7b6f36
AZ
186462013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18647
18648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18649
4d14f449
JM
186502013-04-29 Joseph Myers <joseph@codesourcery.com>
18651
18652 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18653 of individual tests.
18654 (casin_test): Likewise.
18655 (casinh_test): Likewise.
18656
5b4217d7
JM
186572013-04-27 Joseph Myers <joseph@codesourcery.com>
18658
18659 [BZ #15409]
18660 * math/s_catan.c (__catan): Handle arguments with large real or
18661 imaginary part separately without squaring.
18662 * math/s_catanf.c (__catanf): Likewise.
18663 * math/s_catanh.c (__catanh): Likewise.
18664 * math/s_catanhf.c (__catanhf): Likewise.
18665 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18666 and redefine.
18667 (__catanhl): Handle arguments with large real or imaginary part
18668 separately without squaring.
18669 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18670 and redefine.
18671 (__catanl): Handle arguments with large real or imaginary part
18672 separately without squaring.
18673 * math/libm-test.inc (catan_test): Add more tests.
18674 (catanh_test): Likewise.
18675 * sysdeps/i386/fpu/libm-test-ulps: Update.
18676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18677
4220c3ef
AJ
186782013-04-27 Andreas Jaeger <aj@suse.de>
18679
18680 [BZ #15007]
18681 * stdlib/stdlib.h: Update guards for qecvt.
18682 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18683 <stdlib.h>.
18684
4721b2d1
AM
186852013-04-27 Allan McRae <allan@archlinux.org>
18686
18687 * sysdeps/i386/fpu/libm-test-ulps: Update.
18688
f0302940
JM
186892013-04-26 Joseph Myers <joseph@codesourcery.com>
18690
9457fd95
JM
18691 [BZ #15406]
18692 * math/s_catan.c: Include <float.h>.
18693 (__catan): Ensure underflow exception occurs for underflowed
18694 result.
18695 * math/s_catanf.c: Include <float.h>.
18696 (__catanf): Ensure underflow exception occurs for underflowed
18697 result.
18698 * math/s_catanh.c: Include <float.h>.
18699 (__catanh): Ensure underflow exception occurs for underflowed
18700 result.
18701 * math/s_catanhf.c: Include <float.h>.
18702 (__catanhf): Ensure underflow exception occurs for underflowed
18703 result.
18704 * math/s_catanhl.c: Include <float.h>.
18705 (__catanhl): Ensure underflow exception occurs for underflowed
18706 result.
18707 * math/s_catanl.c: Include <float.h>.
18708 (__catanl): Ensure underflow exception occurs for underflowed
18709 result.
18710 * math/libm-test.inc (catan_test): Add more tests.
18711 (catanh_test): Likewise.
18712
f0302940
JM
18713 [BZ #15405]
18714 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18715 underflowed result.
18716 * math/s_ccoshf.c (__ccoshf): Likewise.
18717 * math/s_ccoshl.c (__ccoshl): Likewise.
18718 * math/s_csin.c (__csin): Likewise.
18719 * math/s_csinf.c (__csinf): Likewise.
18720 * math/s_csinh.c (__csinh): Likewise.
18721 * math/s_csinhf.c (__csinhf): Likewise.
18722 * math/s_csinhl.c (__csinhl): Likewise.
18723 * math/s_csinl.c (__csinl): Likewise.
18724 * math/libm-test.inc (ccos_test): Add more tests.
18725 (ccosh_test): Likewise.
18726 (csin_test): Likewise.
18727 (csinh_test): Likewise.
18728
aa630f59
AZ
187292013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18730
18731 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18732 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18733 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18734 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18735 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18736 powerpc/power5+/fpu folders.
18737 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18738
18739
1b835983
MT
187402013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18741
18742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18743
73709b26
JM
187442013-04-25 Joseph Myers <joseph@codesourcery.com>
18745
18746 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18747 additions to variable.
18748 [$(config-machine) = x86_64] (modules-names): Likewise.
18749 ($(objpfx)tst-audit3): Remove dependency.
18750 ($(objpfx)tst-audit3.out): Likewise.
18751 ($(objpfx)tst-audit4): Likewise.
18752 ($(objpfx)tst-audit4.out): Likewise.
18753 ($(objpfx)tst-audit5): Likewise.
18754 ($(objpfx)tst-audit5.out): Likewise.
18755 ($(objpfx)tst-audit6): Likewise.
18756 ($(objpfx)tst-audit6.out): Likewise.
18757 ($(objpfx)tst-audit7): Likewise.
18758 ($(objpfx)tst-audit7.out): Likewise.
18759 (tst-audit3-ENV): Remove variable.
18760 (tst-audit4-ENV): Likewise.
18761 (tst-audit5-ENV): Likewise.
18762 (tst-audit6-ENV): Likewise.
18763 (tst-audit7-ENV): Likewise.
18764 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18765 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18766 addition to variable.
18767 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18768 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18769 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18770 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18771 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18772 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18773 tst-audit3, tst-audit4 and tst-audit5.
18774 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18775 tst-audit6 and tst-audit7.
18776 [$(subdir) = elf] (modules-names): Add audit modules for those
18777 tests.
18778 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18779 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18780 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18781 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18782 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18783 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18784 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18785 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18786 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18787 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18788 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18789 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18790 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18791 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18792 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18793 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18794 Likewise.
18795 [$(subdir) = elf && $(config-cflags-avx) = yes]
18796 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18797 [$(subdir) = elf && $(config-cflags-avx) = yes]
18798 (CFLAGS-tst-auditmod4a.c): Likewise.
18799 [$(subdir) = elf && $(config-cflags-avx) = yes]
18800 (CFLAGS-tst-auditmod4b.c): Likewise.
18801 [$(subdir) = elf && $(config-cflags-avx) = yes]
18802 (CFLAGS-tst-auditmod6b.c): Likewise.
18803 [$(subdir) = elf && $(config-cflags-avx) = yes]
18804 (CFLAGS-tst-auditmod6c.c): Likewise.
18805 [$(subdir) = elf && $(config-cflags-avx) = yes]
18806 (CFLAGS-tst-auditmod7b.c): Likewise.
18807 * elf/tst-audit3.c: Move to ...
18808 * sysdeps/x86_64/tst-audit3.c: ... here.
18809 * elf/tst-audit4.c: Move to ...
18810 * sysdeps/x86_64/tst-audit4.c: ... here.
18811 * elf/tst-audit5.c: Move to ...
18812 * sysdeps/x86_64/tst-audit5.c: ... here.
18813 * elf/tst-audit6.c: Move to ...
18814 * sysdeps/x86_64/tst-audit6.c: ... here.
18815 * elf/tst-audit7.c: Move to ...
18816 * sysdeps/x86_64/tst-audit7.c: ... here.
18817 * elf/tst-auditmod3a.c: Move to ...
18818 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18819 * elf/tst-auditmod3b.c: Move to ...
18820 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18821 * elf/tst-auditmod4a.c: Move to ...
18822 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18823 * elf/tst-auditmod4b.c: Move to ...
18824 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18825 * elf/tst-auditmod5a.c: Move to ...
18826 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18827 * elf/tst-auditmod5b.c: Move to ...
18828 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18829 * elf/tst-auditmod6a.c: Move to ...
18830 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18831 * elf/tst-auditmod6b.c: Move to ...
18832 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18833 * elf/tst-auditmod6c.c: Move to ...
18834 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18835 * elf/tst-auditmod7a.c: Move to ...
18836 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18837 * elf/tst-auditmod7b.c: Move to ...
18838 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18839
1ef74943
PP
188402013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18841
18842 [BZ #15366]
18843 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18844 define unconditionally.
18845 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18846 define unconditionally.
18847 (INT8_C, INT16_C, etc.): Likewise.
18848
93fd48c5
MR
188492013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18850
ae9552cf
MR
18851 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18852 __ehdr_start with hidden visibility.
18853
93fd48c5
MR
18854 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18855
418601aa
CD
188562013-04-24 Carlos O'Donell <carlos@redhat.com>
18857
18858 * math/libm-test.inc (cos_test): Use accurate hex constants.
18859 (sincost_test): Likewise.
18860
2f38fbfe
JM
188612013-04-24 Joseph Myers <joseph@codesourcery.com>
18862
5e221800
JM
18863 * math/libm-test.inc (catan_test): Add more tests.
18864 (catanh_test): Likewise.
18865
77f143fd
JM
18866 * math/s_catanf.c (__catanf): Use suffixed floating-point
18867 constants.
18868 * math/s_catanhf.c (__catanhf): Likewise.
18869 * math/s_catanhl.c (__catanhl): Likewise.
18870 * math/s_catanl.c (__catanl): Likewise.
18871
2f38fbfe
JM
18872 [BZ #15394]
18873 * math/s_catan.c (__catan): Calculate imaginary part of result
18874 with log1p not log unless computing log of number close to 0.
18875 * math/s_catanf.c (__catanf): Likewise.
18876 * math/s_catanl.c (__catanl): Likewise.
18877 * math/s_catanh.c (__catanh): Calculate real part of result with
18878 log1p not log unless computing log of number close to 0.
18879 * math/s_catanhf.c (__catanhf): Likewise.
18880 * math/s_catanhl.c (__catanhl): Likewise.
18881 * math/libm-test.inc (catan_test): Add more tests.
18882 (catanh_test): Likewise.
18883 * sysdeps/i386/fpu/libm-test-ulps: Update.
18884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18885
45d69176
SP
188862013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18887
18888 * benchtests/Makefile: Mention files in which fast and slow
18889 paths of math functions are implemented.
18890
87f51853
RM
188912013-04-23 Roland McGrath <roland@hack.frob.com>
18892
18893 * sysdeps/posix/timespec_get.c: New file.
18894
3c026539
AZ
188952013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18896
18897 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18898 POWER.
18899 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18900 for POWER.
18901 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18902 powerpc/power5/fpu folders.
18903 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18904 * benchtests/Makefile: Add modf testcase.
18905 * benchtests/bench-modf.c: New file: Benchmark test for mo
18906
ff491d14
SP
189072013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18908
18909 [BZ #14888]
18910 * time/Makefile (tests): Add tst-strptime-whitespace.
18911 * time/strptime_l.c (get_number): Use ISSPACE.
18912 (__strptime_internal): Likewise.
18913 * time/tst-strptime-whitespace.c: New test case.
18914
7ed3f4e8
AS
189152013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18916
18917 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18918 member.
18919 (_nss_files_init): Set it here.
18920
5c95f7b6
HC
189212013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18922
18923 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18924 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18925 unsigned.
18926
d34c9158
JBG
189272013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18928
18929 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18930
2169712d
SP
189312013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18932
18933 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18934 size just once.
18935
29c5de99
DM
189362013-04-21 David S. Miller <davem@davemloft.net>
18937
18938 * po/ru.po: Update Russion translation from translation project.
18939
ccdad15d
AC
189402013-04-17 Adam Conrad <adconrad@0c3.net>
18941
18942 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18943 and setfsgid.
18944
0f122b8d
CD
189452013-04-17 Carlos O'Donell <carlos@redhat.com>
18946
5c5b07da 18947 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 18948 * configure: Regenerate.
5c5b07da 18949 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
18950 Add example to error message.
18951 * sysdeps/i386/configure: Regenerate.
18952
037714dd
SP
189532013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18954
18955 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18956 slowtan.
18957 * benchtests/cos-inputs: New file.
18958 * benchtests/slowcos-inputs: New file.
18959 * benchtests/slowcos.c: New file.
18960 * benchtests/slowtan-inputs: New file.
18961 * benchtests/slowtan.c: New file.
18962 * benchtests/tan-inputs: New file.
18963
e913141d
RM
189642013-04-16 Roland McGrath <roland@hack.frob.com>
18965
18966 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18967 considered kosher.
18968
a2964074
SP
189692013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18970
4856bcd2
SP
18971 * benchtests/Makefile: Include cppflags-iterator.mk to add
18972 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18973
a2964074
SP
18974 * Makefile.in (bench-clean): New target.
18975 * benchtests/Makefile (bench-clean): Likewise.
18976
9fbf9aca
DH
189772013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18978
18979 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18980
207d1e2a
TS
189812013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18982
18983 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18984
306dfba9
AS
189852013-04-15 Andreas Schwab <schwab@suse.de>
18986
18987 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18988 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18989 * nscd/pwdcache.c (cache_addpw): Likewise.
18990 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18991 more than recsize.
18992
206a6699
SP
189932013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18994
18995 * benchtests/Makefile (bench): Write all output to
18996 bench-out.tmp together.
18997
0582f6b3
AS
189982013-04-15 Andreas Schwab <schwab@suse.de>
18999
19000 * nscd/nscd.c (main): Don't fork again after closing files.
19001
acb4325f
SP
190022013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19003
5cb26d0a
SP
19004 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19005
acb4325f
SP
19006 * benchtests/Rules (bench-deps): Collect dependencies into a
19007 single variable. Add Makefile to dependencies.
19008 ($(objpfx)bench-%.c): Depend on bench-deps.
19009
47792506
RM
190102013-04-12 Roland McGrath <roland@hack.frob.com>
19011 Xavier Roche <roche+kml2@exalead.com>
19012
19013 [BZ #15361]
19014 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19015 just that it's a file descriptor.
19016 * manual/llio.texi (Synchronizing AIO Operations): Update description
19017 for EBADF error from aio_fsync.
19018
8fc1bee5
SP
190192013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19020
19021 * Rules (bench): Move target definition...
19022 * benchtests/Makefile: ... here.
19023
aba5e333
CD
190242013-04-11 Carlos O'Donell <carlos@redhat.com>
19025
19026 * math/libm-test.inc (cos_test): Fix PI/2 test.
19027 (sincos_test): Likewise.
19028 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19029 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19030
273cdee8
AS
190312013-04-11 Andreas Schwab <schwab@suse.de>
19032
6ecec3b6
AS
19033 [BZ #13988]
19034 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19035 accept exponent character only when digits were seen.
19036 * stdio-common/Makefile (tests): Add bug26.
19037 * stdio-common/bug26.c: New file.
19038
273cdee8
AS
19039 [BZ #14293]
19040 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19041 non-freeable.
19042
8da491f5
SP
190432013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19044
01dc6df9
SP
19045 * Makeconfig (rtld-prefix): Define built linker prefix.
19046 * Rules (run-bench): Use it.
19047 * math/Makefile (run-regen-ulps): Likewise.
19048
8da491f5
SP
19049 * Rules (bench): Remove eval.
19050
abe7f530
SP
190512013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19052 Roland McGrath <roland@hack.frob.com>
19053 Ondrej Bilka <neleai@seznam.cz>
19054
19055 [BZ #15346]
19056 * time/getdate.c: Include ctype.h and alloca.h.
19057 (__getdate_r): Trim leading and trailing spaces of input.
19058 * time/tst-getdate.c (tests): Add tests with leading and
19059 trailing spaces.
19060
61c23e62
RM
190612013-04-08 Roland McGrath <roland@hack.frob.com>
19062
19063 [BZ #14280]
19064 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19065 when computing value.
19066
7208a313
CD
190672013-04-06 Carlos O'Donell <carlos@redhat.com>
19068
085b2d41
CD
19069 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19070 Use testrun.sh to run libm tests.
19071
7208a313
CD
19072 [BZ #15309]
19073 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19074
872c0acd
MM
190752013-04-06 Marko Myllynen <myllynen@redhat.com>
19076
19077 [BZ #15264]
19078 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19079
26510bdd
CD
190802013-04-06 Carlos O'Donell <carlos@redhat.com>
19081
19082 * Makefile.in (regen-ulps): New target.
19083 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19084 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19085 [ifneq (no,$(PERL)] (regen-ulps): New target.
19086 [ifeq (no,$(PERL)] (regen-ulps): New target.
19087 * math/libm-test.inc (ulps_file_name): Define.
19088 (output_dir): New variable.
19089 (options): Add "output-dir" option.
19090 (parse_opt): Handle 'o' case.
19091 (main): If output_dir is non-NULL use it as a prefix
19092 otherwise use "".
19093 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19094
a01f19c8
CD
190952013-04-06 Carlos O'Donell <carlos@redhat.com>
19096
19097 [BZ #10060, #10062]
19098 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19099 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19100 fail configure if __sync_val_compare_and_swap is not inlined.
19101 * sysdeps/i386/configure: Regenerate.
19102 * configure.in: Build for i686 when configured for i386.
19103 * configure: Regenerate.
19104 * README: Remove i386 reference.
19105
b7a329a5
CD
191062013-04-06 Carlos O'Donell <carlos@redhat.com>
19107
19108 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19109 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19110
bf0f50df
TS
191112013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19112
ee091edf
TS
19113 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19114 (lmsnanval): New variables.
19115 (F): Add conversion tests.
19116 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19117 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19118
a8b792d6
TS
19119 * stdio-common/tstdiomisc.c (F): Properly collect individual
19120 tests' results.
19121
a1cbf437
TS
19122 [BZ #14686, #15336]
19123 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19124 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19125 Instead, use input NaN values or generate a qNaN by arithmetic
19126 operation. Also fix bugs to comply with the standard.
19127 * math/libm-test.inc (remainder_test): Add more tests.
19128
8b43a0c9
TS
19129 [BZ #15335, #15342]
19130 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19131 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19132 input NaN values or generate a qNaN by arithmetic operation.
19133
d91da4ce
TS
19134 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19135 unreachable code.
19136
bf0f50df
TS
19137 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19138 definitions.
19139
05e166c8
JM
191402013-04-03 Joseph Myers <joseph@codesourcery.com>
19141
19142 [BZ #14478]
19143 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19144 underflowed result.
19145 * math/s_cexpf.c (__cexpf): Likewise.
19146 * math/s_cexpl.c (__cexpl): Likewise.
19147 * math/libm-test.inc (cexp_test): Add more tests.
19148
1cef1b19
AS
191492013-04-03 Andreas Schwab <schwab@suse.de>
19150
19151 [BZ #15330]
19152 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19153 order arrays from heap if bigger than alloca cutoff.
19154
74d87055
TS
191552013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19156
19157 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19158 (SNAN_TESTS_double): Refer to GCC PR56831.
19159 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19160 GCC PR56828.
19161
d755bba4
SP
191622013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19163
90d5d5bb
SP
19164 * Rules (bench): Move bench.out after the run is complete.
19165
73e0cd5d
SP
19166 * Rules (bench): Echo currently running benchmark.
19167
64aabd4b
SP
19168 * benchtests/Makefile (bench): Add atan and slowatan.
19169 * benchtests/atan-inputs: New file.
19170 * benchtests/slowatan-inputs: New file.
19171 * benchtests/slowatan.c: New file.
19172
c871eccd
SP
19173 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19174 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19175 its value.
19176
d755bba4
SP
19177 [BZ #15305]
19178 * sysdeps/unix/sysv/linux/kernel-features.h
19179 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19180 __ASSUME_XFS_RESTRICTED_CHOWN.
19181 * sysdeps/unix/sysv/linux/pathconf.c
19182 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19183 Save and restore errno.
19184
52ce4860
JM
191852013-04-02 Joseph Myers <joseph@codesourcery.com>
19186
19187 [BZ #15327]
19188 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19189 arguments using __kernel_casinh.
19190 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19191 arguments using __kernel_casinhf.
19192 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19193 arguments using __kernel_casinhl.
19194 * math/libm-test.inc (cacosh_test): Add more tests.
19195 * sysdeps/i386/fpu/libm-test-ulps: Update.
19196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19197
81f311c2
SP
191982013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19199
e7906a47
SP
19200 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19201 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19202
92e3664b
SP
19203 * bench/Makefile (bench): Add sin and slowsin.
19204 * benchtests/sin-inputs: New file.
19205 * benchtests/slowsin-inputs: New file.
19206 * benchtests/slowsin.c: New file.
19207
81f311c2
SP
19208 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19209 (bench): Add slowexp and slowpow.
19210 (exp-ITER): Increase iterations.
19211 (pow-ITER): Likewise.
19212 * benchtests/exp-inputs: Change input.
19213 * benchtests/pow-inputs: Likewise.
19214 * benchtests/slowexp-inputs: New file.
19215 * benchtests/slowexp.c: New file.
19216 * benchtests/slowpow-inputs: New file.
19217 * benchtests/slowpow.c: New file.
19218
ab0f1aa9
AZ
192192013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19220
19221 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19222 instructions.
19223 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19224 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19225 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19226 * benchtests/Makefile: Add rint benchtest.
19227 * benchtests/rint-inputs: Input for rint benchtest.
19228
57267616
TS
192292013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19230
19231 * Versions.def (libm): Add GLIBC_2.18.
19232 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19233 hidden libm prototypes.
19234 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19235 * math/Makefile (libm-calls): Add s_issignaling.
19236 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19237 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19238 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19239 declaration.
19240 * math/math.h [__USE_GNU] (issignaling): New macro.
19241 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19242 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19243 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19244 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19245 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19246 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19247 * manual/arith.texi (issignaling): New section.
19248 * manual/libm-err-tab.pl (@all_functions): Update comment.
19249 * math/gen-libm-test.pl (parse_args): Apply special handling for
19250 issignaling.
19251 * math/libm-test.inc (print_float, issignaling_test): New
19252 functions.
19253 (check_float_internal): Add issignaling checks.
19254 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19255 default definition.
19256 * sysdeps/powerpc/math-tests.h: New file.
19257 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19258 tests.
19259 * math/test-snan.c (TEST_FUNC): Likewise.
19260
6142896d
DM
192612013-03-30 David S. Miller <davem@davemloft.net>
19262
19263 * po/de.po: Update from translation team.
19264
ccc8cadf
JM
192652013-03-30 Joseph Myers <joseph@codesourcery.com>
19266
19267 [BZ #10357]
19268 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19269 imaginary part less than 1.0 and real part less than 0.5
19270 specially.
19271 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19272 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19273 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19274 (cacos_test): Add more tests.
19275 (casin_test): Likewise.
19276 (casinh_test): Likewise.
19277 * sysdeps/i386/fpu/libm-test-ulps: Update.
19278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19279
0f6a8d4b
SP
192802013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19281
0d1029de
SP
19282 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19283 ONE with its value.
19284
c2d94018
SP
19285 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19286 (__pow_mp): Replace ONE and MONE with their values.
19287 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19288 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19289 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19290 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19291 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19292 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19293
27ec37f1
SP
19294 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19295
a64d7e0e
SP
19296 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19297 (__pow_mp): Replace ZERO and MZERO with their values.
19298 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19299 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19300 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19301 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19302 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19303 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19304 (__sqr): Likewise.
19305
d26dd3eb
SP
19306 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19307
0f6a8d4b
SP
19308 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19309
e57b0c61
RM
193102013-03-28 Roland McGrath <roland@hack.frob.com>
19311
19312 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19313 Declare with __attribute__ ((weak)).
19314 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19315 Call __call_tls_dtors only if it's not NULL.
19316
356b3480
RM
193172013-03-28 Roland McGrath <roland@hack.frob.com>
19318
288f7d79
RM
19319 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19320 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19321 magic __ehdr_start linker symbol if it's defined.
19322 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19323 them up here if it was already done.
19324
dc0a0263
RM
19325 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19326 (_dl_aux_init): Use const in cast when setting it.
19327 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19328 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19329 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19330
3d3436ae
RM
19331 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19332 Declare them here.
19333 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19334 * csu/libc-tls.c: Nor here.
19335 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19336
356b3480
RM
19337 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19338 (__libc_message): Never call vsyslog.
19339
b0f1246a
AM
193402013-03-28 Alan Modra <amodra@gmail.com>
19341
19342 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19343 Define as empty.
19344 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19345 Likewise.
19346
fbbe2b9a
AZ
193472013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19348
19349 [BZ #15214]
19350 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19351 underflow.
19352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19353
1728ab37
SP
193542013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19355
7a86be6e
SP
19356 [BZ #15304]
19357 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19358 Don't add gid passed as argument.
19359
1728ab37
SP
19360 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19361
3a7182a1
JM
193622013-03-27 Joseph Myers <joseph@codesourcery.com>
19363
19364 [BZ #15307]
19365 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19366 imaginary part between 1.0 and 1.5 and real part less than 0.5
19367 specially.
19368 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19369 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19370 * math/libm-test.inc (cacos_test): Add more tests.
19371 (casin_test): Likewise.
19372 (casinh_test): Likewise.
19373 * sysdeps/i386/fpu/libm-test-ulps: Update.
19374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19375
6f2e90e7
SP
193762013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19377
5739f705
SP
19378 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19379 constants.
19380 (norm): Likewise.
19381 (denorm): Likewise.
19382 (__dbl_mp): Likewise.
19383 (add_magnitudes): Likewise.
19384 (sub_magnitudes): Likewise.
19385 (__add): Likewise.
19386 (__sub): Likewise.
19387 (__mul): Likewise.
19388 (__sqr): Likewise.
19389 (__inv): Likewise.
19390 (__dvd): Likewise.
19391
e375e83d
SP
19392 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19393 commented code.
19394 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19395 (__dubcos): Likewise.
19396 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19397 (__ieee754_acos): Likewise.
19398 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19399 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19400 (__exp1): Likewise.
19401 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19402 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19403 (log1): Likewise.
19404 (my_log2): Likewise.
19405 (checkint): Likewise.
19406 * sysdeps/ieee754/dbl-64/e_remainder.c
19407 (__ieee754_remainder): Likewise.
19408 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19409 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19410 (bsloww): Likewise.
19411 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19412
6f2e90e7
SP
19413 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19414 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19415 MANTISSA_STORE_T to store computations on mantissa. Use
19416 macros for rounding and division.
19417 (denorm): Likewise.
19418 (__dbl_mp): Likewise.
19419 (add_magnitudes): Likewise.
19420 (sub_magnitudes): Likewise.
19421 (__mul): Likewise.
19422 (__sqr): Likewise.
19423 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19424 powers of two in terms of TWOPOW macro.
19425 (mp_no): Make type of mantissa as MANTISSA_T.
19426 [!RADIXI]: Define RADIXI.
19427 [!TWO52]: Define TWO52.
19428 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19429
fce14d4e
AZ
194302013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19431
19432 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19433 llroundl symbol when building for PPC32.
19434
9ad027fb
MW
194352013-03-24 Mark H Weaver <mhw@netris.org>
19436
19437 * manual/arith.texi (Normalization Functions): Fix prototypes for
19438 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19439
e42a38dd
AZ
194402013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19441
19442 [BZ #13889]
19443 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19444 high value to check if expl overflow.
19445 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19446 to check for underflow and overflow.
19447 * math/libm-test.inc: Add exp test.
19448
2e0fb521
DL
194492013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19450
19451 [BZ #11120]
19452 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19453 with NOT_IN_libc.
19454
b5784d95
AZ
194552013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19456
19457 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19458 symbol.
19459
5aa4a1a1
TS
194602013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19461
bdef0be7
TS
19462 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19463 wrap blocks consisting of several statements.
19464
5aa4a1a1
TS
19465 * sysdeps/generic/math-tests.h: New file.
19466 * sysdeps/i386/fpu/math-tests.h: Likewise.
19467 * math/test-snan.c: Include it.
19468 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19469
98c48fe5
JM
194702013-03-21 Joseph Myers <joseph@codesourcery.com>
19471
19472 [BZ #15285]
19473 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19474 (__ieee754_j0l): Do not improve calculations using cos of twice
19475 input for inputs above LDBL_MAX / 2.0L.
19476 (__ieee754_y0l): Likewise.
19477 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19478 (__ieee754_j1l): Do not improve calculations using cos of twice
19479 input for inputs above LDBL_MAX / 2.0L.
19480 (__ieee754_y1l): Likewise.
19481 * math/libm-test.inc (j0_test): Add another test.
19482 (j1_test): Likewise.
19483 (y0_test): Likewise.
19484 (y1_test): Likewise.
19485 * sysdeps/i386/fpu/libm-test-ulps: Update.
19486
3775a8bc
SP
194872013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19488
19489 * Rules ($(objpfx)bench-%.c): Include code from a C source
19490 file.
19491
0a1b2ae6
JM
194922013-03-21 Joseph Myers <joseph@codesourcery.com>
19493
19494 [BZ #15287]
19495 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19496 imaginary part 1.0 and real part less than 0.5 specially.
19497 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19498 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19499 * math/libm-test.inc (cacos_test): Add more tests.
19500 (casin_test): Likewise.
19501 (casinh_test): Likewise.
19502 * sysdeps/i386/fpu/libm-test-ulps: Update.
19503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19504
b33d4ce4
SP
195052013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19506
19507 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19508 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19509
bef0b507
JM
195102013-03-20 Joseph Myers <joseph@codesourcery.com>
19511
19512 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19513 * config.make.in (config-cflags-sse4): Remove variable.
19514 (config-cflags-avx): Likewise.
19515 (config-cflags-sse2avx): Likewise.
19516 (config-cflags-novzeroupper): Likewise.
19517 (config-asflags-i686): Likewise.
19518 (have-mfma4): Likewise.
19519 (have-as-vis3): Likewise.
19520 (MIG): Likewise.
19521 * configure.in (MIG): Do not AC_SUBST.
19522 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19523 (libc_cv_cc_sse4): Do not AC_SUBST.
19524 (libc_cv_cc_avx): Likewise.
19525 (libc_cv_cc_sse2avx): Likewise.
19526 (libc_cv_cc_novzeroupper): Likewise.
19527 (libc_cv_cc_fma4): Likewise.
19528 (libc_cv_as_i686): Likewise.
19529 (libc_cv_sparc_as_vis3): Likewise.
19530 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19531 LIBC_CONFIG_VAR.
19532 (config-asflags-i686): Likewise.
19533 (config-cflags-avx): Likewise.
19534 (config-cflags-sse2avx): Likewise.
19535 (have-mfma4): Likewise.
19536 (config-cflags-novzeroupper): Likewise.
19537 * sysdeps/mach/configure.in (MIG): Likewise.
19538 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19539 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19540 LIBC_CONFIG_VAR.
19541 (config-cflags-avx): Likewise.
19542 (config-cflags-sse2avx): Likewise.
19543 (have-mfma4): Likewise.
19544 (config-cflags-novzeroupper): Likewise.
19545 * configure: Regenerated.
19546 * sysdeps/i386/configure: Likewise.
19547 * sysdeps/mach/configure: Likewise.
19548 * sysdeps/sparc/configure: Likewise.
19549 * sysdeps/x86_64/configure: Likewise.
19550
912cc4b3
RM
195512013-03-20 Roland McGrath <roland@hack.frob.com>
19552
19553 [BZ #14812]
19554 * locale/programs/localedef.c (options): Put N_ translation marker
19555 on argument names, not just descriptions.
19556
04eed2b0
MS
195572013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19558
19559 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19560
a065ceff
OB
195612013-03-20 Ondřej Bílka <neleai@seznam.cz>
19562
9bb2a810 19563 [BZ #14176]
a065ceff
OB
19564 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19565
a600e5ce
RM
195662013-03-19 Roland McGrath <roland@hack.frob.com>
19567
19568 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19569 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19570 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19571 [!BEFORE_ABORT] (before_abort): New function.
19572 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19573 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19574 (writev_for_fatal): New function.
19575 (WRITEV_FOR_FATAL): New macro; call that.
19576 (backtrace_and_maps): New function.
19577 (BEFORE_ABORT): New macro; call that.
19578 (struct str_list): Type removed.
19579 (__libc_message, __libc_fatal): Functions removed.
19580 Include <sysdeps/posix/libc_fatal.c> instead.
19581
6b18bea6
JM
195822013-03-19 Joseph Myers <joseph@codesourcery.com>
19583
19584 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19585 constants.
19586 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19587 double constants.
19588
aaa8cb4b
AS
195892013-03-19 Andreas Schwab <schwab@suse.de>
19590
44673770
AS
19591 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19592 * sysdeps/gnu/configure: Regenerate.
19593
aaa8cb4b
AS
19594 * configure.in: Substitute libc_cv_rtlddir.
19595 * configure: Regenerate.
19596 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19597 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19598 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19599 * elf/Makefile (install-others, CFLAGS-interp.c)
19600 (ldso_install, common-ldd-rewrite): Likewise.
19601 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19602 $(inst_slibdir)/$(rtld-installed-name).
19603 * scripts/rellns-sh: Add -p option.
19604 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19605 for source.
19606
d3cfc668
SP
196072013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19608
19609 * manual/nptl.texi: Renamed to ...
19610 * manual/threads.texi: ... this.
19611 * manual/Makefile (chapters): Update.
19612
0e2b9cdd
RM
196132013-03-18 Roland McGrath <roland@hack.frob.com>
19614
19615 [BZ #14812]
19616 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19617 on argument names, not just descriptions.
0e2b9cdd
RM
19618 * malloc/memusagestat.c (options): Likewise.
19619 * nss/getent.c (options): Likewise.
63270c24
RM
19620
196212013-03-18 Benno Schulenberg <bensberg@justemail.net>
19622
19623 [BZ #14812]
19624 * iconv/iconv_prog.c (options): Put N_ translation marker
19625 on argument names, not just descriptions.
19626 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 19627
b2e1393c
OB
196282013-03-18 Ondrej Bilka <neleai@seznam.cz>
19629
19630 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19631 implementation which is faster on all x86_64 architectures.
19632 Tested on AMD, Intel Nehalem, SNB, IVB.
19633 * sysdeps/x86_64/strnlen.S: Likewise.
19634
19635 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19636 Remove all multiarch strlen and strnlen versions.
19637 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19638 Remove strlen and strnlen related parts.
19639
19640 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19641 Inline strlen part.
19642 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19643
19644 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19645 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19646 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19647 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19648 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19649 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19650
ec4ff04d
CD
196512013-03-17 Carlos O'Donell <carlos@redhat.com>
19652
19653 * manual/memory.texi (Malloc Tunable Parameters):
19654 Sort parameters alphabetically. Add comments for missing entries.
19655
cd18e90a
DM
196562013-03-17 David S. Miller <davem@davemloft.net>
19657
19658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19659
2a185d32
JM
196602013-03-16 Joseph Myers <joseph@codesourcery.com>
19661
d2f9799e
JM
19662 [BZ #15283]
19663 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19664 for arguments at most half maximum finite value.
19665 * math/libm-test.inc (j0_test): Add more tests.
19666 (j1_test): Likewise.
19667 (y0_test): Likewise.
19668 (y1_test): Likewise.
19669 * sysdeps/i386/fpu/libm-test-ulps: Update.
19670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19671
2a185d32
JM
19672 [BZ #14155]
19673 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19674 1 / x and functions P and Q for arguments above 0x1p256L.
19675 (__ieee754_y0l): Likewise.
19676 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19677 (__ieee754_y1l): Likewise.
19678 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19679 (j1_test): Likewise.
19680 (y0_test): Likewise.
19681 (y1_test): Likewise.
19682
6cbec759
TS
196832013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19684
19685 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19686 variable.
19687
bc16e260
RM
196882013-03-15 Roland McGrath <roland@hack.frob.com>
19689
aefc9b8c
RM
19690 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19691 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19692 zero since it's initialized to EXEC_PAGESIZE.
19693
bc16e260
RM
19694 * sysdeps/unix/sysv/linux/ldsodefs.h
19695 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19696 * sysdeps/generic/ldsodefs.h: ... here.
19697
a57da955
TS
196982013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19699
af00a34d
TS
19700 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19701
495ded2c
TS
19702 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19703 math/test-snan.c.
19704 * math/test-snan.c: Renamed from
19705 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19706 * math/Makefile (tests): Add test-snan.
19707 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19708 test-powerpc-snan.
19709
777b0332
TS
19710 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19711 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19712 functions.
19713 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19714 __builtin_nan family of functions.
19715 * math/libm-test.inc (initialize): Initialize qnan_value with
19716 __builtin_nan family of functions.
19717 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19718 Remove variables.
19719 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19720 Remove functions.
19721 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19722 storage class. Initialize qNaN_var and sNaN_var with
19723 __builtin_nan and __builtin_nans families of functions,
19724 respectively.
19725
64d063b8
TS
19726 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19727 (sqrt_test): Remove duplicate test with qNaN input.
19728 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19729 (round_test, signbit_test, significand_test): Note missing +/-Inf
19730 as well as qNaN tests.
19731
67e971f1
TS
19732 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19733 qNaN_var. Fix a few strings, too.
19734 * math/libm-test.inc (nan_value): Rename to qnan_value.
19735 * math/gen-libm-test.pl (%beautify): Adjust to that.
19736 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19737 * math/test-misc.c (main): Likewise.
19738 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19739 to __qnan_bytes, and __qnan_union, respectively.
19740 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19741 Likewise.
19742 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19743 and lqnanval, respectively.
19744 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19745 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19746 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19747 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19748
64487e12
TS
19749 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19750 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19751 doubles.
19752
e015e27b
TS
19753 * math/test-misc.c (main): Fix copy'n'pastos.
19754 * misc/tst-efgcvt.c (special): Likewise.
19755
a57da955
TS
19756 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19757 Remove declarations.
19758
1e380345
SP
197592013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19760
19761 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19762 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19763 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19764 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19765
ef26eece
AZ
197662013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19767
19768 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19769 macro to return vdso values correctly in IFUNC implementations.
19770 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19771 Optimization by using IFUNC.
19772
8cfdb7e0
SP
197732013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19774 Richard Henderson <rth@redhat.com>
19775 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19776
19777 * Makefile.in (bench): New target.
19778 * NEWS: Mention the benchmark framework.
19779 * Rules (bench): Likewise.
19780 (binaries-bench): Generate binaries for functions to
19781 benchmark.
19782 * benchtests/Makefile: New makefile for benchmark tests.
19783 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19784 programs.
19785 * benchtests/exp-inputs: New input file for EXP function.
19786 * benchtests/pow-inputs: New input file for POW function.
19787 * scripts/bench.pl: New script to generate source files for
19788 benchmark programs.
19789
bcda9880
SP
197902013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19791
d22ca8cd
SP
19792 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19793 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19794 computations on mantissa. Use macros for rounding and
19795 division.
19796 (denorm): Likewise.
19797 (__dbl_mp): Likewise.
19798 (add_magnitudes): Likewise.
19799 (sub_magnitudes): Likewise.
19800 (__mul): Likewise.
19801 (__sqr): Likewise.
19802 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19803 powers of two in terms of TWOPOW macro.
19804 (mp_no): Make type of mantissa as MANTISSA_T.
19805 [!RADIXI]: Define RADIXI.
19806 [!TWO52]: Define TWO52.
19807 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19808
bcda9880
SP
19809 * manual/nptl.texi (cindex): Modify threads to pthreads.
19810
06d5adfb
JM
198112013-03-15 Joseph Myers <joseph@codesourcery.com>
19812
19813 * sysdeps/x86_64/preconfigure: Regenerated.
19814
41c7328e
JM
198152013-03-14 Joseph Myers <joseph@codesourcery.com>
19816
19817 [BZ #14155]
19818 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19819 0x1p28 and above.
19820 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19821 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19822 0x1p28 and above.
19823 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19824 * math/libm-test.inc (j0_test): Do not allow one spurious
19825 underflow exception.
19826 (y1_test): Likewise.
19827
e25cfa60
SP
198282013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19829
0409959c
SP
19830 * manual/Makefile (chapters): Add nptl.
19831 * manual/debug.texi (Debugging Support): Add link to Threads
19832 chapter.
19833 * manual/nptl.texi: New file.
19834
e25cfa60
SP
19835 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19836
58a1335e
PB
198372013-03-14 Petr Baudis <pasky@ucw.cz>
19838
19839 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19840 for non-NULL pointer before the memory validity test. Pointed
19841 out by Holger Brunck <holger.brunck@keymile.com>.
19842
9dc7c64f
AS
198432013-03-13 Andreas Schwab <schwab@suse.de>
19844
19845 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19846 instead of .os.
19847
54206aa6
JM
198482013-03-13 Joseph Myers <joseph@codesourcery.com>
19849
19850 * timezone/zic.c: Update from tzcode 2013b.
19851
e98cdb38
CD
198522013-03-12 Carlos O'Donell <carlos@redhat.com>
19853
19854 * manual/install.texi (Configuring and compiling):
19855 Mention i686 and i586.
19856 * INSTALL: Regenerate.
19857
9967e003
RM
198582013-03-12 Roland McGrath <roland@hack.frob.com>
19859
19860 * sysdeps/init_array/elf-init.c: New file.
19861 * csu/elf-init.c
19862 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19863 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19864
19865 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19866 __gmon_start__ as global, but as static with a .preinit_array pointer.
19867 * sysdeps/init_array/gmon-start.c: New file. Use that.
19868 * sysdeps/init_array/crti.S: New file, empty except for comments.
19869 * sysdeps/init_array/crtn.S: Likewise.
19870
e6b5a293 198712013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
19872
19873 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19874 definining bcopy.
80f844c9
OB
19875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19876 Remove Prefer_SSE_for_memop.
19877 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19878 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19879 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
19880 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19881 memset-x86-64.
80f844c9 19882 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 19883 Remove bzero, memset ifunc support.
80f844c9
OB
19884 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19885 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19886 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19887 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19888
fb6b0fcb
AS
198892013-03-11 Andreas Schwab <schwab@suse.de>
19890
19891 [BZ #15234]
19892 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19893 by SHLIB_COMPAT.
19894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19895 (GLIBC_2.16): Remove pthread_atfork.
19896
3e6bd4b1
PP
198972013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19898
19899 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19900 (ptestcases.h): Likewise.
19901
222d7f00
RM
199022013-03-08 Roland McGrath <roland@hack.frob.com>
19903
19904 * Makeconfig ($(common-objpfx)config.status): Depend on
19905 sysdeps/*/preconfigure{,.in} too.
19906
1ba4f030
JM
199072013-03-08 Joseph Myers <joseph@codesourcery.com>
19908
a222d91a
JM
19909 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19910 (__free_hook): Use void * instead of __malloc_ptr_t.
19911 (__malloc_hook): Likewise.
19912 (__realloc_hook): Likewise.
19913 (__memalign_hook): Likewise.
19914 (__after_morecore_hook): Likewise.
19915 * malloc/arena.c (save_malloc_hook): Likewise.
19916 (save_free_hook): Likewise.
19917 * malloc/hooks.c (malloc_hook_ini): Likewise.
19918 (realloc_hook_ini): Likewise.
19919 (memalign_hook_ini): Likewise.
19920 * malloc/malloc.c (malloc_hook_ini): Likewise.
19921 (realloc_hook_ini): Likewise.
19922 (memalign_hook_ini): Likewise.
19923 (__free_hook): Likewise.
19924 (__malloc_hook): Likewise.
19925 (__realloc_hook): Likewise.
19926 (__memalign_hook): Likewise.
19927 (__libc_malloc): Likewise.
19928 (__libc_free): Likewise.
19929 (__libc_realloc): Likewise.
19930 (__libc_memalign): Likewise.
19931 (__libc_valloc): Likewise.
19932 (__libc_pvalloc): Likewise.
19933 (__libc_calloc): Likewise.
19934 (__posix_memalign): Likewise.
19935 * malloc/morecore.c (__sbrk): Likewise.
19936 (__default_morecore): Likewise.
19937
5cc45e10
JM
19938 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19939
dd54b864
JM
19940 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19941 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19942 __malloc_ptrdiff_t.
19943
1ba4f030
JM
19944 * malloc/malloc.h (__malloc_size_t): Remove macro.
19945 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19946 __malloc_size_t.
19947 (old_memalign_hook): Likewise.
19948 (old_realloc_hook): Likewise.
19949 (struct hdr): Likewise.
19950 (flood): Likewise.
19951 (mallochook): Likewise.
19952 (memalignhook): Likewise.
19953 (reallochook): Likewise.
19954 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19955 (tr_old_realloc_hook): Likewise.
19956 (tr_old_memalign_hook): Likewise.
19957 (tr_mallochook): Likewise.
19958 (tr_reallochook): Likewise.
19959 (tr_memalignhook): Likewise.
19960
edf66e57
AZ
199612013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19962
19963 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19964 default_ldbl_pack and using as default implementation.
19965 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19966 implementation.
19967 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19968 redundant definition.
19969 (ldbl_insert_mantissa): Likewise.
19970 (ldbl_canonicalize): Likewise.
19971 (ldbl_nearbyint): Likewise.
19972 (ldbl_pack): Rename to ldbl_pack_ppc.
19973 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19974 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19975 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19976
6d9145d8
SP
199772013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19978
19979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19980 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19981 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19982 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19984 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19985 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19986 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19987
4dd4e157
AJ
199882013-03-07 Andreas Jaeger <aj@suse.de>
19989
19990 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19991 bits/mman-linux.h.
19992
adbb8027
SP
199932013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19994
ce544b5b
SP
19995 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19996 Include mpa.h and declare __MPEXP.
19997 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19998 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19999 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20000 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20001 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20002 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20003 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20004
4cc149fd
SP
20005 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20006 (__slowpow): Use long double EXPL and LOGL functions to
20007 compute POW.
20008 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20009 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20010 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20011 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20012 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20013 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20014
e6ebd4a7
SP
20015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20016 intermediate variable to calculate exponent.
20017 (__sqr): Likewise.
20018 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20019 Likewise.
20020 (__sqr): Likewise.
20021
82a9811d
SP
20022 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20023 [!NO__SQR]: Define __sqr.
20024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20025 and NO__SQR. Remove all code except __mul and __sqr. Include
20026 sysdeps/ieee754/dbl-64/mpa.c.
20027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20028
adbb8027
SP
20029 [BZ #12723]
20030 * posix/Makefile (tests): Add tst-pathconf.
20031 * posix/tst-pathconf.c: New test case.
20032 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20033 _PC_PIPE_BUF.
20034 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20035
39120df9
PF
200362013-03-06 Patsy Franklin <pfrankli@redhat.com>
20037
20038 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20039
67525cb8
AJ
200402013-03-06 Andreas Jaeger <aj@suse.de>
20041
664a9ce4
AJ
20042 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20043 definition via __MAP_ANONYMOUS.
20044
8e39047d
AJ
20045 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20046 it's not part of Linux headers.
20047
67525cb8
AJ
20048 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20049 (MAP_HUGE_MASK): Define.
20050
20051 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20052 Define.
20053 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20054 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20055 Define.
20056 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20057 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20058 Define.
20059 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20060 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20061 Define.
20062 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20063
20064 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20065 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20066 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20067 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20068 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20069 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20070
20071 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20072 Handle f2fs.
20073
20074 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20075 Handle f2fs and efivarfs.
20076
20077 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20078 f2fs.
20079
20080 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20081 (EFIVARFS_MAGIC): Add.
20082 (F2FS_LINK_MAX): Add.
20083
e1b42695
PP
200842013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20085
20086 * stdio-common/vfprintf.c: Replace __builtin_expect with
20087 __glibc_unlikely.
20088
2d67d91a
JM
200892013-03-06 Joseph Myers <joseph@codesourcery.com>
20090
20091 [BZ #13550]
20092 * sysdeps/generic/bp-sym.h: Remove file.
20093 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20094 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20095 <bp-sym.h> and <bp-asm.h>.
20096 (__longjmp): Don't use BP_SYM.
20097 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20098 and <bp-asm.h>.
20099 (memcpy): Don't use BP_SYM.
20100 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20101 <bp-sym.h> and <bp-asm.h>.
20102 (memcpy): Don't use BP_SYM.
20103 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20104 <bp-asm.h>.
20105 (memcpy): Don't use BP_SYM.
20106 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20107 <bp-asm.h>.
20108 (memset): Don't use BP_SYM.
20109 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20110 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20111 (__bzero): Don't use BP_SYM.
20112 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20113 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20114 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20115 <bp-sym.h> and <bp-asm.h>.
20116 (memcmp): Don't use BP_SYM. Remove comment about bounded
20117 pointers.
20118 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20119 <bp-sym.h> and <bp-asm.h>.
20120 (memcpy): Don't use BP_SYM.
20121 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20122 <bp-sym.h> and <bp-asm.h>.
20123 (memset): Don't use BP_SYM.
20124 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20125 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20126 (__bzero): Don't use BP_SYM.
20127 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20128 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20129 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20130 <bp-sym.h> and <bp-asm.h>.
20131 (strncmp): Don't use BP_SYM. Remove comment about bounded
20132 pointers.
20133 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20134 <bp-sym.h> and <bp-asm.h>.
20135 (memcpy): Don't use BP_SYM.
20136 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20137 <bp-sym.h> and <bp-asm.h>.
20138 (memset): Don't use BP_SYM.
20139 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20140 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20141 (__bzero): Don't use BP_SYM.
20142 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20143 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20144 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20145 <bp-sym.h> and <bp-asm.h>.
20146 (__memchr): Don't use BP_SYM.
20147 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20148 <bp-sym.h> and <bp-asm.h>.
20149 (memcmp): Don't use BP_SYM. Remove comment about bounded
20150 pointers.
20151 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20152 <bp-sym.h> and <bp-asm.h>.
20153 (memcpy): Don't use BP_SYM.
20154 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20155 <bp-sym.h> and <bp-asm.h>.
20156 (__mempcpy): Don't use BP_SYM.
20157 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20158 <bp-sym.h> and <bp-asm.h>.
20159 (__memrchr): Don't use BP_SYM.
20160 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20161 <bp-sym.h> and <bp-asm.h>.
20162 (memset): Don't use BP_SYM.
20163 (__bzero): Likewise.
20164 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20165 <bp-sym.h> and <bp-asm.h>.
20166 (__rawmemchr): Don't use BP_SYM.
20167 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20168 <bp-sym.h> and <bp-asm.h>.
20169 (__STRCMP): Don't use BP_SYM.
20170 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20171 <bp-sym.h> and <bp-asm.h>.
20172 (strchr): Don't use BP_SYM.
20173 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20174 <bp-sym.h> and <bp-asm.h>.
20175 (__strchrnul): Don't use BP_SYM.
20176 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20177 <bp-sym.h> and <bp-asm.h>.
20178 (strlen): Don't use BP_SYM.
20179 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20180 <bp-sym.h> and <bp-asm.h>.
20181 (strncmp): Don't use BP_SYM. Remove comment about bounded
20182 pointers.
20183 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20184 <bp-sym.h> and <bp-asm.h>.
20185 (__strnlen): Don't use BP_SYM.
20186 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20187 <bp-sym.h> and <bp-asm.h>.
20188 (__GI__setjmp): Don't use BP_SYM.
20189 (_setjmp): Likewise.
20190 (__sigsetjmp): Likewise.
20191 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20192 (L(start_addresses)): Don't use BP_SYM.
20193 (_start): Likewise.
20194 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20195 <bp-asm.h>.
20196 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20197 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20198 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20199 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20200 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20201 <bp-asm.h>.
20202 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20203 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20204 about bounded pointers.
20205 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20206 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20207 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20208 <bp-asm.h>.
20209 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20210 about bounded pointers. Remove GKM FIXME comments.
20211 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20212 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20213 <bp-asm.h>.
20214 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20215 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20216 Remove GKM FIXME comments.
20217 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20218 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20219 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20220 <bp-asm.h>.
20221 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20222 about bounded pointers. Remove GKM FIXME comment.
20223 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20224 and <bp-asm.h>.
20225 (strncmp): Don't use BP_SYM. Remove comment about bounded
20226 pointers.
20227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20228 <bp-sym.h> and <bp-asm.h>.
20229 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20231 <bp-sym.h> and <bp-asm.h>.
20232 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20233 comment.
20234
cdcf361f
PP
202352013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20236
20237 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20238 call free(NULL).
20239
3c4a2b15
DM
202402013-03-05 David S. Miller <davem@davemloft.net>
20241
20242 * po/es.po: Update from translation team.
20243
cdcf361f 202442013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
20245
20246 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20247 <bits/mman-linux.h>.
20248 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20249 is fine.
20250 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20251 <bits/mman-linux.h> to end of file.
20252 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20253 is fine.
20254 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20255 <bits/mman-linux.h> to end of file.
20256 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20257 is fine.
20258 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20259 <bits/mman-linux.h> to end of file.
20260
20261 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20262 (MCL_CURRENT, MCL_FUTURE): Define here.
20263
5f67c04f
AK
202642013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20265
8a4473cc 20266 [BZ #15232]
5f67c04f
AK
20267 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20268 attribute_hidden.
20269 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20270
c3e94a95
AK
202712013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20272
20273 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20274 fourth parameter needed for rt_sigprocmask syscall.
20275 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20276 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20277 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20278 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20279 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20280 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20281
cfb6382a
JM
202822013-03-04 Joseph Myers <joseph@codesourcery.com>
20283
20284 [BZ #13550]
20285 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20286 comment about bounded pointers.
20287 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20288 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20289
539d8e01
AJ
202902013-03-04 Andreas Jaeger <aj@suse.de>
20291
20292 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20293 common definitions.
20294
20295 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20296 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20297 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20298 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20299 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
20300 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20301
2e167a70 203022013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
20303
20304 [BZ #15055]
20305 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20306 __ieee754_sqrl instead of __sqrl.
20307
68508633
JM
203082013-03-01 Joseph Myers <joseph@codesourcery.com>
20309
20310 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20311 * sysdeps/powerpc/fpu_control.h: ... here.
20312 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20313 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20314 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20315 * sysdeps/powerpc/bits/mathinline.h: ... here.
20316
7775448e
RM
203172013-03-01 Roland McGrath <roland@hack.frob.com>
20318
20319 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20320 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20321 to just [NEED_DL_SYSINFO_DSO].
20322 * elf/dl-support.c: Likewise.
20323 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20324 * elf/rtld.c (dl_main): Likewise.
20325 * elf/setup-vdso.h (setup_vdso): Likewise.
20326 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20327 * sysdeps/unix/sysv/linux/dl-sysdep.c
20328 (_dl_discover_osversion): Likewise.
20329
4e9b5995
CD
203302013-03-01 Carlos O'Donell <carlos@redhat.com>
20331
20332 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20333 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20334
e23872c8
SP
203352013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20336
e5c74c63
SP
20337 * NEWS: Mention libm performance improvements and non-x86 PI
20338 futex support.
20339
e23872c8
SP
20340 * csu/libc-start.c (__pthread_initialize_minimal): Change
20341 function arguments.
20342 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20343
b5510883
JM
203442013-02-28 Joseph Myers <joseph@codesourcery.com>
20345
20346 [BZ #13550]
20347 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20348 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20349 <bp-sym.h> and <bp-asm.h>.
20350 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20351 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20352 and <bp-asm.h>.
20353 (memcpy): Don't use BP_SYM.
20354 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20355 <bp-asm.h>.
20356 (__mpn_add_n): Don't use BP_SYM.
20357 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20358 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20359 and <bp-asm.h>.
20360 (__mpn_addmul_1): Don't use BP_SYM.
20361 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20362 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20363 <bp-sym.h>.
20364 (_setjmp): Don't use BP_SYM.
20365 (__novmx_setjmp): Likewise.
20366 (__GI__setjmp): Likewise.
20367 (__vmx_setjmp): Likewise.
20368 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20369 <bp-sym.h>.
20370 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20371 (__bzero): Don't use BP_SYM.
20372 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20373 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20374 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20375 <bp-sym.h> and <bp-asm.h>.
20376 (memcpy): Don't use BP_SYM.
20377 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20378 <bp-sym.h> and <bp-asm.h>.
20379 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20380 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20381 <bp-sym.h> and <bp-asm.h>.
20382 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20383 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20384 <bp-asm.h>.
20385 (__mpn_lshift): Don't use BP_SYM.
20386 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20387 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20388 <bp-asm.h>.
20389 (memset): Don't use BP_SYM.
20390 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20391 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20392 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20393 <bp-asm.h>.
20394 (__mpn_mul_1): Don't use BP_SYM.
20395 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20396 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20397 <bp-sym.h> and <bp-asm.h>.
20398 (memcmp): Don't use BP_SYM.
20399 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20400 <bp-sym.h> and <bp-asm.h>.
20401 (memcpy): Don't use BP_SYM.
20402 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20403 <bp-sym.h> and <bp-asm.h>.
20404 (memset): Don't use BP_SYM.
20405 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20406 <bp-sym.h> and <bp-asm.h>.
20407 (strncmp): Don't use BP_SYM.
20408 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20409 <bp-sym.h> and <bp-asm.h>.
20410 (memcpy): Don't use BP_SYM.
20411 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20412 <bp-sym.h> and <bp-asm.h>.
20413 (memset): Don't use BP_SYM.
20414 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20415 <bp-sym.h> and <bp-asm.h>.
20416 (__memchr): Don't use BP_SYM.
20417 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20418 <bp-sym.h> and <bp-asm.h>.
20419 (memcmp): Don't use BP_SYM.
20420 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20421 <bp-sym.h> and <bp-asm.h>.
20422 (memcpy): Don't use BP_SYM.
20423 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20424 <bp-sym.h> and <bp-asm.h>.
20425 (__mempcpy): Don't use BP_SYM.
20426 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20427 <bp-sym.h> and <bp-asm.h>.
20428 (__memrchr): Don't use BP_SYM.
20429 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20430 <bp-sym.h> and <bp-asm.h>.
20431 (memset): Don't use BP_SYM.
20432 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20433 <bp-sym.h> and <bp-asm.h>.
20434 (__rawmemchr): Don't use BP_SYM.
20435 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20436 <bp-sym.h> and <bp-asm.h>.
20437 (__STRCMP): Don't use BP_SYM.
20438 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20439 <bp-sym.h> and <bp-asm.h>.
20440 (strchr): Don't use BP_SYM.
20441 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20442 <bp-sym.h> and <bp-asm.h>.
20443 (__strchrnul): Don't use BP_SYM.
20444 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20445 <bp-sym.h> and <bp-asm.h>.
20446 (strlen): Don't use BP_SYM.
20447 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20448 <bp-sym.h> and <bp-asm.h>.
20449 (strncmp): Don't use BP_SYM.
20450 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20451 <bp-sym.h> and <bp-asm.h>.
20452 (__strnlen): Don't use BP_SYM.
20453 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20454 <bp-asm.h>.
20455 (__mpn_rshift): Don't use BP_SYM.
20456 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20457 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20458 <bp-sym.h> and <bp-asm.h>.
20459 (__sigsetjmp): Don't use BP_SYM.
20460 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20461 (L(start_addresses)): Don't use BP_SYM.
20462 (_start): Likewise.
20463 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20464 <bp-asm.h>.
20465 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20466 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20467 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20468 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20469 <bp-asm.h>.
20470 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20471 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20472 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20473 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20474 <bp-asm.h>.
20475 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20476 comments.
20477 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20478 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20479 <bp-asm.h>.
20480 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20481 FIXME comments.
20482 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20483 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20484 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20485 <bp-asm.h>.
20486 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20487 comment.
20488 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20489 and <bp-asm.h>.
20490 (strncmp): Don't use BP_SYM,
20491 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20492 <bp-asm.h>.
20493 (__mpn_sub_n): Don't use BP_SYM.
20494 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20495 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20496 and <bp-asm.h>.
20497 (__mpn_submul_1): Don't use BP_SYM.
20498 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20500 <bp-sym.h> and <bp-asm.h>.
20501 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20503 <bp-sym.h> and <bp-asm.h>.
20504 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20505 comment.
20506
8d19fe64
SP
205072013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20508
20509 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20510 Use ZK to minimize writes to Z.
20511 (sub_magnitudes): Simplify code a bit.
20512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20513 Use ZK to minimize writes to Z.
20514 (sub_magnitudes): Simplify code a bit.
20515
85bd816a
RM
205162013-02-27 Roland McGrath <roland@hack.frob.com>
20517
20518 * csu/gmon-start.c: Add special exception to license text.
20519
b5977bf2
RH
205202013-02-27 Richard Henderson <rth@redhat.com>
20521
20522 * scripts/config.guess: Update from config.git.
20523 * scripts/config.sub: Likewise.
20524
11d6e2f2
SP
205252013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20526
09c14ed2
SP
20527 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20528
a688864e
SP
20529 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20530
6295157a
SP
20531 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20532
b8de2202
SP
20533 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20534
11d6e2f2
SP
20535 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20536
7e80ddb8
RM
205372013-02-26 Roland McGrath <roland@hack.frob.com>
20538
20539 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20540 [$(build-shared = yes].
7e80ddb8 20541
7da6d9ed
SP
205422013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20543
45f05884
SP
20544 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20545 (__mul): Reduce iterations for calculating mantissa.
20546
2236d359
SP
20547 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20548 MPTWO.
20549 (__mpranred): Likewise.
20550
7da6d9ed
SP
20551 [BZ #15160]
20552 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20553 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20554
b7688c42
PE
205552013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20556
20557 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20558 Define __attribute__.
20559
53a5c423
SP
205602013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20561
20562 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20563 unused.
20564 * posix/regex_internal.h (__attribute): Remove.
20565 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20566 (re_string_context_at): Likewise.
20567 (bitset_not): Use __attribute__ and mark function as possibly
20568 unused.
20569 (bitset_merge): Likewise.
20570 (bitset_mask): Likewise.
20571 (re_string_char_size_at): Likewise.
20572 (re_string_wchar_at): Likewise.
20573 (re_string_elem_size_at): Likewise.
20574
60f5a8b5
SP
205752013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20576
2a983a2e
SP
20577 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20578 code.
20579 (cc32): Likewise.
20580
e69804d1
SP
20581 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20582 (__acr): Likewise.
20583 (__cpy): Likewise.
20584 (norm): Likewise.
20585 (denorm): Likewise.
20586 (__dbl_mp): Likewise.
20587 (add_magnitudes): Likewise.
20588 (sub_magnitudes): Likewise.
20589 (__mul): Likewise.
20590 (__inv): Likewise.
20591
2f22a1e8
SP
20592 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20593 style.
20594
8930ddc7
SP
20595 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20596 style.
20597
dc60cb11
SP
20598 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20599 code.
20600
60f5a8b5
SP
20601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20602 up changes with default code.
20603 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20604 Likewise.
20605
b4d1fd33
AM
206062013-02-24 Allan McRae <allan@archlinux.org>
20607
faf6f8bc
AM
20608 * manual/socket.texi (The Internet Namespace): Order menu items
20609 to match that in the file.
20610
b4d1fd33
AM
20611 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20612 node listing of the info page menu.
20613
2366713d
JM
206142013-02-21 Joseph Myers <joseph@codesourcery.com>
20615
20616 [BZ #13550]
20617 * sysdeps/i386/bp-asm.h: Remove file.
20618 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20619 (PARMS): Do not use macros from bp-asm.h.
20620 (S1): Likewise.
20621 (S2): Likewise.
20622 (SIZE): Likewise.
20623 (__mpn_add_n): Do not use BP_SYM
20624 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20625 "bp-asm.h".
20626 (PARMS): Do not use macros from bp-asm.h.
20627 (S1): Likewise.
20628 (SIZE): Likewise.
20629 (__mpn_addmul_1): Do not use BP_SYM
20630 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20631 "bp-asm.h".
20632 (PARMS): Do not use macros from bp-asm.h.
20633 (SIGMSK): Likewise.
20634 (_setjmp): Likewise. Do not use BP_SYM.
20635 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20636 "bp-asm.h".
20637 (PARMS): Do not use macros from bp-asm.h.
20638 (SIGMSK): Likewise.
20639 (setjmp): Likewise. Do not use BP_SYM.
20640 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20641 "bp-asm.h".
20642 (PARMS): Do not use macros from bp-asm.h.
20643 (__frexp): Do not use BP_SYM.
20644 (frexp): Likewise.
20645 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20646 "bp-asm.h".
20647 (PARMS): Do not use macros from bp-asm.h.
20648 (__frexpf): Do not use BP_SYM.
20649 (frexpf): Likewise.
20650 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20651 "bp-asm.h".
20652 (PARMS): Do not use macros from bp-asm.h.
20653 (__frexpl): Do not use BP_SYM.
20654 (frexpl): Likewise.
20655 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20656 "bp-asm.h".
20657 (PARMS): Do not use macros from bp-asm.h.
20658 (__remquo): Do not use BP_SYM.
20659 (remquo): Likewise.
20660 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20661 "bp-asm.h".
20662 (PARMS): Do not use macros from bp-asm.h.
20663 (__remquof): Do not use BP_SYM.
20664 (remquof): Likewise.
20665 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20666 "bp-asm.h".
20667 (PARMS): Do not use macros from bp-asm.h.
20668 (__remquol): Do not use BP_SYM.
20669 (remquol): Likewise.
20670 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20671 "bp-asm.h".
20672 (PARMS): Do not use macros from bp-asm.h.
20673 (DEST): Likewise.
20674 (SRC): Likewise.
20675 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20676 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20677 "bp-asm.h".
20678 (PARMS): Do not use macros from bp-asm.h.
20679 (strlen): Do not use BP_SYM.
20680 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20681 "bp-asm.h".
20682 (PARMS): Do not use macros from bp-asm.h.
20683 (S1): Likewise.
20684 (S2): Likewise.
20685 (SIZE): Likewise.
20686 (__mpn_add_n): Do not use BP_SYM.
20687 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20688 "bp-asm.h".
20689 (PARMS): Do not use macros from bp-asm.h.
20690 (S1): Likewise.
20691 (SIZE): Likewise.
20692 (__mpn_addmul_1): Do not use BP_SYM.
20693 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20694 weak_alias.
20695 (bzero): Likewise.
20696 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20697 "bp-asm.h".
20698 (PARMS): Do not use macros from bp-asm.h.
20699 (S): Likewise.
20700 (SIZE): Likewise.
20701 (__mpn_lshift): Do not use BP_SYM.
20702 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20703 "bp-asm.h".
20704 (PARMS): Do not use macros from bp-asm.h.
20705 (DEST): Likewise.
20706 (SRC): Likewise.
20707 (LEN): Likewise.
20708 (memcpy): Likewise. Do not use BP_SYM.
20709 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20710 libc_hidden_def and weak_alias.
20711 (mempcpy): Do not use BP_SYM in weak_alias.
20712 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20713 "bp-asm.h".
20714 (PARMS): Do not use macros from bp-asm.h.
20715 (DEST): Likewise.
20716 (LEN): Likewise.
20717 [!BZERO_P] (CHR): Likewise.
20718 (memset): Likewise. Do not use BP_SYM.
20719 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20720 "bp-asm.h".
20721 (PARMS): Do not use macros from bp-asm.h.
20722 (S1): Likewise.
20723 (SIZE): Likewise.
20724 (__mpn_mul_1): Do not use BP_SYM.
20725 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20726 "bp-asm.h".
20727 (PARMS): Do not use macros from bp-asm.h.
20728 (S): Likewise.
20729 (SIZE): Likewise.
20730 (__mpn_rshift): Do not use BP_SYM.
20731 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20732 "bp-asm.h".
20733 (PARMS): Do not use macros from bp-asm.h.
20734 (STR): Likewise.
20735 (CHR): Likewise.
20736 (strchr): Likewise. Do not use BP_SYM.
20737 (index): Do not use BP_SYM in weak_alias.
20738 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20739 "bp-asm.h".
20740 (PARMS): Do not use macros from bp-asm.h.
20741 (DEST): Likewise.
20742 (SRC): Likewise.
20743 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20744 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20745 "bp-asm.h".
20746 (PARMS): Do not use macros from bp-asm.h.
20747 (strlen): Do not use BP_SYM.
20748 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20749 "bp-asm.h".
20750 (PARMS): Do not use macros from bp-asm.h.
20751 (S1): Likewise.
20752 (S2): Likewise.
20753 (SIZE): Likewise.
20754 (__mpn_sub_n): Do not use BP_SYM.
20755 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20756 "bp-asm.h".
20757 (PARMS): Do not use macros from bp-asm.h.
20758 (S1): Likewise.
20759 (SIZE): Likewise.
20760 (__mpn_submul_1): Do not use BP_SYM.
20761 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20762 "bp-asm.h".
20763 (PARMS): Do not use macros from bp-asm.h.
20764 (S1): Likewise.
20765 (S2): Likewise.
20766 (SIZE): Likewise.
20767 (__mpn_add_n): Do not use BP_SYM.
20768 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20769 weak_alias.
20770 (bzero): Likewise.
20771 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20772 "bp-asm.h".
20773 (PARMS): Do not use macros from bp-asm.h.
20774 (BLK2): Likewise.
20775 (LEN): Likewise.
20776 (memcmp): Do not use BP_SYM.
20777 (bcmp): Do not use BP_SYM in weak_alias.
20778 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20779 "bp-asm.h".
20780 (PARMS): Do not use macros from bp-asm.h.
20781 (DEST): Likewise.
20782 (SRC): Likewise.
20783 (LEN): Likewise.
20784 (memcpy): Likewise. Do not use BP_SYM.
20785 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20786 "bp-asm.h".
20787 (PARMS): Do not use macros from bp-asm.h.
20788 (DEST): Likewise.
20789 (SRC): Likewise.
20790 (LEN): Likewise.
20791 (memmove): Likewise. Do not use BP_SYM.
20792 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20793 "bp-asm.h".
20794 (PARMS): Do not use macros from bp-asm.h.
20795 (DEST): Likewise.
20796 (SRC): Likewise.
20797 (LEN): Likewise.
20798 (__mempcpy): Likewise. Do not use BP_SYM.
20799 (mempcpy): Do not use BP_SYM in weak_alias.
20800 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20801 "bp-asm.h".
20802 (PARMS): Do not use macros from bp-asm.h.
20803 (DEST): Likewise.
20804 (LEN): Likewise.
20805 [!BZERO_P] (CHR): Likewise.
20806 (memset): Likewise. Do not use BP_SYM.
20807 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20808 "bp-asm.h".
20809 (PARMS): Do not use macros from bp-asm.h.
20810 (STR2): Likewise.
20811 (strcmp): Do not use BP_SYM.
20812 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20813 "bp-asm.h".
20814 (PARMS): Do not use macros from bp-asm.h.
20815 (STR): Likewise.
20816 (DELIM): Likewise.
20817 [USE_AS_STRTOK_R] (SAVE): Likewise.
20818 (FUNCTION): Likewise. Do not use BP_SYM.
20819 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20820 aliases.
20821 (strtok_r): Likewise.
20822 (__GI___strtok_r): Likewise.
20823 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20824 (PARMS): Do not use macros from bp-asm.h.
20825 (S): Likewise.
20826 (SIZE): Likewise.
20827 (__mpn_lshift): Do not use BP_SYM.
20828 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20829 (PARMS): Do not use macros from bp-asm.h.
20830 (STR): Likewise.
20831 (CHR): Likewise.
20832 (__memchr): Do not use BP_SYM.
20833 (memchr): Do not use BP_SYM in weak_alias.
20834 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20835 (PARMS): Do not use macros from bp-asm.h.
20836 (BLK2): Likewise.
20837 (LEN): Likewise.
20838 (memcmp): Do not use BP_SYM.
20839 (bcmp): Do not use BP_SYM in weak_alias.
20840 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20841 (PARMS): Do not use macros from bp-asm.h.
20842 (S1): Likewise.
20843 (SIZE): Likewise.
20844 (__mpn_mul_1): Do not use BP_SYM.
20845 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20846 "bp-asm.h".
20847 (PARMS): Do not use macros from bp-asm.h.
20848 (STR): Likewise.
20849 (CHR): Likewise.
20850 (__rawmemchr): Do not use BP_SYM.
20851 (rawmemchr): Do not use BP_SYM in weak_alias.
20852 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20853 (PARMS): Do not use macros from bp-asm.h.
20854 (S): Likewise.
20855 (SIZE): Likewise.
20856 (__mpn_rshift): Do not use BP_SYM.
20857 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20858 (PARMS): Do not use macros from bp-asm.h.
20859 (SIGMSK): Likewise.
20860 (__sigsetjmp): Likewise. Do not use BP_SYM.
20861 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20862 (_start): Do not use BP_SYM.
20863 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20864 (PARMS): Do not use macros from bp-asm.h.
20865 (DEST): Likewise.
20866 (SRC): Likewise.
20867 (__stpcpy): Likewise. Do not use BP_SYM.
20868 (stpcpy): Do not use BP_SYM in weak_alias.
20869 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20870 "bp-asm.h".
20871 (PARMS): Do not use macros from bp-asm.h.
20872 (DEST): Likewise.
20873 (SRC): Likewise.
20874 (LEN): Likewise.
20875 (__stpncpy): Likewise. Do not use BP_SYM.
20876 (stpncpy): Do not use BP_SYM in weak_alias.
20877 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20878 (PARMS): Do not use macros from bp-asm.h.
20879 (STR): Likewise.
20880 (CHR): Likewise.
20881 (strchr): Likewise. Do not use BP_SYM.
20882 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20883 "bp-asm.h".
20884 (PARMS): Do not use macros from bp-asm.h.
20885 (STR): Likewise.
20886 (CHR): Likewise.
20887 (__strchrnul): Likewise. Do not use BP_SYM.
20888 (strchrnul): Do not use BP_SYM in weak_alias.
20889 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20890 "bp-asm.h".
20891 (PARMS): Do not use macros from bp-asm.h.
20892 (STOP): Likewise.
20893 (strcspn): Do not use BP_SYM.
20894 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20895 "bp-asm.h".
20896 (PARMS): Do not use macros from bp-asm.h.
20897 (STR): Likewise.
20898 (STOP): Likewise.
20899 (strpbrk): Likewise. Do not use BP_SYM.
20900 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20901 "bp-asm.h".
20902 (PARMS): Do not use macros from bp-asm.h.
20903 (STR): Likewise.
20904 (CHR): Likewise.
20905 (strrchr): Likewise. Do not use BP_SYM.
20906 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20907 (PARMS): Do not use macros from bp-asm.h.
20908 (SKIP): Likewise.
20909 (strspn): Do not use BP_SYM.
20910 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20911 (PARMS): Do not use macros from bp-asm.h.
20912 (STR): Likewise.
20913 (DELIM): Likewise.
20914 (SAVE): Likewise.
20915 (FUNCTION): Likewise. Do not use BP_SYM.
20916 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20917 aliases.
20918 (strtok_r): Likewise.
20919 (__GI___strtok_r): Likewise.
20920 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20921 (PARMS): Do not use macros from bp-asm.h.
20922 (S1): Likewise.
20923 (S2): Likewise.
20924 (SIZE): Likewise.
20925 (__mpn_sub_n): Do not use BP_SYM.
20926 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20927 "bp-asm.h".
20928 (PARMS): Do not use macros from bp-asm.h.
20929 (S1): Likewise.
20930 (SIZE): Likewise.
20931 (__mpn_submul_1): Do not use BP_SYM.
20932 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20933 <bp-sym.h>.
20934 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20935 and <bp-asm.h>.
20936 (PARMS): Do not use macros from bp-asm.h.
20937 (FLAGS): Likewise.
20938 (PTID): Likewise.
20939 (TLS): Likewise.
20940 (CTID): Likewise.
20941 (__clone): Do not use BP_SYM.
20942 (clone): Do not use BP_SYM in weak_alias.
20943 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20944 and <bp-asm.h>.
20945 (PARMS): Do not use macros from bp-asm.h.
20946 (LEN): Likewise.
20947 (__mmap64): Do not use BP_SYM.
20948 (mmap64): Do not use BP_SYM in weak_alias.
20949 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20950 <bp-sym.h> and <bp-asm.h>.
20951 (PARMS): Do not use macros from bp-asm.h.
20952 (__posix_fadvise64_l64): Do not use BP_SYM.
20953 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20954 (PARMS): Do not use macros from bp-asm.h.
20955 (NSOPS): Likewise.
20956 (semtimedop): Do not use BP_SYM.
20957 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20958 and <bp-asm.h>.
20959
582a3cff
AM
209602013-02-21 Allan McRae <allan@archlinux.org>
20961
20962 * manual/message.texi (Charset conversion in gettext):
20963 Move @end statement to beginning of line.
20964
bab8a695
SP
209652013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20966
80945231
SP
20967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20968 static.
20969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20970 Likewise.
20971
bab8a695
SP
20972 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20973 (denorm): Likewise.
20974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20976
e21d7aa7
AK
209772013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20978
20979 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20980 tail-call to the resolved function if pltexit isn't needed.
20981
4c7a4263
SP
209822013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20983
20984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20985 or Y being zero as being unlikely.
20986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20987 Likewise.
20988
41f49342
CD
209892013-02-20 Carlos O'Donell <carlos@redhat.com>
20990
20991 * manual/nss.texi (System Databases and Name Service Switch):
20992 Remove frobnicate @pxref.
20993
50022a93
TS
209942013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20995
20996 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20997 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20998
08cbd996
PM
209992013-02-20 Petr Machata <pmachata@redhat.com>
21000
21001 * elf/elf.h (R_ARM_TARGET1): New macro.
21002 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21003 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21004 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21005 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21006 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21007 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21008 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21009 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21010 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21011 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21012 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21013 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21014 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21015 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21016 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21017 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21018 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21019 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21020 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21021 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21022 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21023 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21024 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21025 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21026 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21027 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21028 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21029 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21030 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21031 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21032 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21033 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21034 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21035 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21036 (R_ARM_THM_GOT_BREL12): Likewise.
21037 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21038 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21039 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21040 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21041 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21042 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21043 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21044 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21045 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21046
c7b275d6
TS
210472013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21048
21049 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21050 __attribute_used__ to __attribute__ ((unused)).
21051
20cd7fb3
SP
210522013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21053
21054 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21055 powerpc mpa.c.
21056 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21057 comment formatting.
21058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21059
92945b52
JM
210602013-02-19 Joseph Myers <joseph@codesourcery.com>
21061
21062 [BZ #13550]
21063 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21064 Remove macro.
21065 (ENTER): Remove both macro definitions.
21066 (LEAVE): Likewise.
21067 (CHECK_BOUNDS_LOW): Likewise.
21068 (CHECK_BOUNDS_HIGH): Likewise.
21069 (CHECK_BOUNDS_BOTH): Likewise.
21070 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21071 (RETURN_BOUNDED_POINTER): Likewise.
21072 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21073 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21074 (POP_ERRNO_LOCATION_RETURN): Likewise.
21075 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21076 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21077 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21078 macros.
21079 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21080 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21081 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21082 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21083 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21084 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21085 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21086 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21087 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21088 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21089 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21090 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21091 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21092 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21093 removed macros.
21094 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21095 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21096 macros.
21097 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21098 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21099 * sysdeps/i386/i586/memset.S (memset): Likewise.
21100 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21101 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21102 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21103 macros.
21104 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21105 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21106 Change uses of L(2) to L(out).
21107 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21108 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21109 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21110 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21111 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21112 removed macros.
21113 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21114 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21115 macros.
21116 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21117 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21118 (RETURN): Do not use macro LEAVE.
21119 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21120 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21121 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21122 * sysdeps/i386/i686/memset.S (memset): Likewise.
21123 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21124 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21125 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21126 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21127 Likewise.
21128 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21129 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21130 L(1_2) and L(1_3) into L(1).
21131 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21132 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21133 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21134 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21135 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21136 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21137 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21138 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21139 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21140 macros.
21141 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21142 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21143 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21144 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21145 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21146 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21147 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21148 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21149 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21150 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21151 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21152 * sysdeps/i386/strspn.S (strspn): Likewise.
21153 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21154 conditional code.
21155 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21156 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21157 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21158 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21159 L(1_3) into L(1_1).
21160 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21161 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21162 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21163 macros.
21164 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21165
2389741a
JJ
211662013-02-19 Jakub Jelinek <jakub@redhat.com>
21167
21168 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21169 macro.
21170
2016b3cd
SP
211712013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21172
e4f22324
SP
21173 * math/atest-exp.c (exp_mpn): Remove ROUND.
21174 * math/atest-exp2.c (exp_mpn): Likewise.
21175 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21176
2016b3cd
SP
21177 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21178 * stdlib/tst-tls-atexit-lib.c: Likewise.
21179 * stdlib/tst-tls-atexit.c: Likewise.
21180
4be9b544
MF
211812013-02-18 Mike Frysinger <vapier@gentoo.org>
21182
21183 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21184 and __attribute_alloc_size__.
21185
2f62b9ee
MF
211862013-02-18 Mike Frysinger <vapier@gentoo.org>
21187
21188 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21189 __attribute_alloc_size__.
21190 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21191 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21192
6ff444c4
MF
211932013-02-18 Mike Frysinger <vapier@gentoo.org>
21194
21195 * include/programs/xmalloc.h: New file.
21196 * catgets/gencat.c: Include it.
21197 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21198 * elf/pldd.c: Likewise.
21199 * iconv/iconv_charmap.c: Likewise.
21200 * iconv/iconvconfig.c: Likewise.
21201 * iconv/strtab.c: Likewise.
21202 * locale/programs/locale.c: Likewise.
21203 * locale/programs/localedef.h: Likewise.
21204 * locale/programs/simple-hash.c: Likewise.
21205 * nscd/nscd.h: Likewise.
21206 * nss/makedb.c: Likewise.
21207 * sysdeps/generic/ldconfig.h: Likewise.
21208
be179c8a
SP
212092013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21210
ba384f6e
SP
21211 * Versions.def: Add GLIBC_2.18.
21212 * include/link.h (struct link_map): New member l_tls_dtor_count.
21213 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21214 (__call_tls_dtors): Likewise.
21215 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21216 __cxa_thread_atexit_impl.
21217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21218 Likewise.
21219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21220 Likewise.
21221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21222 Likewise.
21223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21224 Likewise.
21225 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21227 Likewise.
21228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21229 Likewise.
21230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21232 Likewise.
21233 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21234 (tests): Add test case tst-tls-atexit.
21235 (modules-names): Add shared library for tst-tls-atexit.
85891aca 21236 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
21237 (GLIBC_PRIVATE): Add __call_tls_dtors.
21238 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21239 for libstdc++.
21240 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21241 * stdlib/tst-tls-atexit.c: New test case.
21242 * stdlib/tst-tls-atexit-lib.c: New test case.
21243
ffaa74cf 21244 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 21245
be179c8a
SP
21246 * elf/Versions (ld): Add _dl_find_dso_for_object.
21247 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21248 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21249 (dl_open_worker): Use _dl_find_dso_for_object.
21250 * elf/dl-sym.c (do_sym): Likewise.
21251 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21252
f78b5caa
AK
212532013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21254
21255 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21256 Syntactic changes only.
21257 (_dl_runtime_profile): Do a tail-call to the resolved function.
21258
29691210
JM
212592013-02-17 Joseph Myers <joseph@codesourcery.com>
21260
21261 [BZ #13550]
21262 * sysdeps/x86_64/bp-asm.h: Remove file.
21263 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21264 <bp-sym.h> and <bp-asm.h>.
21265 (__clone): Do not use BP_SYM.
21266 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21267 <bp-sym.h> and <bp-asm.h>.
21268 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21269 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21270 "bp-asm.h".
21271 (_setjmp): Do not use BP_SYM.
21272 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21273 "bp-asm.h".
21274 (setjmp): Do not use BP_SYM.
21275 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21276 libc_hidden_def.
21277 (mempcpy): Do not use BP_SYM in weak_alias.
21278 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21279 "bp-asm.h".
21280 (strchr): Do not use BP_SYM.
21281 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21282 "bp-asm.h".
21283 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21284 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21285 (_start): Do not use BP_SYM.
21286 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21287 "bp-asm.h".
21288 (strcat): Do not use BP_SYM.
21289 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21290 "bp-asm.h".
21291 (STRCMP): Do not use BP_SYM.
21292 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21293 "bp-asm.h".
21294 (STRCPY): Do not use BP_SYM.
21295 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21296 "bp-asm.h".
21297 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21298 "bp-asm.h".
21299 (FUNCTION): Do not use BP_SYM.
21300 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21301 weak_alias.
21302 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21303
f238fd19
AJ
213042013-02-17 Andreas Jaeger <aj@suse.de>
21305
21306 * time/Versions: Sort entries.
21307 * string/Versions: Likewise.
21308 * resolv/Versions: Likewise.
21309 * posix/Versions: Likewise.
21310 * iconv/Versions: Likewise.
21311 * elf/Versions: Likewise.
21312 * wcsmbs/Versions: Likewise.
21313
bd07f23c 213142013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 21315
22af19f9
SP
21316 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21317 loop termination condition.
21318
4709fe76
SP
21319 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21320 variable to calculate EZ.
21321 (__sqr): Likewise.
2d0e0f29
SP
21322
21323 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21324 the lower precision input.
21325
daaa7713
JM
213262013-02-15 Joseph Myers <joseph@codesourcery.com>
21327
21328 [BZ #13550]
21329 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21330 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21331 (run-via-rtld-prefix): Do not handle %-bp tests.
21332 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21333 (all-object-suffixes): Remove .ob.
21334 (bppfx): Remove variable.
21335 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21336 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21337 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21338 [$(build-bounded) = yes] (libtype.ob): Likewise.
21339 * Makerules (elide-routines.ob): Remove variable.
21340 (do-tests-clean): Do not handle *-bp.out.
21341 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21342 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21343 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21344 (tests): Do not include $(tests-bp.out).
21345 (xtests): Do not include $(xtests-bp.out).
21346 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21347 [$(build-bounded) = yes] ($(addprefix
21348 $(objpfx),$(binaries-bounded))): Remove rule.
21349 ($(objpfx)%-bp.out): Remove rule.
21350 * config.make.in (build-bounded): Remove variable.
21351 * crypt/Makefile [$(build-bounded) = yes]
21352 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21353 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21354 append to variable.
21355 [$(build-bounded) = yes] (install-lib): Likewise.
21356 [$(build-bounded) = yes] (generated): Likewise.
21357 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21358 Remove rule.
21359 * intl/Makefile [$(build-bounded) = yes]
21360 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21361 * math/Makefile [$(build-bounded) = yes]
21362 ($(tests:%=$(objpfx)%-bp): Likewise.
21363 * misc/Makefile [$(build-bounded) = yes]
21364 ($(objpfx)tst-tsearch-bp): Likewise.
21365 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21366 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21367 Remove dependency.
21368 * string/Makefile (o-objects.ob): Remove variable.
21369 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21370 (CFLAGS-.ob): Remove variable.
21371 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21372 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21373 both definitions of variable.
21374 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21375 (ASFLAGS-.ob): Remove variable.
21376
e97ed6dd
JM
213772013-02-14 Joseph Myers <joseph@codesourcery.com>
21378
2bdd4ca6
JM
21379 [BZ #13550]
21380 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21381 Remove __BOUNDED_POINTERS__ from condition.
21382 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21383 * string/bits/string2.h [!__NO_STRING_INLINES &&
21384 !__BOUNDED_POINTERS__]: Likewise.
21385 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21386 Likewise.
21387 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21388 Remove conditional code.
21389 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21390 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21391 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21392 condition.
21393
e97ed6dd
JM
21394 [BZ #13550]
21395 * csu/libc-start.c: Do not include <bp-sym.h>.
21396 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21397 * elf/dl-open.c: Do not include <bp-sym.h>.
21398 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21399 * math/fegetenv.c: Do not include <bp-sym.h>.
21400 (fegetenv): Do not use BP_SYM in versioned symbols.
21401 * nptl/sysdeps/pthread/bits/libc-lockP.h
21402 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21403 <bp-sym.h>.
21404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21405 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21407 (__pthread_mutex_destroy): Likewise.
21408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21409 (__pthread_mutex_lock): Likewise.
21410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21411 (__pthread_mutex_trylock): Likewise.
21412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21413 (__pthread_mutex_unlock): Likewise.
21414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21415 (__pthread_mutexattr_init): Likewise.
21416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21417 (__pthread_mutexattr_destroy): Likewise.
21418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21419 (__pthread_mutexattr_settype): Likewise.
21420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21421 (__pthread_rwlock_init): Likewise.
21422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21423 (__pthread_rwlock_destroy): Likewise.
21424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21425 (__pthread_rwlock_rdlock): Likewise.
21426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21427 (__pthread_rwlock_tryrdlock): Likewise.
21428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21429 (__pthread_rwlock_wrlock): Likewise.
21430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21431 (__pthread_rwlock_trywrlock): Likewise.
21432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21433 (__pthread_rwlock_unlock): Likewise.
21434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21435 (__pthread_key_create): Likewise.
21436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21437 (__pthread_setspecific): Likewise.
21438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21439 (__pthread_getspecific): Likewise.
21440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21441 Likewise.
21442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21443 (_pthread_cleanup_push_defer): Likewise.
21444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21445 (_pthread_cleanup_pop_restore): Likewise.
21446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21447 (pthread_setcancelstate): Likewise.
21448 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21449 <bp-sym.h>.
21450 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21451 (memchr): Do not use BP_SYM in weak_alias.
21452 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21453 (fegetenv): Do not use BP_SYM in versioned symbols.
21454 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21455 (fesetenv): Do not use BP_SYM in versioned symbols.
21456 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21457 (feupdateenv): Do not use BP_SYM in versioned symbols.
21458 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21459 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21460 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21461 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21462 (open64): Do not use BP_SYM in weak_alias.
21463 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21464 (fegetenv): Do not use BP_SYM in versioned symbols.
21465 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21466 (fesetenv): Do not use BP_SYM in versioned symbols.
21467 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21468 (feupdateenv): Do not use BP_SYM in versioned symbols.
21469 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21470 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21471 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21472 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21473 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21474 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21475 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21476 <bp-sym.h>.
21477 (__libc_start_main): Do not use BP_SYM.
21478
d6752ccd
SP
214792013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21480
cb57ce60
SP
21481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21482 redundant return line.
21483 (norm): Likewise.
21484 (denorm): Likewise.
21485 (dbl_mp): Likewise.
21486 (sub_magnitudes): Likewise.
21487 (__add): Likewise.
21488 (__sub): Likewise.
21489 (__mul): Likewise.
21490 (__inv): Likewise.
21491 (__dvd): Likewise.
21492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21493 (norm): Likewise.
21494 (denorm): Likewise.
21495 (dbl_mp): Likewise.
21496 (sub_magnitudes): Likewise.
21497 (__add): Likewise.
21498 (__sub): Likewise.
21499 (__mul): Likewise.
21500 (__inv): Likewise.
21501 (__dvd): Likewise.
21502
f414520d
SP
21503 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21504 instead of __mul.
21505 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21506 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21507 (cc32): Likewise.
21508
d6752ccd
SP
21509 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21510 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21511 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21512 of __mul for squares.
21513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21514 function
21515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21516 Likewise.
21517 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21518 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21519
70d9946a
JM
215202013-02-13 Joseph Myers <joseph@codesourcery.com>
21521
21522 [BZ #13550]
21523 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21524 code.
21525 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21526 prototype or function definition. Rename ubp_* variables and
21527 parameters. Remove argv definitions conditional on
21528 [__BOUNDED_POINTERS__].
21529 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21530 * elf/dl-runtime.c (_dl_fixup): Likewise.
21531 * include/set-hooks.h (RUN_HOOK): Likewise.
21532 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21533 definition.
21534 * string/strcpy.c (strcpy): Do not use __unbounded.
21535 * sysdeps/generic/frame.h (struct layout): Likewise.
21536 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21537 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21538 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21539 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21540 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21541 (__backtrace): Likewise.
21542 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21543 use __ptrvalue.
21544 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21545 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21546 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21547 Likewise.
21548 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21549 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21550 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21551 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21552 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21553 Do not use __unbounded.
21554 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21555 Rename __unboundedrlimits parameter to rlimits in prototype.
21556 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21557 Do not use __unbounded.
21558 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21559 not use __ptrvalue.
21560 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21561 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21562 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21563 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21564 __ptrvalue or __unbounded.
21565 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21566 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21567 use __unbounded.
21568 (__new_msgctl): Do not use __ptrvalue.
21569 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21570 __unbounded.
21571 (__libc_msgrcv): Do not use __ptrvalue.
21572 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21573 startup_info): Do not use __unbounded.
21574 (__libc_start_main): Likewise. Rename ubp_* variables and
21575 parameters. Remove argv definitions conditional on
21576 [__BOUNDED_POINTERS__].
21577 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21578 __ptrvalue.
21579 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21580 use __unbounded.
21581 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21582 or __ptrvalue.
21583 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21584 use __unbounded.
21585 (__new_shmctl): Do not use __ptrvalue.
21586 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21587 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21588 Likewise.
21589 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21590 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21591 (__libc_sigaction): Likewise.
21592 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21593 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21594 Likewise.
21595 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21596
cc7834d6
OB
215972013-02-13 Ondřej Bílka <neleai@seznam.cz>
21598
ffb1ec7b 21599 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
21600
21601 * string/mempcpy.c: Implement by calling memcpy.
21602
bdf02814
SP
216032013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21604
c2af38aa
SP
21605 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21606
4e92d59e
SP
21607 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21608 evaluation.
21609
909279a5
SP
21610 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21611 values in the mantissa.
21612
bdf02814
SP
21613 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21614 minimize writes to Z.
21615 (sub_magnitudes): Simplify code a bit.
21616
cd525923
RM
216172013-02-12 Roland McGrath <roland@hack.frob.com>
21618
21619 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21620 from the message. The linker prefixes all warnings with that already.
21621
7e2f0d2d
AS
216222013-02-12 Andreas Schwab <schwab@suse.de>
21623
a445af0b
AS
21624 [BZ #15078]
21625 * posix/regexec.c (extend_buffers): Add parameter min_len.
21626 (check_matching): Pass minimum needed length.
21627 (clean_state_log_if_needed): Likewise.
21628 (get_subexp): Likewise.
21629 * posix/Makefile (tests): Add bug-regex34.
21630 (bug-regex34-ENV): Define.
21631 * posix/bug-regex34.c: New file.
21632
7e2f0d2d
AS
21633 [BZ #11561]
21634 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21635 elements compare against the byte sequence of it, not its name.
21636 * posix/Makefile (tests): Add bug-regex35.
21637 (bug-regex35-ENV): Define.
21638 * posix/bug-regex35.c: New file.
21639
a175b684
TV
216402013-02-11 Tom de Vries <tom@codesourcery.com>
21641
21642 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21643 comment.
21644 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21645 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21646 (CHECK_EOL): Add undef.
21647
310998fe 216482013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
21649
21650 * bits/stdlib-bsearch.h: New file.
21651 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 21652 * stdlib/stdlib.h: Likewise.
41eda41d 21653
8ded91fb
RM
216542013-02-11 Roland McGrath <roland@hack.frob.com>
21655
21656 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21657 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21658 declaration.
21659 * manual/search.texi (Array Search Function): Add missing const in
21660 lfind prototype.
21661 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21662 declaration to use rlim_t.
21663 (Basic Scheduling Functions): Remove erroneous const from
21664 sched_getparam prototype. Remove erroneous * from
21665 sched_get_priority_max and sched_get_priority_min prototypes.
21666 (Resource Usage): Fix summary @comment on vtimes to refer to
21667 sys/vtimes.h rather than vtimes.h.
21668 Add missing *s in vtimes prototype.
21669 (Limits on Resources): Fix ulimit prototype to return long int.
21670 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21671 prototypes to use long int rather than double.
21672 (BSD Random): Fix initstate and setstate to use char *, not void *.
21673 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21674 prototype to make second argument 'struct aiocb64 *const[]'.
21675 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21676 (Status of AIO Operations): Remove erroneous const in aio_return and
21677 aio_return64 prototypes.
21678 (Synchronizing I/O): Fix sync prototype to return void.
21679 * manual/startup.texi (Suboptions): Remove an erroneous const in
21680 getsubopt prototype.
21681 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21682 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21683 use size_t rather than int.
21684 (Scanning All Users): Likewise for getpwent_r.
21685 (Setting Groups): Add missing const to setgroups prototype.
21686 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21687 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21688 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21689 'const void *' rather than 'const char *'.
21690 (Host Address Functions): Likewise for inet_ntop.
21691 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21692 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21693 ssize_t for return value.
21694 (Sending Data): Likewise for send, sendto, sendmsg.
21695 (Socket Option Functions): Add a missing const in setsockopt prototype.
21696 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21697 use wchar_t for the argument.
21698 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21699 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21700 take no arguments.
21701 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21702 double/float/long double for second argument.
21703 Fix return types of significand, significandf, significandl.
21704 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21705 argument in fchmod prototype.
21706 (File Owner): Use uid_t and gid_t in fchown prototype.
21707 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21708 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21709 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21710 use 'const struct dirent **' as argument types to CMP function pointer
21711 argument.
21712 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21713 (File Times): Fix summary magic @comment for struct utimbuf and utime
21714 to refer to utime.h, not time.h.
21715 * manual/string.texi (Argz Functions): Add missing const in
21716 argz_extract and argz_next prototypes.
21717 (Finding Tokens in a String): Likewise for basename.
21718 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21719 (Copying and Concatenation): Fix typo in wmemmove prototype.
21720 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21721 (Signal Stack): Remove erroneous const in sigstack prototype.
21722 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21723 prototype.
21724 (Simple Calendar Time): Likewise for stime.
21725 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21726 prototype.
21727 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21728 say sys/sysctl.h instead.
21729 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21730 and vsyslog prototypes.
21731
fe77fe6d
TV
217322013-02-11 Tom de Vries <tom@codesourcery.com>
21733
21734 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21735 Remove.
21736
3a09b620
RM
217372013-02-11 Roland McGrath <roland@hack.frob.com>
21738
21739 * misc/sys/mman.h: Fix typo in mremap comment.
21740
550a0b89
RM
217412013-02-08 Roland McGrath <roland@hack.frob.com>
21742
21743 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21744 the '\0' terminator.
21745
a2da1673
JM
217462013-02-08 Joseph Myers <joseph@codesourcery.com>
21747
21748 [BZ #13550]
21749 * debug/segfault.c: Don't include <bp-checks.h>.
21750 * sysdeps/generic/bp-checks.h: Remove file.
21751 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21752 (__GETDENTS): Don't use CHECK_N.
21753 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21754 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21755 (__getgroups): Don't use CHECK_N.
21756 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21757 (setgroups): Don't use CHECK_N.
21758 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21759 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21760 (__libc_msgrcv): Don't use CHECK_N.
21761 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21762 (__libc_msgsnd): Don't use CHECK_N.
21763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21764 <bp-checks.h>.
21765 (__libc_pread): Don't use CHECK_N.
21766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21767 include <bp-checks.h>.
21768 (__libc_pread64): Don't use CHECK_N.
21769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21770 include <bp-checks.h>.
21771 (__libc_pwrite): Don't use CHECK_N.
21772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21773 include <bp-checks.h>.
21774 (__libc_pwrite64): Don't use CHECK_N.
21775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21776 <bp-checks.h>.
21777 (__libc_pread): Don't use CHECK_N.
21778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21779 include <bp-checks.h>.
21780 (__libc_pread64): Don't use CHECK_N.
21781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21782 include <bp-checks.h>.
21783 (__libc_pwrite): Don't use CHECK_N.
21784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21785 include <bp-checks.h>.
21786 (__libc_pwrite64): Don't use CHECK_N.
21787 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21788 (do_pread): Don't use CHECK_N.
21789 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21790 (do_pread64): Don't use CHECK_N.
21791 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21792 (do_pwrite): Don't use CHECK_N.
21793 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21794 (do_pwrite64): Don't use CHECK_N.
21795 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21796 (__libc_readv): Don't use CHECK_N.
21797 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21798 (semop): Don't use CHECK_N.
21799 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21800 <bp-checks.h>.
21801 (semtimedop): Don't use CHECK_N.
21802 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21803 (__libc_pread): Don't use CHECK_N.
21804 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21805 <bp-checks.h>.
21806 (__libc_pread64): Don't use CHECK_N.
21807 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21808 <bp-checks.h>.
21809 (__libc_pwrite): Don't use CHECK_N.
21810 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21811 <bp-checks.h>.
21812 (__libc_pwrite64): Don't use CHECK_N.
21813 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21814 <bp-checks.h>.
21815 (__libc_msgrcv): Don't use CHECK_N.
21816 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21817 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21818 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21819 (__libc_writev): Don't use CHECK_N.
21820
b84660a8
RM
218212013-02-08 Roland McGrath <roland@hack.frob.com>
21822
7f3e75f8
RM
21823 * string/strcpy.c: Removed unused variable.
21824
b84660a8
RM
21825 * Makeconfig (+sysdep-includes): Define with := rather than =.
21826 Use an existing include/ subdir of each sysdeps dir before it.
21827
471514d3
CD
218282013-02-08 Carlos O'Donell <carlos@redhat.com>
21829
21830 * nscd/connection.c (register_traced_file): Comment function.
21831 [HAVE_INOTIFY] (union __inev): Define.
21832 [HAVE_INOTIFY] (inotify_check_files): New function.
21833 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21834 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21835 clear_db_cache.
21836 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21837
b2d3c3be
CD
218382013-02-08 Carlos O'Donell <carlos@redhat.com>
21839
21840 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21841 loaded if not already and that a failure is permanent.
21842
b39949d2
CD
218432013-02-08 Carlos O'Donell <carlos@redhat.com>
21844
ddacd1db 21845 [BZ #15006]
b39949d2
CD
21846 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21847 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21848
b2c9eff4
JM
218492013-02-08 Joseph Myers <joseph@codesourcery.com>
21850
f3aae3f3
JM
21851 [BZ #13550]
21852 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21853 (CHECK_1_NULL_OK): Likewise.
21854 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21855 (__fxstat): Do not use CHECK_1.
21856 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21857 <bp-checks.h>.
21858 (___fxstat64): Do not use CHECK_1.
21859 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21860 <bp-checks.h>.
21861 (__fxstatat): Do not use CHECK_1.
21862 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21863 <bp-checks.h>.
21864 (__fxstatat64): Do not use CHECK_1.
21865 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21866 <bp-checks.h>.
21867 (__fxstat): Do not use CHECK_1.
21868 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21869 <bp-checks.h>.
21870 (__fxstatat): Do not use CHECK_1.
21871 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21872 <bp-checks.h>.
21873 (__getresgid): Do not use CHECK_1.
21874 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21875 <bp-checks.h>.
21876 (__getresuid): Do not use CHECK_1.
21877 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21878 <bp-checks.h>.
21879 (__lxstat): Do not use CHECK_1.
21880 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21881 <bp-checks.h>.
21882 (__old_msgctl): Do not use CHECK_1.
21883 (__new_msgctl): Likewise.
21884 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21885 <bp-checks.h>.
21886 (__new_setrlimit): Do not use CHECK_1.
21887 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21888 <bp-checks.h>.
21889 (__old_shmctl): Do not use CHECK_1.
21890 (__new_shmctl): Likewise.
21891 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21892 <bp-checks.h>.
21893 (__xstat): Do not use CHECK_1.
21894 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21895 (__lxstat): Do not use CHECK_1.
21896 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21897 <bp-checks.h>.
21898 (___lxstat64): Do not use CHECK_1.
21899 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21900 (__old_msgctl): Do not use CHECK_1.
21901 (__new_msgctl): Likewise.
21902 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21903 <bp-checks.h>.
21904 (__gettimeofday): Do not use CHECK_1.
21905 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21906 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21907 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21908 <bp-checks.h>.
21909 (__gettimeofday): Do not use CHECK_1.
21910 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21911 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21912 (__new_shmctl): Do not use CHECK_1.
21913 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21914 <bp-checks.h>.
21915 (do_sigtimedwait): Do not use CHECK_1.
21916 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21917 <bp-checks.h>.
21918 (do_sigwaitinfo): Do not use CHECK_1.
21919 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21920 <bp-checks.h>.
21921 (msgctl): Do not use CHECK_1.
21922 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21923 <bp-checks.h>.
21924 (shmctl): Do not use CHECK_1.
21925 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21926 (ustat): Do not use CHECK_1.
21927 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21928 <bp-checks.h>.
21929 (__fxstat): Do not use CHECK_1.
21930 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21931 <bp-checks.h>.
21932 (__fxstatat): Do not use CHECK_1.
21933 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21934 <bp-checks.h>.
21935 (__lxstat): Do not use CHECK_1.
21936 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21937 <bp-checks.h>.
21938 (__xstat): Do not use CHECK_1.
21939 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21940 (__xstat): Do not use CHECK_1.
21941 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21942 (___xstat64): Do not use CHECK_1.
21943
b2c9eff4
JM
21944 [BZ #13550]
21945 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21946 definitions.
21947 (CHECK_BOUNDS_HIGH): Likewise.
21948 * string/strcpy.c: Do not include <bp-checks.h>.
21949 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21950
f1d70dad
RM
219512013-02-07 Roland McGrath <roland@hack.frob.com>
21952
21953 * nscd/nscd-client.h (__nscd_drop_map_ref):
21954 Add __attribute__ ((unused)).
21955 * nis/nss-nisplus.h (niserr2nss): Likewise.
21956
21957 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21958 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21959
21960 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21961 Remove inline keyword.
21962 * include/rounding-mode.h (round_away): Likewise.
21963 * libio/wfileops.c (adjust_wide_data): Likewise.
21964 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21965 (__m128i_strloadu_tolower): Likewise.
21966 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21967 (__m128i_strloadu_tolower): Likewise.
21968 * time/mktime.c (ydhms_diff): Likewise.
21969 * locale/elem-hash.h (elem_hash): Likewise.
21970 * locale/setlocale.c (setdata): Likewise.
21971 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21972 (re_string_wchar_at): Likewise.
21973 (bitset_not, bitset_merge, bitset_mask): Likewise.
21974 [!(__GNUC__ > 3)] (inline): Remove macro.
21975 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21976 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21977 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21978 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21979 * string/memcmp.c (memcmp_bytes): Likewise.
21980 * locale/programs/locarchive.c (compute_hashval): Likewise.
21981 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21982 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21983 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21984 * nss/getent.c (print_rpc, print_protocols): Likewise.
21985 (print_passwd, print_group, print_aliases): Likewise.
21986 * nis/nss-nisplus.h (niserr2nss): Likewise.
21987 * nscd/connections.c (restart_p): Likewise.
21988 Change return type to bool.
21989
eab55bfb
RM
219902013-02-05 Roland McGrath <roland@hack.frob.com>
21991
7bd642f5
RM
21992 * Makeconfig (all-Depend-files): Add existing
21993 $(sorted-subdirs:=/Depend) files.
21994 (all-subdirs): Remove nss.
21995 * sysdeps/unix/inet/Subdirs: Add it here instead.
21996 * hesiod/Depend: New file.
21997
573c29b2
RM
21998 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21999 instead of calling alloca.
22000
b2e25af0
RM
22001 * io/lseek.c (__lseek): Rename to __libc_lseek.
22002 Define __lseek as an alias.
22003
eab55bfb
RM
22004 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22005
9a0d1941
CD
220062013-02-04 Carlos O'Donell <carlos@redhat.com>
22007
22008 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22009 else clause and remove check for non-standard endianness.
22010
b83bbec4
DM
220112013-02-04 David S. Miller <davem@davemloft.net>
22012
22013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22014
6277fdab
JM
220152013-02-04 Joseph Myers <joseph@codesourcery.com>
22016
22017 [BZ #13550]
22018 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22019 (__ubp_memchr): Remove prototype.
22020 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22021 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22022 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22023 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22024 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22025 Remove alias.
22026 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22027 (__ubp_memchr): Likewise.
22028 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22029 (__ubp_memchr): Likewise.
22030 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22031 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22032 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22033 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22034 CHECK_STRING.
22035 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22036 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22037 (__getcwd): Do not use CHECK_STRING.
22038 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22039 <bp-checks.h>.
22040 (__real_chown): Do not use CHECK_STRING.
22041 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22042 <bp-checks.h>.
22043 (fchownat): Do not use CHECK_STRING.
22044 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22045 CHECK_STRING.
22046 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22047 <bp-checks.h>.
22048 (__lchown): Do not use CHECK_STRING.
22049 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22050 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22051 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22052 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22054 include <bp-checks.h>.
22055 (truncate64): Do not use CHECK_STRING.
22056 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22057 <bp-checks.h>.
22058 (__real_chown): Do not use CHECK_STRING.
22059 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22060 <bp-checks.h>.
22061 (__lchown): Do not use CHECK_STRING.
22062 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22063 <bp-checks.h>.
22064 (__chown): Do not use CHECK_STRING.
22065 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22066 <bp-checks.h>.
22067 (truncate64): Do not use CHECK_STRING.
22068 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22069 Likewise.
22070 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22071 (__xmknod): Do not use CHECK_STRING.
22072 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22073 <bp-checks.h>.
22074 (__xmknodat): Do not use CHECK_STRING.
22075 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22076 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22077
903ae060
AS
220782013-02-04 Andreas Schwab <schwab@suse.de>
22079
22080 [BZ #14142]
22081 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22082 * include/netdb.h: Likewise for h_errno.
22083 * elf/tst-stackguard1.c: Include <tls.h>.
22084
542f9466
JK
220852013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22086
22087 * elf/link.h (struct link_map): Extend the l_addr comment.
22088 * include/link.h (struct link_map): Likewise.
22089
e782a927
JM
220902013-02-01 Joseph Myers <joseph@codesourcery.com>
22091
22092 [BZ #13550]
22093 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22094 (BOUNDED_1): Remove macro.
22095 * debug/backtrace.c: Don't include <bp-checks.h>.
22096 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22097 (__backtrace): Likewise.
22098 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22099 <bp-checks.h>.
22100 (__backtrace): Don't use BOUNDED_1.
22101 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22102 <bp-checks.h>.
22103 (__backtrace): Don't use BOUNDED_1.
22104 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22105 (__backtrace): Don't use BOUNDED_1.
22106 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22107 (shmat): Don't use BOUNDED_N.
22108
8cf28c5e
JM
221092013-01-31 Joseph Myers <joseph@codesourcery.com>
22110
3a7ac8a0
JM
22111 [BZ #13550]
22112 * sysdeps/generic/bp-start.h: Remove file.
22113 * csu/libc-start.c: Don't include <bp-start.h>.
22114 (LIBC_START_MAIN): Set up __environ directly instead of using
22115 INIT_ARGV_and_ENVIRON.
22116 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22117 <bp-start.h>.
22118
f3499f95
JM
22119 [BZ #13550]
22120 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22121 definitions.
22122 (CHECK_FCNTL): Likewise.
22123 (CHECK_N_PAGES): Likewise.
22124
32a45bea
JM
22125 [BZ #13550]
22126 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22127 definitions.
22128 (CHECK_SIGSET_NULL_OK): Likewise.
22129 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22130 <bp-checks.h>.
22131 (sigpending): Don't use CHECK_SIGSET.
22132 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22133 <bp-checks.h>.
22134 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22135 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22136 <bp-checks.h>.
22137 (do_sigsuspend): Don't use CHECK_SIGSET.
22138 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22139 use CHECK_SIGSET.
22140 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22141 (do_sigwait): Don't use CHECK_SIGSET.
22142 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22143 use CHECK_SIGSET.
22144 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22145 include <bp-checks.h>.
22146 (sigpending): Don't use CHECK_SIGSET.
22147 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22148 include <bp-checks.h>.
22149 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22150 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22151 <bp-checks.h>.
22152 (sigpending): Don't use CHECK_SIGSET.
22153 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22154 <bp-checks.h>.
22155 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22156
2e8a5c8c
JM
22157 [BZ #13550]
22158 * sysdeps/generic/bp-semctl.h: Remove file.
22159 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22160 <bp-checks.h> and <bp-semctl.h>.
22161 (__old_semctl): Don't use CHECK_SEMCTL.
22162 (__new_semctl): Likewise.
22163 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22164 and <bp-semctl.h>.
22165 (__old_semctl): Don't use CHECK_SEMCTL.
22166 (__new_semctl): Likewise.
22167 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22168 <bp-checks.h> and <bp-semctl.h>.
22169 (__old_semctl): Don't use CHECK_SEMCTL.
22170 (__new_semctl): Likewise.
22171 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22172 <bp-checks.h> and <bp-semctl.h>.
22173 (semctl): Don't use CHECK_SEMCTL.
22174
c2d54929
JM
22175 [BZ #13550]
22176 * Makerules (elide-bp-thunks): Remove variable.
22177 (elide-routines.oS): Don't use $(elide-bp-thunks).
22178 (elide-routines.os): Likewise.
22179 (elide-routines.o): Likewise.
22180 (elide-routines.op): Likewise.
22181 (elide-routines.og): Likewise.
22182 (objects): Don't use $(bp-thunks).
22183 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22184 include.
22185 (common-generated): Do not add s-proto-bp.d.
22186 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22187 (int): Likewise.
22188 (typ): Likewise.
22189 Do not generate makefile rules for bounded-pointer thunks.
22190 * sysdeps/generic/bp-thunks.h: Remove file.
22191 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22192 * sysdeps/unix/s-proto-bp.S: Likewise.
22193
8cf28c5e
JM
22194 [BZ #15062]
22195 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22196 parts of result separately when argument is not close to line from
22197 -i to i and one part of argument is small.
22198 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22199 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22200 * math/libm-test.inc (cacos_test): Add more tests.
22201 (casin_test): Likewise.
22202 (casinh_test): Likewise.
22203 * sysdeps/i386/fpu/libm-test-ulps: Update.
22204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22205
c4e33b8d
DM
222062013-01-31 David S. Miller <davem@davemloft.net>
22207
22208 * po/de.po: Update from translation team.
22209
3b60b421
MK
222102013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22211
22212 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22213
bb931195
TS
222142013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22215
b5a5da23
TS
22216 * configure.in (_AC_PROG_CC_C89): New definition.
22217 * configure: Regenerate.
22218
bb931195
TS
22219 * configure.in (AC_PROG_CPP): New definition.
22220 * configure: Regenerate.
22221
8c53a12c
JM
222222013-01-23 Joseph Myers <joseph@codesourcery.com>
22223
22224 * debug/tst-backtrace.h: New file.
22225 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22226 (ret): Remove variable.
22227 (x): Likewise.
22228 (FAIL): Remove macro.
22229 (NO_INLINE): Likewise.
22230 (fn1): Use match function instead of strstr.
22231 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22232 (ret): Remove variable.
22233 (x): Likewise.
22234 (FAIL): Remove macro.
22235 (NO_INLINE): Likewise.
22236 (fn): Use match function instead of strstr.
22237 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22238 (ret): Remove variable.
22239 (x): Likewise.
22240 (FAIL): Remove macro.
22241 (NO_INLINE): Likewise.
22242 (handle_signal): Use match function instead of strstr.
22243 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22244 (ret): Remove variable.
22245 (x): Likewise.
22246 (FAIL): Remove macro.
22247 (NO_INLINE): Likewise.
22248 (handle_signal): Use match function instead of strstr.
22249
4858fa2a
RM
222502013-01-23 Roland McGrath <roland@hack.frob.com>
22251
22252 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22253
bae8e7f5
DM
222542013-01-23 David S. Miller <davem@davemloft.net>
22255
22256 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22257 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22258 argument of CAS if possible.
22259 * sysdeps/sparc/sparc64/bits/atomic.h
22260 (__arch_compare_and_exchange_val_32_acq): Likewise.
22261 (__arch_compare_and_exchange_val_64_acq): Likewise.
22262
9cbbc4ae
PT
222632013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22264
22265 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22266 * sysdeps/posix/ulimit.c: ... this.
92a601b8 22267 Include <limits.h>.
67b3f58c 22268 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 22269
5655a0b5
AC
222702013-01-23 Adam Conrad <adconrad@0c3.net>
22271
22272 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22273 (LDFLAGS-tst-array5): Likewise.
22274
052aff95
JM
222752013-01-23 Joseph Myers <joseph@codesourcery.com>
22276
22277 [BZ #15036]
22278 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22279 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22280 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22281 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22282
7c1e01aa
DM
222832013-01-21 David S. Miller <davem@davemloft.net>
22284
22285 * sysdeps/sparc/backtrace.c: New file.
22286 * sysdeps/sparc/sparc32/backtrace.h: New file.
22287 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22288 * sysdeps/sparc/sparc64/backtrace.h: New file.
22289 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22290 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22291 -funwind-tables.
22292
ab087e0a
AS
222932013-01-21 Andreas Schwab <schwab@suse.de>
22294
22295 [BZ #15020]
22296 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22297 closed its stdout.
22298
ed689c2f
AS
222992013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22300
22301 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22302 "mpa2.h".
22303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22304
31d470ac
JM
223052013-01-18 Joseph Myers <joseph@codesourcery.com>
22306 Mark Mitchell <mark@codesourcery.com>
22307 Tom de Vries <tom@codesourcery.com>
22308 Paul Pluzhnikov <ppluzhnikov@google.com>
22309
22310 * debug/tst-backtrace2.c: New file.
22311 * debug/tst-backtrace3.c: Likewise.
22312 * debug/tst-backtrace4.c: Likewise.
22313 * debug/tst-backtrace5.c: Likewise.
22314 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22315 (CFLAGS-tst-backtrace3.c): Likewise.
22316 (CFLAGS-tst-backtrace4.c): Likewise.
22317 (CFLAGS-tst-backtrace5.c): Likewise.
22318 (LDFLAGS-tst-backtrace2): Likewise.
22319 (LDFLAGS-tst-backtrace3): Likewise.
22320 (LDFLAGS-tst-backtrace4): Likewise.
22321 (LDFLAGS-tst-backtrace5): Likewise.
22322 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22323 tst-backtrace4 and tst-backtrace5.
22324
90567f30 223252013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
22326 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22327
22328 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22329 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22330 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22331 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22333 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22334 "+r" and remove output regs list as redundant. Add explicit inline
22335 asm to specify register of return val to work around compiler codegen
22336 bug. Remove (int) cast on return value. Add return type parameter to
22337 use in macro so that this macro does not truncate return value for
22338 64-bit values.
22339 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22340 pass to INTERNAL_VSYSCALL_NCS.
22341 (INLINE_VSYSCALL): Add 'long int' as return type to
22342 INTERNAL_VSYSCALL_NCS macro invocation.
22343 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22344 INTERNAL_VSYSCALL_NCS macro invocation.
22345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22346
d3b9ea61
SP
223472013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22348
0b57daeb
SP
22349 [BZ #14496]
22350 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22351 Fix application of SIMD FP exception mask.
22352
caa99d06
SP
22353 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22354 mp_no from a power of two.
22355 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22356 __mpexp_twomm1. Use __pow_mp.
22357
d3b9ea61
SP
22358 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22359 multiplication.
22360
1dbaee3c
DM
223612013-01-17 David S. Miller <davem@davemloft.net>
22362
22363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22364
728d7b43
JM
223652013-01-17 Joseph Myers <joseph@codesourcery.com>
22366
22367 [BZ #15023]
22368 * include/complex.h: Condition contents on [!_COMPLEX_H].
22369 (__kernel_casinhf): New prototype.
22370 (__kernel_casinh): Likewise.
22371 (__kernel_casinhl): Likewise.
22372 * math/Makefile (libm_calls): Add k_casinh.
22373 * math/k_casinh.c: New file.
22374 * math/k_casinhf.c: Likewise.
22375 * math/k_casinhl.c: Likewise.
22376 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22377 finite nonzero arguments.
22378 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22379 finite nonzero arguments.
22380 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22381 finite nonzero arguments.
22382 * math/s_casinh.c: Do not include <float.h>.
22383 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22384 * math/s_casinhf.c: Do not include <float.h>.
22385 (__casinhf): Move code for finite nonzero arguments to
22386 k_casinhf.c.
22387 * math/s_casinhl.c: Do not include <float.h>.
22388 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22389 redefine.
22390 (__casinhl): Move code for finite nonzero arguments to
22391 k_casinhl.c.
22392 * math/libm-test.inc (cacos_test): Add more tests.
22393 * sysdeps/i386/fpu/libm-test-ulps: Update.
22394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22395
2a26ef3a
PT
223962013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22397
22398 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22399 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22400 [!HAVE_MREMAP]: Remove [defined linux] case.
22401 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22402
a897655d
SP
224032013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22404
22405 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22406
881ebe89 224072013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
22408
22409 * elf/elf.h (R_386_SIZE32): New relocation.
22410 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22411 R_386_SIZE32.
22412 (elf_machine_rela): Likewise.
22413 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22414 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22415
59981e9b
JM
224162013-01-17 Joseph Myers <joseph@codesourcery.com>
22417
22418 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22419 (FP_FAST_FMA): Do not define.
22420 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22421 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22422 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22423 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22424 !_SOFT_FLOAT]: Likewise.
22425 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22426 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22427 value.
22428 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22429 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22430 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22431 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22432 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22433 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22434 file.
22435
cfa8054f
AS
224362013-01-16 Andreas Schwab <schwab@suse.de>
22437
22438 [BZ #14327]
22439 * include/stdlib.h (__mktemp): Add declaration.
22440 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22441 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22442
dd930cc5
SP
224432013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22444
881ebe89
SP
22445 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22446 definitions.
22447 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22448 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22449 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22450 definitions here.
22451 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22452 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22453 definitions.
22454 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22455 and ONE.
22456 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22457 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22458 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22459 definitions.
22460 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22461 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22462 definitions.
22463 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 22464
dd930cc5
SP
22465 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22466
c19a9f89
DM
224672013-01-15 David S. Miller <davem@davemloft.net>
22468
1aa61767
DM
22469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22470 trunc{,f} to libm-sysdep_routes.
22471 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22473 file.
22474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22476 file.
22477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22478 file.
22479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22481 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22482 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22483 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22484 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22485 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22486 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22487
c42d5e98
DM
22488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22489 nearbyint{,f} to libm-sysdep_routes.
22490 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22492 New file.
22493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22494 file.
22495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22496 New file.
22497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22498 file.
22499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22501 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22502 file.
22503 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22504 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22505 file.
22506 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22507 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22508 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22509
c19a9f89
DM
22510 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22511 libc_feholdexcept and libc_fesetenv.
22512
357679d2
MF
225132013-01-15 Mike Frysinger <vapier@gentoo.org>
22514
22515 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22516
65a82e3d
DM
225172013-01-14 David S. Miller <davem@davemloft.net>
22518
8b954ab9
DM
22519 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22520 (SPARC_ASM_VIS2_IFUNC): Likewise.
22521 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22523 use of 'siam' instruction.
22524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22525 Likewise.
22526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22527 Likewise.
22528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22529 Likewise.
22530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22531 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22535 file.
22536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22537 file.
22538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22539 file.
22540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22541 file.
22542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22547 new VIS2 routines.
22548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22551 Likewise.
22552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22554 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22555 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22557 routines to libm-sysdep_routines.
22558 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22559
65a82e3d
DM
22560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22561 fdim/fdimf to libm-sysdep_routines.
22562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22563 file.
22564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22566 file.
22567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22570 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22571 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22572 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22573 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22574
e34ab705
SP
225752013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22576
2a91b573
SP
22577 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22578 to optimize copies.
22579
1066a534
SP
22580 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22583
e34ab705
SP
22584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22585 local variable MPTWO.
22586 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22587 Likewise.
22588
aba5e596
MF
225892013-01-13 Mike Frysinger <vapier@gentoo.org>
22590
22591 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22592 GLOB_NOESCAPE.
22593
e557e9e5
MF
225942013-01-13 Mike Frysinger <vapier@gentoo.org>
22595
22596 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22597
0428cec9
MF
225982013-01-13 Mike Frysinger <vapier@gentoo.org>
22599
22600 * manual/pattern.texi (glob_t): Document gl_flags.
22601 (glob64_t): Likewise.
22602
8794a964
DM
226032013-01-11 David S. Miller <davem@davemloft.net>
22604
66438c3f
RM
22605 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22606 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22607 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
22608 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22609 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22610 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22611 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22612 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22613 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22614 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22615 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22616 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22617 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22618
4ae4244d
DM
22619 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22620 sparc V9 rather than using V8 code.
22621 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22622 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22623
8794a964
DM
22624 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22625 Move to...
22626 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22627 Here.
22628
6270516e
RM
226292013-01-11 Roland McGrath <roland@hack.frob.com>
22630
22631 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22632 not in the main loop.
22633 * configure: Regenerated.
22634
6a57d931
JM
226352013-01-11 Joseph Myers <joseph@codesourcery.com>
22636
22637 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22638 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22639 to just #else.
22640 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22641 [!__GLIBC_HAVE_LONG_LONG] case.
22642 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22643 condition to just #else.
22644 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22645 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22646 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22647 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22648 unconditional.
22649 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22650 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22651 #elif condition to just #else.
22652 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22653 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22654 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22655 #elif condition to just #else.
22656
0e8529e9
SE
226572013-01-11 Steve Ellcey <sellcey@mips.com>
22658
22659 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22660 (EF_MIPS_ARCH_64): Fix value.
22661 (EF_MIPS_ARCH_32R2): New.
22662 (EF_MIPS_ARCH_64R2): New.
22663
740b3dbe
L
226642013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22665
22666 * Makeconfig (+link-pie-before-libc): New.
22667 (+link-pie-after-libc): Likewise.
22668 (+link-pie-tests): Likewise.
22669 (+link-pie): Rewritten.
22670 (link-before-libc): Remove $(config-LDFLAGS).
22671 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22672 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22673 (config-LDFLAGS): Renamed to ...
22674 (rtld-LDFLAGS): This.
22675 (rtld-tests-LDFLAGS): New macro.
22676 (link-libc-rpath-link): Likewise.
22677 (link-libc-tests-rpath-link): Likewise.
22678 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22679 (link-libc): Prepand $(link-libc-rpath-link).
22680 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22681 (test-program-prefix): New macro.
22682 (test-via-rtld-prefix): Likewise.
22683 (test-program-cmd): Likewise.
22684 (host-test-program-cmd): Likewise.
22685 * Makefile ($(common-objpfx)testrun.sh): Replace
22686 $(run-program-prefix) with $(test-program-prefix).
22687 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22688 $(rtld-LDFLAGS).
22689 ($(common-objpfx)shlib.lds): Likewise.
22690 (build-module-helper): Likewise.
22691 ($(common-objpfx)format.lds): Likewise.
22692 * Rules (binaries-pie-tests): New.
22693 (binaries-pie-notests): Likewise.
22694 (binaries-pie): Rewritten.
22695 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22696 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22697 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22698 (make-test-out): Replace $(host-built-program-cmd) with
22699 $(host-test-program-cmd).
22700 * config.make.in (build-hardcoded-path-in-tests): New variable.
22701 * configure.in (--enable-hardcoded-path-in-tests): New configure
22702 option.
22703 (hardcoded_path_in_tests): New AC_SUBST.
22704 * configure: Regenerated.
22705 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22706 $(built-program-cmd) with $(test-program-cmd).
22707 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22708 (test_program_cmd): This.
22709 * elf/Makefile ($(objpfx)order.out): Run test with
22710 $(test-program-prefix).
22711 ($(objpfx)order2.out): Likewise.
22712 ($(objpfx)tst-initorder.out): Likewise.
22713 ($(objpfx)tst-initorder2.out): Likewise.
22714 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22715 $(test-program-cmd).
22716 ($(objpfx)tst-array1-static.out): Likewise.
22717 ($(objpfx)tst-array2.out): Likewise.
22718 ($(objpfx)tst-array3.out): Likewise.
22719 ($(objpfx)tst-array4.out): Likewise.
22720 ($(objpfx)tst-array5.out): Likewise.
22721 ($(objpfx)tst-array5-static.out): Likewise.
22722 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22723 $(test-program-cmd).
22724 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22725 $(run-program-prefix) with $(test-program-prefix).
22726 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22727 (test_program_prefix): This.
22728 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22729 $(run-program-prefix) with $(test-program-prefix).
22730 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22731 (test_program_prefix): This.
22732 * iconvdata/tst-tables.sh: Likewise.
22733 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22734 $(run-program-prefix) with $(test-program-prefix).
22735 ($(objpfx)tst-translit.out): Likewise.
22736 ($(objpfx)tst-gettext2.out): Likewise.
22737 ($(objpfx)tst-gettext4.out): Likewise.
22738 ($(objpfx)tst-gettext6.out): Likewise.
22739 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22740 (test_program_prefix): This.
22741 * intl/tst-gettext2.sh: Likewise.
22742 * intl/tst-gettext4.sh Likewise.
22743 * intl/tst-gettext6.sh: Likewise.
22744 * intl/tst-translit.sh: Likewise.
22745 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22746 with $(test-program-cmd).
22747 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22748 $(run-program-prefix) with $(test-program-prefix).
22749 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22750 (test_program_prefix): This.
22751 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22752 $(run-program-prefix) with $(test-program-prefix).
22753 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22754 (test_program_prefix): This.
22755 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22756 * posix/Makefile ($(objpfx)globtest.out): Replace
22757 $(run-via-rtld-prefix) and $(test-wrapper) with
22758 $(test-program-prefix) and $(test-via-rtld-prefix).
22759 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22760 $(test-program-prefix).
22761 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22762 $(host-test-program-cmd).
22763 (tst-spawn-ARGS): Likewise.
22764 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22765 $(test-program-prefix).
22766 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22767 (test_via_rtld_prefix): This.
22768 (test_wrapper): Renamed to ...
22769 (test_program_prefix): This.
22770 (run_program_prefix): Replaced by test_program_prefix.
22771 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22772 (test_program_prefix): This.
22773 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22774 with $(host-test-program-cmd).
22775 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22776 $(run-program-prefix) with $(test-program-prefix).
22777 ($(objpfx)tst-printf.out): Likewise.
22778 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22779 $(test-program-cmd).
22780 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22781 (test_program_prefix): This.
22782 * stdio-common/tst-unbputc.sh: Likewise.
22783 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22784 $(run-program-prefix) with $(test-program-prefix).
22785 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22786 (test_program_prefix): This.
22787 * string/Makefile ($(objpfx)tst-svc.out): Replace
22788 $(built-program-cmd) with $(test-program-cmd).
22789
c6fe55cf
AJ
227902013-01-11 Andreas Jaeger <aj@suse.de>
22791
22792 [BZ #15003]
22793 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22794 value. Sync with Linux 3.7.
22795
9e6919c8
DM
227962013-01-10 David S. Miller <davem@davemloft.net>
22797
22798 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22799 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22800 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22801
1c9f1a02
RM
228022013-01-10 Roland McGrath <roland@hack.frob.com>
22803
22804 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22805 never set.
22806 * configure: Regenerated.
22807
b9de2dde
DM
228082013-01-10 David S. Miller <davem@davemloft.net>
22809
22810 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22811 sparc V9 rather than using V8 code.
22812 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22813 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22814
e7f68ef4
RM
228152013-01-10 Roland McGrath <roland@hack.frob.com>
22816
22817 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22818 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22819 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22820 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22821 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22822 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22823 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22824 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22825 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22826 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22827 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22828 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22829 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22830 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22831 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22832 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22833 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22834 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22835 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22836 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22837 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22838 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22839 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22840 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22841 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22842 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22843 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22844
5a47cc9c
DM
228452013-01-10 David S. Miller <davem@davemloft.net>
22846
22847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22848
4cf8f209
L
228492013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22850
22851 * posix/Makefile (tests-static): New variable.
22852 (tests): Add $(tests-static).
22853 (tst-exec-static-ARGS): New variable.
22854 (tst-spawn-static-ARGS): Likewise.
22855 * posix/tst-exec-static.c: New file.
22856 * posix/tst-spawn-static.c: Likewise.
22857 * posix/tst-exec.c: Support run directly.
22858 * posix/tst-spawn.c: Likewise.
22859
fed0faa1
JM
228602013-01-10 Joseph Myers <joseph@codesourcery.com>
22861
828beb13
JM
22862 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22863 long.
22864 * math/bits/mathcalls.h (llrint): Likewise.
22865 (llround): Likewise.
22866 * stdlib/stdlib.h (struct drand48_data): Likewise.
22867 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22868 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22869 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22870 Likewise.
22871 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22872 Likewise.
22873 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22874 (elf_greg_t): Likewise.
22875 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22876 (__jmp_buf): Likewise.
22877 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22878 definitions.
22879 (llrint): Likewise, for all definitions.
22880 (llrintl): Likewise.
22881
fed0faa1
JM
22882 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22883 Remove [__GNUC__] condition.
22884 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22885 condition to just [__USE_ISOC99].
22886 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22887
1a20cb20
L
228882013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22889
22890 [BZ #14200]
22891 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22892 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22893 defined.
22894 (_POSIX_V6_ILP32_OFF32): Likewise.
22895 (_XBS5_ILP32_OFF32): Likewise.
22896 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22897 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22898
751b85f7
SP
228992013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22900
7490eb81
SP
22901 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22902
751b85f7
SP
22903 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22904 doubles __mpexp_twomm1. Adjust usage.
22905 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22906 Remove.
22907
988197f0
AS
229082013-01-10 Andreas Schwab <schwab@suse.de>
22909
22910 [BZ #14964]
22911 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22912 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22913
e83d7298
DM
229142013-01-09 David S. Miller <davem@davemloft.net>
22915
034ed64b 22916 [BZ #15003]
57f41c40
AS
22917 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22918 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22919 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22920 (TCP_FASTOPEN): Define.
e83d7298
DM
22921 (tcp_repair_opt): New structure.
22922 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22923 enum values.
57f41c40
AS
22924 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22925 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22926 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
22927 (tcp_cookie_transactions): New structure.
22928
d5e0b9bd
AB
229292013-01-09 Anton Blanchard <anton@samba.org>
22930
22931 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22932 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22933 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22934 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22935
0c07e3ea
JM
229362013-01-09 Joseph Myers <joseph@codesourcery.com>
22937
22938 * include/features.h (__USE_ANSI): Remove.
22939
232f7002
RM
229402013-01-09 Roland McGrath <roland@hack.frob.com>
22941
ad98e30c
RM
22942 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22943
232f7002
RM
22944 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22945
950c99ca
SP
229462013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22947
b5792741
SP
22948 * sysdeps/s390/fpu/libm-test-ulps: Update.
22949
47cf2278
SP
22950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22951
950c99ca
SP
22952 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22953 (__acr): Likewise.
22954 (__cpy): Likewise.
22955 (norm): Likewise.
22956 (denorm): Likewise.
22957 (__mp_dbl): Likewise.
22958 (__dbl_mp): Likewise.
22959 (add_magnitudes): Likewise.
22960 (sub_magnitudes): Likewise.
22961 (__add): Likewise.
22962 (__sub): Likewise.
22963 (__mul): Likewise.
22964 (__inv): Likewise.
22965 (__dvd): Likewise.
22966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22967 (__acr): Likewise.
22968 (__cpy): Likewise.
22969 (norm): Likewise.
22970 (denorm): Likewise.
22971 (__mp_dbl): Likewise.
22972 (__dbl_mp): Likewise.
22973 (add_magnitudes): Likewise.
22974 (sub_magnitudes): Likewise.
22975 (__add): Likewise.
22976 (__sub): Likewise.
22977 (__mul): Likewise.
22978 (__inv): Likewise.
22979 (__dvd): Likewise.
22980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22981 (__acr): Likewise.
22982 (__cpy): Likewise.
22983 (norm): Likewise.
22984 (denorm): Likewise.
22985 (__mp_dbl): Likewise.
22986 (__dbl_mp): Likewise.
22987 (add_magnitudes): Likewise.
22988 (sub_magnitudes): Likewise.
22989 (__add): Likewise.
22990 (__sub): Likewise.
22991 (__mul): Likewise.
22992 (__inv): Likewise.
22993 (__dvd): Likewise.
22994
eede9df9
JM
229952013-01-08 Joseph Myers <joseph@codesourcery.com>
22996
22997 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22998 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22999 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23000 2 && __USE_EXTERN_INLINES]: Likewise.
23001
c40ea3d9
AJ
230022013-01-08 Andreas Jaeger <aj@suse.de>
23003
23004 [BZ# 14985]
23005 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23006 Remove.
23007 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23008 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23009
2ccdea26
AB
230102013-01-07 Anton Blanchard <anton@samba.org>
23011
23012 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23013 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23014 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23015 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23016 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23017 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23018 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23019 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23020 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23021 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23022 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23023 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23024 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23025 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23026 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23027 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23028 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23029 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23030 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23031 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23032 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23033 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23034 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23035 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23036 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23037 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23038 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23039 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23040 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23041 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23042 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23044 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23045 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23046 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23047 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23048 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23049 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23050 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23051 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23052 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23053 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23054 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23055
a9708fed
JM
230562013-01-07 Joseph Myers <joseph@codesourcery.com>
23057
375607b9
JM
23058 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23059 (__MALLOC_PMT): Likewise.
23060 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23061 [__GNUC__], only on [_LIBC].
23062 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23063 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23064 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23065 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23066 forward declaration.
23067 (realloc_hook_ini): Likewise.
23068 (memalign_hook_ini): Likewise.
23069 (__libc_memalign): Do not use __MALLOC_PMT in variable
23070 declaration.
23071 (__libc_valloc): Likewise.
23072 (__libc_pvalloc): Likewise.
23073 (__libc_calloc): Likewise.
23074 (__posix_memalign): Likewise.
23075
a9708fed
JM
23076 [BZ #14996]
23077 * math/s_casinh.c: Include <float.h>.
23078 (__casinh): Do not do computation with squaring and square root
23079 for large arguments.
23080 * math/s_casinhf.c: Include <float.h>.
23081 (__casinhf): Do not do computation with squaring and square root
23082 for large arguments.
23083 * math/s_casinhl.c: Include <float.h>.
23084 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23085 (__casinhl): Do not do computation with squaring and square root
23086 for large arguments.
23087 * math/libm-test.inc (casin_test): Add more tests.
23088 (casinh_test): Likewise.
23089 * sysdeps/i386/fpu/libm-test-ulps: Update.
23090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23091
afec409a
L
230922013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23093
23094 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23095 (__x86_64_raw_data_cache_size): Likewise.
23096 (__x86_64_data_cache_size_half): Likewise.
23097 (__x86_64_raw_data_cache_size_half): Likewise.
23098 (__x86_64_shared_cache_size): Likewise.
23099 (__x86_64_raw_shared_cache_size): Likewise.
23100 (__x86_64_shared_cache_size_half): Likewise.
23101 (__x86_64_raw_shared_cache_size_half): Likewise.
23102 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23103 to ...
23104 (__x86_data_cache_size): This.
23105 (__x86_64_raw_data_cache_size): Renamed to ...
23106 (__x86_raw_data_cache_size): This.
23107 (__x86_64_data_cache_size_half): Renamed to ...
23108 (__x86_data_cache_size_half): This.
23109 (__x86_64_raw_data_cache_size_half): Renamed to ...
23110 (__x86_raw_data_cache_size_half): This.
23111 (__x86_64_shared_cache_size): Renamed to ...
23112 (__x86_shared_cache_size): This.
23113 (__x86_64_raw_shared_cache_size): Renamed to ...
23114 (__x86_raw_shared_cache_size): This.
23115 (__x86_64_shared_cache_size_half): Renamed to ...
23116 (__x86_shared_cache_size_half): This.
23117 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23118 (__x86_raw_shared_cache_size_half): This.
23119 * sysdeps/x86_64/memcpy.S: Updated.
23120 * sysdeps/x86_64/memset.S: Likewise.
23121 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23122 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23123 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23124
0b3986d0
DM
231252013-01-04 David S. Miller <davem@davemloft.net>
23126
23127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23128
e47686e9
AS
231292013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23130
d643bac1
AS
23131 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23132 1 to avoid redefinition warning.
23133 (__USE_GNU): Don't define.
23134 (init_signaling_nan): Protoize.
23135
e47686e9
AS
23136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23137
b18decba
SP
231382013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23139
fffb407f
SP
23140 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23141 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23142 (__cpymn): Likewise.
23143 (norm): Remove commented code.
23144 (denorm): Likewise.
23145 (__mp_dbl): Likewise.
23146 (__inv): Likewise.
23147 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23148 (__cpymn): Likewise.
23149 (norm): Remove commented code.
23150 (denorm): Likewise.
23151 (__mp_dbl): Likewise.
23152 (__inv): Likewise.
23153
b18decba
SP
23154 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23155 mp_no value for 1.0 and 2.0.
23156 (norm): Use RADIXI instead of radixi.d.
23157 (denorm): Likewise.
23158 (__mul): Use 0.0 instead of zero.d.
23159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23160 mp_no value for 1.0 and 2.0.
23161 (norm): Use RADIXI instead of radixi.d.
23162 (denorm): Likewise.
23163 (__mul): Use 0.0 instead of zero.d.
23164
cdc1c96f
JM
231652013-01-04 Joseph Myers <joseph@codesourcery.com>
23166
23167 [BZ #14994]
23168 * math/s_casinh.c (__casinh): Reduce finite argument to first
23169 quadrant then set signs of results at the end.
23170 * math/s_casinhf.c (__casinhf): Likewise.
23171 * math/s_casinhl.c (__casinhl): Likewise.
23172 * math/libm-test.inc (casin_test): Add more tests.
23173 (casinh_test): Likewise.
23174 * sysdeps/i386/fpu/libm-test-ulps: Update.
23175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23176
302913e1
SP
231772013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23178
6420d207
SP
23179 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23180
a9e48ab4
SP
23181 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23182
b7837264
SP
23183 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23184 declarations.
23185 (denorm): Likewise.
23186 (__mp_dbl): Likewise.
23187 (__inv): Likewise.
23188
f8af25d2
SP
23189 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23190 and adjust the header comment.
23191
302913e1
SP
23192 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23193 variable name from declaration.
23194
5d7dd1ca
L
231952013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23196
23197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23198 Initialize COMMON_CPUID_INDEX_7 element.
23199 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23200 (CPUID_RTM): Likewise.
23201 (HAS_RTM): Likewise.
23202 (COMMON_CPUID_INDEX_7): New enum.
23203
2f5f40f4
AS
232042013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23205
23206 [BZ #14981]
23207 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23208 size is zero, record memory as freed.
23209
4056f4a0
AJ
232102013-01-03 Andreas Jaeger <aj@suse.de>
23211
23212 * po/ia.po: Add new Interlingua translation.
23213
ab15736f 232142012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
23215
23216 * locale/programs/localedef.c: Fix description of '--posix' flag.
23217
568035b7
JM
232182013-01-02 Joseph Myers <joseph@codesourcery.com>
23219
e6898b8d
JM
23220 * NEWS: Update dates in second copyright notice.
23221 * README: Update copyright dates in example.
23222 * manual/libc.texinfo: Update copyright dates.
23223 * scripts/test-installation.pl: Update copyright date in --version
23224 output.
23225
0e2f9562
JM
23226 * hurd/ctty-input.c: Fix copyright notice formatting.
23227 * hurd/ctty-output.c: Likewise.
23228 * hurd/dtable.c: Likewise.
23229 * hurd/hurd-raise.c: Likewise.
23230 * hurd/hurdprio.c: Likewise.
23231 * hurd/msgportdemux.c: Likewise.
23232 * misc/sys/file.h: Likewise.
23233 * misc/sys/ioctl.h: Likewise.
23234 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23235 * sysdeps/mach/hurd/chdir.c: Likewise.
23236 * sysdeps/mach/hurd/fchdir.c: Likewise.
23237 * sysdeps/mach/hurd/rename.c: Likewise.
23238 * sysdeps/mach/hurd/rmdir.c: Likewise.
23239 * sysdeps/mach/hurd/seekdir.c: Likewise.
23240 * sysdeps/mach/hurd/setsid.c: Likewise.
23241 * sysdeps/posix/wait3.c: Likewise.
23242
568035b7
JM
23243 * All files with FSF copyright notices: Update copyright dates
23244 using scripts/update-copyrights.
23245 * intl/plural.c: Regenerated.
23246 * locale/programs/charmap-kw.h: Likewise.
23247 * locale/programs/locfile-kw.h: Likewise.
23248
da08f647
SP
232492013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23250
0f5477af
SP
23251 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23252 four values.
23253
44e0d4c2
SP
23254 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23255 calculation loop and add branch prediction.
23256
4d55b4e5
SP
23257 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23258 check access beyond bounds of m1np.
23259
da08f647
SP
23260 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23261 MPTWO.
23262 (__inv): Remove local variable MPTWO to use the global
23263 constant.
23264 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23265 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23266 variable MPTWO.
23267 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23268 MP3HALFS static const.
23269
8e051029
DM
232702013-01-01 David S. Miller <davem@davemloft.net>
23271
23272 * po/ca.po: Update from translation team.
23273
f4cf5f2d
JM
232742013-01-01 Joseph Myers <joseph@codesourcery.com>
23275
23276 * scripts/update-copyrights: New file.
23277 * Makeconfig: Reformat copyright notice.
23278 * ctype/ctype.h: Likewise.
23279 * debug/swprintf_chk.c: Likewise.
23280 * elf/dl-cache.c: Likewise.
23281 * elf/dl-debug.c: Likewise.
23282 * elf/dl-object.c: Likewise.
23283 * grp/initgroups.c: Likewise.
23284 * hurd/Makefile: Likewise.
23285 * hurd/hurd/signal.h: Likewise.
23286 * hurd/hurdfault.c: Likewise.
23287 * hurd/hurdioctl.c: Likewise.
23288 * hurd/hurdlookup.c: Likewise.
23289 * hurd/intr-msg.c: Likewise.
23290 * iconv/gconv_open.c: Likewise.
23291 * libio/swprintf.c: Likewise.
23292 * locale/lc-ctype.c: Likewise.
23293 * locale/nl_langinfo.c: Likewise.
23294 * mach/Machrules: Likewise.
23295 * mach/Makefile: Likewise.
23296 * malloc/obstack.h: Likewise.
23297 * manual/Makefile: Likewise.
23298 * manual/tsort.awk: Likewise.
23299 * misc/bits/stab.def: Likewise.
23300 * nis/nis_print_group_entry.c: Likewise.
23301 * nis/nis_table.c: Likewise.
23302 * nis/nss_compat/compat-pwd.c: Likewise.
23303 * nis/nss_compat/compat-spwd.c: Likewise.
23304 * po/Makefile: Likewise.
23305 * posix/fnmatch.c: Likewise.
23306 * posix/regex.h: Likewise.
23307 * resolv/Makefile: Likewise.
23308 * resolv/nss_dns/dns-network.c: Likewise.
23309 * resolv/res_hconf.c: Likewise.
23310 * scripts/gen-sorted.awk: Likewise.
23311 * soft-fp/soft-fp.h: Likewise.
23312 * stdio-common/printf.h: Likewise.
23313 * stdlib/monetary.h: Likewise.
23314 * stdlib/random.c: Likewise.
23315 * stdlib/random_r.c: Likewise.
23316 * sysdeps/generic/Makefile: Likewise.
23317 * sysdeps/gnu/Makefile: Likewise.
23318 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23319 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23320 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23321 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23322 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23323 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23324 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23325 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23326 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23329 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23330 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23332 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23333 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23334 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23335 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23336 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23337 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23338 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23339 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23340 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23341 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23342 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23343 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23344 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23345 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23346 * sysdeps/mach/hurd/errnos.awk: Likewise.
23347 * sysdeps/mach/hurd/fork.c: Likewise.
23348 * sysdeps/mach/hurd/getcwd.c: Likewise.
23349 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23350 * sysdeps/mach/hurd/mmap.c: Likewise.
23351 * sysdeps/mach/hurd/utimes.c: Likewise.
23352 * sysdeps/mach/hurd/xmknod.c: Likewise.
23353 * sysdeps/posix/profil.c: Likewise.
23354 * sysdeps/posix/readdir_r.c: Likewise.
23355 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23356 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23357 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23358 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23360 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23361 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23362 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23364 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23365 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23366 * sysdeps/pthread/lio_listio.c: Likewise.
23367 * sysdeps/sparc/dl-procinfo.h: Likewise.
23368 * sysdeps/unix/i386/sysdep.S: Likewise.
23369 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23370 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23371 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23372 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23374 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23375 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23376 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23377 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23378 * sysdeps/wordsize-32/divdi3.c: Likewise.
23379 * time/sys/time.h: Likewise.
23380 * wcsmbs/Makefile: Likewise.
23381
0549fbba
DM
233822013-01-01 David S. Miller <davem@davemloft.net>
23383
a141f1a7
DM
23384 * po/fr.po: Update from translation team.
23385
0549fbba
DM
23386 * catgets/gencat.c: Update copyright year.
23387 * csu/version.c: Likewise.
23388 * debug/catchsegv.sh: Likewise.
23389 * debug/pcprofiledump.c: Likewise.
23390 * debug/xtrace.sh: Likewise.
23391 * elf/ldconfig.c: Likewise.
23392 * elf/ldd.bash.in: Likewise.
23393 * elf/pldd.c: Likewise.
23394 * elf/sotruss.ksh: Likewise.
23395 * elf/sprof.c: Likewise.
23396 * iconv/iconv_prog.c: Likewise.
23397 * iconv/iconvconfig.c: Likewise.
23398 * locale/programs/locale.c: Likewise.
23399 * locale/programs/localedef.c: Likewise.
23400 * login/programs/pt_chown.c: Likewise.
23401 * malloc/memusage.sh: Likewise.
23402 * malloc/memusagestat.c: Likewise.
23403 * malloc/mtrace.pl: Likewise.
23404 * nscd/nscd.c: Likewise.
23405 * nss/getent.c: Likewise.
23406 * nss/makedb.c: Likewise.
23407 * posix/getconf.c: Likewise.
23408
18ea052c
SP
234092012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23410
23411 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23412 numbers.
23413
9c89fca6
MF
234142012-12-30 Mike Frysinger <vapier@gentoo.org>
23415
23416 * math/bits/mathcalls.h (modf): Use __nonnull.
23417
085ec079
SP
234182012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23419
23420 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23421 (split): Use macro CN instead of the bare value.
23422 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23423 could be used.
23424 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23425 instead of the bare value.
23426 (power1): Likewise.
23427
6d9f97e1
SP
234282012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23429
d63f73be
SP
23430 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23431 __ATAN_TWOM.
23432 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23433
6d9f97e1
SP
23434 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23435 their values.
23436 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23437 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23438 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23439 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23440
4c4febf5
AJ
234412012-12-28 Andreas Jaeger <aj@suse.de>
23442
af5843ef
AJ
23443 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23444 values are from Linux 3.7.
23445
4c4febf5
AJ
23446 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23447 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23448
99136f82
SP
234492012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23450
2f216c3c 23451 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
23452 TRUE case.
23453
99136f82
SP
23454 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23455 (norm): Likewise.
23456 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23457 variables with preprocessor constants.
23458 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23459 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23460 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23461
7fffbdff
BH
234622012-12-27 Bruno Haible <bruno@clisp.org>
23463
23464 [BZ #14317]
23465 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23466 only if needed.
23467
b76eb5f0
SP
234682012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23469
31a7fe5c
SP
23470 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23471 and use variable directly.
23472 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23473
b76eb5f0
SP
23474 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23475 MPONE.
23476 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23477 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23478 variable MPONE.
23479 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23480 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23481 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23482 include directive. Remove local variable MPONE.
23483 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23484 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23485 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23486
2c8bfe7d
DM
234872012-12-25 David S. Miller <davem@davemloft.net>
23488
23489 * version.h (RELEASE): Set to "development".
23490 (VERSION): Set to "2.17.90".
23491 * NEWS: Add 2.18 section.
23492
147d03b0
DM
234932012-12-21 David S. Miller <davem@davemloft.net>
23494
23495 * po/hr.po: Update from translation team.
23496
a8ebb2b9
AK
234972012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23498
23499 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23500
95b4f1b6
SE
235012012-12-19 Steve Ellcey <sellcey@mips.com>
23502
b2d94007 23503 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 23504
cedb2a90
MS
235052012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23506
23507 * manual/contrib.texi (Contributors): Spelling correction.
23508
bbf527d6
DM
235092012-12-15 David S. Miller <davem@davemloft.net>
23510
23511 * po/ru.po: Update from translation team.
23512
bc38c906
DM
235132012-12-13 David S. Miller <davem@davemloft.net>
23514
85429b1a
DM
23515 * NEWS: Mention IFUNC testsuite enhancements.
23516
d283e353
DM
23517 * po/pl.po: Update from translation team.
23518 * po/bg.po: Likewise.
23519
bc38c906
DM
23520 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23521 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23522
a181b0d7
DM
235232012-12-11 David S. Miller <davem@davemloft.net>
23524
4641d57e
DM
23525 * po/sv.po: Update from translation team.
23526
f7bc6495
DM
23527 * po/vi.po: Update from translation team.
23528
6fc9048f
DM
23529 * po/cs.po: Update from translation team.
23530
a181b0d7
DM
23531 * po/de.po: Update from translation team.
23532 * po/eo.po: Likewise.
23533 * po/nl.po: Likewise.
23534
f70bfe80
SP
235352012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23536
3c8b4190
SP
23537 [BZ #14246]
23538 * manual/argp.texi (Argp Helper Functions): Move node to follow
23539 Argp Parsing State.
23540
f70bfe80
SP
23541 [BZ #14872]
23542 * manual/conf.texi (Limits on File System Capacity): Mention if
23543 terminating null is included in the max size.
23544
188f0adf
AJ
235452012-12-10 Andreas Jaeger <aj@suse.de>
23546
23547 * po/cs.po: Update from translation team.
23548
56e7d3ad
SP
235492012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23550
23551 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23552 void pointer and cast to uintptr_t.
23553 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23554 path.
23555 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23556 * sysdeps/s390/s390-64/memset.S: Likewise.
23557
76f2d2ea 235582012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
23559
23560 [BZ #14833]
23561 * menual/message.texi (Message Translation): Fix typos.
23562 (Helper programs for gettext): Likewise.
23563
67cbf9a2
AS
235642012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23565
23566 [BZ #14898]
23567 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23568 Change to -1.
23569
682d0e9a
DM
235702012-12-07 David S. Miller <davem@davemloft.net>
23571
23572 * po/libc.pot: Update.
23573
573cd484
RH
235742012-12-07 Richard Henderson <rth@redhat.com>
23575
7e9da188 23576 [BZ #10114]
573cd484
RH
23577 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23578 normal/normal case to before the switch.
23579 (_FP_DIV): Likewise.
23580
e933a943
MF
235812012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23582 Mike Frysinger <vapier@gentoo.org>
23583
23584 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23585 check for __NR_fadvise64_64.
23586
82123268
CM
235872012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23588
23589 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23590 0, not just to plain "0" as a statement.
23591 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23592 with cw.
23593
d9814526
JM
235942012-12-06 Joseph Myers <joseph@codesourcery.com>
23595
23596 * NEWS: Use sourceware.org in Bugzilla URL.
23597
7728c574
SP
235982012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23599
f16946dd
SP
23600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23601 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23602
5704bbcb
SP
23603 * stdio-common/tst-put-error.c (do_test): Add newline to the
23604 padded test to ensure flush.
23605
17aa0516
JL
236062012-12-05 Jeff Law <law@redhat.com>
23607
23608 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23609
363313b5
JM
236102012-12-05 Joseph Myers <joseph@codesourcery.com>
23611
effbd42a
JM
23612 * README: Don't refer to ports add-on as distributed separately.
23613 Mention AArch64 in list of systems supported in the ports add-on.
23614
87600365
JM
23615 * LICENSES: Add more non-FSF copyright and license notices.
23616
a0d7066a
JM
23617 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23618 ((unused)).
23619
66ca5a5b
JM
23620 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23621
363313b5
JM
23622 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23623 10000 as width of padded output.
23624
b37984ad
JM
236252012-12-04 Joseph Myers <joseph@codesourcery.com>
23626
9003570a
JM
23627 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23628
b37984ad
JM
23629 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23630 variable LX with __attribute__ ((unused)).
23631 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23632 Likewise.
23633 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23634 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23635 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23636 with __attribute__ ((unused)).
23637
c8df52ec
DM
236382012-12-04 David S. Miller <davem@abraco.davemloft.net>
23639
23640 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23641
b3b099af
JM
236422012-12-04 Joseph Myers <joseph@codesourcery.com>
23643
c33aa6e3
JM
23644 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23645 (CFLAGS-nldbl-acos.c): New variable.
23646 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23647 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23648 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23649 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23650 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23651 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23652 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23653 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23654 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23655 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23656 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23657 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23658 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23659 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23660 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23661 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23662 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23663 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23664 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23665 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23666 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23667 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23668 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23669 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23670 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23671 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23672 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23673 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23674 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23675 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23676 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23677 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23678 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23679 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23680 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23681 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23682 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23683 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23684 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23685 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23686 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23687 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23688 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23689 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23690 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23691 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23692 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23693 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23694 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23695 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23696 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23697 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23698 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23699 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23700 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23701 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23702 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23703 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23704 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23705 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23706 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23707 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23708 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23709 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23710 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23711 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23712 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23713 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23714 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23715 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23716 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23717 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23718 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23719 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23720 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23721 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23722 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23723 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23724 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23725 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23726 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23727 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23728 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23729 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23730 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23731 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23732 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23733 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23734 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23735 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23736 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23737 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23738 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23739 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23740 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23741 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23742 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23743
20f0018d
JM
23744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23745 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23746
b3b099af
JM
23747 [BZ #14914]
23748 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23749 whole low double instead of just low 47 bits when splitting values
23750 into two parts.
23751
029264d1
AM
237522012-12-03 Allan McRae <allan@archlinux.org>
23753
23754 * manual/stdio.texi (Predefined Printf Handlers): Remove
23755 @hsep and @vsep usage.
23756
c9d6789e
MF
237572012-12-03 Mike Frysinger <vapier@gentoo.org>
23758
23759 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23760 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23761
4b7634a5
JL
237622012-12-03 Jeff Law <law@redhat.com>
23763
23764 * time/sys/time.h (settimeofday): Do not mark TV argument
23765 as __nonnull.
23766
eb6cbd24
MF
237672012-12-01 Mike Frysinger <vapier@gentoo.org>
23768
23769 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23770 when currently writing and seek to current position when not.
23771 * libio/Makefile (tests): Remove bug-fclose1.
23772 * libio/bug-fclose1.c: Delete.
23773
f638872a
JM
237742012-12-01 Joseph Myers <joseph@codesourcery.com>
23775
23776 * manual/arith.texi (feenableexcept): Fix typo.
23777 (fedisableexcept): Likewise.
23778
48085d14
RM
237792012-11-30 Roland McGrath <roland@hack.frob.com>
23780
23781 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23782 second, differently-typed declaration, rather than a cast.
23783
1a538b9f
SP
237842012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23785
23786 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23787 * include/rpc/svc.h: ... here.
23788
d07f2ff1 237892012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
23790
23791 [BZ #13013]
23792 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23793 depending n and resplen2 to catch cases where answer
23794 equals answerp2.
23795
c93ec1f0
CD
237962012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23797
23798 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23799 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23800
37db69de
MF
238012012-11-29 Mike Frysinger <vapier@gentoo.org>
23802
23803 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23804
e10c4e4f
RM
238052012-11-29 Roland McGrath <roland@hack.frob.com>
23806
23807 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23808
2af1b328
JL
238092012-11-28 Jeff Law <law@redhat.com>
23810
23811 [BZ #13761]
23812 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23813 dataset_temporary. Track alloca usage into alloca_used.
23814 If dataset is large allocate and release it via malloc/free.
23815
111db5b1
FW
238162012-06-04 Florian Weimer <fweimer@redhat.com>
23817
f06cc227 23818 [BZ #14197]
111db5b1
FW
23819 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23820
dd694abd
DM
238212012-11-28 David S. Miller <davem@davemloft.net>
23822
23823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23824
9984dd01
JM
238252012-11-28 Joseph Myers <joseph@codesourcery.com>
23826
23827 [BZ #14803]
23828 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23829 of pi/2 rounded to nearest to 64 bits.
23830 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23831 nearest to 64 bits.
23832 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23833 bits.
23834
14bc93a9
JL
238352012-11-28 Jeff Law <law@redhat.com>
23836 Martin Osvald <mosvald@redhat.com>
23837
23838 [BZ #14889]
23839 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23840 * sunrpc/svc.c: Include time.h.
23841 (__svc_accept_failed): New function.
23842 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23843 any reason other than EINTR, call __svc_accept_failed.
23844 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23845 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23846
e3c6aa3a
AS
238472012-11-28 Andreas Schwab <schwab@suse.de>
23848
23849 * scripts/abilist.awk: Also handle indirect functions in .opd
23850 section.
23851
1bead169
JM
238522012-11-28 Joseph Myers <joseph@codesourcery.com>
23853
23854 [BZ #13881]
23855 * sysdeps/x86/fpu/powl_helper.c: New file.
23856 * sysdeps/x86/fpu/Makefile: Likewise.
23857 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23858 (p3): New object.
23859 (__ieee754_powl): Use __powl_helper for finite arguments except
23860 integer exponents below 8.
23861 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23862 (p3): New object.
23863 (__ieee754_powl): Use __powl_helper for finite arguments except
23864 integer exponents below 8.
23865 * math/libm-test.inc (pow_test): Add more tests and enable some
23866 previously disabled tests.
23867 * sysdeps/i386/fpu/libm-test-ulps: Update.
23868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23869
0817d63d
SP
238702012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23871 Carlos O'Donell <carlos_odonell@mentor.com>
23872
23873 * nss/makedb.c (is_prime): Assert that input is odd and greater
23874 than 4. Note that fact in a comment too.
23875 (next_prime): Add 4 to input.
23876
de2fd463
SP
238772012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23878
23879 [BZ #11741]
23880 * libio/Makefile (tests): Add test case tst-fwrite-error.
23881 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23882 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23883 * libio/tst-fwrite-error.c: New test case.
23884
c515fb51
L
238852012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23886
23887 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23888 before casting to void *.
23889 * include/libc-internal.h (__pointer_type): New macro.
23890 (__integer_if_pointer_type_sub): Likewise.
23891 (__integer_if_pointer_type): Likewise.
23892 (cast_to_integer): Likewise.
23893 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23894 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23895 before casting to atomic64_t.
23896 (atomic_exchange_acq): Likewise.
23897 (__arch_exchange_and_add_body): Likewise.
23898 (__arch_add_body): Likewise.
23899 (atomic_add_negative): Likewise.
23900 (atomic_add_zero): Likewise.
23901
4cf77aa9
JM
239022012-11-26 Joseph Myers <joseph@codesourcery.com>
23903
23904 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23905 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23906 (add_fdes): Likewise.
23907 (linear_search_fdes): Likewise.
23908 (binary_search_unencoded_fdes): Likewise.
23909
d260b3b4
AS
239102012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23911
23912 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23913
67060746
AC
239142012-11-24 Adam Conrad <adconrad@0c3.net>
23915
23916 * configure.in: Autodetect C++ header directories.
23917 * configure: Regenerated.
23918
800938a1
MF
239192012-11-23 Mike Frysinger <vapier@gentoo.org>
23920
23921 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23922
4e6e34e6
AS
239232012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23924
23925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23926
7c7feb47
JM
239272012-11-22 Joseph Myers <joseph@codesourcery.com>
23928
7184dcdf
JM
23929 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23930 LDBL_MANT_DIG == 106]: Disable some tests.
23931 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23932 Likewise.
23933 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23934 Likewise.
23935
0a42601f
JM
23936 [BZ #14871]
23937 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23938 input for small inputs. Return +/- pi/2 for large inputs.
23939 * math/libm-test.inc (atan_test): Add more tests.
23940
79c9b9fe
JM
23941 * sysdeps/generic/unwind-dw2-fde-glibc.c
23942 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23943 __attribute__ ((unused)).
23944
c60d3bf2
JM
23945 [BZ #14645]
23946 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23947 x * y if x and y are nonzero and z is zero.
23948
ef1e0867
JM
23949 [BZ #14811]
23950 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23951 nonzero exponents with absolute value below 0x1p-117 to +/-
23952 0x1p-117.
23953
1468ded3
JM
23954 [BZ #14869]
23955 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23956 up arguments below 2**-450, not just those below 2**-500.
23957 * math/libm-test.inc (hypot_test): Add another test.
23958
8e27e3cc
JM
23959 [BZ #14868]
23960 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23961 Return a+b for ratio over 2**120, not 2**60.
23962 * math/libm-test.inc (hypot_test): Add another test.
23963
c9c0279b
JM
23964 * math/libm-test.inc (clog_test): Use
23965 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23966 (clog10_test): Likewise.
23967
7c7feb47
JM
23968 [BZ #6778]
23969 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23970
fff1530e
AS
239712012-11-22 Andreas Schwab <schwab@suse.de>
23972
23973 * sysdeps/i386/fpu/libm-test-ulps: Update.
23974
94558d30
PT
239752012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23976
23977 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23978 printf output with newline.
23979
7e1be741
L
239802012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23981
6bfea974
L
23982 [BZ #14865]
23983 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23984 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23985 -z nodlopen, -z initfirst and -z execstack support.
23986 * configure: Regenerated.
23987
7e1be741
L
23988 * elf/elf.h (DF_1_NODIRECT): New macro.
23989 (DF_1_IGNMULDEF): Likewise.
23990 (DF_1_NOKSYMS): Likewise.
23991 (DF_1_NOHDR): Likewise.
23992 (DF_1_EDITED): Likewise.
23993 (DF_1_NORELOC): Likewise.
23994 (DF_1_SYMINTPOSE): Likewise.
23995 (DF_1_GLOBAUDIT): Likewise.
23996 (DF_1_SINGLETON): Likewise.
23997 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23998 DT_1_SUPPORTED_MASK bits.
23999 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24000
105ce2ce
CD
240012012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24002
24003 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24004
123be9de
TS
240052012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24006
d072f3f7
TS
24007 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24008 macro.
24009
123be9de
TS
24010 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24011 (sendmmsg): Move declarations...
24012 * socket/sys/socket.h: ... here.
24013 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24014 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24015 include it from...
24016 * socket/recvmmsg.c: ... this new file.
24017 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24018 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24019 definition of __sendmmsg hidden.
24020 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24021 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24022 Move ENOSYS stub into and include it from...
24023 * socket/sendmmsg.c: ... this new file.
24024 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24025 (sysdep_routines): Move recvmmsg and sendmmsg...
24026 * socket/Makefile (routines): ... here.
24027 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24028 (GLIBC_PRIVATE): Add __sendmmsg.
24029 * include/sys/socket.h (__sendmmsg): Add declarations.
24030 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24031 sendmmsg.
24032
cf9a5d18
JM
240332012-11-20 Joseph Myers <joseph@codesourcery.com>
24034
24035 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24036 variable I1 with __attribute__ ((unused)).
24037 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24038
ecd4caf9
JM
240392012-11-19 Joseph Myers <joseph@codesourcery.com>
24040
be14d48f
JM
24041 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24042 DUMMY variables with __attribute__ ((unused)).
24043
ecd4caf9
JM
24044 * bits/byteswap.h: Include <bits/types.h>.
24045 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24046
986cab95
PT
240472012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24048
24049 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24050 string_t. Do not manually set errno.
24051 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24052 length with __strnlen. Make sure to both set errno and return it on
24053 failure.
24054
6d33cc9d
DM
240552012-11-19 David S. Miller <davem@davemloft.net>
24056
24057 With help from Joseph Myers.
24058 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24059 very large arguments properly.
24060 * math/libm-test.inc (atan_test): New tests.
24061 (atan2_test): New tests.
24062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24064
ee663277
JM
240652012-11-19 Joseph Myers <joseph@codesourcery.com>
24066
877f2d8e
JM
24067 [BZ #14856]
24068 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24069 Define to 3.
24070
116fc08a
JM
24071 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24072 [POSIX] (EADDRNOTAVAIL): Likewise.
24073 [POSIX] (EAFNOSUPPORT): Likewise.
24074 [POSIX] (EALREADY): Likewise.
24075 [POSIX] (ECONNABORTED): Likewise.
24076 [POSIX] (ECONNREFUSED): Likewise.
24077 [POSIX] (ECONNRESET): Likewise.
24078 [POSIX] (EDESTADDRREQ): Likewise.
24079 [POSIX] (EDQUOT): Likewise.
24080 [POSIX] (EHOSTUNREACH): Likewise.
24081 [POSIX] (EIDRM): Likewise.
24082 [POSIX] (EISCONN): Likewise.
24083 [POSIX] (ELOOP): Likewise.
24084 [POSIX] (EMULTIHOP): Likewise.
24085 [POSIX] (ENETDOWN): Likewise.
24086 [POSIX] (ENETUNREACH): Likewise.
24087 [POSIX] (ENOBUFS): Likewise.
24088 [POSIX] (ENODATA): Likewise.
24089 [POSIX] (ENOLINK): Likewise.
24090 [POSIX] (ENOMSG): Likewise.
24091 [POSIX] (ENOPROTOOPT): Likewise.
24092 [POSIX] (ENOSR): Likewise.
24093 [POSIX] (ENOSTR): Likewise.
24094 [POSIX] (ENOTCONN): Likewise.
24095 [POSIX] (ENOTSOCK): Likewise.
24096 [POSIX] (EOPNOTSUPP): Likewise.
24097 [POSIX] (EOVERFLOW): Likewise.
24098 [POSIX] (EPROTO): Likewise.
24099 [POSIX] (EPROTONOSUPPORT): Likewise.
24100 [POSIX] (EPROTOTYPE): Likewise.
24101 [POSIX] (ESTALE): Likewise.
24102 [POSIX] (ETIME): Likewise.
24103 [POSIX] (ETXTBSY): Likewise.
24104 [POSIX] (EWOULDBLOCK): Likewise.
24105 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24106 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24107 [POSIX] (SEEK_CUR): Likewise.
24108 [POSIX] (SEEK_END): Likewise.
24109 [POSIX || UNIX98] (mode_t): Do not require.
24110 [POSIX] (off_t): Likewise.
24111 [POSIX] (pid_t): Likewise.
24112 [POSIX] (sys/stat.h): Do not allow header.
24113 [POSIX] (unistd.h): Likewise.
24114 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24115 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24116 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24117 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24118 require.
24119 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24120 sigevent): Specify elements.
24121 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24122 entry.
24123 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24124 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24125
a483863f
JM
24126 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24127 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24128 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24129 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24130 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24131 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24132 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24133 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24134 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24135 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24136 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24137 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24138 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24139 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24140 Likewise.
24141 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24142 Likewise.
24143 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24144 Likewise.
24145 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24146 Likewise.
24147 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24148 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24149 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24150 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24151 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24152 Specify lower bound on value.
24153 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24154 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24155 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24156 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24157 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24158 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24159 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24160 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24161 value.
24162 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24163 as optional.
24164 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24165 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24166 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24167 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24168 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24169 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24170 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24171 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24172 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24173 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24174 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24175 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24176 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24177 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24178 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24179 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24180 entry.
24181 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24182 optional.
24183 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24184 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24185 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24186 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24187 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24188 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24189 Likewise.
24190 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24191 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24192 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24193 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24194 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24195 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24196 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24197 as optional.
24198 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24199 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24200 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24201 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24202 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24203 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24204 specify as optional.
24205 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24206 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24207 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24208 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24209 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24210 [XPG3] (NL_LANGMAX): Likewise.
24211 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24212 [POSIX || XPG3] (NL_NMAX): Likewise.
24213 [POSIX || XPG3] (NL_SETMAX): Likewise.
24214 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24215 [XPG3] (NZERO): Likewise.
24216 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24217 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24218 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24219 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24220 (REG_ERANGE): Expect.
24221 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24222 optional-constant.
24223 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24224 Use (void) in prototype.
24225 [POSIX] (*_t): Allow.
24226 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24227 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24228 (WRDE_BADVAL): Expect.
24229
5ba924e3
JM
24230 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24231 expect.
24232 [XPG3 || XPG4] (O_RSYNC): Likewise.
24233 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24234 Likewise.
24235 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24236 [XPG3 || XPG4] (sigqueue): Likewise.
24237 [XPG3 || XPG4] (sigtimedwait): Likewise.
24238 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24239 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24240 [XPG3 || XPG4] (vsnprintf): Likewise.
24241 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24242 Likewise.
24243 [XPG3 || XPG4] (blksize_t): Likewise.
24244 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24245 Likewise.
24246 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24247 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24248 [XPG3 || XPG4] (struct itimerspec): Likewise.
24249 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24250 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24251 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24252 [XPG3 || XPG4] (clockid_t): Likewise.
24253 [XPG3 || XPG4] (timer_t): Likewise.
24254 [XPG3 || XPG4] (clock_getres): Likewise.
24255 [XPG3 || XPG4] (clock_gettime): Likewise.
24256 [XPG3 || XPG4] (clock_settime): Likewise.
24257 [XPG3 || XPG4] (nanosleep): Likewise.
24258 [XPG3 || XPG4] (timer_create): Likewise.
24259 [XPG3 || XPG4] (timer_delete): Likewise.
24260 [XPG3 || XPG4] (timer_gettime): Likewise.
24261 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24262 [XPG3 || XPG4] (timer_settime): Likewise.
24263 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24264 [XPG3 || XPG4] (getlogin_r): Likewise.
24265 [XPG3 || XPG4] (pread): Likewise.
24266 [XPG3 || XPG4] (pthread_atfork): Likewise.
24267 [XPG3 || XPG4] (pwrite): Likewise.
24268
ee663277
JM
24269 [BZ #14835]
24270 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24271 <bits/siginfo.h>.
24272
942caa16
PT
242732012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24274
e19af380
PT
24275 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24276 finalizing MALLSTREAM.
24277
942caa16
PT
24278 * sysdeps/mach/hurd/syncfs.c: New file.
24279
cfde9b46
SP
242802012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24281
24282 [BZ #14719]
24283 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24284 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24285 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24286 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24287 (_nss_dns_gethostbyname4_r): Likewise.
24288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24289 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24290
f6da27e5
PH
242912012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24292
24293 [BZ #13763]
24294 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24295
6665d4a2
SM
242962012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24297
1f51ee92
SM
24298 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24299 * elf/cache.c (print_entry): Print ",AArch64" for
24300 FLAG_AARCH64_LIB64
24301
6665d4a2
SM
24302 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24303 * elf/cache.c (print_entry): Print ",hard-float" for
24304 FLAG_ARM_LIBHF.
24305
05b227bd
DM
243062012-11-18 David S. Miller <davem@davemloft.net>
24307
24308 With help from Joseph Myers.
24309 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24310 cutoff to 2**-13.
24311 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24312 cutoff to 2**-25.
24313 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24314 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24315 small.
24316 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24317 * math/libm-test.inc (y0_test): New tests.
24318 (y1_test): New tests.
24319 * sysdeps/i386/fpu/libm-test-ulps: Update.
24320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24322
786b0b67
AS
243232012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24324
24325 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24326 64-bit targets.
24327 * configure: Regenerated.
24328
8e18b86d
DM
243292012-11-17 David S. Miller <davem@davemloft.net>
24330
24331 [BZ #14811]
24332 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24333 nonzero exponents with absolute value below 0x1p-128 to +/-
24334 0x1p-128.
24335
531f1ae0
JM
243362012-11-17 Joseph Myers <joseph@codesourcery.com>
24337
12df29e2
JM
24338 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24339
150dc1a0
JM
24340 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24341
531f1ae0
JM
24342 * posix/getconf-speclist.c: New file.
24343 * posix/posix-envs.def: Likewise.
24344 * posix/confstr.c (START_ENV_GROUP): New macro.
24345 (END_ENV_GROUP): Likewise.
24346 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24347 (KNOWN_PRESENT_ENV_STRING): Likewise.
24348 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24349 (UNKNOWN_ENVIRONMENT): Likewise.
24350 (confstr): Include posix-envs.def instead of handling
24351 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24352 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24353 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24354 (END_ENV_GROUP): Likewise.
24355 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24356 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24357 (UNKNOWN_ENVIRONMENT): Likewise.
24358 (__sysconf): Include posix-envs.def instead of handling associated
24359 cases directly here.
24360 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24361 preprocessing getconf-speclist.c rather than running getconf or
24362 generating empty file.
24363
a93f9cbc
PT
243642012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24365
24366 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24367
d64d9f87
AL
243682012-11-16 Andrej Lajovic <natrij@gmail.com>
24369
24370 [BZ #14672]
24371 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24372
447885eb
DM
243732012-11-16 David S. Miller <davem@davemloft.net>
24374
24375 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24376 smaller than LDBL_EPSILON/2.0L, just return xm1.
24377
bcbf9830
L
243782012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24379
24380 * elf/tst-array1.c (init): Set constructor priority to 1000.
24381 (fini): Set destructor priority to 1000.
24382 * elf/tst-array2dep.c: Likewise.
24383
2b766585
SP
243842012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24385
24386 [BZ #11741]
24387 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24388 (_IO_new_file_xsputn): Also return EOF if none of the input
24389 data was written when overflow failed.
24390 * libio/iopadn.c (_IO_padn): Likewise.
24391 * libio/iowpadn.c (_IO_wpadn): Likewise.
24392 * stdio-common/tst-put-error.c: Add copyright notice.
24393 (do_test): Add case for printing padded string.
24394 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24395 _IO_padn returned error.
24396 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24397 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24398 return EOF.
24399
b1848fde
SP
244002012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24401
24402 * libio/libioP.h: Add comment note that the references to C++
24403 bits are now obsolete.
24404
2fd89785
MS
244052012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24406
24407 * math/libm-test.inc (check_complex): Use asprintf.
24408
e3ea5409
JM
244092012-11-14 Joseph Myers <joseph@codesourcery.com>
24410
24411 * debug/pcprofiledump.c (print_version): Update copyright year.
24412 * malloc/memusagestat.c (print_version): Likewise.
24413
2e64d265
L
244142012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24415
24416 [BZ #14831]
24417 * elf/Makefile (tests): Add tst-audit8.
24418 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24419 ($(objpfx)tst-audit8.out): New target.
24420 (tst-audit8-ENV): New variable.
24421 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24422 audit if l_reloc_result is NULL.
24423 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24424 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24425 * elf/tst-audit8.c: New file.
24426
c485e4d2
MS
244272012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24428
24429 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24430 * misc/Makefile (CFLAGS-select.c): Define.
24431 * posix/Makefile (CFLAGS-pause.c): Define.
24432
3a0d900a
DM
244332012-11-13 David S. Miller <davem@davemloft.net>
24434
24435 * crypt/Makefile: Move test targets after toplevel Rules
24436 inclusion. Grab any necessary sysdep routines when linking.
24437 * crypt/md5.c (md5_process_block): Remove define, we will always
24438 name it __md5_process_block.
24439 (md5_finish_ctx): Update md5_process_block call.
24440 (md5_stream): Likewise.
24441 (md5_process_bytes): Likewise.
24442 (md5_process_block): Rename to __md5_process_block and move to ...
24443 * crypt/md5-block.c: ... here.
24444 * crypt/sha256.c (sha256_process_block): Move to ...
24445 * crypt/sha256-block.c: ... here.
24446 * crypt/sha512.c (sha512_process_block): Move to ...
24447 * crypt/sha512-block.c: ... here.
24448 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24449 path.
24450 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24451 * sysdeps/sparc/sparc64/multiarch/Makefile
24452 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24453 crypt subdir.
24454 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24455 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24456 multiarch changes.
24457 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24458 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24459 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24460 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24461 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24462 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24463 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24464 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24465 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24466 file.
24467 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24468 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24469 file.
24470 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24471
8ca89318
JM
244722012-11-13 Joseph Myers <joseph@codesourcery.com>
24473
e27d476a
JM
24474 * timezone/tzselect.ksh: Update from tzcode git revision
24475 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24476 * timezone/zdump.c: Likewise.
24477 * timezone/zic.c: Likewise.
24478 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24479 in TZVERSION setting, not $(PKGVERSION).
24480 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24481 REPORT_BUGS_TO settings.
24482
8ca89318
JM
24483 [BZ #14838]
24484 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24485 macro.
24486
47594329
MS
244872012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24488
24489 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24490 detection to immediately after _FP_ROUND().
24491 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24492 bits are 0.
24493
640ac3f1
DM
244942012-11-11 David S. Miller <davem@davemloft.net>
24495
24496 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24497 inttypes.h
24498 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24499 __close rather than their public counterparts.
24500
3d2577bb
JM
245012012-11-10 Joseph Myers <joseph@codesourcery.com>
24502
24503 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24504 file.
24505 [UNIX98] (sem_timedwait): Do not expect.
24506 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24507 [XPG4 || UNIX98] (sockatmark): Do not expect.
24508 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24509 (clock_getcpuclockid): Do not expect.
24510 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24511 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24512 Do not expect.
24513 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24514 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24515 [UNIX98] (vwscanf): Likewise.
24516 [UNIX98] (vswscanf): Likewise.
24517
fb1ae1ee
JM
245182012-11-09 Joseph Myers <joseph@codesourcery.com>
24519
9ec6f8bd
JM
24520 * timezone/version.h: Remove file.
24521 * timezone/README: Do not refer to version.h.
24522 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24523 $(objpfx)version.h.
24524 ($(objpfx)zdump.o): Likewise.
c3f81911 24525 ($(objpfx)version.h): New target.
9ec6f8bd 24526
0aa8f8a1
JM
24527 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24528 2012i.
24529 * timezone/README: Don't mention modification to tzselect.ksh.
24530 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24531 work on unmodified tzselect.ksh. Substitute version numbers in
24532 tzselect.ksh.
24533
4e87147f
JM
24534 * Makefile (format-me): Remove.
24535 (INSTALL): Adjust indentation. Use commands directly instead of
24536 using $(format-me).
24537
8b748aed
JM
24538 * aclocal.m4 (ACX_PKGVERSION): New macro.
24539 (ACX_BUGURL): Likewise.
24540 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24541 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24542 (REPORT_BUGS_TO): Likewise.
24543 * configure: Regenerated.
24544 * config.h.in (PKGVERSION): New macro.
24545 (REPORT_BUGS_TO): Likewise.
24546 * config.make.in (PKGVERSION): New variable.
24547 (PKGVERSION_TEXI): Likewise.
24548 (REPORT_BUGS_TO): Likewise.
24549 (REPORT_BUGS_TEXI): Likewise.
24550 * Makefile (format-me): Use -I$(common-objpfx)manual.
24551 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24552 ($(common-objpfx)manual/%): New target.
24553 (manual/%): Remove target.
24554 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24555 (print_version): Use PKGVERSION.
24556 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24557 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24558 and REPORT_BUGS_TO.
24559 ($(objpfx)xtrace): Likewise.
24560 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24561 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24562 (print_version): Use PKGVERSION.
24563 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24564 (do_version): Use PKGVERSION.
24565 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24566 REPORT_BUGS_TO.
24567 (common-ldd-rewrite): Likewise.
24568 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24569 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24570 (print_version): Use PKGVERSION.
24571 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24572 * elf/pldd.c (argp_program_bug_address): Remove variable.
24573 (more_help): New function.
24574 (argp): Use more_help.
24575 (print_version): Use PKGVERSION.
24576 * elf/sln.c (main): Use PKGVERSION.
24577 (usage): Use REPORT_BUGS_TO.
24578 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24579 (top level): Use PKGVERSION.
24580 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24581 (print_version): Use PKGVERSION.
24582 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24583 (print_version): Use PKGVERSION.
24584 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24585 (print_version): Use PKGVERSION.
24586 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24587 (print_version): Use PKGVERSION.
24588 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24589 (print_version): Use PKGVERSION.
24590 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24591 (print_version): Use PKGVERSION.
24592 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24593 and BUGURL.
24594 ($(objpfx)memusage): Likewise.
24595 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24596 (do_version): Use PKGVERSION.
24597 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24598 (print_version): Use PKGVERSION.
24599 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24600 ($PKGVERSION): New variable.
24601 ($REPORT_BUGS_TO): Likewise.
24602 (usage): Use $REPORT_BUGS_TO.
24603 (top level): Use $PKGVERSION.
24604 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24605 ($(objpfx)pkgvers.texi): New rule.
24606 ($(objpfx)stamp-pkgvers): Likewise.
24607 * manual/install.texi: Include pkgvers.texi.
24608 (--with-pkgversion): Document new configure option.
24609 (--with-bugurl): Likewise.
24610 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24611 than necessarily for this particular distribution. Use
24612 REPORT_BUGS_TO for where to report bugs.
24613 * INSTALL: Regenerated.
24614 * manual/libc.texinfo: Include pkgvers.texi.
24615 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24616 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24617 (print_version): Use PKGVERSION.
24618 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24619 (print_version): Use PKGVERSION.
24620 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24621 (print_version): Use PKGVERSION.
24622 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24623 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24624 macro.
24625 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24626 (print_version): Use PKGVERSION.
24627 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24628 (print_version): Use PKGVERSION.
24629 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24630 and PKGVERSION.
24631
92e4b6a9
JM
24632 * timezone/checktab.awk: Update from tzcode 2012i.
24633 * timezone/ialloc.c: Likewise.
24634 * timezone/private.h: Likewise.
24635 * timezone/scheck.c: Likewise.
24636 * timezone/tzfile.h: Likewise.
24637 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24638 (TZVERSION): Hardcode tzcode version number.
24639 * timezone/zdump.c: Update from tzcode 2012i.
24640 * timezone/zic.c: Likewise.
24641 * timezone/version.h: New file.
24642 * timezone/README: Describe version.h. Update upstream location.
24643
9bde902c
JM
24644 [BZ #14824]
24645 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24646 (mktemp): Enable declaration.
24647 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24648 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24649 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24650 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24651 Likewise.
24652 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24653 Likewise.
24654 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24655 Likewise.
24656 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24657 Likewise.
24658 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24659 Likewise.
24660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24661 Likewise.
24662
fb1ae1ee
JM
24663 [BZ #14821]
24664 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24665 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24666 for copies of such integer values.
24667 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24668 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24669
2c1adbcb
AJ
246702012-11-09 Andreas Jaeger <aj@suse.de>
24671
24672 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24673 definitions and declarations that are provided by
24674 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24675
d0f8457e
AK
246762012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24677
3a235abb 24678 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
24679 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24680 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24681 definition.
24682
57241e26
MS
246832012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24684
24685 * elf/elf.h: Update comment before AArch64 relocations.
24686
60e8270d
DM
246872012-11-07 David S. Miller <davem@davemloft.net>
24688
24689 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24690 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24691 (__start_context): Declare.
24692 (__makecontext_ret): Delete.
24693 (__makecontext): Hook up __start_context instead of
24694 __makecontext_ret.
24695 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24696 (sysdep_routines): Add __start_context when in stdlib.
24697
0fbb0fbc
JM
246982012-11-07 Joseph Myers <joseph@codesourcery.com>
24699
24700 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24701 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24702 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24703 hardcoded "nm".
24704 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24705 (READELF): New variable. Use it instead of hardcoded "readelf".
24706
eb48db7e
L
247072012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24708
24709 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24710 * sysdeps/x86/Makefile: Here.
24711 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24712 * sysdeps/x86/tst-xmmymm.sh: This.
24713
05bcf62a
JM
247142012-11-07 Joseph Myers <joseph@codesourcery.com>
24715
c4b6cf53
JM
24716 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24717 expectations.
24718 [UNIX98] (pthread_barrier_t): Do not expect.
24719 [UNIX98] (pthread_barrierattr_t): Likewise.
24720 [UNIX98] (pthread_spinlock_t): Likewise.
24721 [UNIX98] (pthread_barrier_destroy): Likewise.
24722 [UNIX98] (pthread_barrier_init): Likewise.
24723 [UNIX98] (pthread_barrier_wait): Likewise.
24724 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24725 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24726 [UNIX98] (pthread_barrierattr_init): Likewise.
24727 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24728 [UNIX98] (pthread_getcpuclockid): Likewise.
24729 [UNIX98] (pthread_mutex_timedlock): Likewise.
24730 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24731 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24732 [UNIX98] (pthread_sigmask): Likewise.
24733 [UNIX98] (pthread_spin_destroy): Likewise.
24734 [UNIX98] (pthread_spin_init): Likewise.
24735 [UNIX98] (pthread_spin_lock): Likewise.
24736 [UNIX98] (pthread_spin_trylock): Likewise.
24737 [UNIX98] (pthread_spin_unlock): Likewise.
24738 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24739 Do not expect.
24740 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24741 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24742 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24743 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24744 [XPG3 || XPG4] (pthread_key_t): Likewise.
24745 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24746 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24747 [XPG3 || XPG4] (pthread_once_t): Likewise.
24748 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24749 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24750 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24751 [XPG3 || XPG4] (pthread_t): Likewise.
24752
cbe6e120
JM
24753 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24754 not expect.
24755 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24756
1b126443
JM
24757 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24758 Change function return type to int.
24759
b961a573
JM
24760 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24761 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24762 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24763 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24764 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24765 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24766 [!POSIX] (posix_madvise): Likewise.
24767 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24768 && !UNIX98].
24769 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24770 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24771 (mode_t): Likewise.
24772 (posix_mem_offset): Likewise.
24773 (posix_typed_mem_get_info): Likewise.
24774 (posix_typed_mem_open): Likewise.
24775
9e188909
JM
24776 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24777 Change condition to [XOPEN2K8].
24778
05bcf62a
JM
24779 * conform/conformtest.pl: Preprocess allow-header data with -x c
24780 instead of from stdin.
24781 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24782 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24783 [C99-based standards] (cerfc): Likewise.
24784 [C99-based standards] (cexp2): Likewise.
24785 [C99-based standards] (cexpm1): Likewise.
24786 [C99-based standards] (clog10): Likewise.
24787 [C99-based standards] (clog1p): Likewise.
24788 [C99-based standards] (clog2): Likewise.
24789 [C99-based standards] (clgamma): Likewise.
24790 [C99-based standards] (ctgamma): Likewise.
24791 [C99-based standards] (cerff): Likewise.
24792 [C99-based standards] (cerfcf): Likewise.
24793 [C99-based standards] (cexp2f): Likewise.
24794 [C99-based standards] (cexpm1f): Likewise.
24795 [C99-based standards] (clog10f): Likewise.
24796 [C99-based standards] (clog1pf): Likewise.
24797 [C99-based standards] (clog2f): Likewise.
24798 [C99-based standards] (clgammaf): Likewise.
24799 [C99-based standards] (ctgammaf): Likewise.
24800 [C99-based standards] (cerfl): Likewise.
24801 [C99-based standards] (cerfcl): Likewise.
24802 [C99-based standards] (cexp2l): Likewise.
24803 [C99-based standards] (cexpm1l): Likewise.
24804 [C99-based standards] (clog10l): Likewise.
24805 [C99-based standards] (clog1pl): Likewise.
24806 [C99-based standards] (clog2l): Likewise.
24807 [C99-based standards] (clgammal): Likewise.
24808 [C99-based standards] (ctgammal): Likewise.
24809 * conform/data/inttypes.h-data [C99-based standards]: Include
24810 stdint.h-data. Remove all expectations for stdint.h contents.
24811 [C99-based standards] (PRI*): Do not allow.
24812 [C99-based standards] (SCN*): Likewise.
24813 [C99-based standards] (*_t): Likewise.
24814 [C99-based-standards] (PRId8): Expect macro.
24815 [C99-based-standards] (PRIi8): Likewise.
24816 [C99-based-standards] (PRIo8): Likewise.
24817 [C99-based-standards] (PRIu8): Likewise.
24818 [C99-based-standards] (PRIx8): Likewise.
24819 [C99-based-standards] (PRIX8): Likewise.
24820 [C99-based-standards] (SCNd8): Likewise.
24821 [C99-based-standards] (SCNi8): Likewise.
24822 [C99-based-standards] (SCNo8): Likewise.
24823 [C99-based-standards] (SCNu8): Likewise.
24824 [C99-based-standards] (SCNx8): Likewise.
24825 [C99-based-standards] (PRIdLEAST8): Likewise.
24826 [C99-based-standards] (PRIiLEAST8): Likewise.
24827 [C99-based-standards] (PRIoLEAST8): Likewise.
24828 [C99-based-standards] (PRIuLEAST8): Likewise.
24829 [C99-based-standards] (PRIxLEAST8): Likewise.
24830 [C99-based-standards] (PRIXLEAST8): Likewise.
24831 [C99-based-standards] (SCNdLEAST8): Likewise.
24832 [C99-based-standards] (SCNiLEAST8): Likewise.
24833 [C99-based-standards] (SCNoLEAST8): Likewise.
24834 [C99-based-standards] (SCNuLEAST8): Likewise.
24835 [C99-based-standards] (SCNxLEAST8): Likewise.
24836 [C99-based-standards] (PRIdFAST8): Likewise.
24837 [C99-based-standards] (PRIiFAST8): Likewise.
24838 [C99-based-standards] (PRIoFAST8): Likewise.
24839 [C99-based-standards] (PRIuFAST8): Likewise.
24840 [C99-based-standards] (PRIxFAST8): Likewise.
24841 [C99-based-standards] (PRIXFAST8): Likewise.
24842 [C99-based-standards] (SCNdFAST8): Likewise.
24843 [C99-based-standards] (SCNiFAST8): Likewise.
24844 [C99-based-standards] (SCNoFAST8): Likewise.
24845 [C99-based-standards] (SCNuFAST8): Likewise.
24846 [C99-based-standards] (SCNxFAST8): Likewise.
24847 [C99-based-standards] (PRId16): Likewise.
24848 [C99-based-standards] (PRIi16): Likewise.
24849 [C99-based-standards] (PRIo16): Likewise.
24850 [C99-based-standards] (PRIu16): Likewise.
24851 [C99-based-standards] (PRIx16): Likewise.
24852 [C99-based-standards] (PRIX16): Likewise.
24853 [C99-based-standards] (SCNd16): Likewise.
24854 [C99-based-standards] (SCNi16): Likewise.
24855 [C99-based-standards] (SCNo16): Likewise.
24856 [C99-based-standards] (SCNu16): Likewise.
24857 [C99-based-standards] (SCNx16): Likewise.
24858 [C99-based-standards] (PRIdLEAST16): Likewise.
24859 [C99-based-standards] (PRIiLEAST16): Likewise.
24860 [C99-based-standards] (PRIoLEAST16): Likewise.
24861 [C99-based-standards] (PRIuLEAST16): Likewise.
24862 [C99-based-standards] (PRIxLEAST16): Likewise.
24863 [C99-based-standards] (PRIXLEAST16): Likewise.
24864 [C99-based-standards] (SCNdLEAST16): Likewise.
24865 [C99-based-standards] (SCNiLEAST16): Likewise.
24866 [C99-based-standards] (SCNoLEAST16): Likewise.
24867 [C99-based-standards] (SCNuLEAST16): Likewise.
24868 [C99-based-standards] (SCNxLEAST16): Likewise.
24869 [C99-based-standards] (PRIdFAST16): Likewise.
24870 [C99-based-standards] (PRIiFAST16): Likewise.
24871 [C99-based-standards] (PRIoFAST16): Likewise.
24872 [C99-based-standards] (PRIuFAST16): Likewise.
24873 [C99-based-standards] (PRIxFAST16): Likewise.
24874 [C99-based-standards] (PRIXFAST16): Likewise.
24875 [C99-based-standards] (SCNdFAST16): Likewise.
24876 [C99-based-standards] (SCNiFAST16): Likewise.
24877 [C99-based-standards] (SCNoFAST16): Likewise.
24878 [C99-based-standards] (SCNuFAST16): Likewise.
24879 [C99-based-standards] (SCNxFAST16): Likewise.
24880 [C99-based-standards] (PRId32): Likewise.
24881 [C99-based-standards] (PRIi32): Likewise.
24882 [C99-based-standards] (PRIo32): Likewise.
24883 [C99-based-standards] (PRIu32): Likewise.
24884 [C99-based-standards] (PRIx32): Likewise.
24885 [C99-based-standards] (PRIX32): Likewise.
24886 [C99-based-standards] (SCNd32): Likewise.
24887 [C99-based-standards] (SCNi32): Likewise.
24888 [C99-based-standards] (SCNo32): Likewise.
24889 [C99-based-standards] (SCNu32): Likewise.
24890 [C99-based-standards] (SCNx32): Likewise.
24891 [C99-based-standards] (PRIdLEAST32): Likewise.
24892 [C99-based-standards] (PRIiLEAST32): Likewise.
24893 [C99-based-standards] (PRIoLEAST32): Likewise.
24894 [C99-based-standards] (PRIuLEAST32): Likewise.
24895 [C99-based-standards] (PRIxLEAST32): Likewise.
24896 [C99-based-standards] (PRIXLEAST32): Likewise.
24897 [C99-based-standards] (SCNdLEAST32): Likewise.
24898 [C99-based-standards] (SCNiLEAST32): Likewise.
24899 [C99-based-standards] (SCNoLEAST32): Likewise.
24900 [C99-based-standards] (SCNuLEAST32): Likewise.
24901 [C99-based-standards] (SCNxLEAST32): Likewise.
24902 [C99-based-standards] (PRIdFAST32): Likewise.
24903 [C99-based-standards] (PRIiFAST32): Likewise.
24904 [C99-based-standards] (PRIoFAST32): Likewise.
24905 [C99-based-standards] (PRIuFAST32): Likewise.
24906 [C99-based-standards] (PRIxFAST32): Likewise.
24907 [C99-based-standards] (PRIXFAST32): Likewise.
24908 [C99-based-standards] (SCNdFAST32): Likewise.
24909 [C99-based-standards] (SCNiFAST32): Likewise.
24910 [C99-based-standards] (SCNoFAST32): Likewise.
24911 [C99-based-standards] (SCNuFAST32): Likewise.
24912 [C99-based-standards] (SCNxFAST32): Likewise.
24913 [C99-based-standards] (PRId64): Likewise.
24914 [C99-based-standards] (PRIi64): Likewise.
24915 [C99-based-standards] (PRIo64): Likewise.
24916 [C99-based-standards] (PRIu64): Likewise.
24917 [C99-based-standards] (PRIx64): Likewise.
24918 [C99-based-standards] (PRIX64): Likewise.
24919 [C99-based-standards] (SCNd64): Likewise.
24920 [C99-based-standards] (SCNi64): Likewise.
24921 [C99-based-standards] (SCNo64): Likewise.
24922 [C99-based-standards] (SCNu64): Likewise.
24923 [C99-based-standards] (SCNx64): Likewise.
24924 [C99-based-standards] (PRIdLEAST64): Likewise.
24925 [C99-based-standards] (PRIiLEAST64): Likewise.
24926 [C99-based-standards] (PRIoLEAST64): Likewise.
24927 [C99-based-standards] (PRIuLEAST64): Likewise.
24928 [C99-based-standards] (PRIxLEAST64): Likewise.
24929 [C99-based-standards] (PRIXLEAST64): Likewise.
24930 [C99-based-standards] (SCNdLEAST64): Likewise.
24931 [C99-based-standards] (SCNiLEAST64): Likewise.
24932 [C99-based-standards] (SCNoLEAST64): Likewise.
24933 [C99-based-standards] (SCNuLEAST64): Likewise.
24934 [C99-based-standards] (SCNxLEAST64): Likewise.
24935 [C99-based-standards] (PRIdFAST64): Likewise.
24936 [C99-based-standards] (PRIiFAST64): Likewise.
24937 [C99-based-standards] (PRIoFAST64): Likewise.
24938 [C99-based-standards] (PRIuFAST64): Likewise.
24939 [C99-based-standards] (PRIxFAST64): Likewise.
24940 [C99-based-standards] (PRIXFAST64): Likewise.
24941 [C99-based-standards] (SCNdFAST64): Likewise.
24942 [C99-based-standards] (SCNiFAST64): Likewise.
24943 [C99-based-standards] (SCNoFAST64): Likewise.
24944 [C99-based-standards] (SCNuFAST64): Likewise.
24945 [C99-based-standards] (SCNxFAST64): Likewise.
24946 [C99-based-standards] (PRIdMAX): Likewise.
24947 [C99-based-standards] (PRIiMAX): Likewise.
24948 [C99-based-standards] (PRIoMAX): Likewise.
24949 [C99-based-standards] (PRIuMAX): Likewise.
24950 [C99-based-standards] (PRIxMAX): Likewise.
24951 [C99-based-standards] (PRIXMAX): Likewise.
24952 [C99-based-standards] (SCNdMAX): Likewise.
24953 [C99-based-standards] (SCNiMAX): Likewise.
24954 [C99-based-standards] (SCNoMAX): Likewise.
24955 [C99-based-standards] (SCNuMAX): Likewise.
24956 [C99-based-standards] (SCNxMAX): Likewise.
24957 [C99-based-standards] (PRIdPTR): Likewise.
24958 [C99-based-standards] (PRIiPTR): Likewise.
24959 [C99-based-standards] (PRIoPTR): Likewise.
24960 [C99-based-standards] (PRIuPTR): Likewise.
24961 [C99-based-standards] (PRIxPTR): Likewise.
24962 [C99-based-standards] (PRIXPTR): Likewise.
24963 [C99-based-standards] (SCNdPTR): Likewise.
24964 [C99-based-standards] (SCNiPTR): Likewise.
24965 [C99-based-standards] (SCNoPTR): Likewise.
24966 [C99-based-standards] (SCNuPTR): Likewise.
24967 [C99-based-standards] (SCNxPTR): Likewise.
24968 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24969 allow.
24970 * conform/data/stdint.h-data: Update comments to clarify
24971 requirements.
24972 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24973 type.
24974 [C99-based standards] (INT8_MAX): Likewise.
24975 [C99-based standards] (INT16_MIN): Likewise.
24976 [C99-based standards] (INT16_MAX): Likewise.
24977 [C99-based standards] (INT32_MIN): Likewise.
24978 [C99-based standards] (INT32_MAX): Likewise.
24979 [C99-based standards] (INT64_MIN): Likewise.
24980 [C99-based standards] (INT64_MAX): Likewise.
24981 [C99-based standards] (UINT8_MAX): Likewise.
24982 [C99-based standards] (UINT16_MAX): Likewise.
24983 [C99-based standards] (UINT32_MAX): Likewise.
24984 [C99-based standards] (UINT64_MAX): Likewise.
24985 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24986 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24987 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24988 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24989 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24990 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24991 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24992 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24993 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24994 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24995 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24996 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24997 [C99-based standards] (INT_FAST8_MIN): Likewise.
24998 [C99-based standards] (INT_FAST8_MAX): Likewise.
24999 [C99-based standards] (INT_FAST16_MIN): Likewise.
25000 [C99-based standards] (INT_FAST16_MAX): Likewise.
25001 [C99-based standards] (INT_FAST32_MIN): Likewise.
25002 [C99-based standards] (INT_FAST32_MAX): Likewise.
25003 [C99-based standards] (INT_FAST64_MIN): Likewise.
25004 [C99-based standards] (INT_FAST64_MAX): Likewise.
25005 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25006 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25007 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25008 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25009 [C99-based standards] (INTPTR_MIN): Likewise.
25010 [C99-based standards] (INTPTR_MAX): Likewise.
25011 [C99-based standards] (UINTPTR_MAX): Likewise.
25012 [C99-based standards] (INTMAX_MIN): Likewise.
25013 [C99-based standards] (INTMAX_MAX): Likewise.
25014 [C99-based standards] (UINTMAX_MAX): Likewise.
25015 [C99-based standards] (PTRDIFF_MIN): Likewise.
25016 [C99-based standards] (PTRDIFF_MAX): Likewise.
25017 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25018 [C99-based standards] (SIZE_MAX): Likewise.
25019 [C99-based standards] (WCHAR_MAX): Likewise.
25020 [C99-based standards] (WINT_MAX): Likewise.
25021 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25022 constraint on value.
25023 [C99-based standards] (WCHAR_MIN): Likewise.
25024 [C99-based standards] (WINT_MIN): Likewise.
25025 [C99-based standards] (*_t): Allow.
25026 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25027 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25028 Include math.h-data and complex.h-data. Remove all expectations
25029 of math.h and complex.h contents.
25030 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25031 at end of line.
25032 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25033 (struct tm): Expect tag.
25034 [C99-based-standards] (wcstof): Expect function.
25035 [C99-based-standards] (wcstold): Likewise.
25036 [C99-based-standards] (wcstoll): Likewise.
25037 [C99-based-standards] (wcstoull): Likewise.
25038 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25039 macro-int-constant. Specify type.
25040 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25041 constraint on value.
25042 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25043 Specify type.
25044 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25045 Specify value.
25046 [ISO C standards]: Do not allow headers.
25047 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25048 wcs[abcdefghijklmnopqrstuvwxyz]*.
25049 [ISO C standards] (*_t): Do not allow.
25050 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25051 Expect function.
25052 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25053 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25054 Specify type.
25055 [ISO C standards]: Do not allow headers.
25056 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25057 is[abcdefghijklmnopqrstuvwxyz]*.
25058 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25059 to[abcdefghijklmnopqrstuvwxyz]*.
25060 [ISO C standards] (*_t): Do not allow.
25061 * conform/data/stdalign.h-data: New file.
25062 * conform/data/stdbool.h-data: Likewise.
25063 * conform/data/stdnoreturn.h-data: Likewise.
25064
7514feb8
RM
250652012-11-07 Roland McGrath <roland@hack.frob.com>
25066
25067 [BZ #14815]
25068 * manual/filesys.texi (Directory Entries): Typo fix.
25069 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25070
19b2ecfc
MS
250712012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25072
25073 * elf/elf.h (EM_AARCH64): New macro.
25074 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25075 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25076 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25077 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25078 (R_AARCH64_TLSDESC): Likewise.
25079 (NT_ARM_TLS): Likewise.
25080 (NT_ARM_HW_BREAK): Likewise.
25081 (NT_ARM_HW_WATCH): Likewise.
25082
60e235ee
JM
250832012-11-07 Joseph Myers <joseph@codesourcery.com>
25084
25085 [BZ #14811]
25086 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25087 (__ieee754_powl): Saturate nonzero exponents with absolute value
25088 below 0x1p-79 to +/- 0x1p-79.
25089 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25090 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25091 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25092 nonzero exponents with absolute value below 0x1p-32 to +/-
25093 0x1p-32.
25094 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25095 (__ieee754_powl): Saturate nonzero exponents with absolute value
25096 below 0x1p-79 to +/- 0x1p-79.
25097 * math/libm-test.inc (pow_test): Add more tests.
25098
0ab234b7
AK
250992012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25100
25101 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25102 _dl_s390_cap_flags with kernel. Increase string length.
25103 (_dl_s390_platforms): Add z196 and zEC12.
25104
45832f74
JM
251052012-11-07 Joseph Myers <joseph@codesourcery.com>
25106
25107 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25108 Change XOPEN21K to XOPEN2K.
25109
19218757
MK
251102012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25111
25112 * string/memmove.c: Use memcpy when possible.
25113
c5f45721
AJ
251142012-11-06 Andreas Jaeger <aj@suse.de>
25115
25116 * po/eo.po: Update from translation team.
25117
82477c28
JM
251182012-11-06 Joseph Myers <joseph@codesourcery.com>
25119
25120 [BZ #14793]
25121 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25122 exponent and small x and y exponents, scale x or y up. Increase
25123 by 2 the exponent used in scaling up.
25124 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25125 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25126 * math/libm-test.inc (fma_test): Add more tests.
25127 (fma_test_towardzero): Likewise.
25128 (fma_test_downward): Likewise.
25129 (fma_test_upward): Likewise.
25130
99252c8c
JM
251312012-11-05 Joseph Myers <joseph@codesourcery.com>
25132
acfa885f
JM
25133 [BZ #14805]
25134 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25135 fenv_t *.
25136
99252c8c
JM
25137 [BZ #14801]
25138 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25139 namespace for names of struct fields.
25140 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25141 fenv_t fields.
25142 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25143 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25144
d6d98dea
ST
251452012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25146
25147 [BZ #3665]
25148 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25149
e10bb107
TS
251502012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25151
25152 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25153 PTR_DEMANGLE.
25154
25155 [BZ #5246]
25156 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25157 PTR_DEMANGLE.
25158
a0c2940d
JM
251592012-11-04 Joseph Myers <joseph@codesourcery.com>
25160
25161 [BZ #14797]
25162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25163 definitely overflow as x * y not x * y + z.
25164 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25165 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25166 * math/libm-test.inc (fma_test): Add more tests.
25167 (fma_test_towardzero): Likewise.
25168 (fma_test_downward): Likewise.
25169 (fma_test_upward): Likewise.
25170
b830319d
TS
251712012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25172
25173 [BZ #157]
25174
25175 * include/stub-tag.h: Remove file.
25176 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25177 '#include' of it.
25178 * manual/maint.texi (Porting): Don't reference it.
25179 * Makerules ($(objpfx)stubs): Likewise.
25180 * dirent/closedir.c: Don't include <stub-tag.h>.
25181 * dirent/dirfd.c: Likewise.
25182 * dirent/fdopendir.c: Likewise.
25183 * dirent/getdents.c: Likewise.
25184 * dirent/getdents64.c: Likewise.
25185 * dirent/opendir.c: Likewise.
25186 * dirent/readdir.c: Likewise.
25187 * dirent/readdir64.c: Likewise.
25188 * dirent/readdir64_r.c: Likewise.
25189 * dirent/readdir_r.c: Likewise.
25190 * dirent/rewinddir.c: Likewise.
25191 * dirent/seekdir.c: Likewise.
25192 * dirent/telldir.c: Likewise.
25193 * gmon/profil.c: Likewise.
25194 * grp/setgroups.c: Likewise.
25195 * inet/if_index.c: Likewise.
25196 * io/access.c: Likewise.
25197 * io/chdir.c: Likewise.
25198 * io/chmod.c: Likewise.
25199 * io/chown.c: Likewise.
25200 * io/close.c: Likewise.
25201 * io/dup.c: Likewise.
25202 * io/dup2.c: Likewise.
25203 * io/dup3.c: Likewise.
25204 * io/euidaccess.c: Likewise.
25205 * io/faccessat.c: Likewise.
25206 * io/fchdir.c: Likewise.
25207 * io/fchmod.c: Likewise.
25208 * io/fchmodat.c: Likewise.
25209 * io/fchown.c: Likewise.
25210 * io/fchownat.c: Likewise.
25211 * io/fcntl.c: Likewise.
25212 * io/flock.c: Likewise.
25213 * io/fstatfs.c: Likewise.
25214 * io/fstatfs64.c: Likewise.
25215 * io/fstatvfs.c: Likewise.
25216 * io/fstatvfs64.c: Likewise.
25217 * io/futimens.c: Likewise.
25218 * io/fxstat.c: Likewise.
25219 * io/fxstat64.c: Likewise.
25220 * io/fxstatat.c: Likewise.
25221 * io/fxstatat64.c: Likewise.
25222 * io/getcwd.c: Likewise.
25223 * io/isatty.c: Likewise.
25224 * io/lchmod.c: Likewise.
25225 * io/lchown.c: Likewise.
25226 * io/link.c: Likewise.
25227 * io/linkat.c: Likewise.
25228 * io/lseek.c: Likewise.
25229 * io/lseek64.c: Likewise.
25230 * io/lxstat64.c: Likewise.
25231 * io/mkdir.c: Likewise.
25232 * io/mkdirat.c: Likewise.
25233 * io/mkfifo.c: Likewise.
25234 * io/mkfifoat.c: Likewise.
25235 * io/open.c: Likewise.
25236 * io/open64.c: Likewise.
25237 * io/openat.c: Likewise.
25238 * io/openat64.c: Likewise.
25239 * io/pipe.c: Likewise.
25240 * io/pipe2.c: Likewise.
25241 * io/poll.c: Likewise.
25242 * io/posix_fadvise.c: Likewise.
25243 * io/posix_fadvise64.c: Likewise.
25244 * io/posix_fallocate.c: Likewise.
25245 * io/posix_fallocate64.c: Likewise.
25246 * io/read.c: Likewise.
25247 * io/readlink.c: Likewise.
25248 * io/readlinkat.c: Likewise.
25249 * io/rmdir.c: Likewise.
25250 * io/sendfile.c: Likewise.
25251 * io/sendfile64.c: Likewise.
25252 * io/statfs.c: Likewise.
25253 * io/statfs64.c: Likewise.
25254 * io/statvfs.c: Likewise.
25255 * io/statvfs64.c: Likewise.
25256 * io/symlink.c: Likewise.
25257 * io/symlinkat.c: Likewise.
25258 * io/ttyname.c: Likewise.
25259 * io/ttyname_r.c: Likewise.
25260 * io/umask.c: Likewise.
25261 * io/unlink.c: Likewise.
25262 * io/unlinkat.c: Likewise.
25263 * io/utime.c: Likewise.
25264 * io/utimensat.c: Likewise.
25265 * io/write.c: Likewise.
25266 * io/xmknod.c: Likewise.
25267 * io/xmknodat.c: Likewise.
25268 * io/xstat.c: Likewise.
25269 * io/xstat64.c: Likewise.
25270 * login/getpt.c: Likewise.
25271 * login/grantpt.c: Likewise.
25272 * login/unlockpt.c: Likewise.
25273 * math/e_acoshl.c: Likewise.
25274 * math/e_acosl.c: Likewise.
25275 * math/e_asinl.c: Likewise.
25276 * math/e_atan2l.c: Likewise.
25277 * math/e_atanhl.c: Likewise.
25278 * math/e_coshl.c: Likewise.
25279 * math/e_expl.c: Likewise.
25280 * math/e_fmodl.c: Likewise.
25281 * math/e_gammal_r.c: Likewise.
25282 * math/e_hypotl.c: Likewise.
25283 * math/e_j0l.c: Likewise.
25284 * math/e_j1l.c: Likewise.
25285 * math/e_jnl.c: Likewise.
25286 * math/e_lgammal_r.c: Likewise.
25287 * math/e_log10l.c: Likewise.
25288 * math/e_log2l.c: Likewise.
25289 * math/e_logl.c: Likewise.
25290 * math/e_powl.c: Likewise.
25291 * math/e_rem_pio2l.c: Likewise.
25292 * math/e_sinhl.c: Likewise.
25293 * math/e_sqrtl.c: Likewise.
25294 * math/fclrexcpt.c: Likewise.
25295 * math/fedisblxcpt.c: Likewise.
25296 * math/feenablxcpt.c: Likewise.
25297 * math/fegetenv.c: Likewise.
25298 * math/fegetexcept.c: Likewise.
25299 * math/fegetround.c: Likewise.
25300 * math/feholdexcpt.c: Likewise.
25301 * math/fesetenv.c: Likewise.
25302 * math/fesetround.c: Likewise.
25303 * math/feupdateenv.c: Likewise.
25304 * math/fgetexcptflg.c: Likewise.
25305 * math/fraiseexcpt.c: Likewise.
25306 * math/fsetexcptflg.c: Likewise.
25307 * math/ftestexcept.c: Likewise.
25308 * math/k_cosl.c: Likewise.
25309 * math/k_rem_pio2l.c: Likewise.
25310 * math/k_sinl.c: Likewise.
25311 * math/k_tanl.c: Likewise.
25312 * math/s_asinhl.c: Likewise.
25313 * math/s_atanl.c: Likewise.
25314 * math/s_cbrtl.c: Likewise.
25315 * math/s_erfl.c: Likewise.
25316 * math/s_expm1l.c: Likewise.
25317 * math/s_log1pl.c: Likewise.
25318 * math/s_tanhl.c: Likewise.
25319 * misc/acct.c: Likewise.
25320 * misc/brk.c: Likewise.
25321 * misc/chflags.c: Likewise.
25322 * misc/chroot.c: Likewise.
25323 * misc/fchflags.c: Likewise.
25324 * misc/fgetxattr.c: Likewise.
25325 * misc/flistxattr.c: Likewise.
25326 * misc/fremovexattr.c: Likewise.
25327 * misc/fsetxattr.c: Likewise.
25328 * misc/fsync.c: Likewise.
25329 * misc/ftruncate.c: Likewise.
25330 * misc/futimes.c: Likewise.
25331 * misc/futimesat.c: Likewise.
25332 * misc/getdomain.c: Likewise.
25333 * misc/getdtsz.c: Likewise.
25334 * misc/gethostid.c: Likewise.
25335 * misc/gethostname.c: Likewise.
25336 * misc/getloadavg.c: Likewise.
25337 * misc/getpagesize.c: Likewise.
25338 * misc/getsysstats.c: Likewise.
25339 * misc/getxattr.c: Likewise.
25340 * misc/gtty.c: Likewise.
25341 * misc/ioctl.c: Likewise.
25342 * misc/lgetxattr.c: Likewise.
25343 * misc/listxattr.c: Likewise.
25344 * misc/llistxattr.c: Likewise.
25345 * misc/lremovexattr.c: Likewise.
25346 * misc/lsetxattr.c: Likewise.
25347 * misc/lutimes.c: Likewise.
25348 * misc/madvise.c: Likewise.
25349 * misc/mincore.c: Likewise.
25350 * misc/mlock.c: Likewise.
25351 * misc/mlockall.c: Likewise.
25352 * misc/mmap.c: Likewise.
25353 * misc/mprotect.c: Likewise.
25354 * misc/msync.c: Likewise.
25355 * misc/munlock.c: Likewise.
25356 * misc/munlockall.c: Likewise.
25357 * misc/munmap.c: Likewise.
25358 * misc/preadv.c: Likewise.
25359 * misc/preadv64.c: Likewise.
25360 * misc/ptrace.c: Likewise.
25361 * misc/pwritev.c: Likewise.
25362 * misc/pwritev64.c: Likewise.
25363 * misc/readv.c: Likewise.
25364 * misc/reboot.c: Likewise.
25365 * misc/remap_file_pages.c: Likewise.
25366 * misc/removexattr.c: Likewise.
25367 * misc/revoke.c: Likewise.
25368 * misc/select.c: Likewise.
25369 * misc/setdomain.c: Likewise.
25370 * misc/setegid.c: Likewise.
25371 * misc/seteuid.c: Likewise.
25372 * misc/sethostid.c: Likewise.
25373 * misc/sethostname.c: Likewise.
25374 * misc/setregid.c: Likewise.
25375 * misc/setreuid.c: Likewise.
25376 * misc/setxattr.c: Likewise.
25377 * misc/sstk.c: Likewise.
25378 * misc/stty.c: Likewise.
25379 * misc/swapoff.c: Likewise.
25380 * misc/swapon.c: Likewise.
25381 * misc/sync.c: Likewise.
25382 * misc/syncfs.c: Likewise.
25383 * misc/syscall.c: Likewise.
25384 * misc/truncate.c: Likewise.
25385 * misc/ualarm.c: Likewise.
25386 * misc/usleep.c: Likewise.
25387 * misc/ustat.c: Likewise.
25388 * misc/utimes.c: Likewise.
25389 * misc/vhangup.c: Likewise.
25390 * misc/writev.c: Likewise.
25391 * posix/_exit.c: Likewise.
25392 * posix/alarm.c: Likewise.
25393 * posix/execve.c: Likewise.
25394 * posix/fexecve.c: Likewise.
25395 * posix/fork.c: Likewise.
25396 * posix/fpathconf.c: Likewise.
25397 * posix/getaddrinfo.c: Likewise.
25398 * posix/getegid.c: Likewise.
25399 * posix/geteuid.c: Likewise.
25400 * posix/getgid.c: Likewise.
25401 * posix/getgroups.c: Likewise.
25402 * posix/getlogin.c: Likewise.
25403 * posix/getlogin_r.c: Likewise.
25404 * posix/getpgid.c: Likewise.
25405 * posix/getpid.c: Likewise.
25406 * posix/getppid.c: Likewise.
25407 * posix/getresgid.c: Likewise.
25408 * posix/getresuid.c: Likewise.
25409 * posix/getsid.c: Likewise.
25410 * posix/getuid.c: Likewise.
25411 * posix/glob64.c: Likewise.
25412 * posix/nanosleep.c: Likewise.
25413 * posix/pathconf.c: Likewise.
25414 * posix/pause.c: Likewise.
25415 * posix/posix_madvise.c: Likewise.
25416 * posix/pread.c: Likewise.
25417 * posix/pread64.c: Likewise.
25418 * posix/pwrite.c: Likewise.
25419 * posix/pwrite64.c: Likewise.
25420 * posix/sched_getaffinity.c: Likewise.
25421 * posix/sched_getp.c: Likewise.
25422 * posix/sched_gets.c: Likewise.
25423 * posix/sched_primax.c: Likewise.
25424 * posix/sched_primin.c: Likewise.
25425 * posix/sched_rr_gi.c: Likewise.
25426 * posix/sched_setaffinity.c: Likewise.
25427 * posix/sched_setp.c: Likewise.
25428 * posix/sched_sets.c: Likewise.
25429 * posix/sched_yield.c: Likewise.
25430 * posix/setgid.c: Likewise.
25431 * posix/setlogin.c: Likewise.
25432 * posix/setpgid.c: Likewise.
25433 * posix/setresgid.c: Likewise.
25434 * posix/setresuid.c: Likewise.
25435 * posix/setsid.c: Likewise.
25436 * posix/setuid.c: Likewise.
25437 * posix/sleep.c: Likewise.
25438 * posix/spawni.c: Likewise.
25439 * posix/sysconf.c: Likewise.
25440 * posix/times.c: Likewise.
25441 * posix/wait.c: Likewise.
25442 * posix/wait3.c: Likewise.
25443 * posix/wait4.c: Likewise.
25444 * posix/waitpid.c: Likewise.
25445 * resolv/gai_sigqueue.c: Likewise.
25446 * resource/getpriority.c: Likewise.
25447 * resource/getrlimit.c: Likewise.
25448 * resource/getrusage.c: Likewise.
25449 * resource/nice.c: Likewise.
25450 * resource/setpriority.c: Likewise.
25451 * resource/setrlimit.c: Likewise.
25452 * resource/ulimit.c: Likewise.
25453 * rt/aio_cancel.c: Likewise.
25454 * rt/aio_fsync.c: Likewise.
25455 * rt/aio_read.c: Likewise.
25456 * rt/aio_sigqueue.c: Likewise.
25457 * rt/aio_suspend.c: Likewise.
25458 * rt/aio_write.c: Likewise.
25459 * rt/clock_getres.c: Likewise.
25460 * rt/clock_gettime.c: Likewise.
25461 * rt/clock_nanosleep.c: Likewise.
25462 * rt/clock_settime.c: Likewise.
25463 * rt/lio_listio.c: Likewise.
25464 * rt/mq_close.c: Likewise.
25465 * rt/mq_getattr.c: Likewise.
25466 * rt/mq_notify.c: Likewise.
25467 * rt/mq_open.c: Likewise.
25468 * rt/mq_receive.c: Likewise.
25469 * rt/mq_send.c: Likewise.
25470 * rt/mq_setattr.c: Likewise.
25471 * rt/mq_timedreceive.c: Likewise.
25472 * rt/mq_timedsend.c: Likewise.
25473 * rt/mq_unlink.c: Likewise.
25474 * rt/shm_open.c: Likewise.
25475 * rt/shm_unlink.c: Likewise.
25476 * rt/timer_create.c: Likewise.
25477 * rt/timer_delete.c: Likewise.
25478 * rt/timer_getoverr.c: Likewise.
25479 * rt/timer_gettime.c: Likewise.
25480 * rt/timer_settime.c: Likewise.
25481 * setjmp/__longjmp.c: Likewise.
25482 * setjmp/setjmp.c: Likewise.
25483 * signal/kill.c: Likewise.
25484 * signal/killpg.c: Likewise.
25485 * signal/raise.c: Likewise.
25486 * signal/sigaction.c: Likewise.
25487 * signal/sigaltstack.c: Likewise.
25488 * signal/sigblock.c: Likewise.
25489 * signal/sigignore.c: Likewise.
25490 * signal/sigintr.c: Likewise.
25491 * signal/signal.c: Likewise.
25492 * signal/sigpause.c: Likewise.
25493 * signal/sigpending.c: Likewise.
25494 * signal/sigqueue.c: Likewise.
25495 * signal/sigreturn.c: Likewise.
25496 * signal/sigset.c: Likewise.
25497 * signal/sigsetmask.c: Likewise.
25498 * signal/sigstack.c: Likewise.
25499 * signal/sigsuspend.c: Likewise.
25500 * signal/sigtimedwait.c: Likewise.
25501 * signal/sigvec.c: Likewise.
25502 * signal/sigwait.c: Likewise.
25503 * signal/sigwaitinfo.c: Likewise.
25504 * signal/sysv_signal.c: Likewise.
25505 * socket/accept.c: Likewise.
25506 * socket/accept4.c: Likewise.
25507 * socket/bind.c: Likewise.
25508 * socket/connect.c: Likewise.
25509 * socket/getpeername.c: Likewise.
25510 * socket/getsockname.c: Likewise.
25511 * socket/getsockopt.c: Likewise.
25512 * socket/isfdtype.c: Likewise.
25513 * socket/listen.c: Likewise.
25514 * socket/recv.c: Likewise.
25515 * socket/recvfrom.c: Likewise.
25516 * socket/recvmsg.c: Likewise.
25517 * socket/send.c: Likewise.
25518 * socket/sendmsg.c: Likewise.
25519 * socket/sendto.c: Likewise.
25520 * socket/setsockopt.c: Likewise.
25521 * socket/shutdown.c: Likewise.
25522 * socket/sockatmark.c: Likewise.
25523 * socket/socket.c: Likewise.
25524 * socket/socketpair.c: Likewise.
25525 * stdio-common/ctermid.c: Likewise.
25526 * stdio-common/cuserid.c: Likewise.
25527 * stdio-common/remove.c: Likewise.
25528 * stdio-common/rename.c: Likewise.
25529 * stdio-common/renameat.c: Likewise.
25530 * stdio-common/tempname.c: Likewise.
25531 * stdlib/getcontext.c: Likewise.
25532 * stdlib/makecontext.c: Likewise.
25533 * stdlib/setcontext.c: Likewise.
25534 * stdlib/swapcontext.c: Likewise.
25535 * stdlib/system.c: Likewise.
25536 * streams/fattach.c: Likewise.
25537 * streams/fdetach.c: Likewise.
25538 * streams/getmsg.c: Likewise.
25539 * streams/getpmsg.c: Likewise.
25540 * streams/putmsg.c: Likewise.
25541 * streams/putpmsg.c: Likewise.
25542 * sysdeps/unix/bsd/getpt.c: Likewise.
25543 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25544 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25545 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25547 Likewise.
25548 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25549 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25550 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25551 * sysvipc/msgctl.c: Likewise.
25552 * sysvipc/msgget.c: Likewise.
25553 * sysvipc/msgrcv.c: Likewise.
25554 * sysvipc/msgsnd.c: Likewise.
25555 * sysvipc/semctl.c: Likewise.
25556 * sysvipc/semget.c: Likewise.
25557 * sysvipc/semop.c: Likewise.
25558 * sysvipc/semtimedop.c: Likewise.
25559 * sysvipc/shmat.c: Likewise.
25560 * sysvipc/shmctl.c: Likewise.
25561 * sysvipc/shmdt.c: Likewise.
25562 * sysvipc/shmget.c: Likewise.
25563 * termios/tcdrain.c: Likewise.
25564 * termios/tcflow.c: Likewise.
25565 * termios/tcflush.c: Likewise.
25566 * termios/tcgetattr.c: Likewise.
25567 * termios/tcgetpgrp.c: Likewise.
25568 * termios/tcsendbrk.c: Likewise.
25569 * termios/tcsetattr.c: Likewise.
25570 * termios/tcsetpgrp.c: Likewise.
25571 * time/adjtime.c: Likewise.
25572 * time/clock.c: Likewise.
25573 * time/getitimer.c: Likewise.
25574 * time/gettimeofday.c: Likewise.
25575 * time/setitimer.c: Likewise.
25576 * time/settimeofday.c: Likewise.
25577 * time/stime.c: Likewise.
25578 * time/time.c: Likewise.
25579
255802012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 25581
a20492cf
PT
25582 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25583 /usr/old/bin.
25584
72e182e3
PT
25585 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25586 instead of spaces.
25587 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25588
fbeafede
JM
255892012-11-03 Joseph Myers <joseph@codesourcery.com>
25590
5b5b04d6
JM
25591 [BZ #14796]
25592 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25593 FE_TONEAREST before applying Dekker multiplication and Knuth
25594 addition. Clear inexact exceptions and check for exact zero
25595 results afterwards.
25596 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25597 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25598 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25599 * math/libm-test.inc (fma_test): Add more tests.
25600 (fma_test_towardzero): Likewise.
25601 (fma_test_downward): Likewise.
25602 (fma_test_upward): Likewise.
25603 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25604 function.
25605 (libc_fesetround): New macro.
25606 (libc_fesetroundf): Likewise.
25607 (libc_fesetroundl): Likewise.
25608 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25609 function.
25610 (libc_fesetround_387): Likewise.
25611 (libc_fesetroundf): New macro.
25612 (libc_fesetround): Likewise.
25613 (libc_fesetroundl): Likewise.
25614 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25615 function.
25616 (libc_fesetroundf): New macro.
25617 (libc_fesetround): Likewise.
25618 (libc_fesetroundl): Likewise.
25619 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25620 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25621 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25622 libm_hidden_ver.
25623 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25624 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25625 libm_hidden_def.
25626 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25627 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25628 libm_hidden_ver.
25629 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25630 libm_hidden_def.
25631
fbeafede
JM
25632 [BZ #3439]
25633 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25634 integer constant usable in #if and use that to give value to enum
25635 constant.
25636 (FE_DIVBYZERO): Likewise.
25637 (FE_UNDERFLOW): Likewise.
25638 (FE_OVERFLOW): Likewise.
25639 (FE_INVALID): Likewise.
25640 (FE_INVALID_SNAN): Likewise.
25641 (FE_INVALID_ISI): Likewise.
25642 (FE_INVALID_IDI): Likewise.
25643 (FE_INVALID_ZDZ): Likewise.
25644 (FE_INVALID_IMZ): Likewise.
25645 (FE_INVALID_COMPARE): Likewise.
25646 (FE_INVALID_SOFTWARE): Likewise.
25647 (FE_INVALID_SQRT): Likewise.
25648 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25649 (FE_TONEAREST): Likewise.
25650 (FE_TOWARDZERO): Likewise.
25651 (FE_UPWARD): Likewise.
25652 (FE_DOWNWARD): Likewise.
25653 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25654 (FE_DIVBYZERO): Likewise.
25655 (FE_OVERFLOW): Likewise.
25656 (FE_UNDERFLOW): Likewise.
25657 (FE_INEXACT): Likewise.
25658 (FE_TONEAREST): Likewise.
25659 (FE_DOWNWARD): Likewise.
25660 (FE_UPWARD): Likewise.
25661 (FE_TOWARDZERO): Likewise.
25662 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25663 (FE_UNDERFLOW): Likewise.
25664 (FE_OVERFLOW): Likewise.
25665 (FE_DIVBYZERO): Likewise.
25666 (FE_INVALID): Likewise.
25667 (FE_TONEAREST): Likewise.
25668 (FE_TOWARDZERO): Likewise.
25669 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25670 (FE_OVERFLOW): Likewise.
25671 (FE_UNDERFLOW): Likewise.
25672 (FE_DIVBYZERO): Likewise.
25673 (FE_INEXACT): Likewise.
25674 (FE_TONEAREST): Likewise.
25675 (FE_TOWARDZERO): Likewise.
25676 (FE_UPWARD): Likewise.
25677 (FE_DOWNWARD): Likewise.
25678 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25679 (FE_DIVBYZERO): Likewise.
25680 (FE_OVERFLOW): Likewise.
25681 (FE_UNDERFLOW): Likewise.
25682 (FE_INEXACT): Likewise.
25683 (FE_TONEAREST): Likewise.
25684 (FE_DOWNWARD): Likewise.
25685 (FE_UPWARD): Likewise.
25686 (FE_TOWARDZERO): Likewise.
25687
105ca950
CM
256882012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25689
25690 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25691
a542b389
AS
256922012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25693
25694 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25695 commands. Quote $PWD.
25696 (blacklist_exports): Don't use remove_newlines. Replace "declare
25697 -x" by "export".
25698 (remove_newlines): Remove.
25699
f62c8abc
L
257002012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25701
25702 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25703 * stdlib/stdlib.h (atof): Moved to ...
25704 * include/bits/stdlib-float.h: Here. New file.
25705 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25706 * stdlib/bits/stdlib-float.h: New file.
25707 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25708 -mno-sse -mno-mmx.
25709 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25710 <xmmintrin.h>.
25711
0155d5b2
JM
257122012-11-02 Joseph Myers <joseph@codesourcery.com>
25713
a68d0680
JM
25714 * conform/conformtest.pl (@headers): Add fenv.h.
25715 * conform/data/fenv.h-data: New file.
25716 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25717 include of <math/fenv.h>.
25718
caf7f573
JM
25719 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25720 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25721 && !UNIX98]. Enables tests for XOPEN2K8.
25722 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25723 POSIX2008]: Likewise.
25724
6c073ad6
JM
25725 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25726 (struct rusage): Do not expect type or its members.
25727
0155d5b2
JM
25728 [BZ #3439]
25729 * math/math.h (FP_NAN): Define macro to integer constant usable in
25730 #if and use that to give value to enum constant.
25731 (FP_INFINITE): Likewise.
25732 (FP_ZERO): Likewise.
25733 (FP_SUBNORMAL): Likewise.
25734 (FP_NORMAL): Likewise.
25735
b5dcacb4
AS
257362012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25737
25738 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25739 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25740 arguments.
25741
f7934be8
RM
257422012-11-02 Roland McGrath <roland@hack.frob.com>
25743
25744 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25745 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25746 autoconf-time if not.
25747 * configure.in: Remove AC_PREREQ.
25748
d7d08bde
TMQMF
257492012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25750
25751 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25752 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25753 of the internal implementation.
25754
dcdae19a
JM
257552012-11-02 Joseph Myers <joseph@codesourcery.com>
25756
25757 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25758 except include of <misc/sys/syslog.h>.
25759
d6cffd3e
AS
257602012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25761
25762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25763 function returns with a NULL context exit with zero.
25764
b3563932
TMQMF
257652012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25766
25767 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25768
b288a93d
L
257692012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25770
25771 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25772 (run_program_cmd): This.
25773 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25774 (tst_langinfo): New variable. Use it.
25775
a2421a68
SAS
257762012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25777
25778 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25779 floating point opcodes.
25780
6f796e1b
TS
257812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25782
7402596b
TS
25783 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25784 variable.
25785
d0d4f868
TS
25786 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25787
6f796e1b
TS
25788 * sysdeps/mach/hurd/powerpc: Remove directory.
25789 * sysdeps/mach/powerpc: Likewise.
25790
4da224a2
AS
257912012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25792
25793 * scripts/check-local-headers.sh: Ignore c++ headers.
25794
341dd673
TS
257952012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25796
25797 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25798 __libc_cleanup_region_start argument.
25799
473611b2
JM
258002012-11-01 Joseph Myers <joseph@codesourcery.com>
25801
25802 [BZ #14784]
25803 [BZ #14785]
25804 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25805 x * y using scaling, not as x * y + z.
25806 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25807 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25808 * math/libm-test.inc (fma_test): Add more tests.
25809 (fma_test_towardzero): Likewise.
25810 (fma_test_downward): Likewise.
25811 (fma_test_upward): Likewise.
25812
4078da3d
TS
258132012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25814
25815 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25816
903252aa
JM
258172012-10-31 Joseph Myers <joseph@codesourcery.com>
25818
25819 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25820 New variable.
25821
cbc818d0
TS
258222012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25823
25824 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25825
5a03cb1e
AS
258262012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25827
25828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25829 Fix sort order.
25830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25831 Likewise.
25832
90aff2ff
TMQMF
258332012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25834
25835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25836 Fix the order of the list for glibc 2.17.
25837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25838 Likewise.
25839
1818fcb7
AS
258402012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25841
25842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25843
ef82f4da
JM
258442012-10-31 Joseph Myers <joseph@codesourcery.com>
25845
16a0e2ec
JM
25846 [BZ #14610]
25847 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25848 for low part of x being zero before using __atanl (y).
25849 * math/libm-test.inc (atan2_test): Add another test.
25850
0eb69512
JM
25851 * manual/install.texi (Configuring and compiling): Document
25852 general use of test-wrapper and test-wrapper-env.
25853 * INSTALL: Regenerated.
25854
ef82f4da
JM
25855 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25856 (__fma): Do not extract and scale down low bits on after-rounding
25857 systems when result rounded to normal precision would have normal
25858 exponent.
25859 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25860 (__fmal): Do not extract and scale down low bits on after-rounding
25861 systems when result rounded to normal precision would have normal
25862 exponent.
25863 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25864 (__fmal): Do not extract and scale down low bits on after-rounding
25865 systems when result rounded to normal precision would have normal
25866 exponent.
25867 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25868 macro.
25869 (fma_test): Add more tests.
25870 (fma_test_towardzero): Likewise.
25871 (fma_test_downward): Likewise.
25872 (fma_test_upward): Likewise.
25873
954ef0d9
L
258742012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25875
25876 * sysdeps/i386/tininess.h: Renamed to ...
25877 * sysdeps/x86/tininess.h: This.
25878 * sysdeps/x86_64/tininess.h: Removed.
25879
df61ffb2
JM
258802012-10-30 Joseph Myers <joseph@codesourcery.com>
25881
25882 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25883 input. Use $(build-program-cmd).
25884 ($(objpfx)tst-array1-static.out): Likewise.
25885 ($(objpfx)tst-array2.out): Likewise.
25886 ($(objpfx)tst-array3.out): Likewise.
25887 ($(objpfx)tst-array4.out): Likewise.
25888 ($(objpfx)tst-array5.out): Likewise.
25889 ($(objpfx)tst-array5-static.out): Likewise.
25890
01767843
CM
258912012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25892
47cc1490
CM
25893 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25894 if defined.
25895
01767843
CM
25896 * nss/nsswitch.h (nss_interface_function): Provide new
25897 macro for use with NSS functions.
25898 * grp/initgroups.c: Use new macro.
25899 * nss/getXXbyYY.c: Likewise.
25900 * nss/getXXbyYY_r.c: Likewise.
25901 * nss/getXXent.c: Likewise.
25902 * nss/getXXent_r.c: Likewise.
25903 * sysdeps/posix/getaddrinfo.c: Likewise.
25904
8321aa97
AJ
259052012-10-30 Andreas Jaeger <aj@suse.de>
25906
25907 * po/ru.po: Update Russion translation from translation project.
25908
2a27fd6d
JM
259092012-10-30 Joseph Myers <joseph@codesourcery.com>
25910
8627a232
JM
25911 [BZ #14152]
25912 [BZ #14783]
25913 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25914 result and shift together with sticky bit instead of replicating
25915 round-to-nearest rounding.
25916 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25917 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25918 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25919 missing underflow exceptions.
25920 (fma_test_towardzero): Add more tests.
25921 (fma_test_downward): Likewise.
25922 (fma_test_upward): Likewise.
25923
2a27fd6d
JM
25924 [BZ #14047]
25925 * sysdeps/generic/tininess.h: New file.
25926 * sysdeps/i386/tininess.h: Likewise.
25927 * sysdeps/sh/tininess.h: Likewise.
25928 * sysdeps/x86_64/tininess.h: Likewise.
25929 * stdlib/tst-strtod-underflow.c: Likewise.
25930 * stdlib/tst-tininess.c: Likewise.
25931 * stdlib/strtod_l.c: Include <tininess.h>.
25932 (round_and_return): Do not set errno for exact underflow cases.
25933 Force an underflow exception when setting errno for underflow.
25934 Determine underflow based on rounding to normal precision if
25935 TININESS_AFTER_ROUNDING.
25936 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25937 ERANGE for exact underflow cases.
25938 * stdlib/Makefile (tests): Add tst-tininess and
25939 tst-strtod-underflow.
25940 ($(objpfx)tst-tininess): Use $(link-libm).
25941 ($(objpfx)tst-strtod-underflow): Likewise.
25942
e7170363
AJ
259432012-10-30 Andreas Jaeger <aj@suse.de>
25944
e5088dc6
AJ
25945 [BZ#14767]
25946 * elf/Makefile (tests): Remove conditional for have-initfini-array
25947 since this is now always required and the variable does not exist
25948 anymore.
25949 (tests-static): Likewise.
25950 (modules-names): Likewise.
25951
e7170363 25952 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
25953
25954 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25955 merged with constructor/destructor.
25956 (init_array): Likewise.
25957 * elf/tst-array2dep.c (fini_array): Likewise.
25958 (init_array): Likewise.
25959
60457d8a
MF
259602012-10-29 Mike Frysinger <vapier@gentoo.org>
25961
25962 * manual/message.texi: Delete @cartouche tags.
25963
8bece752
PT
259642012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25965
94ce799f
PT
25966 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25967 EOPNOTSUPP.
25968 * sysdeps/mach/hurd/fsync.c: Likewise.
25969
8bece752
PT
25970 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25971 [_POSIX_REALTIME_SIGNALS]: Change condition to
25972 [_POSIX_REALTIME_SIGNALS > 0].
25973
86ebe6b1
AJ
259742012-10-27 Andreas Jaeger <aj@suse.de>
25975
25976 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25977 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25978 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25979 [__WORDSIZE != 64]: Likewise.
25980
54399c08
L
259812012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25982
25983 * iconvdata/tst-table.sh: Remove ${SHELL}.
25984 * iconvdata/tst-tables.sh: Likewise.
25985
e2211bed
DM
259862012-10-25 David S. Miller <davem@davemloft.net>
25987
25988 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25989 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25990 of strtoull.
25991
f303f97c
DM
25992 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25993 ifunc-impl-list.c
25994 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25995 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25996 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25997 file.
25998
1e9d84cd
RM
259992012-10-25 Roland McGrath <roland@hack.frob.com>
26000
26001 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26002 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26003 __getdirentries.
26004
df381762
JM
260052012-10-25 Joseph Myers <joseph@codesourcery.com>
26006 Jim Blandy <jimb@codesourcery.com>
26007
26008 * scripts/cross-test-ssh.sh: New file.
26009 * manual/install.texi (Configuring and compiling): Document use of
26010 cross-test-ssh.sh.
26011 * INSTALL: Regenerated.
26012
bff64913
PT
260132012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26014
26015 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26016 EOPNOTSUPP.
26017
25fe8932
JM
260182012-10-25 Joseph Myers <joseph@codesourcery.com>
26019
26020 * Makeconfig (run-program-prefix): Fix comment.
26021
cc1290d0
JM
260222012-10-24 Joseph Myers <joseph@codesourcery.com>
26023 Jim Blandy <jimb@codesourcery.com>
26024
26025 * Makeconfig (test-wrapper): New variable,
26026 (test-wrapper-env): Likewise.
26027 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26028 (run-built-tests): Define to yes.
26029 (run-program-prefix): Use $(test-wrapper).
26030 (built-program-cmd): Likewise.
26031 * Rules (make-test-out): Use $(test-wrapper-env) and
26032 $(host-built-program-cmd).
26033 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26034 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26035 tst-pathopt.sh.
26036 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26037 $(test-wrapper-env) to tst-rtld-load-self.sh.
26038 ($(objpfx)order2.out): Use $(test-wrapper).
26039 ($(objpfx)tst-initorder.out): Likewise.
26040 ($(objpfx)tst-initorder2.out): Likewise.
26041 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26042 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26043 (test_wrapper_env): New variable. Use it to run ld.so.
26044 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26045 Use it to run ld.so.
26046 (test_wrapper_env): Likewise.
26047 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26048 $(test-wrapper) to run-iconv-test.sh.
26049 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26050 (ICONV): Use $test_wrapper.
26051 * posix/Makefile ($(objpfx)globtest.out): Pass
26052 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26053 globtest.sh, not $(run-program-prefix).
26054 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26055 (test_wrapper): Likewise.
26056 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26057 set together with run_via_rtld_prefix.
26058 (run_program_prefix): Define in terms of test_wrapper and
26059 run_via_rtld_prefix.
26060
6e6249d0
RM
260612012-10-24 Roland McGrath <roland@hack.frob.com>
26062
26063 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26064 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26065 Targets removed.
26066
26067 [BZ #14743]
26068 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26069 Declare __clock_getres, __clock_gettime, __clock_settime,
26070 __clock_nanosleep, and __clock_getcpuclockid.
26071 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26072 Remove librt_hidden_def (clock_gettime).
26073 * sysdeps/unix/clock_gettime.c: Likewise.
26074 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26075 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26076 * rt/clock_getres.c: Define __clock_getres as an alias.
26077 * sysdeps/posix/clock_getres.c: Likewise.
26078 * rt/clock_settime.c: Define __clock_settime as an alias.
26079 * sysdeps/unix/clock_settime.c: Likewise.
26080 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26081 * sysdeps/unix/clock_nanosleep.c: Likewise.
26082 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26083 * rt/clock-compat.c: New file.
26084 * rt/Makefile (librt-routines): Add clock-compat and move
26085 $(clock-routines) to ...
26086 (routines): ... here, new variable.
26087 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26088 Don't add get_clockfreq here.
26089 * rt/Versions (libc: GLIBC_2.17): New version set.
26090 Add clock_* symbols here.
26091 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26092 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26093 (GLIBC_2.17): Add clock_* symbols.
26094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26096 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26098 Likewise.
26099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26100 Likewise.
26101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26105 * NEWS: Mention the move.
26106
26107 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26108 Use __open, __read, __close rather than their public counterparts.
26109 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26110 (__get_clockfreq_via_cpuinfo): Likewise.
26111 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26112 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26113
26114 * config.h.in (HAVE_IFUNC): New #undef.
26115 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26116 was successful.
26117 * configure: Regenerated.
26118
0cae3f4b
MF
261192012-10-24 Mike Frysinger <vapier@gentoo.org>
26120
26121 * configure.in: Move READELF check to start of file.
26122 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26123 libc_cv_asm_gnu_indirect_function in the process.
26124 * configure: Regenerated.
26125
8175a253
MF
261262012-10-24 Mike Frysinger <vapier@gentoo.org>
26127
26128 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26129 send the output to /dev/null.
26130 (libc_cv_cc_with_libunwind): Likewise.
26131 (libc_cv_as_noexecstack): Likewise.
26132 * configure: Regenerate.
26133
0708a7d1
JM
261342012-10-24 Joseph Myers <joseph@codesourcery.com>
26135
10b40d85
JM
26136 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26137
0708a7d1
JM
26138 * posix/globtest.sh (TMPDIR): Do not set.
26139 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26140 (testout): Likewise.
26141
9fddec1a
AJ
261422012-10-24 Andreas Jaeger <aj@suse.de>
26143
3a8db22f
AJ
26144 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26145 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26146 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26147 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26148 posix_fadvise64, posix_fallocate64.
26149
9fddec1a
AJ
26150 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26151 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26152 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26153 Likewise.
26154 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26155 Likewise.
26156 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26157
26158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26159 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26160 <bits/fcntl-linux.h>.
26161 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26162
26163 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26164 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26165 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26166 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26167 [__WORDSIZE != 64]: Likewise.
26168
ebfd1bbd
JM
261692012-10-23 Joseph Myers <joseph@codesourcery.com>
26170
03ac099f
JM
26171 * Makeconfig (run-built-tests): New variable.
26172 * Rules [$(cross-compiling) = yes]: Change condition to
26173 [$(run-built-tests) = no].
26174 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26175 to [$(run-built-tests) = yes].
26176 * elf/Makefile [$(cross-compiling) = no]: Likewise
26177 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26178 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26179 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26180 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26181 * io/Makefile [$(cross-compiling) = no]: Likewise.
26182 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26183 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26184 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26185 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26186 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26187 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26188 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26189 * string/Makefile [$(cross-compiling) = no]: Likewise.
26190
ebfd1bbd
JM
26191 * posix/Makefile ($(objpfx)globtest.out): Pass
26192 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26193 $(rtld-installed-name).
26194 * posix/globtest.sh (elf_objpfx): Remove variable.
26195 (rtld_installed_name): Likewise.
26196 (library_path): Likewise.
26197 (run_program_prefix): New variable. Use for running globtest
26198 binary.
26199
166bca24
JB
262002012-10-23 Jim Blandy <jimb@codesourcery.com>
26201 Joseph Myers <joseph@codesourcery.com>
26202
26203 * Makeconfig (host-built-program-cmd): New variable.
26204 * elf/Makefile (tst-stackguard1-ARGS): Use
26205 $(host-built-program-cmd).
26206 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26207 (tst-spawn-ARGS): Likewise.
26208 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26209
88866099
JM
262102012-10-23 Joseph Myers <joseph@codesourcery.com>
26211 Jim Blandy <jimb@codesourcery.com>
26212
26213 * Makeconfig (run-via-rtld-prefix): New variable.
26214 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26215 (built-program-cmd): Likewise.
26216
b4b4c296
AJ
262172012-10-22 Andreas Jaeger <aj@suse.de>
26218
26219 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26220 __O_RSYNC if it exists, otherwise to O_SYNC.
26221
6fb54a22
JB
262222012-10-22 Jim Blandy <jimb@codesourcery.com>
26223 Joseph Myers <joseph@codesourcery.com>
26224
26225 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26226 /dev/null.
26227 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26228 from /dev/null
26229 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26230 /dev/null.
26231
481b90b9
AJ
262322012-10-22 Andreas Jaeger <aj@suse.de>
26233
2a0e2669
AJ
26234 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26235 Define always.
26236 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26237
76e38f9a
AJ
26238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26239 bits/fcntl-linux.h.
26240
7cd37b43
AJ
26241 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26242 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26243
481b90b9
AJ
26244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26245 to __O_LARGEFILE.
26246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26247 to __O_LARGEFILE.
26248
aba75984
JB
262492012-10-21 Jim Blandy <jimb@codesourcery.com>
26250 Joseph Myers <joseph@codesourcery.com>
26251
26252 * config.make.in (NM): New variable.
26253
88d4247f
AJ
262542012-10-21 Andreas Jaeger <aj@suse.de>
26255
26256 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26257 definitions and declarations that are provided by
26258 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26259
f2eed205
L
262602012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26261
26262 [BZ #14683]
26263 * elf/Makefile (tests-static): Add tst-leaks1-static.
26264 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26265 ($(objpfx)tst-leaks1-static): New rule.
26266 ($(objpfx)tst-leaks1-static-mem): Likewise.
26267 (tst-leaks1-static-ENV): New macro.
26268 * elf/dl-open.c (dl_open_worker): Check the main application
26269 only if SHARED is defined.
26270 * elf/tst-leaks1-static.c: New file.
26271
335e6931
AJ
262722012-10-20 Andreas Jaeger <aj@suse.de>
26273
26274 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26275 generic values for Linux.
26276 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26277 and declarations that are provided by <bits/fcntl-linux.h> and
26278 include <bits/fcntl-linux.h>.
26279 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26280 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26281
ac5c94d3
RM
262822012-10-20 Roland McGrath <roland@hack.frob.com>
26283
26284 * io/fcntl.h: Move include of <bits/types.h> to the top and
26285 include it unconditionally.
26286
de54b33a
L
262872012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26288
228cfb01
L
26289 * wcsmbs/Makefile (tests-ifunc): New variable.
26290 (tests): Add $(tests-ifunc).
26291 * wcsmbs/test-wcschr-ifunc.c: New file.
26292 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26293 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26294 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26295 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26296 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26297
69f07e5f
L
26298 * string/Makefile (tests-ifunc): New variable.
26299 (tests): Add $(tests-ifunc).
26300 * string/test-memccpy.c (TEST_NAME): New macro.
26301 * string/test-memchr.c (TEST_NAME): Likewise.
26302 * string/test-memcmp.c (TEST_NAME): Likewise.
26303 * string/test-memcpy.c (TEST_NAME): Likewise.
26304 * string/test-memmem.c (TEST_NAME): Likewise.
26305 * string/test-memmove.c (TEST_NAME): Likewise.
26306 * string/test-memset.c (TEST_NAME): Likewise.
26307 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26308 * string/test-stpcpy.c (TEST_NAME): Likewise.
26309 * string/test-stpncpy.c (TEST_NAME): Likewise.
26310 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26311 * string/test-strcasestr.c (TEST_NAME): Likewise.
26312 * string/test-strcat.c (TEST_NAME): Likewise.
26313 * string/test-strchr.c (TEST_NAME): Likewise.
26314 * string/test-strcmp.c(TEST_NAME): Likewise.
26315 * string/test-strcpy.c (TEST_NAME): Likewise.
26316 * string/test-strcspn.c (TEST_NAME): Likewise.
26317 * string/test-strlen.c (TEST_NAME): Likewise.
26318 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26319 * string/test-strncmp.c (TEST_NAME): Likewise.
26320 * string/test-strncpy.c (TEST_NAME): Likewise.
26321 * string/test-strnlen.c (TEST_NAME): Likewise.
26322 * string/test-strpbrk.c (TEST_NAME): Likewise.
26323 * string/test-strrchr.c (TEST_NAME): Likewise.
26324 * string/test-strspn.c (TEST_NAME): Likewise.
26325 * string/test-strstr.c (TEST_NAME): Likewise.
26326 * string/test-bcopy-ifunc.c: New file.
26327 * string/test-bzero-ifunc.c: Likewise.
26328 * string/test-memccpy-ifunc.c: Likewise.
26329 * string/test-memchr-ifunc.c: Likewise.
26330 * string/test-memcmp-ifunc.c: Likewise.
26331 * string/test-memcpy-ifunc.c: Likewise.
26332 * string/test-memmem-ifunc.c: Likewise.
26333 * string/test-memmove-ifunc.c: Likewise.
26334 * string/test-mempcpy-ifunc.c: Likewise.
26335 * string/test-memset-ifunc.c: Likewise.
26336 * string/test-rawmemchr-ifunc.c: Likewise.
26337 * string/test-stpcpy-ifunc.c: Likewise.
26338 * string/test-stpncpy-ifunc.c: Likewise.
26339 * string/test-strcasecmp-ifunc.c: Likewise.
26340 * string/test-strcasestr-ifunc.c: Likewise.
26341 * string/test-strcat-ifunc.c: Likewise.
26342 * string/test-strchr-ifunc.c: Likewise.
26343 * string/test-strchrnul-ifunc.c: Likewise.
26344 * string/test-strcmp-ifunc.c: Likewise.
26345 * string/test-strcpy-ifunc.c: Likewise.
26346 * string/test-strcspn-ifunc.c: Likewise.
26347 * string/test-strlen-ifunc.c: Likewise.
26348 * string/test-strncasecmp-ifunc.c: Likewise.
26349 * string/test-strncat-ifunc.c: Likewise.
26350 * string/test-strncmp-ifunc.c: Likewise.
26351 * string/test-strncpy-ifunc.c: Likewise.
26352 * string/test-strnlen-ifunc.c: Likewise.
26353 * string/test-strpbrk-ifunc.c: Likewise.
26354 * string/test-strrchr-ifunc.c: Likewise.
26355 * string/test-strspn-ifunc.c: Likewise.
26356 * string/test-strstr-ifunc.c: Likewise.
26357
de54b33a
L
26358 * debug/Makefile (tests-ifunc): New variable.
26359 (tests): Add $(tests-ifunc).
26360 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26361 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26362 * debug/test-stpcpy_chk-ifunc.c: New file.
26363 * debug/test-strcpy_chk-ifunc.c: Likewise.
26364
88481c16
SP
263652012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26366
26367 [BZ #13601]
26368 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26369 header is not read in.
26370
135948bd
JM
263712012-10-19 Joseph Myers <joseph@codesourcery.com>
26372
89f1c388
JM
26373 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26374 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26375 directly. Pass built executable to script as
26376 $(built-program-cmd).
26377 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26378 $testprogram without using LD_LIBRARY_PATH and $ldso.
26379
e40a0d21
JM
26380 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26381 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26382 $(rtld-installed-name).
26383 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26384 (rtld_installed_name): Likewise.
26385 (library_path): Likewise.
26386 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26387 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26388 $(run-program-prefix) to tst-tables.sh.
26389 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26390 it to run tst-table-from and tst-table-to.
26391 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26392 Pass it to tst-table.sh.
26393 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26394 $(run-program-prefix) to tst-gettext.sh.
26395 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26396 tst-translit.sh.
26397 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26398 tst-gettext2.sh.
26399 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26400 to run tst-gettext.
26401 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26402 to run tst-gettext2.
26403 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26404 to run tst-translit.
26405 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26406 $(run-program-prefix) to tst-mtrace.sh.
26407 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26408 to run tst-mtrace.
26409 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26410 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26411 $(rtld-installed-name).
26412 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26413 (rtld_installed_name): Likewise.
26414 (run_program_prefix): New variable. Use it to run wordexp-test.
26415
728e272a
JM
26416 * Makeconfig (ARCH): Remove all definitions.
26417 (machine): Likewise.
26418 [ARCH]: Remove conditional code.
26419 [!objdir]: Give error.
26420 [!objdir] (objpfx): Remove.
26421 [!objdir] (common-objpfx): Likewise.
26422 [!objdir] (common-objdir): Likewise.
26423 * configure.in (config_makefile): Remove. Hardcode Makefile in
26424 AC_CONFIG_FILES call.
26425 * configure: Regenerated.
26426
d528cdcf
JM
26427 [BZ #13888]
26428 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26429 or TMPDIR.
26430 (testout): Likewise.
26431
135948bd
JM
26432 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26433 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26434 $(rtld-installed-name).
26435 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26436 (rtld_installed_name): Likwise.
26437 (runit): Remove function.
26438 (run_getconf): New variable, Use it for running getconf binary.
26439
38c78296
L
264402012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26441
26442 [BZ #14716]
26443 * string/test-memmem.c (check_result): New function.
26444 (do_one_test): Use it.
26445 (check1): New function.
26446 (test_main): Use it.
26447
d077f65f
MT
264482012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26449
26450 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26451
ced52c71
JM
264522012-10-18 Joseph Myers <joseph@codesourcery.com>
26453
26454 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26455 (_G_LSEEK64): Likewise.
26456 (_G_MMAP64): Likewise.
26457 (_G_FSTAT64): Likewise.
26458 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26459 (_G_LSEEK64): Likewise.
26460 (_G_MMAP64): Likewise.
26461 (_G_FSTAT64): Likewise.
26462 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26463 unconditional. Call __mmap64 directly.
26464 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26465 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26466 __lseek64 directly.
26467 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26468 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26469 __mmap64 directly.
26470 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26471 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26472 __lseek64 directly.
26473 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26474 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26475 __lseek64 directly.
26476 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26477 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26478 __lseek64 directly.
26479 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26480 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26481 __fxstat64 directly.
26482 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26483 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26484 unconditional.
26485 (freopen64) [!_G_OPEN64]: Remove conditional code.
26486 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26487 unconditional.
26488 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26489 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26490 unconditional.
26491 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26492 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26493 unconditional.
26494 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26495 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26496 unconditional.
26497 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26498 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26499 unconditional.
26500 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26501 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26502 unconditional.
26503 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26504 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26505 unconditional.
26506 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26507
b741de23
SP
265082012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26509
26510 [BZ #12140]
26511 * manual/memory.texi (Malloc Tunable Parameters): Add note
26512 about free list pointers overwriting some perturb bytes.
26513 Wording suggested by Roland McGrath.
26514
f9b9d9c9
JM
265152012-10-17 Joseph Myers <joseph@codesourcery.com>
26516
26517 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26518 (lgamma_test): Likewise.
26519 (tgamma_test): Likewise.
26520
172a631a
FW
265212012-10-16 Florian Weimer <fweimer@redhat.com>
26522
26523 [BZ #14700]
26524 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26525 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26526
e9f37252
MK
265272012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26528
26529 * NEWS: Mention BZ #14716.
26530 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26531 when removing AVAILABLE1_USES_J macro.
26532
d394eb74
L
265332012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26534
26535 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26536 (__bswap_64): __uint64_t for unsigned 64-bit int.
26537
ca38dc17
AS
265382012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26539
26540 * include/string.h (memmem): Declare libc hidden alias.
26541 * string/memmem.c (memmem): Define libc hidden alias.
26542 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26543 __read, __close instead of open, read, close.
26544
9a387d1f
L
265452012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26546
ac49ecaf
L
26547 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26548 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26549 global and hidden.
26550 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26551 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26552 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26553 Likewise.
26554 (__rawmemchr_sse2): Likewise.
26555 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26556 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26557 (__strchr_sse2): Likewise.
26558 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26559 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26560 (__strcasecmp_sse2): Likewise.
26561 (__strncasecmp_sse2): Likewise.
26562 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26563 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26564 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26565 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26566 (__strrchr_sse2): Likewise.
26567 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26568 ifunc-impl-list.c.
26569 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26570 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26571 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26572 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26573 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26574 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26575 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26576 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26577 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26578 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26579 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26580 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26581 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26582 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26583 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26584 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26585 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26586 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26587 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26588 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26589 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26590 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26591 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26592 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26593 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26594 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26595 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26596 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26597 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26598 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26599
b090e8ea
L
26600 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26601 global and hidden.
26602 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26603 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26604 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26605 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26606 Likewise.
26607 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26608 Likewise.
26609 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26610 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26611 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26612 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26613 ifunc-impl-list.c.
26614 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26615 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26616 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26617 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26618 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26619 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26620 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26621 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26622 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26623 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26624 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26625 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26626 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26627 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26628 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26629 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26630 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26631 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26632 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26633 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26634 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26635 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26636 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26637 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26638 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26639 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26640 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26641 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26642 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26643 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26644 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26645 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26646 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26647 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26648 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26649 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26650 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26651 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26652 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26653 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26654 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26655
11dd4af6
L
26656 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26657 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26658 * include/ifunc-impl-list.h: New file.
26659 * misc/ifunc-impl-list.c: Likewise.
26660 * misc/Makefile (routines): Add ifunc-impl-list.
26661 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26662 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
26663 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26664 TEST_NAME]: New variables.
11dd4af6
L
26665 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26666 are defined.
26667 (test_init): Call __libc_ifunc_impl_list to initialize
26668 func_list if TEST_IFUNC and TEST_NAME are defined.
26669
9a387d1f
L
26670 * string/Makefile (strop-tests): Add bcopy and bzero.
26671 * string/test-bcopy.c: New file.
26672 * string/test-bzero.c: Likewise.
26673 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26674 defined.
26675 * string/test-memset.c: Support bzero test if TEST_BZERO is
26676 defined.
26677 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26678 __libc_memmove.
26679 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26680 __libc_memset.
26681 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26682 of memset.
26683
472371b9
JM
266842012-10-10 Joseph Myers <joseph@codesourcery.com>
26685
1e4a9536
JM
26686 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26687 * configure: Regenerated.
26688
d173d12e
JM
26689 * Makeconfig (+link-static-before-libc): Don't include
26690 $(link-static-libc).
26691
472371b9
JM
26692 * libio/libio.h (_IO_pos_t): Remove.
26693
89a3ad0b
AO
266942012-10-10 Alexandre Oliva <aoliva@redhat.com>
26695
26696 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26697 McGrath.
26698
e7451425
AO
266992012-10-10 Alexandre Oliva <aoliva@redhat.com>
26700
26701 * crypt/crypt-entry.c: Include fips-private.h.
26702 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26703 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26704 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26705 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26706
4ba74a35
AO
267072012-10-10 Alexandre Oliva <aoliva@redhat.com>
26708
26709 * crypt/crypt-private.h: Include stdbool.h.
26710 (_ufc_setup_salt_r): Return bool.
26711 * crypt/crypt-entry.c: Include errno.h.
26712 (__crypt_r): Return NULL with EINVAL for bad salt.
26713 * crypt/crypt_util.c (bad_for_salt): New.
26714 (_ufc_setup_salt_r): Check that salt is long enough and within
26715 the specified alphabet.
26716 * crypt/badsalttest.c: New file.
26717 * crypt/Makefile (tests): Add it.
26718 ($(objpfx)badsalttest): New.
26719
f96f1242
MK
267202012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26721
26722 * NEWS: Add entry for BZ #14602.
26723
0e8e0c1c
JM
267242012-10-09 Joseph Myers <joseph@codesourcery.com>
26725
26726 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26727 type-generic.
26728 * math/libm-test.inc: Update comment listing what functions and
26729 macros are tested.
26730 (isgreater_test): New function.
26731 (isgreaterequal_test): Likewise.
26732 (isless_test): Likewise.
26733 (islessequal_test): Likewise.
26734 (islessgreater_test): Likewise.
26735 (isunordered_test): Likewise.
26736 (main): Call the new functions.
26737
273edc5e
RM
267382012-10-09 Roland McGrath <roland@hack.frob.com>
26739
b8493de0
RM
26740 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26741 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26742 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26743 * sysdeps/i386/configure: Regenerated.
26744 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26745 * sysdeps/mach/configure: Regenerated.
26746 * sysdeps/mach/hurd/configure: Regenerated.
26747 * sysdeps/powerpc/configure: Regenerated.
26748 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26749 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26750 * sysdeps/s390/s390-32/configure: Regenerated.
26751 * sysdeps/s390/s390-64/configure: Regenerated.
26752 * sysdeps/sh/configure: Regenerated.
26753 * sysdeps/sparc/configure: Regenerated.
26754 * sysdeps/unix/sysv/linux/configure: Regenerated.
26755 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26756 * sysdeps/x86_64/configure: Regenerated.
26757
273edc5e
RM
26758 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26759 defined. Don't check if MAP is NULL.
26760
c8450f70
JM
267612012-10-09 Joseph Myers <joseph@codesourcery.com>
26762
26763 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26764 (_G_stat64): Likewise.
26765 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26766 (_G_stat64): Likewise.
26767 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26768 instead of struct _G_stat64.
26769 * libio/fileops.c (mmap_remap_check): Likewise.
26770 (decide_maybe_mmap): Likewise.
26771 (_IO_new_file_seekoff): Likewise.
26772 (_IO_file_stat): Likewise.
26773 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26774 _G_off64_t.
26775 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26776 instead of struct _G_stat64.
26777 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26778
57e605ba
MK
267792012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26780
26781 [BZ #14602]
26782 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26783 Replace with ...
26784 (CHECK_EOL): New macro.
26785 (two_way_short_needle): Check beginning of haystack for EOL. Use
26786 CHECK_EOL.
26787 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26788 Replace with CHECK_EOL.
26789 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26790 Replace with CHECK_EOL.
26791
ef1bb361
JM
267922012-10-08 Joseph Myers <joseph@codesourcery.com>
26793
26794 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26795 type-generic.
26796 * math/libm-test.inc: Update comment listing what functions and
26797 macros are tested.
26798 (finite_test): New function.
26799 (isinf_test): Likewise.
26800 (isnan_test): Likewise.
26801 (fpclassify_test): Test subnormal input.
26802 (isfinite_test): Likewise.
26803 (isnormal_test): Likewise.
26804 (main): Call the new functions.
26805
55f11534
JN
268062012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26807
26808 [BZ #14660]
26809 * Makerules (%.dynsym): Force C locale when running
26810 $(OBJDUMP) --dynamic-syms.
26811
1ab29350
AS
268122012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26813
26814 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26815 <stdint.h>.
26816
f1ecb7ef
DM
268172012-10-06 David S. Miller <davem@davemloft.net>
26818
26819 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26820 upper 32-bits of the length value in %o2 since we use branch-on-register
26821 tests which consider the entire 64-bit register.
26822
5d41d91a
L
268232012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26824
26825 * string/test-strstr.c (check2): Add a test for page boundary.
26826
3baddb72
DM
268272012-10-05 David S. Miller <davem@davemloft.net>
26828
26829 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26830 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26831 file.
26832 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26833 sysdep_routines.
26834 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26835 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26836 and bzero when HWCAP_SPARC_CRYPTO is present.
26837
9cee5585
L
268382012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26839
d7e0dab9
L
26840 [BZ #14602]
26841 * string/test-strstr.c (check2): New function.
26842 (test_main): Call check2.
26843
03759f47
L
26844 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26845 and bug-strchr1.
26846 * string/bug-strcasestr1.c (do_test): Moved to ...
26847 * string/test-strcasestr.c (check1): Here. New function.
26848 (do_one_test): Break out result checking code into ...
26849 (check_result): This. New function.
26850 (do_one_test): Call check_result.
26851 (test_main): Call check1.
26852 * string/bug-strchr1.c (do_test): Moved to ...
26853 * string/test-strchr.c (check1): Here. New function.
26854 (do_one_test): Break out result checking code into ...
26855 (check_result): This. New function.
26856 (do_one_test): Call check_result.
26857 (test_main): Call check1.
26858 * string/bug-strstr1.c (main): Moved to ...
046f153e 26859 * string/test-strstr.c (check1): Here. New function.
03759f47
L
26860 (do_one_test): Break out result checking code into ...
26861 (check_result): This. New function.
26862 (do_one_test): Call check_result.
26863 (test_main): Call check1.
26864 * string/bug-strcasestr1.c: Removed.
26865 * string/bug-strchr1.c: Likewise.
26866 * string/bug-strstr1.c: Likewise.
26867
53cea63e
L
26868 * elf/Makefile (dl-routines): Add hwcaps.
26869 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26870 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26871 (_dl_important_hwcaps): Moved to ...
26872 * elf/dl-hwcaps.c: Here. New file.
26873 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26874
9cee5585 26875 [BZ #14557]
bb859b06
L
26876 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26877 if IS_IN_rtld isn't defined.
26878
9cee5585
L
26879 * elf/dl-support.c (_dl_sysinfo_map): New.
26880 Include "get-dynamic-info.h" and "setup-vdso.h".
26881 (_dl_non_dynamic_init): Call setup_vdso.
26882 * elf/dynamic-link.h: Don't include <assert.h>.
26883 (elf_get_dynamic_info): Moved to ...
26884 * elf/get-dynamic-info.h: Here. New file.
26885 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26886 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26887 * elf/setup-vdso.h: Here. New file.
26888 * elf/rtld.c: Include "setup-vdso.h".
26889 (dl_main): Call setup_vdso.
26890
23c31b76
JM
268912012-10-05 Joseph Myers <joseph@codesourcery.com>
26892
28234b07
JM
26893 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26894 creal in comment listing functions tested. List finite, isinf,
26895 isnan, isless, islessequal, isgreater, isgreaterequal,
26896 islessgreater, isunordered, lgamma_r and pow10 as functions and
26897 macros not tested. Mention which functions not tested are aliases
26898 for other functions. Fix typo. Note that signs of NaNs are not
26899 tested.
26900
23c31b76
JM
26901 * scripts/config.guess: Update from config.git.
26902 * scripts/config.sub: Likewise.
26903
9043e228
RM
269042012-10-04 Roland McGrath <roland@hack.frob.com>
26905
26906 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26907 * misc/madvise.c (madvise): Renamed to __madvise.
26908 Make madvise a weak alias.
26909 * include/sys/mman.h: Declare __madvise.
26910 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26911 * sysdeps/unix/syscalls.list
26912 (madvise): Make __madvise the strong name, and madvise a weak alias.
26913 * sysdeps/unix/sysv/linux/syscalls.list
26914 (madvise, mmap): Remove redundant entries.
26915 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26916 * malloc/malloc.c (mtrim): Likewise.
26917 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26918
f57f8055
RM
269192012-10-03 Roland McGrath <roland@hack.frob.com>
26920
26921 * sysdeps/mach/hurd/dl-cache.c: File removed.
26922 * config.h.in (USE_LDCONFIG): New #undef.
26923 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26924 * configure: Regenerated.
26925 * elf/Makefile (dl-routines): Add dl-cache only under
26926 [$(use-ldconfig) = yes].
26927 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26928 cache on [USE_LDCONFIG].
26929 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26930 [USE_LDCONFIG].
26931 * elf/rtld.c (dl_main): Likewise.
26932
5bb0c10a
PT
269332012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26934
26935 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26936 _SC_LEVEL4_CACHE_LINESIZE.
26937
010188c6
RM
269382012-10-03 Roland McGrath <roland@hack.frob.com>
26939
26940 * sysdeps/unix/bsd/confstr.h: File removed.
26941
b6c5ec07
AO
269422012-10-02 Alexandre Oliva <aoliva@redhat.com>
26943
26944 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26945 sys/sdt-config.h.
26946
408223d4
RM
269472012-10-02 Roland McGrath <roland@hack.frob.com>
26948
26949 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26950 Make 'mapoff' field ElfW(Off) rather than off_t.
26951
bb9510dc
DL
269522012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26953
fc997c6e
DL
26954 * nscd/Makefile: Remove nscd-cflags and all its users.
26955 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26956 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26957
bb9510dc
DL
26958 [BZ #10631]
26959 * malloc.c (malloc_printerr): Clarify error message.
26960
05699367
L
269612012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26962
26963 [BZ #14648]
26964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26965 Set bit_FMA_Usable if FMA is supported.
26966 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26967 macro.
26968 (bit_FMA4_Usable): Updated.
26969 (index_FMA_Usable): New macro.
26970 (CPUID_FMA): Likewise
26971 (HAS_FMA): Defined with bit_FMA_Usable.
26972
51367701
RM
269732012-10-01 Roland McGrath <roland@hack.frob.com>
26974
26975 * bits/types.h (__swblk_t): Type removed.
26976 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26977 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26978 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26979 (__SWBLK_T_TYPE): Likewise.
26980 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26981 (__SWBLK_T_TYPE): Likewise.
26982 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26983 (__SWBLK_T_TYPE): Likewise.
26984 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26985 (__SWBLK_T_TYPE): Likewise.
26986
4d57bf63 269872012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 26988 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
26989
26990 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26991 (xdr_mapname): Use YPMAXMAP as maxsize.
26992 (xdr_peername): Use YPMAXPEER as maxsize.
26993 (xdr_keydat): Use YPAXRECORD as maxsize.
26994 (xdr_valdat): Use YPMAXRECORD as maxsize.
26995
93c65d43
RM
269962012-10-01 Roland McGrath <roland@hack.frob.com>
26997
497a03d6
RM
26998 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26999
93c65d43
RM
27000 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27001 * csu/init-first.c: ... here.
27002 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27003 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27004 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27005 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27006 * sysdeps/i386/init-first.c: File removed.
27007 * sysdeps/sh/init-first.c: File removed.
27008
bec749fd
JM
270092012-10-01 Joseph Myers <joseph@codesourcery.com>
27010
27011 [BZ #14645]
27012 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27013 if x * y might underflow to zero and z is zero.
27014 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27015 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27016 * math/libm-test.inc (min_subnorm_value): New variable.
27017 (fma_test): Add more tests.
27018 (fma_test_towardzero): Likewise.
27019 (fma_test_downward): Likewise
27020 (fma_test_upward): Likewise.
27021 (initialize): Set min_subnorm_value.
27022
8ec5b013
JM
270232012-09-29 Joseph Myers <joseph@codesourcery.com>
27024
27025 [BZ #14638]
27026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27027 0 + 0.
27028 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27029 mode for addition resulting in exact zero.
27030 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27031 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27032 exact 0 + 0.
27033 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27034 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27035 * math/libm-test.inc (fma_test): Add more tests.
27036 (fma_test_towardzero): New function.
27037 (fma_test_downward): Likewise.
27038 (fma_test_upward): Likewise.
27039 (main): Call the new functions.
27040
b1fa802e
DM
270412012-09-28 David S. Miller <davem@davemloft.net>
27042
27043 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27044
d3b9fd9e
RM
270452012-09-28 Roland McGrath <roland@hack.frob.com>
27046
ea4d37b3
RM
27047 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27048 instead of SIGALRM.
27049
ac51c949
RM
27050 * sysdeps/gnu/_G_config.h: Moved to ...
27051 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27052 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27053 * sysdeps/generic/_G_config.h: ... here.
27054
28c195f7
RM
27055 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27056
848917f9
RM
27057 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27058
6bacf05b
RM
27059 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27060 Conditionalize target on [libnss_test1.so-version].
27061
91363dbb
RM
27062 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27063
cc87f7d8
RM
27064 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27065 (elfobjdir): Move out of conditionals.
27066
b1c608fe
RM
27067 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27068 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27069 (__nss_lookup_function): Conditionalize label remove_from_tree on
27070 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 27071
1d9a6d96
DM
270722012-09-28 David S. Miller <davem@davemloft.net>
27073
27074 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27075 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27076 file.
27077 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27078 sysdep_routines.
27079 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27081 when HWCAP_SPARC_CRYPTO is present.
27082
72581615
PT
270832012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27084
27085 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27086
715a900c
JL
270872012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27088
27089 [BZ #6530]
27090 * stdio-common/vfprintf.c (process_string_arg): Revert
27091 2000-07-22 change.
27092
270932011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27094
27095 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27096 for testcase.
27097 * stdio-common/tst-sprintf.c: Include <locale.h>
27098 (main): Test sprintf's handling of incomplete multibyte
27099 characters.
27100
9bac1d86
L
271012012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27102
27103 * elf/dl-runtime.c (VERSYMIDX): Removed.
27104 * elf/dl-version.c (VERSYMIDX): Likewise.
27105 * elf/do-rel.h (VERSYMIDX): Likewise.
27106 (VALIDX): Likewise.
27107 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27108 * elf/rtld.c (VALIDX): Likewise.
27109 (ADDRIDX): Likewise.
9bac1d86
L
27110 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27111 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27112 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
27113 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27114 (VALIDX): Likewise.
27115 (ADDRIDX): Likewise.
9bac1d86 27116
b31606c0
PT
271172012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27118
27119 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27120
11541177
JL
271212012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27122
27123 [BZ #11438]
27124 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27125 to global scope.
27126 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27127 addresses are in the same scope as 192.0.2/24.
27128 * posix/gai.conf: Document new scope table defaults.
27129
adb26fae
SP
271302012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27131
27132 [BZ #5298]
27133 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27134 for ftell. Compute offsets from write pointers instead.
27135 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27136
4573c6b0
SP
271372012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27138
27139 [BZ #14543]
27140 * libio/Makefile (tests): New test case tst-fseek.
27141 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27142 combination works in wide mode.
27143 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27144 state when the external buffer state changes.
27145
aa9bbfe6
DM
271462012-09-27 David S. Miller <davem@davemloft.net>
27147
27148 [BZ #14376]
27149 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27150 pass reloc->r_addend in as the 'high' argument to
27151 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27152
784421e7
DM
27153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27154
c39bc8b8
PT
271552012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27156
27157 * rt/tst-aio2.c: Include <pthread.h>.
27158 * rt/tst-aio3.c: Likewise.
27159
1ccc2399
SE
271602012-09-27 Steve Ellcey <sellcey@mips.com>
27161
27162 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27163
31ed4153
L
271642012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27165
25f5f885
L
27166 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27167 contents on [SHARED].
31ed4153 27168
b7bfe116
MP
271692012-09-26 Marek Polacek <polacek@redhat.com>
27170
27171 [BZ #14530]
27172 [BZ #13741]
27173 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27174 for C++ and GCC <4.3 as well as for non GCC compilers.
27175
43c4edba
MT
271762012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27177
27178 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27179
6a1bf82f
RM
271802012-09-25 Roland McGrath <roland@hack.frob.com>
27181
27182 * Makefile.in (all, install): Declare with .PHONY.
27183 Reported by Michael Hope <michael.hope@linaro.org>.
27184
8ad11b9a
TMQMF
271852012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27186
27187 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27188 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27189 system header.
27190 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27191 Likewise.
27192 (sydep_routines): Add the new and the internal functions.
27193 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27194 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27196 (GLIBC_2.17): Add the new function.
27197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27198 (GLIBC_2.17): Likewise.
27199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27200 (GLIBC_2.17): Likewise.
27201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27202 (GLIBC_2.17): Likewise.
27203 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27204
7e2fca8d
AM
272052012-09-25 Alan Modra <amodra@gmail.com>
27206
27207 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27208 Add release barrier before setting once_control to say
27209 initialisation is done. Add hints on lwarx. Use macro in
27210 place of isync.
27211 (clear_once_control): Add release barrier.
27212
b87c4b24
JM
272132012-09-25 Joseph Myers <joseph@codesourcery.com>
27214
d032e0d2
JM
27215 [BZ #13629]
27216 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27217 specially.
27218 * math/s_clog10.c (__clog10): Likewise.
27219 * math/s_clog10f.c (__clog10f): Likewise.
27220 * math/s_clog10l.c (__clog10l): Likewise.
27221 * math/s_clogf.c (__clogf): Likewise.
27222 * math/s_clogl.c (__clogl): Likewise.
27223 * math/Makefile (libm-calls): Add x2y2m1.
27224 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27225 (__x2y2m1): Likewise.
27226 (__x2y2m1l): Likewise.
27227 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27228 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27229 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27230 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27231 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27232 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27233 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27234 * sysdeps/i386/fpu/libm-test-ulps: Update.
27235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27236
b87c4b24
JM
27237 [BZ #14621]
27238 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27239 int as type of variable DEPTH.
27240 (glob): Use size_t instead of int as type of variables NEWCOUNT
27241 and OLD_PATHC.
27242
6d3bf199
LD
272432012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27244
22bf5c17
LD
27245 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27246 Add s_sincosf-sse2.
27247 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27248 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27249 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27250 macros for using routine as __sincosf_ia32.
27251 Use macro for function declaration and weak_alias.
27252 * sysdeps/i386/fpu/libm-test-ulps: Update.
27253
27254 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27256
27257 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
27258 subnormal argument.
27259 * math/s_cexpf.c (__cexpf): Likewise.
27260 * math/s_csinf.c (__csinf): Likewise.
27261 * math/s_csinhf.c (__csinhf): Likewise.
27262 * math/s_ctanf.c (__ctanf): Likewise.
27263 * math/s_ctanhf.c (__ctanhf): Likewise.
27264 * math/s_ccosh.c (__ccoshf): Likewise.
27265 * math/s_cexp.c (__cexpl): Likewise.
27266 * math/s_csin.c (__csin): Likewise.
27267 * math/s_csinh.c (__csinh): Likewise.
27268 * math/s_ctan.c (__ctan): Likewise.
27269 * math/s_ctanh.c (ctanh): Likewise.
27270 * math/s_ccoshl.c (__ccoshl): Likewise.
27271 * math/s_cexpl.c (__cexpl): Likewise.
27272 * math/s_csinl.c (__csinl): Likewise.
27273 * math/s_csinhl.c (__csinhl): Likewise.
27274 * math/s_ctanl.c (__ctanl): Likewise.
27275 * math/s_ctanhl.c (__ctanhl): Likewise.
27276
203e5603
JM
272772012-09-25 Joseph Myers <joseph@codesourcery.com>
27278
27279 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27280 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27281 (_IO_off_t): Define to __off_t, not _G_off_t.
27282 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27283 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27284 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27285 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27286 type of __dummy and __dummy2 fields.
27287 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27288 (_G_ssize_t): Likewise.
27289 (_G_off_t): Likewise.
27290 (_G_pid_t): Likewise.
27291 (_G_uid_t): Likewise.
27292 (_G_wchar_t): Likewise.
27293 (_G_wint_t): Likewise.
27294 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27295 (_G_ssize_t): Likewise.
27296 (_G_off_t): Likewise.
27297 (_G_pid_t): Likewise.
27298 (_G_uid_t): Likewise.
27299 (_G_wchar_t): Likewise.
27300 (_G_wint_t): Likewise.
27301 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27302 (_G_ssize_t): Likewise.
27303 (_G_off_t): Likewise.
27304 (_G_pid_t): Likewise.
27305 (_G_uid_t): Likewise.
27306 (_G_wchar_t): Likewise.
27307 (_G_wint_t): Likewise.
27308
9fab36eb
SP
273092012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27310
27311 * malloc/arena.c: Include malloc-sysdep.h.
27312 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27313 is sufficient to shrink the heap or an unmap is needed.
27314 * sysdeps/generic/malloc-sysdep.h: New file. Define
27315 new function check_may_shrink_heap.
27316 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27317 new function check_may_shrink_heap.
27318
2b4f00d1
SP
273192012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27320
27321 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27322 comments.
27323
9a9028b1
DL
273242012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27325
57c69bef
DL
27326 * catgets/test-gencat.sh: Add "set -e".
27327 * elf/tst-pathopt.sh: Likewise.
27328 * grp/tst_fgetgrent.sh: Likewise.
27329 * iconvdata/run-iconv-test.sh: Likewise.
27330 * intl/tst-gettext.sh: Likewise.
27331 * intl/tst-gettext2.sh: Likewise.
27332 * intl/tst-gettext4.sh: Likewise.
27333 * intl/tst-gettext6.sh: Likewise.
27334 * intl/tst-translit.sh: Likewise.
27335 * io/ftwtest-sh: Likewise.
27336 * libio/test-freopen.sh: Likewise.
27337 * malloc/tst-mtrace.sh: Likewise.
27338 * posix/globtest.sh: Likewise.
27339 * posix/tst-getconf.sh: Likewise.
27340 * posix/wordexp-tst.sh: Likewise.
27341 * stdio-common/tst-printf.sh: Likewise.
27342 * stdio-common/tst-unbputc.sh: Likewise.
27343 * stdlib/tst-fmtmsg.sh: Likewise.
27344 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27345 * catgets/Makefile: Do not specify -e option when running
27346 testsuite shell scripts.
27347 * elf/Makefile: Likewise.
27348 * grp/Makefile: Likewise.
27349 * iconvdata/Makefile: Likewise.
27350 * intl/Makefile: Likewise.
27351 * io/Makefile: Likewise.
27352 * libio/Makefile: Likewise.
27353 * malloc/Makefile: Likewise.
27354 * posix/Makefile: Likewise.
27355 * stdio-common/Makefile: Likewise.
27356 * stdlib/Makefile: Likewise.
27357 * sysdeps/x86_64/Makefile: Likewise.
27358
9a9028b1
DL
27359 * io/ftwtest-sh: Add copyright header.
27360 * posix/globtest.sh: Likewise.
27361 * posix/tst-getconf.sh: Likewise.
27362 * posix/wordexp-tst.sh: Likewise.
27363 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27364
ced6f16e
L
273652012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27366
94b32c39
L
27367 [BZ #13679]
27368 * Makeconfig (+link): Defined as $(+link-static) if
27369 $(build-shared) isn't yes.
27370 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27371 isn't yes.
27372 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27373
189e935b
L
27374 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27375
ced6f16e
L
27376 [BZ #14562]
27377 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27378 new chunk size with MALLOC_ALIGN_MASK.
27379
a9f8e53a
JM
273802012-09-24 Joseph Myers <joseph@codesourcery.com>
27381
27382 [BZ #5044]
27383 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27384 <rounding-mode.h>.
27385 (__printf_fphex): Determine rounding using get_rounding_mode and
27386 round_away.
27387 * stdio-common/tst-printf-round.c (struct hex_test): New
27388 structure.
27389 (hex_tests): New variable.
27390 (test_hex_in_one_mode): New function.
27391 (do_test): Also run tests for hex float output.
27392
43153109
JM
273932012-09-21 Joseph Myers <joseph@codesourcery.com>
27394
27395 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27396 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27397 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27398 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27399 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27400 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27401 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27402 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27403
8a26625d
JM
274042012-09-20 Joseph Myers <joseph@codesourcery.com>
27405
27406 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27407 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27408 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27409 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27410
f3fd569c
DL
274112012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27412
27413 [BZ #14579]
27414 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27415 mode only.
27416 * elf/tst-rtld-load-self.sh: New test.
27417 * elf/Makefile: Run it.
27418
63bbedd4
JM
274192012-09-18 Joseph Myers <joseph@codesourcery.com>
27420
27421 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27422 (tst-writev-ENV): Remove.
27423 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27424
626f8b6a
CM
274252012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27426
27427 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27428
b7aaa4d6
JM
274292012-09-17 Joseph Myers <joseph@codesourcery.com>
27430
27431 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27432 unconditional.
27433 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27434 Likewise.
27435 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27436 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27437 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27438 Likewise.
27439
65513990
L
274402012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27441
27442 [BZ #14587]
27443 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27444 * config.make.in (have-cpp-asm-debuginfo): Removed.
27445 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27446 * configure: Regenerated.
27447
784761be
JM
274482012-09-14 Joseph Myers <joseph@codesourcery.com>
27449
27450 [BZ #5044]
27451 * stdio-common/printf_fp.c: Include <stdbool.h> and
27452 <rounding-mode.h>.
27453 (___printf_fp): Determine rounding using get_rounding_mode and
27454 round_away.
27455 * stdio-common/tst-printf-round.c: New file.
27456 * stdio-common/Makefile (tests): Add tst-printf-round.
27457 (link-libm): New variable.
27458 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27459
9503345f
L
274602012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27461
27462 [BZ #14576]
27463 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27464 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27465 Likewise.
27466 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27467 Likewise.
27468
ad35fc00
JM
274692012-09-13 Joseph Myers <joseph@codesourcery.com>
27470
27471 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27472 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27473 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27474 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27475
6c9b0f68
JM
274762012-09-12 Joseph Myers <joseph@codesourcery.com>
27477
27478 [BZ #14518]
27479 * include/rounding-mode.h: New file.
27480 * sysdeps/generic/get-rounding-mode.h: Likewise.
27481 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27482 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27483 (MAX_VALUE): New macro.
27484 (MIN_VALUE): Likewise.
27485 (overflow_value): New function.
27486 (underflow_value): Likewise.
27487 (round_and_return): Use overflow_value and underflow_value to
27488 determine return values in overflow and underflow cases. Use
27489 round_away to determine rounding depending on rounding mode.
27490 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27491 determine return values in overflow and underflow cases.
27492 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27493 (struct test_results): New structure.
27494 (struct test): Use struct test_results to store expected results
27495 for all rounding modes.
27496 (TEST): Include expected results for all rounding modes.
27497 (test_in_one_mode): New function.
27498 (do_test): Use test_in_one_mode to compute and check results.
27499 Check results for all rounding modes.
27500 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27501 $(link-libm).
27502
19fcedd5
AM
275032012-12-09 Allan McRae <allan@archlinux.org>
27504
1e9d84cd 27505 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 27506
8bbfd2f1
JM
275072012-09-11 Joseph Myers <joseph@codesourcery.com>
27508
27509 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27510 (_G_int32_t): Likewise.
27511 (_G_uint16_t): Likewise.
27512 (_G_uint32_t): Likewise.
27513 (_G_HAVE_BOOL): Likewise.
27514 (_G_HAVE_ATEXIT): Likewise.
27515 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27516 (_G_HAVE_IO_FILE_OPEN): Likewise.
27517 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27518 (_G_int32_t): Likewise.
27519 (_G_uint16_t): Likewise.
27520 (_G_uint32_t): Likewise.
27521 (_G_HAVE_BOOL): Likewise.
27522 (_G_HAVE_ATEXIT): Likewise.
27523 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27524 (_G_HAVE_IO_FILE_OPEN): Likewise.
27525 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27526 (_G_int32_t): Likewise.
27527 (_G_uint16_t): Likewise.
27528 (_G_uint32_t): Likewise.
27529 (_G_HAVE_BOOL): Likewise.
27530 (_G_HAVE_ATEXIT): Likewise.
27531 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27532 (_G_HAVE_IO_FILE_OPEN): Likewise.
27533
b1dc5912
L
275342012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27535
27536 * csu/libc-tls.c: Update copyright years.
27537
0e886ef9
JM
275382012-09-10 Joseph Myers <joseph@codesourcery.com>
27539
28361c5e
JM
27540 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27541 [!_G_USING_THUNKS]: Remove conditional code.
27542 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27543 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27544
0e886ef9
JM
27545 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27546 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27547 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27548 (_G_VTABLE_LABEL_PREFIX): Likewise.
27549 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27550 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27551 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27552 (_G_VTABLE_LABEL_PREFIX): Likewise.
27553 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27554 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27555 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27556 (_G_VTABLE_LABEL_PREFIX): Likewise.
27557 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27558
bcba7aa2
L
275592012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27560
27561 * libio/Makefile: Include ../Makeconfig before tests.
27562 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27563 only if $(build-shared) is yes.
27564
06585ee8
L
27565 * iconv/gconv_db.c: Update copyright years.
27566
80ccd52c
LD
275672012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27568
27569 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27570 unwind info if defined PIC. Fix special cases description.
27571 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27572
27573 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27574 DP_HI_MASK entry.
27575 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27576
691bc9c1
L
275772012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27578
3d9b46b3
L
27579 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27580
de2139a9
L
27581 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27582 is NULL.
27583
5ca78dd0
L
27584 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27585 (LDLIBS-tst-chk4): This.
27586 (LDFLAGS-tst-chk5): Renamed to ...
27587 (LDLIBS-tst-chk5): This.
27588 (LDFLAGS-tst-chk6): Renamed to ...
27589 (LDLIBS-tst-chk6): This.
27590 (LDFLAGS-tst-lfschk4): Renamed to ...
27591 (LDLIBS-tst-lfschk4): This.
27592 (LDFLAGS-tst-lfschk5): Renamed to ...
27593 (LDLIBS-tst-lfschk5): This.
27594 (LDFLAGS-tst-lfschk6): Renamed to ...
27595 (LDLIBS-tst-lfschk6): This.
27596
691bc9c1
L
27597 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27598 on $(common-objpfx)soversions.mk.
27599
65cafb1c
JM
276002012-09-07 Joseph Myers <joseph@codesourcery.com>
27601
27602 [BZ #10014]
27603 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27604 example host name.
27605
c78ab094
SP
276062012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27607
27608 * malloc/arena.c (arena_get_retry): New function that gets
27609 another arena for the caller to try its request on.
27610 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27611 current arena cannot fulfill the request.
27612 (__libc_memalign): Likewise.
27613 (__libc_memalign): Likewise.
27614 (__libc_pvalloc): Likewise.
27615 (__libc_calloc): Likewise.
27616
01f49f59
JT
276172012-09-05 John Tobey <john.tobey@gmail.com>
27618
27619 [BZ #13542]
27620 * manual/arith.texi (Operations on Complex): Fix description
27621 of carg branch cut.
27622
4c23fed5
JM
276232012-09-06 Joseph Myers <joseph@codesourcery.com>
27624
1d3c8572
JM
27625 [BZ #10014]
27626 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27627 host name.
27628
4c23fed5
JM
27629 [BZ #10038]
27630 * manual/memory.texi (Memory): Make order of menu items match
27631 order of sections.
27632
04570aaa
L
276332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27634
27635 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27636 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27637 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27638
b80af2f4
L
276392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27640
27641 * csu/libc-tls.c (static_dtv): Renamed to ...
27642 (_dl_static_dtv): This. Make it global.
27643 (_dl_initial_dtv): Removed.
27644 (__libc_setup_tls): Updated.
27645 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27646 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27647 DL_INITIAL_DTV.
27648
2abe9f15
PM
276492012-09-06 Petr Machata <pmachata@redhat.com>
27650
27651 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27652 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27653 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27654 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27655
0948c3af
L
276562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27657
27658 [BZ #14545]
27659 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27660 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27661 freeing dtv[-1].
27662
a5055ad1
L
276632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27664
27665 [BZ #14544]
27666 * Makeconfig (link-static-before-libc): Replace $(+prector)
27667 with $(+prectorT).
27668 (link-static-after-libc): Replace $(+postctor) with
27669 $(+postctorT).
27670 (link-bounded): Replace $(+prector)/$(+postctor) with
27671 $(+prectorT)/$(+postctorT).
27672 (+prectorT): New macro.
27673 (+postctorT): Likewise.
27674
ed8c2ecd
JM
276752012-09-06 Joseph Myers <joseph@codesourcery.com>
27676
27677 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27678 (round_str): Handle values above the maximum for IBM long double
27679 as inexact.
27680 * stdlib/tst-strtod-round.c (tests): Regenerated.
27681
14c996c8
AK
276822012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27683
27684 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27685 assembler flag.
27686 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27687 zarch_nohighgprs around the zarch optimized routines.
27688 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27689 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27690 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27691 for zarch.
27692
430d6ce6
DM
276932012-09-05 David S. Miller <davem@davemloft.net>
27694
27695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27696
57f41c40
AS
27697 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27698 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
27699 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27700 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27701 entries.
27702
24d4e01b
AO
277032012-09-05 Alexandre Oliva <aoliva@redhat.com>
27704
27705 * malloc/arena.c: Fold copyright years.
27706 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27707
61d58174
AO
277082012-09-05 Alexandre Oliva <aoliva@redhat.com>
27709
27710 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27711
20196a5e
AO
277122012-09-05 Alexandre Oliva <aoliva@redhat.com>
27713
27714 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27715
5c447383
AO
277162012-09-05 Alexandre Oliva <aoliva@redhat.com>
27717
27718 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27719 change internal state upon failure.
27720
fad64255
AO
277212012-09-05 Alexandre Oliva <aoliva@redhat.com>
27722
27723 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27724 * malloc/memusage.c (mmap): Likewise.
27725 (mmap64, mremap): Likewise. Adjust name in comment.
27726
1ffb8c90
SP
277272012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27728
27729 * libio/fileops.c: Fix typos in comments.
27730 * libio/oldfileops.c: Likewise.
27731 * libio/wfileops.c: Likewise.
27732
6ef9cc37
SP
277332012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27734
27735 [BZ #1349]
27736 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27737 (tst-malloc-usable-ENV): Set environment for test case.
27738 * malloc/hooks.c (malloc_check_get_size): New function to get
27739 requested size.
27740 * malloc/malloc.c (musable): Use malloc_check_get_size.
27741 * malloc/tst-malloc-usable.c: New test case.
27742
4d038ae3
AS
277432012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27744
27745 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27746
c4e85184
AM
277472012-09-05 Allan McRae <allan@archlinux.org>
27748
b9dafc56 27749 [BZ #13966]
c4e85184
AM
27750 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27751 determine header location.
27752 * configure: Regenerated.
27753
e1343020
AS
277542012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27755
27756 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27757 float format.
27758 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
27759 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27760 format.
e1343020
AS
27761 (test): Regenerate.
27762
0a9f1987
DM
277632012-09-04 David S. Miller <davem@davemloft.net>
27764
27765 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27766 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27767 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27768
29237804
FW
277692012-09-04 Florian Weimer <fweimer@redhat.com>
27770
27771 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27772 failures.
27773
edb3cb88
FW
27774 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27775
60160d83
JM
277762012-09-04 Joseph Myers <joseph@codesourcery.com>
27777
27778 [BZ #9914]
27779 * libio/iogetdelim.c: Include <limits.h>.
27780 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27781 + len + 1 would overflow.
27782
bcd6c8dc
AJ
277832012-09-03 Andreas Jaeger <aj@suse.de>
27784
27785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27786 * sysdeps/i386/fpu/libm-test-ulps: Update.
27787
4ffffbd2
LD
277882012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27789
27790 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27791 Add s_sinf-sse2, s_conf-sse2.
27792
27793 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27794 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27795 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27796 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27797
27798 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27799 for using routine as __sinf_ia32.
27800 Use macro for function declaration and weak_alias.
27801 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27802 for using routine as __cosf_ia32.
27803 Use macro for function declaration and weak_alias.
27804
27805 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27806 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27807
27808 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27809 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27811
27812 * math/libm-test.inc (cos_test): Add more test cases.
27813 (sin_test): Likewise.
27814 (sincos_test): Likewise.
27815
511fa286
AK
278162012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27817
27818 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27819 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27820 hidden.
27821 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27822
5f30cfec
L
278232012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27824
27825 [BZ #14538]
27826 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27827 first element of the GOT.
27828 (elf_machine_load_address): Return the difference between
27829 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27830
0786794f
AM
278312012-09-01 Allan McRae <allan@archlinux.org>
27832
5f30cfec
L
27833 [BZ #13412]
27834 * configure.in (AWK): Require gawk version 3.0 or later.
27835 * configure: Regenerated.
0786794f 27836
26889eac
JM
278372012-09-01 Joseph Myers <joseph@codesourcery.com>
27838
27839 * sysdeps/unix/sysv/linux/kernel-features.h
27840 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27841 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27842 [__NR_clock_getres]: Make code unconditional.
27843 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27844 (clock_getcpuclockid): Remove code left unreachable by removal of
27845 conditionals.
27846 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27847 code unconditional.
27848 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27849 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27850 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27851 Make code unconditional.
27852 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27853 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27854 * sysdeps/unix/sysv/linux/clock_settime.c
27855 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27856 conditional code.
27857 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27858 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27859
d22e28b0
L
278602012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27861
27862 [BZ #14476]
27863 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27864 scripts/test-installation.pl.
27865
27866 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27867 and $ld_so_version if it is set.
27868
050af9c4
SP
278692012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27870
27871 [BZ #14516]
27872 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27873 failure if reading from procfs failed.
27874 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27875
ad845c0b
JM
278762012-08-27 Joseph Myers <joseph@codesourcery.com>
27877
27878 * sysdeps/unix/sysv/linux/kernel-features.h
27879 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27880 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27881 Remove conditional code.
27882 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27883 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27884 Remove conditional code.
27885 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27886 * sysdeps/unix/sysv/linux/i386/fxstat.c
27887 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27888 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27889 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27890 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27891 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27892 * sysdeps/unix/sysv/linux/i386/lxstat.c
27893 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27894 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27895 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27896 Remove conditional code.
27897 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27898 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27899 Remove conditional code.
27900 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27901 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27902 <kernel-features.h>.
27903 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27904 Remove.
27905 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27906 Remove conditional code.
27907 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27908 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27909 Remove conditional.
27910
5dbf56af
MF
279112012-08-27 Mike Frysinger <vapier@gentoo.org>
27912
27913 [BZ #5400]
27914 * NEWS: Add fixed bug number.
27915
d6e70f43
JM
279162012-08-27 Joseph Myers <joseph@codesourcery.com>
27917
7efb4737
JM
27918 [BZ #14519]
27919 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27920 underflowing exponent in case of negative sign.
27921 * stdlib/tst-strtod-round-data: Add more tests.
27922 * stdlib/tst-strtod-round.c (tests): Regenerated.
27923
af92131a
JM
27924 [BZ #3479]
27925 * stdlib/strtod_l.c (NDIG): Remove.
27926 (HEXNDIG): Likewise.
27927 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27928 smallest representable value.
27929 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27930 lie within an exact representation of 1/2 ulp of the result.
27931 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27932 unconditionally.
27933 (TENS_P9_IDX): Define unconditionally.
27934 (TENS_P9_SIZE): Likewise.
27935 (TENS_P10_IDX): Likewise.
27936 (TENS_P10_SIZE): Likewise.
27937 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27938 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27939 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27940 entries for 10^2^13 and 10^2^14.
27941 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27942 (TENS_P13_IDX): Define.
27943 (TENS_P13_SIZE): Likewise.
27944 (TENS_P14_IDX): Likewise.
27945 (TENS_P14_SIZE): Likewise.
27946 (_fpioconst_pow10): Change array size to
27947 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27948 unconditional.
27949 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27950 1024]: Add entries for 10^2^13 and 10^2^14.
27951 [LAST_POW10 > _LAST_POW10]: Remove #error.
27952 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27953 (_fpioconst_pow10): Change array size to
27954 FPIOCONST_POW10_ARRAY_SIZE.
27955 * stdlib/gen-fpioconst.c: New file.
27956 * stdlib/gen-tst-strtod-round.c: Likewise.
27957 * stdlib/tst-strtod-round-data: Likewise.
27958 * stdlib/tst-strtod-round.c: Likewise.
27959 * stdlib/Makefile (tests): Add tst-strtod-round.
27960
d6e70f43
JM
27961 [BZ #14459]
27962 * stdlib/strtod_l.c: Include <stdint.h>.
27963 (NDEBUG): Do not define.
27964 (round_and_return): Change EXPONENT parameter to type intmax_t.
27965 Rearrange calculations to avoid internal overflow possibilities.
27966 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27967 Rearrange calculations to avoid internal overflow possibilities.
27968 Assert that number fits inside MPNSIZE limbs.
27969 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27970 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27971 calculations and add assertions to avoid internal overflow
27972 possibilities. Add casts to avoid signed/unsigned operations.
27973 * stdlib/tst-strtod-overflow.c: New file.
27974 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27975
1f529f7d
MP
279762012-08-25 Marek Polacek <polacek@redhat.com>
27977
27978 * time/time.h: Fix some typos in comments.
27979
59a629f1
RM
279802012-08-23 Roland McGrath <roland@hack.frob.com>
27981
27982 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27983 * posix/tst-rfc3484-2.c: Likewise.
27984 * posix/tst-rfc3484-3.c: Likewise.
27985
d3bafbc9
SM
279862012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27987
27988 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27989 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27990
4efcc022
JM
279912012-08-23 Joseph Myers <joseph@codesourcery.com>
27992
27993 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27994 #include of fxstatat64.c.
27995
3cc3ef96
RM
279962012-08-22 Roland McGrath <roland@hack.frob.com>
27997
f04e2132
RM
27998 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27999 * shadow/getspent_r.c: Likewise.
28000 * shadow/getspnam.c: Likewise.
28001 * shadow/getspnam_r.c: Likewise.
28002 * gshadow/getsgent.c: Likewise.
28003 * gshadow/getsgent_r.c: Likewise.
28004 * gshadow/getsgnam.c: Likewise.
28005 * gshadow/getsgnam_r.c: Likewise.
28006 * inet/getnetbyad.c: Likewise.
28007 * inet/getnetbyad_r.c: Likewise.
28008 * inet/getnetbynm.c: Likewise.
28009 * inet/getnetbynm_r.c: Likewise.
28010 * inet/getnetent.c: Likewise.
28011 * inet/getnetent_r.c: Likewise.
28012 * inet/getproto.c: Likewise.
28013 * inet/getproto_r.c: Likewise.
28014 * inet/getprtent.c: Likewise.
28015 * inet/getprtent_r.c: Likewise.
28016 * inet/getprtname.c: Likewise.
28017 * inet/getprtname_r.c: Likewise.
28018 * inet/getrpcbyname.c: Likewise.
28019 * inet/getrpcbyname_r.c: Likewise.
28020 * inet/getrpcbynumber.c: Likewise.
28021 * inet/getrpcbynumber_r.c: Likewise.
28022 * inet/getrpcent.c: Likewise.
28023 * inet/getrpcent_r.c: Likewise.
28024 * inet/getaliasent.c: Likewise.
28025 * inet/getaliasent_r.c: Likewise.
28026 * inet/getaliasname.c: Likewise.
28027 * inet/getaliasname_r.c: Likewise.
28028 * nscd/getgrgid_r.c: Likewise.
28029 * nscd/getgrnam_r.c: Likewise.
28030 * nscd/gethstbyad_r.c: Likewise.
28031 * nscd/gethstbynm3_r.c: Likewise.
28032 * nscd/getpwnam_r.c: Likewise.
28033 * nscd/getpwuid_r.c: Likewise.
28034 * nscd/getsrvbynm_r.c: Likewise.
28035 * nscd/getsrvbypt_r.c: Likewise.
28036 * nscd/gai.c: Likewise.
28037
c53d909c
RM
28038 * configure.in (build_nscd): New substituted variable, set
28039 by --disable-build-nscd and defaults to $use_nscd.
28040 * configure: Regenerated.
28041 * config.make.in (build-nscd): New substituted variable.
28042 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28043 Change conditional to require [$(build-nscd) = yes] as well.
28044 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28045
3cc3ef96
RM
28046 [BZ# 13696]
28047 * configure.in (use_nscd): New substituted variable, set by
28048 --disable-nscd. If enabled, define USE_NSCD.
28049 * configure: Regenerated.
28050 * config.h.in: Add USE_NSCD.
28051 * config.make.in (use-nscd): New substituted variable.
28052 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28053 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28054 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28055 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28056 (CFLAGS-getgrnam_r.c): Likewise.
28057 (CFLAGS-initgroups.c): Likewise.
28058 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28059 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28060 Variables removed.
28061 * inet/getnetgrent_r.c
28062 (nscd_setnetgrent): New function, broken out of ...
28063 (setnetgrent): ... here. Call it.
28064 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28065 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28066 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28067 * nscd/Makefile (routines, aux): Move definitions after include of
28068 Makeconfig. Conditionalize on [$(use-nscd) != no].
28069 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28070 Conditionalize on [USE_NSCD].
28071 (is_nscd, nscd_init_cb): Likewise.
28072 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28073 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28074 * nss/nss_db/db-init.c: Likewise.
28075 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28076 [USE_NSCD].
28077 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28078 (make_request): Use it.
28079 (cache_valid_p): New function.
28080 (__check_pf): Use it.
28081 * NEWS: Add item for --disable-nscd.
28082
07e51550
DL
280832012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28084
28085 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28086 to support sed >= 4.2.1-20-ga9bf076.
28087 * configure: Regenerated.
28088
35a5b08b
RM
280892012-08-22 Roland McGrath <roland@hack.frob.com>
28090
28091 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28092 Conditionalize whole body on [IREL].
28093
8479f23a
JL
280942012-08-22 Jeff Law <law@redhat.com>
28095
28096 [BZ #14505]
28097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28098 if the family is PF_UNSPEC.
28099
48da0b21
MF
281002012-08-22 Mike Frysinger <vapier@gentoo.org>
28101
28102 * Makerules (lib-version): Rename from V.
28103 (install-lib-nosubdir): Change V to lib-version.
28104
15d0da8c
WS
281052012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28106
28107 [BZ #14252]
28108 * powerpc32/power6/wcschr.c: New file.
28109 * powerpc32/power6/wcscpy.c: New file.
28110 * powerpc32/power6/wcsrchr.c: New file.
28111 * powerpc64/power6/wcschr.c: New file.
28112 * powerpc64/power6/wcscpy.c: New file.
28113 * powerpc64/power6/wcsrchr.c: New file.
28114
bcca0895
MK
281152012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28116
28117 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28118 (two_way_short_needle): Use it.
5a4aaa33
RM
28119 * string/strstr.c (AVAILABLE1_USES_J): Define.
28120 * string/strcasestr.c: Likewise.
99677e57
MK
28121
28122 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28123 array references.
28124 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28125
400726de
MK
28126 [BZ #11607]
28127 * NEWS: Add an entry.
28128 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28129 define their defaults.
28130 (two_way_short_needle): Detect end-of-string on-the-fly.
28131 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28132 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28133 * string/bug-strcasestr1.c: New test.
28134 * string/Makefile: Run it.
28135
20a71f2c
MK
281362012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28137
28138 [BZ #11607]
28139 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28140 the first character.
28141
21ad0558
RM
281422012-08-21 Roland McGrath <roland@hack.frob.com>
28143
28144 * csu/elf-init.c (__libc_csu_irel): Function removed.
28145 * csu/libc-start.c (apply_irel): New function.
28146 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28147
0e1d9911
JM
281482012-08-21 Joseph Myers <joseph@codesourcery.com>
28149
28150 * sysdeps/unix/sysv/linux/kernel-features.h
28151 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28152 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28153 <kernel-features.h>.
28154 [__NR_fadvise64_64]: Make code unconditional.
28155 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28156 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28157 !__NR_fadvise64_64)]: Likewise.
28158 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28159 !__NR_fadvise64_64))]: Likewise.
28160 [__NR_fadvise64]: Make code unconditional.
28161 [!__NR_fadvise64]: Remove conditional code.
28162 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28163 <kernel-features.h>.
28164 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28165 unconditional.
28166 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28167 conditional code.
28168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28169 not include <kernel-features.h>.
28170 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28171 unconditional.
28172 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28173 conditional code.
28174 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28175 include <kernel-features.h>.
28176 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28177 unconditional.
28178 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28179 conditional code.
28180
14a50c9d
WS
281812012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28182
28183 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28184 slight instruction rearrangements per scrollpipe analysis.
28185 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28186
c0f4faf0
RM
281872012-08-20 Roland McGrath <roland@hack.frob.com>
28188
696da859
RM
28189 * manual/syslog.texi (syslog; vsyslog, closelog):
28190 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28191 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28192
c0f4faf0
RM
28193 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28194 DSOCAPS to match condition on defining it.
28195
348363b2
JM
281962012-08-20 Joseph Myers <joseph@codesourcery.com>
28197
a35cbf28
JM
28198 * sysdeps/unix/sysv/linux/kernel-features.h
28199 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28201 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28202 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28204 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28205 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28207 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28208 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28209
445f7ecd
JM
28210 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28211 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28212
348363b2
JM
28213 * sysdeps/unix/sysv/linux/kernel-features.h
28214 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28215 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28216 unconditional.
28217 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28218 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28219 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28220 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28221 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28222 Make code unconditional.
28223 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28224 (__mmap64) [!__NR_mmap2]: Likewise.
28225 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28226 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28227 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28228 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28229 [__NR_mmap2]: Make code unconditional.
28230 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28231 (__mmap64) [!__NR_mmap2]: Likewise.
28232
bc5bc0e5
AK
282332012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28234
28235 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28236
88d506de
AJ
282372012-08-18 Andreas Jaeger <aj@suse.de>
28238
28239 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28240
493387d2
MF
282412012-08-18 Mike Frysinger <vapier@gentoo.org>
28242
28243 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28244 * include/unistd.h (__have_sock_cloexec): Likewise.
28245 (__have_pipe2): Likewise.
28246 (__have_dup3): Likewise.
28247
a277af22
MF
282482012-08-18 Mike Frysinger <vapier@gentoo.org>
28249
28250 [BZ #9685]
28251 * include/unistd.h (__have_pipe2): Change define into an extern int.
28252 (__have_dup3): Likewise.
28253 * socket/have_sock_cloexec.c: Include fcntl.h.
28254 (__have_pipe2): New variable.
28255 (__have_dup3): Likewise.
28256
fdab8fd3
MF
282572012-08-17 Mike Frysinger <vapier@gentoo.org>
28258
28259 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28260
31035e80
MP
282612012-08-17 Marek Polacek <polacek@redhat.com>
28262
28263 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28264 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28265
3bd9e993
RM
282662012-08-17 Roland McGrath <roland@hack.frob.com>
28267
c91c505f
RM
28268 * configure.in: Add AC_SUBST for sysheaders.
28269 * configure: Regenerated.
28270 * config.make.in (sysheaders): New substituted variable.
28271
7c6f9d53
RM
28272 * sysdeps/unix/mkfifo.c: Moved ...
28273 * sysdeps/posix/mkfifo.c: ... here.
28274 * sysdeps/unix/mkfifoat.c: Moved ...
28275 * sysdeps/posix/mkfifoat.c: ... here.
28276
28277 * sysdeps/unix/utime.c: Moved ...
28278 * sysdeps/posix/utime.c: ... here.
28279
28280 * sysdeps/unix/time.c: Moved ...
28281 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
28282 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28283 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
28284
28285 * sysdeps/unix/nice.c: Moved ...
28286 * sysdeps/posix/nice.c: ... here.
28287
28288 * sysdeps/unix/alarm.c: Moved ...
28289 * sysdeps/posix/alarm.c: ... here.
28290
3bd9e993
RM
28291 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28292
d1f09384
JL
282932012-08-17 Jeff Law <law@redhat.com>
28294
28295 * intl/Makefile (codeset_mo): New variable.
28296 ($(codeset_mo)): New target.
28297 (tst-codeset.out): Depend on that. Remove explicit rule.
28298 (tst-gettext3.out, tst-gettext5.out): Likewise.
28299 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28300 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28301 * intl/tst-codeset.sh: Remove.
28302 * intl/tst-gettext3.sh: Likewise.
28303 * intl/tst-gettext5.sh: Likewise.
28304
2ae1ae5c
RM
283052012-08-17 Roland McGrath <roland@hack.frob.com>
28306
c31fdb83
RM
28307 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28308 * sysdeps/unix/syscalls.list: ... here.
28309
a0844057
RM
28310 * sysdeps/posix/getaddrinfo.c
28311 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28312 (gaiconf_init, gaiconf_reload): Use them.
28313 [!_STATBUF_ST_NSEC]
28314 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28315 Define using time_t rather than struct timespec.
28316
750c1f2a
RM
28317 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28318 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28319 Macros removed.
28320 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28321 [!NO_THREADS].
28322 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28323 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28324 Likewise.
28325
2ae1ae5c
RM
28326 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28327 __libc_cleanup_push argument.
28328
e66a42f5
RM
28329 * bits/param.h: New file.
28330 * misc/sys/param.h: New file.
28331 * include/sys/param.h: New file.
28332 * misc/Makefile (headers): Add bits/param.h.
28333 * sysdeps/generic/sys/param.h: File removed.
28334 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28335 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28336 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 28337 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 28338
b7c08a66
RM
28339 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28340 last change.
28341
b2e1c562
RM
28342 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28343 [_IO_MTSAFE_IO].
28344 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28345 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28346 New macros.
28347
c75ccd4c
RM
28348 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28349 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28350 rather than -D_IO_MTSAFE_IO conditionally.
28351 * stdio-common/Makefile (CPPFLAGS): Likewise.
28352 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28353 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28354 Use $(libio-mtsafe).
28355 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28356 of -D_IO_MTSAFE_IO.
28357 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28358 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28359 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28360 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28361 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28362 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28363 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28364 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28365 (CFLAGS-fread_u_chk.c): Likewise.
28366 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28367 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28368 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28369 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28370 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28371 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28372 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28373 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28374 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28375
28376 * libio/Makefile: Test [$(libc-reentrant) = yes]
28377 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28378
28379 * Makeconfig
28380 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28381 * sysdeps/pthread/configure: File removed.
28382 * sysdeps/pthread/Makeconfig: New file.
28383 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28384 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28385
d9195db8
GB
283862012-08-16 Gary Benson <gbenson@redhat.com>
28387
28388 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28389 unmapping the first object in a namespace.
28390
86466cd9
RM
283912012-08-16 Roland McGrath <roland@hack.frob.com>
28392
28393 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28394 (__internal_setnetgrent): ... this. Add internal_function to
28395 definition. Add libc_hidden_def.
28396 (setnetgrent): Update caller.
28397 (internal_endnetgrent): Renamed to ...
28398 (__internal_endnetgrent): ... this. Add internal_function to
28399 definition. Add libc_hidden_def.
28400 (endnetgrent): Update caller.
28401 (internal_getnetgrent_r): Renamed to ...
28402 (__internal_getnetgrent_r): ... this. Add internal_function to
28403 definition. Add libc_hidden_def.
28404 (__getnetgrent_r): Update caller.
28405 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28406
c3c8283c
JM
284072012-08-16 Joseph Myers <joseph@codesourcery.com>
28408
28409 * stdlib/longlong.h: Update from GCC.
28410
db1ee0a8
RM
284112012-08-16 Roland McGrath <roland@hack.frob.com>
28412
28413 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28414 on _QL, which is set by umul_ppmm but never used.
28415 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28416 variables, which are set by GMP macros but never used.
28417 * stdio-common/_itowa.c (_itowa): Likewise.
28418 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28419 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28420
30f69637
CD
284212012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28422
28423 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28424 struct La_sh_regs is not constant.
28425 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28426 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28427 and struct La_sparc64_regs are not constant.
28428
93a78ac4
JM
284292012-08-16 Joseph Myers <joseph@codesourcery.com>
28430
28431 * sysdeps/unix/sysv/linux/kernel-features.h
28432 (__ASSUME_POSIX_TIMERS): Remove.
28433 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28434 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28435 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28436 Make code unconditional.
28437 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28438 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28439 Make code unconditional.
28440 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28441 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28442 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28443 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28444 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28445 Make code unconditional.
28446 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28447 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28448 (__libc_missing_posix_timers): Remove.
28449
dd924cd7
RM
284502012-08-15 Roland McGrath <roland@hack.frob.com>
28451
4b4f2771
RM
28452 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28453 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28454
601c888b
RM
28455 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28456
176790a7
RM
28457 * elf/dl-sym.c: Include <stdlib.h>.
28458
329bc018
RM
28459 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28460 constants, which avoids warnings in 32-bit builds.
28461
e04e272d
RM
28462 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28463 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28464
952bf94a
RM
28465 * misc/lseek.c: File moved to ...
28466 * io/lseek.c: ... here.
28467
7c99b50a
RM
28468 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28469
dd924cd7
RM
28470 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28471 shifting LEN more than 31 bits at once.
28472
b3f479a8
LD
284732012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28474
28475 [BZ #14195]
8c4ae0d4
RM
28476 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28477 segmentation fault for a case of two empty input strings.
b3f479a8
LD
28478 * string/test-strncasecmp.c (check1): Renamed to...
28479 (bz12205): ...this.
28480 (bz14195): Add new testcase for two empty input strings and N > 0.
28481 (test_main): Call new testcase, adapt for renamed function.
28482
9c55864e
AJ
284832012-08-15 Andreas Jaeger <aj@suse.de>
28484
28485 [BZ #14090]
28486 * crypt/md5test2.c: New test, based on test supplied by Serge
28487 Belyshev <belyshev@depni.sinp.msu.ru>.
28488 * crypt/Makefile (xtests): Add md5test-giant..
28489 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28490
02dcb6c5
PE
284912012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28492
28493 [BZ #14090]
28494 * crypt/md5.c (md5_process_block): Don't assume the buffer
28495 length is less than 2**32.
28496 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28497 length is less than 2**64.
28498
a3f95dcc
RM
284992012-08-15 Roland McGrath <roland@hack.frob.com>
28500
be75d758
RM
28501 * string/str-two-way.h: Include <sys/param.h>.
28502 (MAX): Macro removed.
28503
7312ca90
RM
28504 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28505 Move #define and #undef of memmove to just before and after
28506 including <string.h>.
28507
9a0a5486
RM
28508 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28509 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28510 and after including <string.h>. Move declarations of
28511 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28512 to before #include "string/memmove.c".
28513
67cc348d
RM
28514 * include/dirent.h: Declare __getdirentries.
28515
a3f95dcc
RM
28516 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28517 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28518
ca98e171
MF
285192012-08-14 Mike Frysinger <vapier@gentoo.org>
28520
28521 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28522 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28523 * sysdeps/i386/configure: Regenerated.
28524 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28525 STABS_CURRENT_FILE, and STABS_FUN.
28526 (END): Remove call to STABS_FUN_END.
28527 (STABS_CURRENT_FILE1): Delete.
28528 (STABS_CURRENT_FILE): Likewise.
28529 (STABS_FUN): Likewise.
28530 (STABS_FUN_END): Likewise.
28531 (STABS_FUN2): Likewise.
28532 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28533 * sysdeps/x86_64/configure: Regenerated.
28534
5908bf46
RM
285352012-08-14 Roland McGrath <roland@hack.frob.com>
28536
28537 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 28538 * elf/dl-lookup.c: Likewise.
5908bf46 28539
f2c05b9e
JM
285402012-08-14 Joseph Myers <joseph@codesourcery.com>
28541
28542 * sysdeps/unix/sysv/linux/kernel-features.h
28543 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28544 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28545 unconditionally.
28546 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28547 unconditionally.
28548 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28549 condition on __ASSUME_CLONE_THREAD_FLAGS.
28550
e11f5155
AJ
285512012-08-14 Andreas Jaeger <aj@suse.de>
28552
28553 * sysdeps/i386/fpu/libm-test-ulps: Update.
28554
51a9ba86
MK
285552012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28556
2fdd4f78
AJ
28557 * include/atomic.h (atomic_exchange_and_add): Split into ...
28558 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28559 New atomic macros.
51a9ba86 28560
ba6cba9e
MT
285612012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28562
28563 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28564
42443a47
JL
285652012-08-13 Jeff Law <law@redhat.com>
28566
28567 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28568 null byte in the output string.
28569
121dce05
JM
285702012-08-10 Joseph Myers <joseph@codesourcery.com>
28571
28572 * sysdeps/unix/sysv/linux/kernel-features.h
28573 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28574 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28575 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28576 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28577 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28578 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28579 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28580
bf51f568
JL
285812012-08-09 Jeff Law <law@redhat.com>
28582
28583 [BZ #13939]
28584 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28585 When avoid_arena is set, don't retry in the that arena. Pick the
28586 next one, whatever it might be.
28587 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28588 (arena_lock): Pass in new parameter to arena_get2.
28589 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28590 arena_get2.
28591 (__libc_malloc): Unify retrying after main arena failure with
28592 __libc_memalign version.
28593 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28594
f85fa270
L
285952012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28596
28597 [BZ #14166]
28598 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28599 to __redirect_strstr.
28600 (__strstr_sse42): Use typeof __redirect_strstr.
28601 (__strstr_ia32): Likewise.
28602 (__libc_strstr): New prototype.
28603 (strstr): Renamed to ...
28604 (__libc_strstr): This.
28605 (strstr): New strong alias of __libc_strstr.
28606 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28607 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28608 __redirect_time.
28609 Include <time.h>.
28610 (__libc_time): New prototype.
28611 (time_ifunc): Replace time with __libc_time.
28612 (time): New strong alias and hidden definition of __libc_time.
28613 (__GI_time): Remove strong alias.
28614 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28615 Include <stddef.h>.
28616 (memmove): Redefined to __redirect_memmove.
28617 (__memmove_sse2): Use typeof __redirect_memmove.
28618 (__memmove_ssse3): Likewise.
28619 (__memmove_ssse3_back): Likewise.
28620 (__libc_memmove): New prototype.
28621 (memmove): Renamed to ...
28622 (__libc_memmove): This.
28623 (memmove): New strong alias of __libc_memmove.
28624
33b4a91e
MS
286252012-08-08 Mark Salter <msalter@redhat.com>
28626
28627 * elf/elf.h
28628 (R_MN10300_TLS_GD): Define.
28629 (R_MN10300_TLS_LD): Likewise.
28630 (R_MN10300_TLS_LDO): Likewise.
28631 (R_MN10300_TLS_GOTIE): Likewise.
28632 (R_MN10300_TLS_IE): Likewise.
28633 (R_MN10300_TLS_LE): Likewise.
28634 (R_MN10300_TLS_DTPMOD): Likewise.
28635 (R_MN10300_TLS_DTPOFF): Likewise.
28636 (R_MN10300_TLS_TPOFF): Likewise.
28637 (R_MN10300_SYM_DIFF): Likewise.
28638 (R_MN10300_ALIGN): Likewise.
28639 (R_MN10300_NUM): Update.
28640
b36137f1
JM
286412012-08-08 Joseph Myers <joseph@codesourcery.com>
28642
28643 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28644 Remove.
28645
cdd915fd
RM
286462012-08-08 Roland McGrath <roland@hack.frob.com>
28647
a2433aac
RM
28648 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28649
cdd915fd
RM
28650 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28651 sysdeps/unix -> sysdeps/posix move.
28652 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28653
bf9b740a
AM
286542012-08-07 Allan McRae <allan@archlinux.org>
28655
28656 [BZ #14303]
28657 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28658 (SUNOS_CPP): Likewise.
28659 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28660 not found.
28661 (open_input): Call CPP using execvp.
28662
93df14ee
JM
286632012-08-07 Joseph Myers <joseph@codesourcery.com>
28664
28665 * sysdeps/unix/sysv/linux/kernel-features.h
28666 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28667 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28668 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28669 (__ASSUME_WAITID_SYSCALL): Likewise.
28670 * sysdeps/unix/sysv/linux/dl-execstack.c
28671 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28672 code unconditional.
28673 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28674 conditional code.
28675 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28676 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28677 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28678 code.
28679 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28680 unconditional.
28681 [__ASSUME_WAITID_SYSCALL]: Likewise.
28682 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28683
d34689de
RM
286842012-08-07 Roland McGrath <roland@hack.frob.com>
28685
a281decc
RM
28686 * sysdeps/unix/closedir.c: Renamed to ...
28687 * sysdeps/posix/closedir.c: ... here.
28688 * sysdeps/unix/dirfd.c: Renamed to ...
28689 * sysdeps/posix/dirfd.c: ... here.
28690 * sysdeps/unix/dirstream.h: Renamed to ...
28691 * sysdeps/posix/dirstream.h: ... here.
28692 * sysdeps/unix/fdopendir.c: Renamed to ...
28693 * sysdeps/posix/fdopendir.c: ... here.
28694 * sysdeps/unix/opendir.c: Renamed to ...
28695 * sysdeps/posix/opendir.c: ... here.
28696 * sysdeps/unix/readdir.c: Renamed to ...
28697 * sysdeps/posix/readdir.c: ... here.
28698 * sysdeps/unix/readdir_r.c: Renamed to ...
28699 * sysdeps/posix/readdir_r.c: ... here.
28700 * sysdeps/unix/rewinddir.c: Renamed to ...
28701 * sysdeps/posix/rewinddir.c: ... here.
28702 * sysdeps/unix/seekdir.c: Renamed to ...
28703 * sysdeps/posix/seekdir.c: ... here.
28704 * sysdeps/unix/telldir.c: Renamed to ...
28705 * sysdeps/posix/telldir.c: ... here.
28706 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28707 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28708 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28709 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28710
22895b47
RM
28711 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28712 * bits/fcntl.h: ... here.
28713
707a53b6
RM
28714 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28715 not 0.
28716 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28717 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28718 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28719 (struct flock): Move l_start, l_len to the beginning.
28720 Use __pid_t for l_pid.
28721 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28722 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28723 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28724 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28725 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28726 [__USE_LARGEFILE64] (struct flock64): New type.
28727 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28728
f0bd3e25
RM
28729 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28730 * bits/dirent.h: ... here.
28731
d34689de
RM
28732 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28733 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28734
6dad2c06
JM
287352012-08-07 Joseph Myers <joseph@codesourcery.com>
28736
28737 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28738 Change from 2.6.0 to 2.6.16.
28739 * sysdeps/unix/sysv/linux/configure: Regenerated.
28740 * sysdeps/unix/sysv/linux/kernel-features.h
28741 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28742 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28743 version.
28744 (__ASSUME_UTIMES): Likewise.
28745 (__ASSUME_CLONE_STOPPED): Remove.
28746 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28747 architectures, not kernel version.
28748 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28749 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28750 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28751 (__ASSUME_WAITID_SYSCALL): Likewise.
28752 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28753 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28754 * README: State 2.6.16 as minimum Linux kernel version. Do not
28755 refer to older versions.
28756
03af9520
RM
287572012-08-06 Roland McGrath <roland@hack.frob.com>
28758
8e49df1d
RM
28759 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28760 Define alphasort64 as an alias.
28761 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28762 Define versionsort64 as an alias.
28763 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28764 Define scandir64 as an alias.
28765 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28766 Define scandirat64 as an alias.
28767 * dirent/alphasort64.c (alphasort64):
28768 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28769 * dirent/versionsort64.c: Likewise.
28770 * dirent/scandir64.c: Likewise.
28771 * dirent/scandirat64.c: Likewise.
28772 * sysdeps/wordsize-64/alphasort.c: File removed.
28773 * sysdeps/wordsize-64/alphasort64.c: File removed.
28774 * sysdeps/wordsize-64/scandir.c: File removed.
28775 * sysdeps/wordsize-64/scandir64.c: File removed.
28776 * sysdeps/wordsize-64/scandirat.c: File removed.
28777 * sysdeps/wordsize-64/scandirat64.c: File removed.
28778 * sysdeps/wordsize-64/versionsort.c: File removed.
28779 * sysdeps/wordsize-64/versionsort64.c: File removed.
28780 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28781 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28782 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28783 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28784 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28785 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28786 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28787 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28788
28789 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28790 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28791 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28792 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28793 [defined __arch64__ || defined __sparcv9]
28794 (__INO_T_MATCHES_INO64_T): New macro.
28795 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28796 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28797 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28798 * sysdeps/unix/sysv/linux/bits/dirent.h
28799 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28800 (_DIRENT_MATCHES_DIRENT64): New macro.
28801
03af9520
RM
28802 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28803 Define lockf64 as an alias.
28804 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28805 Define fseeko64 as an alias.
28806 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28807 Define ftello64 as an alias.
28808 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28809 Define _IO_fgetpos64 and fgetpos64 as aliases.
28810 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28811 Define _IO_fsetpos64 and fsetpos64 as aliases.
28812 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28813 Conditionalize body on this.
28814 * libio/fseeko64.c: Likewise.
28815 * libio/ftello64.c: Likewise.
28816 * libio/iofgetpos64.c: Likewise.
28817 * libio/iofsetpos64.c: Likewise.
28818 * sysdeps/wordsize-64/lockf.c: File removed.
28819 * sysdeps/wordsize-64/lockf64.c: File removed.
28820 * sysdeps/wordsize-64/fseeko.c: File removed.
28821 * sysdeps/wordsize-64/fseeko64.c: File removed.
28822 * sysdeps/wordsize-64/ftello.c: File removed.
28823 * sysdeps/wordsize-64/ftello64.c: File removed.
28824 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28825 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28826 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28827 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28828 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28829 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28830 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28831 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28832 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28833 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28834 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28835 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28836 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28837 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28838
28839 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28840 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28841 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28842 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28843 [defined __arch64__ || defined __sparcv9]
28844 (__OFF_T_MATCHES_OFF64_T): New macro.
28845 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28846 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28847 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28848 (__OFF_T_MATCHES_OFF64_T): New macro.
28849
c5757acd
L
288502012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28851
28852 * stdlib/secure-getenv.c (__secure_getenv): Replace
28853 GLIBC_2_16 with GLIBC_2_17.
28854
3a31811e
L
288552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28856
28857 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28858 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28859
faa2bccb
DM
288602012-08-03 David S. Miller <davem@davemloft.net>
28861
28862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28863
85fe1997
JM
288642012-08-03 Joseph Myers <joseph@codesourcery.com>
28865
28866 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28867 Remove.
28868 (__ASSUME_CORRECT_SI_PID): Likewise.
28869 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28870 (__ASSUME_TMPFS_NAME): Likewise.
28871 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28872 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28873 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28874 (HAVE_AUX_SECURE): Make definition unconditional.
28875 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28876 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28877
4f75b7a0
RM
288782012-08-03 Roland McGrath <roland@hack.frob.com>
28879
28880 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28881 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28882 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28883 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28884 __eloop_threshold instead of SYMLOOP_MAX.
28885
28886 * sysdeps/generic/eloop-threshold.h: New file.
28887 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28888 of MAXSYMLINKS.
28889 * elf/chroot_canon.c (chroot_canon): Likewise.
28890
7aab07e4
JM
288912012-08-03 Joseph Myers <joseph@codesourcery.com>
28892
28893 [BZ #13717]
28894 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28895 Change to 2.6.0 everywhere.
28896 * sysdeps/unix/sysv/linux/configure: Regenerated.
28897 * sysdeps/unix/sysv/linux/kernel-features.h
28898 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28899 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28900 kernel versions.
28901 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28902 (__ASSUME_FUTEX_REQUEUE): Remove.
28903 (__ASSUME_STATFS64): Define unconditionally.
28904 (__ASSUME_AT_SECURE): Likewise.
28905 (__ASSUME_CORRECT_SI_PID): Likewise.
28906 (__ASSUME_TGKILL): Define without depending on kernel version for
28907 i386.
28908 (__ASSUME_UTIMES): Likewise.
28909 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28910 kernel version.
28911 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28912 (__ASSUME_TMPFS_NAME): Likewise.
28913 * README: Update reference to Linux kernel versions.
28914
b67e9372
MP
289152012-08-02 Marek Polacek <polacek@redhat.com>
28916
1f529f7d 28917 [BZ# 14150]
b67e9372
MP
28918 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28919 libc_cv_asm_type_prefix with %.
28920 * configure: Regenerated.
d2441631
RM
28921 * include/libc-symbols.h: Remove comment about
28922 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
28923 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28924 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28925 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28926 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28927 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28928 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28929 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28930 * elf/tst-unique2mod1.c: Likewise.
28931 * elf/tst-unique1mod2.c: Likewise.
28932 * elf/tst-unique1mod1.c: Likewise.
28933 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28934 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28935 Replace ASM_TYPE_DIRECTIVE with .type.
28936 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28937 * sysdeps/i386/sysdep.h: Likewise.
28938 * sysdeps/x86_64/sysdep.h: Likewise.
28939 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
28940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28941 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 28942 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
28943 * sysdeps/powerpc/powerpc32/sysdep.h:
28944 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
28945 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28946 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28947 * sysdeps/i386/fpu/e_powf.S: Likewise.
28948 * sysdeps/i386/fpu/e_expl.S: Likewise.
28949 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28950 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28951 * sysdeps/i386/fpu/e_pow.S: Likewise.
28952 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28953 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28954 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28955 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28956 * sysdeps/i386/fpu/e_log2.S: Likewise.
28957 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28958 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28959 * sysdeps/i386/fpu/e_powl.S: Likewise.
28960 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28961 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28962 * sysdeps/i386/fpu/e_logl.S: Likewise.
28963 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28964 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28965 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28966 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28967 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28968 * sysdeps/i386/fpu/e_log.S: Likewise.
28969 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28970 * sysdeps/i386/fpu/e_logf.S: Likewise.
28971 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28972 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28973 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28974 * sysdeps/i386/fpu/e_log10.S: Likewise.
28975 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28976 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28977 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28978 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28979 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28980 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28981 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28982 * sysdeps/i386/i686/strtok.S: Likewise.
28983 * sysdeps/i386/i386-mcount.S: Likewise.
28984 * sysdeps/i386/strtok.S: Likewise.
28985 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28986 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28987 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28988 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28989 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28990 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28991 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28992 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28993 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28994 * sysdeps/x86_64/_mcount.S: Likewise.
28995 * sysdeps/x86_64/strtok.S: Likewise.
28996 * sysdeps/sh/_mcount.S: Likewise.
28997
2747bf9a
RM
289982012-08-01 Roland McGrath <roland@hack.frob.com>
28999
29000 * libio/iofopen.c: Include <fcntl.h>.
29001 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29002 (_IO_fopen64, fopen64): Define as aliases.
29003 * libio/iofopen64.c: Include <fcntl.h>.
29004 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29005 Conditionalize body on this.
29006 * sysdeps/wordsize-64/iofopen.c: File removed.
29007 * sysdeps/wordsize-64/iofopen64.c: File removed.
29008
3fb791b8
MP
290092012-08-01 Marek Polacek <polacek@redhat.com>
29010
29011 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29012 Use dlfcn directly instead of a variable.
29013 (binfmt-subdir): Do not define.
29014 (dlfcn): Likewise.
29015
a9f1039f
JM
290162012-08-01 Joseph Myers <joseph@codesourcery.com>
29017
23bddc06
JM
29018 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29019 Remove all definitions.
29020 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29021 <kernel-features.h>.
29022 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29023 (miss_F_GETOWN_EX): Remove all definitions.
29024 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29025 macro definition.
29026 [!__ASSUME_FCNTL64]: Remove conditional code.
29027 [__ASSUME_FCNTL64]: Make code unconditional.
29028 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29029 <kernel-features.h>.
29030 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29031 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29032 (lockf64) [__NR_fcntl64]: Make code unconditional.
29033 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29034
a9f1039f
JM
29035 * sysdeps/unix/sysv/linux/kernel-features.h
29036 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29037 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29038 Make code unconditional.
29039 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29040 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29042 [__NR_vfork]: Make code unconditional.
29043 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29044 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29046 [__NR_vfork]: Make code unconditional.
29047 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29048 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29049
09c0ee5f
RM
290502012-08-01 Roland McGrath <roland@hack.frob.com>
29051
48aec5b9
RM
29052 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29053 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29054
cd97c966
RM
29055 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29056 Define mkstemp64 as an alias.
3f55550c
RM
29057 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29058 Define mkstemps64 as an alias.
cd97c966
RM
29059 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29060 Define mkostemp64 as an alias.
b8625cfc
RM
29061 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29062 Define mkostemps64 as an alias.
cd97c966
RM
29063 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29064 Conditionalize body on this.
29065 * misc/mkostemp64.c: Likewise.
b8625cfc 29066 * misc/mkostemps64.c: Likewise.
3f55550c 29067 * misc/mkstemps64.c: Likewise.
cd97c966
RM
29068 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29069 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29070 * sysdeps/wordsize-64/mkostemp.c: File removed.
29071 * sysdeps/wordsize-64/mkstemp.c: File removed.
29072 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29073 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29074 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29075 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29076
09c0ee5f
RM
29077 [BZ #14138]
29078 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29079 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29080 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29081 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29082
29083 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29084 compat_symbol macros from <shlib-compat.h> rather than the underlying
29085 default_symbol_version and symbol_version macros, so that DEFAULT
29086 lines in shlib-versions are respected.
29087 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29088
7e66ee51
FW
290892012-08-01 Florian Weimer <fweimer@redhat.com>
29090
29091 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29092 Declare with warn_unused_result.
29093 (setgid, setregid, setegid, setresgid): Likewise.
29094 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29095 Likewise.
29096 * WUR-REPORT: Remove set*id functions.
29097
d2a54255
PT
290982012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29099
29100 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29101
7ecdb005
RM
291022012-07-31 Roland McGrath <roland@hack.frob.com>
29103
b4180a5e 29104 [BZ #10191]
789bd351
RM
29105 * include/sys/socket.h (__libc_accept, __libc_accept4):
29106 Add attribute_hidden.
29107 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29108
40ce302d
RM
29109 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29110 use of PTR_MANGLE.
29111 * inet/getnetgrent_r.c (setup): Likewise.
29112
7ecdb005
RM
29113 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29114
e2eabb2c
DM
291152012-07-31 David S. Miller <davem@davemloft.net>
29116
29117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29118
d0419dbf
JM
291192012-07-31 Joseph Myers <joseph@codesourcery.com>
29120
29121 [BZ #13629]
29122 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29123 value between 1.0 and 2.0 and smaller part has absolute value less
29124 than 1.0.
29125 * math/s_clog10.c (__clog10): Likewise.
29126 * math/s_clog10f.c (__clog10f): Likewise.
29127 * math/s_clog10l.c (__clog10l): Likewise.
29128 * math/s_clogf.c (__clogf): Likewise.
29129 * math/s_clogl.c (__clogl): Likewise.
29130 * math/libm-test.inc (clog_test): Add more tests.
29131 (clog10_test): Likewise.
29132 * sysdeps/i386/fpu/libm-test-ulps: Update.
29133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29134
2bc13872
FW
291352012-07-31 Florian Weimer <fweimer@redhat.com>
29136
29137 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29138 Exit with zero in case no suitable GID is found, and write a
29139 message to standard error.
29140
bea9b193
RM
291412012-07-30 Roland McGrath <roland@hack.frob.com>
29142
29143 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29144 rather than to 1.
29145 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29146 (MAXPATHLEN): Removed.
29147 (NOGROUP, NODEV): New macros.
29148 (setbit, clrbit, isset, isclr): New macros.
29149 (howmany, roundup, powerof2): New macros.
29150 (DEV_BSIZE): New macro.
29151
29152 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29153 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29154
29155 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29156 definition on [!__NO_LONG_DOUBLE_MATH].
29157
29158 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29159 PTR_MANGLE and PTR_DEMANGLE.
29160
29161 * socket/accept4.c (accept4): Rename to __libc_accept4.
29162 Define accept4 as a weak alias.
29163
29164 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29165 on [_DIRENT_HAVE_D_TYPE].
29166 * io/ftw.c (ftw_dir): Likewise.
29167
29168 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29169
29170 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29171
29172 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29173 Use the BSD numbers rather than the arbitrary ones we had.
29174 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29175 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29176 (SIGXCPU, SIGXFSZ): New macros.
29177 (_NSIG): Now 32.
29178
29179 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29180 initializer on [_LIBC_REENTRANT].
29181
29182 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29183 definitions inside [_POSIX_MAPPED_FILES].
29184
29185 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29186
29187 * dirent/opendir.c: Include <fcntl.h>.
29188
29189 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29190 (__libc_getspecific): Likewise.
29191 (__libc_key_create): Likewise.
29192
29193 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29194 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29195 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29196 (tmpfile64): Define as alias.
29197 * sysdeps/wordsize-64/tmpfile.c: File removed.
29198 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29199 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29200 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29201
29202 * stdio-common/vfscanf.c: Include <stdbool.h>.
29203 * nss/makedb.c: Likewise.
29204 * stdio-common/_i18n_number.h: Likewise.
29205 * argp/argp-help.c: Likewise.
29206 * posix/wordexp.c: Likewise.
29207 * sysdeps/posix/spawni.c: Likewise.
29208 * nss/nss_files/files-initgroups.c: Likewise.
29209 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29210 * nss/nss_files/files-initgroups.c: Likewise.
29211 * nss/nss_db/db-netgrp.c: Likewise.
29212 * nss/nss_db/db-initgroups.c: Likewise.
29213 * io/fchmodat.c: Include <sys/stat.h>.
29214
29215 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29216 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29217
29218 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29219 [HAVE_MMAP].
29220
29221 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29222 Add multiple inclusion protection.
29223
e5abc686
DM
292242012-07-27 David S. Miller <davem@davemloft.net>
29225
29226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29227
815e6fa3
GB
292282012-07-27 Gary Benson <gbenson@redhat.com>
29229
29230 [BZ #14298]
29231 * elf/rtld.c: Include <stap-probe.h>.
29232 (dl_main): Added static probes "init_start" and "init_complete".
29233 * elf/dl-load.c: Include <stap-probe.h>.
29234 (lose): Take new parameter "nsid".
29235 Added static probe "map_failed".
29236 (_dl_map_object_from_fd): Pass namespace id to lose.
29237 Added static probe "map_start".
29238 (open_verify): Pass namespace id to lose.
29239 * elf/dl-open.c: Include <stap-probe.h>.
29240 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29241 and "reloc_complete".
29242 * elf/dl-close.c: Include <stap-probe.h>.
29243 (_dl_close_worker): Added static probes "unmap_start" and
29244 "unmap_complete".
29245 * elf/rtld-debugger-interface.txt: New file documenting the above.
29246
9f98c16c
RM
292472012-07-26 Roland McGrath <roland@hack.frob.com>
29248
29249 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29250 rather than a string variable.
29251 * sunrpc/rpc_main.c (h_output): Likewise.
29252 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29253
f3c22df3
PT
292542012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29255
29256 * inet/check_native.c: New file.
29257
3129cfc6
JM
292582012-07-26 Joseph Myers <joseph@codesourcery.com>
29259
da865e95
JM
29260 [BZ #13629]
29261 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29262 if larger part has absolute value 1.0.
29263 * math/s_clog10.c (__clog10): Likewise.
29264 * math/s_clog10f.c (__clog10f): Likewise.
29265 * math/s_clog10l.c (__clog10l): Likewise.
29266 * math/s_clogf.c (__clogf): Likewise.
29267 * math/s_clogl.c (__clogl): Likewise.
29268 * math/libm-test.inc (clog_test): Add more tests.
29269 (clog10_test): Likewise.
29270 * sysdeps/i386/fpu/libm-test-ulps: Update.
29271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29272
3129cfc6
JM
29273 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29274 (pltexit): Likewise.
29275 (La_regs): Likewise.
29276 (La_retval): Likewise.
29277 (int_retval): Likewise.
29278 Update #error for removed macros to refer only to definitions in
29279 tst-audit.h.
29280 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29281 macro.
29282 (pltexit): Likewise.
29283 (La_regs): Likewise.
29284 (La_retval): Likewise.
29285 (int_retval): Likewise.
29286 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29287 macro.
29288 (pltexit): Likewise.
29289 (La_regs): Likewise.
29290 (La_retval): Likewise.
29291 (int_retval): Likewise.
29292 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29293 macro.
29294 (pltexit): Likewise.
29295 (La_regs): Likewise.
29296 (La_retval): Likewise.
29297 (int_retval): Likewise.
29298 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29299 macro.
29300 (pltexit): Likewise.
29301 (La_regs): Likewise.
29302 (La_retval): Likewise.
29303 (int_retval): Likewise.
29304 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29305 macro.
29306 (pltexit): Likewise.
29307 (La_regs): Likewise.
29308 (La_retval): Likewise.
29309 (int_retval): Likewise.
29310 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29311 macro.
29312 (pltexit): Likewise.
29313 (La_regs): Likewise.
29314 (La_retval): Likewise.
29315 (int_retval): Likewise.
29316 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29317 macro definitions in tst-audit.h.
29318 * sysdeps/i386/tst-audit.h: New file.
29319 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29320 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29321 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29322 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29323 * sysdeps/sh/tst-audit.h: Likewise.
29324 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29325 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29326 * sysdeps/x86_64/tst-audit.h: Likewise.
29327
bfc07087
AJ
293282012-07-26 Andreas Jaeger <aj@suse.de>
29329
b1b2aaf8
AJ
29330 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29331 ptrace.
29332
29333 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29334 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29335 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29336 PTRACE_O_MASK.
29337 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29338 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29339 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29340
bfc07087
AJ
29341 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29342 value.
29343
29344 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29345 _sigsys.
29346 (si_call_addr, si_syscall, si_arch): Define new macro.
29347 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29348 _sigsys.
29349 (si_call_addr, si_syscall, si_arch): Define new marcro.
29350 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29351 _sigsys.
29352 (si_call_addr, si_syscall, si_arch): Define new macro.
29353 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29354 _sigsys.
29355 (si_call_addr, si_syscall, si_arch): Define new macro.
29356
89b4b02f
JM
293572012-07-25 Joseph Myers <joseph@codesourcery.com>
29358
29359 [BZ #13717]
29360 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29361 Change to 2.4.21 where previously 2.4.1.
29362 * sysdeps/unix/sysv/linux/configure: Regenerated.
29363 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29364 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29365 Linux kernel version.
29366 (__ASSUME_STD_AUXV): Remove.
29367 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29368 kernel version.
29369 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29370 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29371 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29372 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29373 (__ASSUME_NETLINK_SUPPORT): Likewise.
29374 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29375 (__no_netlink_support): Remove conditional definition.
29376 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29377 Remove.
29378 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29379 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29380 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29381 (if_nameindex_ioctl): Remove.
29382 (if_nameindex_netlink): Do not handle __no_netlink_support.
29383 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29384 code.
29385 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29386 Remove conditional code.
29387 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29388 code.
29389 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29390 unconditional.
29391 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29392 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29393 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29394 Remove.
29395 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29396 [!__ASSUME_STD_AUXV]: Remove conditional code.
29397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29398 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29399 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29401 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29402 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29403 code.
29404 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29406 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29407 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29408 conditional code.
29409 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29411 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29412 code.
29413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29414 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29415 conditional code.
29416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29417 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29418 code unconditional.
29419 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29420 conditional code.
29421 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29422 unconditional.
29423 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29424 conditional code.
29425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29426 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29427 unconditional.
29428 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29429 conditional code.
29430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29431 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29432 code unconditional.
29433 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29434 conditional code.
29435 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29436 unconditional.
29437 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29438 conditional code.
29439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29440 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29441 code unconditional.
29442 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29443 conditional code.
29444 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29445 unconditional.
29446 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29447 conditional code.
29448
842a39cd
AS
294492012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29450
29451 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29452 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29453 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29454 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29455 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29456 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29457 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29458 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29459 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29460 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29461 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29462 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29463 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29464 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29465 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29466 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29467 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29468 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29469 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29471 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29472 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29473 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29474
84b3fd84
FW
294752012-07-25 Florian Weimer <fweimer@redhat.com>
29476
29477 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
29478 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29479 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29480 Introduce __libc_secure_getenv.
0c7936d5
FW
29481 * stdlib/Versions (2.17): Add secure_getenv
29482 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29483 * stdlib/secure-getenv.c: Rename __secure_getenv to
29484 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29485 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
29486 * stdlib/tst-secure-getenv.c: New.
29487 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
29488 * manual/startup.texi (Environment Access): Document
29489 secure_getenv.
84b3fd84
FW
29490 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29491 __libc_secure_getenv.
29492 * inet/ruserpass.c (ruserpass): Likewise.
29493 * malloc/mtrace.c (mtrace): Likewise.
29494 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 29495 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
29496 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29497 * sysdeps/posix/tempname.c: Likewise. Evaluate
29498 HAVE_SECURE_GETENV.
29499 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 29500 __secure_getenv to __libc_secure_getenv.
84b3fd84 29501 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
29502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29503 Likewise.
29504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29505 Likewise.
29506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29508 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 29513
56e49b71
JM
295142012-07-25 Joseph Myers <joseph@codesourcery.com>
29515
29516 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29517 (struct La_i86_retval): Likewise.
29518 (struct La_x86_64_regs): Likewise.
29519 (struct La_x86_64_retval): Likewise.
29520 (struct La_x32_regs): Likewise.
29521 (struct La_x32_retval): Likewise.
29522 (struct La_ppc32_regs): Likewise.
29523 (struct La_ppc32_retval): Likewise.
29524 (struct La_ppc64_regs): Likewise.
29525 (struct La_ppc64_retval): Likewise.
29526 (struct La_sh_regs): Likewise.
29527 (struct La_sh_retval): Likewise.
29528 (struct La_s390_32_regs): Likewise.
29529 (struct La_s390_32_retval): Likewise.
29530 (struct La_s390_64_regs): Likewise.
29531 (struct La_s390_64_retval): Likewise.
29532 (struct La_sparc32_regs): Likewise.
29533 (struct La_sparc32_retval): Likewise.
29534 (struct La_sparc64_regs): Likewise.
29535 (struct La_sparc64_retval): Likewise.
29536 (struct audit_ifaces): Remove architecture-specific pltenter and
29537 pltexit members.
29538 * sysdeps/i386/ldsodefs.h: New file.
29539 * sysdeps/powerpc/ldsodefs.h: Likewise.
29540 * sysdeps/s390/ldsodefs.h: Likewise.
29541 * sysdeps/sh/ldsodefs.h: Likewise.
29542 * sysdeps/sparc/ldsodefs.h: Likewise.
29543 * sysdeps/x86_64/ldsodefs.h: Likewise.
29544
354691b7
MP
295452012-07-25 Marek Polacek <polacek@redhat.com>
29546
29547 [BZ #6808]
29548 * math/libm-test.inc (yn_test): Add another test.
29549 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29550 to ERANGE when the result is +-Inf.
29551 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29552 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29553 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29554 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29555
bf9e2071
JM
295562012-07-24 Joseph Myers <joseph@codesourcery.com>
29557
29558 * conform/data/time.h-data (NULL): Use macro-constant. Require
29559 equal to 0.
29560 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29561 clock_t.
29562 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29563
57633811
TS
295642012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29565
29566 * configure.in <sysdeps resolving>: Correct printing
29567 Implies_before.
29568 * configure: Regenerate.
29569
c23c33b0
TS
295702012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29571
29572 * math/w_ilogb.c: Include <limits.h>.
29573 * math/w_ilogbl.c: Likewise.
29574
b5982523
JM
295752012-07-20 Joseph Myers <joseph@codesourcery.com>
29576
29577 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29578 va_copy. Document allowing for unavailable va_copy only as
29579 pre-C99 compatibility.
29580 * manual/string.texi (Copying and Concatenation): Use va_copy
29581 instead of __va_copy in concat example.
29582
ac4ea442
PT
295832012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29584
29585 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29586 (__sendto): Use create_address_port. Initialize APORT and deallocate
29587 it if not null.
29588
f98eafbd
PT
29589 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29590 with O_NOLINK passed to __file_name_lookup.
29591
898c7aab
PT
29592 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29593 with O_NOLINK passed to __file_name_lookup.
29594
0ced335a
PT
29595 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29596 negative N or less than NGIDS.
29597
b3404dbd
PT
29598 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29599 type to string_t. Set ERANGE as errno and return it if NAME is not big
29600 enough. Use memcpy instead of strncpy.
29601
0f48659e
JM
296022012-07-20 Joseph Myers <joseph@codesourcery.com>
29603
29604 * elf/Makefile (check-data): Remove.
29605 (localplt.data): New vpath directive.
29606 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29607 instead of $(check-data).
29608 * scripts/data/localplt-generic.data: Move to ...
29609 * sysdeps/generic/localplt.data: ... here.
29610 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29611 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29612 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29614 ... here.
29615 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29617 ... here.
29618 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29620 ... here.
29621 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29623 ... here.
29624 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29626 ... here.
29627 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29629 ... here.
29630
d37cbdaa
AZ
296312012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29632
29633 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29634 PPC32 and PPC64 files.
29635 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29636 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29637
46f85fc2
AK
296382012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29639
29640 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29641 __makecontext_ret to ...
29642 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29643 ... here and call exit if uc_link is NULL. New file.
29644 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29645 __makecontext_ret.S.
29646 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29647 __makecontext_ret to ...
29648 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29649 ... here and call exit if uc_link is NULL. New file.
29650 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29651 __makecontext_ret.S.
29652
08f43f9b
AK
296532012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29654
29655 * elf/elf.h (R_390_IRELATIVE): New definition.
29656 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29657 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29658 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29659 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29660 (elf_machine_lazy_rel): Likewise.
29661 * sysdeps/s390/dl-irel.h: New file.
29662 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29663 * sysdeps/s390/s390-64/memset.S: New asm code.
29664 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29665 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29666 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29667 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29668 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29669 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29670 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29671 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29672 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29673 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29674 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29675 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29676 * sysdeps/s390/s390-32/memset.S: New asm code.
29677 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29678
3b05db33
MP
296792012-07-17 Marek Polacek <polacek@redhat.com>
29680
29681 [BZ #14349]
29682 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29683 * sysdeps/s390/s390-64/configure.in: Likewise.
29684 * sysdeps/sparc/configure.in: Likewise.
29685 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29686 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29687 * sysdeps/i386/configure.in: Likewise.
29688 * sysdeps/x86_64/configure.in: Likewise.
29689 * sysdeps/sh/configure.in: Likewise.
29690 * sysdeps/s390/s390-32/configure: Regenerated.
29691 * sysdeps/s390/s390-64/configure: Likewise.
29692 * sysdeps/x86_64/configure: Likewise.
29693 * sysdeps/sh/configure: Likewise.
29694 * sysdeps/powerpc/powerpc64/configure: Likewise.
29695 * sysdeps/powerpc/powerpc32/configure: Likewise.
29696 * sysdeps/sparc/configure: Likwise.
29697 * sysdeps/i386/configure: Likewise.
29698
a66877c6
MP
29699 * elf/dl-open.c: Comment fixes.
29700
cfc82fd8
JM
297012012-07-17 Joseph Myers <joseph@codesourcery.com>
29702
bd29910a
JM
29703 * Makefile [CXX] (check-data): Remove.
29704 [CXX] (c++-types.data): New vpath directive.
29705 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29706 vpath. Do not allow for C++ type data being missing.
29707 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29708 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29709 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29710 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29711 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29712 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29713 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29715 ... here.
29716 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29718 ... here.
29719 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29721 ... here.
29722 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29724 ... here.
29725 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29727 ... here.
29728 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29730 ... here.
29731 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29733 ... here.
29734 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29736
cfc82fd8
JM
29737 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29738 definitions to architecture-specific files.
29739 (TLS_IE): Likewise.
29740 (TLS_LD): Likewise.
29741 (TLS_GD): Likewise.
29742 * sysdeps/i386/tls-macros.h: New file.
29743 * sysdeps/powerpc/tls-macros.h: Likewise.
29744 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29745 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29746 * sysdeps/sh/tls-macros.h: Likewise.
29747 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29748 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29749 * sysdeps/x86_64/tls-macros.h: Likewise.
29750
f7db3170
TS
297512012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29752
07cbfc23
TS
29753 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29754 zero value for regular exit case.
29755
f7db3170
TS
29756 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29757 (__start_context): Preserve zero value for regular exit case.
29758
dc97c227
TS
297592012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29760 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29761
29762 * manual/setjmp.texi (setcontext): Clarify normal process
29763 termination when uc_link is the null pointer.
29764 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29765 exit call.
29766
d0cd7d02
AS
297672012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29768
29769 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29770 preprocessor. Test for each exception mask separately.
29771
dd318934
AJ
297722012-07-16 Andreas Jaeger <aj@suse.de>
29773
29774 * po/ru.po: Update from translation team.
29775
8048311a
JM
297762012-07-15 Joseph Myers <joseph@codesourcery.com>
29777
29778 * conform/data/string.h-data (NULL): Use macro-constant. Require
29779 equal to 0.
29780 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29781 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29782 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29783 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29784 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29785
b637d46e
AJ
297862012-07-13 Andreas Jaeger <aj@suse.de>
29787
29788 * po/fr.po: Update from translation team.
29789
541428fe
MP
297902012-07-12 Marek Polacek <polacek@redhat.com>
29791
29792 [BZ #14173]
29793 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29794 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29795 loop condition.
29796
ec332e94
JM
297972012-07-12 Joseph Myers <joseph@codesourcery.com>
29798
29799 [BZ #13717]
29800 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29801 Change to 2.4.1 where previously 2.4.0.
29802 * sysdeps/unix/sysv/linux/configure: Regenerated.
29803 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29804 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29805 version.
29806 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29807 (__ASSUME_AT_CLKTCK): Remove.
29808 (__ASSUME_AT_PAGESIZE): Likewise.
29809 (__ASSUME_AT_XID): Likewise.
29810 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29811 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29812 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29813 unconditionally.
29814 (HAVE_AUX_PAGESIZE): Likewise.
29815 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29816 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29817 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29818
7b6e99be
JB
298192012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29820
29821 [BZ #14307]
29822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29823 the temporary buffer used to invoke __gethostbyname2_r,
29824 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29825 host_data / struct gaih_addrtuple.
29826 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29827 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29828 header file nss/nsswitch.h.
29829 * nss/nsswitch.h (global scope): Add definition of implementation
29830 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29831 resolv/nss_dns/dns-host.c).
29832
608404eb
AJ
298332012-07-11 Andreas Jaeger <aj@suse.de>
29834
29835 * po/fr.po: Update from translation team.
29836
71220aca
AJ
29837 * po/sv.po: Update from translation team
29838 * po/fr.po: Another update from translation team.
29839
28cfe843
AZ
298402012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29841
29842 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29843 for subnormals or multiply small sinh result by itself.
29844 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29846
6b90f981
DM
298472012-07-11 David S. Miller <davem@davemloft.net>
29848
29849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29850
c6825772
AS
298512012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29852
29853 [BZ #14347]
29854 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29855 (INTERNAL_MARK): Shift it here.
29856
7b8e0d49
MP
298572012-07-10 Marek Polacek <polacek@redhat.com>
29858
29859 [BZ #14151]
29860 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29861 libc_cv_asm_global_directive with .globl.
29862 * configure: Regenerated.
29863 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29864 with .globl.
29865 * sysdeps/i386/configure: Regenerated.
29866 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29867 with .globl.
29868 * sysdeps/x86_64/configure: Regenerated.
29869 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29870 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29871 * elf/tst-unique2mod2.c: Likewise.
29872 * elf/tst-unique2mod1.c: Likewise.
29873 * elf/tst-unique1mod2.c: Likewise.
29874 * elf/tst-unique1mod1.c: Likewise.
29875 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29876 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29877 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29878 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29879 * sysdeps/mach/sysdep.h: Likewise.
29880 * sysdeps/i386/sysdep.h: Likewise.
29881 * sysdeps/i386/i386-mcount.S: Likewise.
29882 * sysdeps/x86_64/_mcount.S: Likewise.
29883 * sysdeps/x86_64/sysdep.h: Likewise.
29884 * sysdeps/sh/_mcount.S: Likewise.
29885 * sysdeps/sh/sysdep.h: Likewise.
29886 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29887 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29888 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29889 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29890 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29891 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29892 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29893 * locale/localeinfo.h: Likewise.
29894 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29895 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29896
6c55cda3
RM
298972012-07-09 Roland McGrath <roland@hack.frob.com>
29898
29899 [BZ #14336]
29900 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29901 system".
29902 * manual/message.texi (The Uniforum approach): Likewise.
29903 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29904 (glibc iconv Implementation): Likewise.
29905
638a572e
JM
299062012-07-09 Joseph Myers <joseph@codesourcery.com>
29907
29908 [BZ #14337]
29909 * math/s_clog.c (__clog): Avoid scaling a value down where that
29910 could result in underflow.
29911 * math/s_clog10.c (__clog10): Likewise.
29912 * math/s_clog10f.c (__clog10f): Likewise.
29913 * math/s_clog10l.c (__clog10l): Likewise.
29914 * math/s_clogf.c (__clogf): Likewise.
29915 * math/s_clogl.c (__clogl): Likewise.
29916 * math/libm-test.inc (clog_test): Add more tests.
29917 (clog10_test): Likewise.
29918 * sysdeps/i386/fpu/libm-test-ulps: Update.
29919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29920
261f4859
AS
299212012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29922
0abaf3e4
AS
29923 [BZ #14283]
29924 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29925 by 7 not 8 to examine high bit of fractional part.
29926
261f4859
AS
29927 [BZ #14042]
29928 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29929 for call to __mcount_internal.
29930 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29931 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29932 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29933
f17ac40d
JM
299342012-07-06 Joseph Myers <joseph@codesourcery.com>
29935
9ad63c23
JM
29936 [BZ #14154]
29937 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29938 approximation for values within 0x1p-13f of an odd multiple of
29939 pi/4.
29940 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29941 exception. Add more tests.
29942 * sysdeps/i386/fpu/libm-test-ulps: Update.
29943
f17ac40d
JM
29944 [BZ #6778]
29945 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29946 inputs and return -1 for them. Do not check for +Inf in case not
29947 reachable for +Inf.
29948 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29949 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29950 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29951 and return -1 for them. Do not check for +Inf in case not
29952 reachable for +Inf.
29953 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29954 define.
29955 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29956 and return -1 for them. Do not check for +Inf in case not
29957 reachable for +Inf.
29958 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29959 spurious underflow.
29960 * sysdeps/i386/fpu/libm-test-ulps: Update.
29961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29962
fb21f89b
MF
299632012-07-06 Mike Frysinger <vapier@gentoo.org>
29964
29965 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29966
cdfe2c5e
JM
299672012-07-05 Joseph Myers <joseph@codesourcery.com>
29968
29969 [BZ #14157]
29970 [BZ #14331]
29971 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29972 could result in spurious underflow. Scale down values above
29973 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29974 * math/s_csqrtf.c (__csqrtf): Likewise.
29975 * math/s_csqrtl.c (__csqrtl): Likewise.
29976 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29977 spurious underflow.
29978 * sysdeps/i386/fpu/libm-test-ulps: Update.
29979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29980
70d35b67
AS
299812012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29982
704bc459
AS
29983 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29984 xopen-msg.sed.
29985 * catgets/xopen-msg.awk: New file.
29986 * catgets/xopen-msg.sed: Removed.
29987
70d35b67
AS
29988 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29989 po2text.sed.
29990 * intl/po2test.awk: New file.
29991 * intl/po2test.sed: Removed.
29992
ca61cf32
JM
299932012-07-04 Joseph Myers <joseph@codesourcery.com>
29994
29995 [BZ #14328]
29996 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29997 or multiply small sinh result by itself.
29998 * math/s_ctanf.c (__ctanf): Likewise.
29999 * math/s_ctanh.c (__ctanh): Likewise.
30000 * math/s_ctanhf.c (__ctanhf): Likewise.
30001 * math/s_ctanhl.c (__ctanhl): Likewise.
30002 * math/s_ctanl.c (__ctanl): Likewise.
30003 * math/libm-test.inc (ctan_test_tonearest): New function.
30004 (ctan_test_towardzero): Likewise.
30005 (ctan_test_downward): Likewise.
30006 (ctan_test_upward): Likewise.
30007 (ctanh_test_tonearest): Likewise.
30008 (ctanh_test_towardzero): Likewise.
30009 (ctanh_test_downward): Likewise.
30010 (ctanh_test_upward): Likewise.
30011 (main): Call these new functions.
30012 * sysdeps/i386/fpu/libm-test-ulps: Update.
30013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30014
ca48a46a
MF
300152012-07-03 Mike Frysinger <vapier@gentoo.org>
30016
30017 * .gitignore: Delete /ports entry.
30018
9d63d37d
AJ
300192012-07-03 Andreas Jaeger <aj@suse.de>
30020
30021 * po/bg.po: Update from translation team.
30022 * po/cs.po: Likewise.
30023 * po/de.po: Likewise.
30024 * po/hr.po: Likewise.
30025 * po/nl.pl: Likewise.
30026 * po/pl.po: Likewise.
30027 * po/vi.po: Likewise.
30028
370ca3d2
JM
300292012-07-03 Joseph Myers <joseph@codesourcery.com>
30030
95f5a9a8
JM
30031 * Makeconfig [!+link] (+link-before-libc): New variable.
30032 [!+link] (+link-after-libc): Likewise.
30033 [!+link] (+link-tests): Likewise.
30034 [!+link] (+link): Define in terms of $(+link-before-libc) and
30035 $(+link-after-libc).
30036 [!+link-static] (+link-static-before-libc): New variable.
30037 [!+link-static] (+link-static-after-libc): Likewise.
30038 [!+link-static] (+link-static-tests): Likewise.
30039 [!+link-static] (+link-static): Define in terms of
30040 $(+link-static-before-libc) and $(+link-static-after-libc).
30041 [build-shared] (link-libc-before-gnulib): New variable.
30042 [build-shared] (link-libc-tests): Likewise.
30043 [build-shared] (link-libc): Define in terms of
30044 $(link-libc-before-gnulib).
30045 [!build-shared] (link-libc-tests): New variable.
30046 (link-libc-static-tests): New variable.
30047 [!gnulib] (gnulib-arch): New variable.
30048 [!gnulib] (gnulib-tests): Likewise.
30049 [!gnulib] (static-gnulib-arch): Likewise.
30050 [!gnulib] (static-gnulib-tests): Likewise.
30051 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30052 Define with "=" instead of ":=".
30053 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30054 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30055 * Rules (binaries-all-notests): New variable.
30056 (binaries-all-tests): Likewise.
30057 (binaries-static-notests): Likewise.
30058 (binaries-static-tests): Likewise.
30059 (binaries-all): Define using $(binaries-all-notests) and
30060 $(binaries-all-tests).
30061 (binaries-static): Define using $(binaries-static-notests) and
30062 $(binaries-static-tests).
30063 (binaries-shared-tests): New variable.
30064 (binaries-shared-notests): Likewise.
30065 (binaries-shared): Remove variable.
30066 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30067 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30068 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30069 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30070 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30071 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30072 * elf/Makefile (sln-modules): New variable.
30073 (extra-objs): Add $(sln-modules:=.o).
30074 (ldconfig-modules): Add static-stubs.
30075 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30076 * elf/static-stubs.c: New file.
30077
7a845b2c
JM
30078 [BZ #14283]
30079 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30080 by 7 not 8 to examine high bit of fractional part. Use volatile
30081 variables when splitting into final array of floats if
30082 __FLT_EVAL_METHOD__ != 0.
30083 * math/libm-test.inc (cos_test): Add another test.
30084 (sin_test): Likewise.
30085 * sysdeps/i386/fpu/libm-test-ulps: Update.
30086
e2283f38
JM
30087 [BZ #14273]
30088 * math/libm-test.inc (cosh_test): Add more tests.
30089
370ca3d2
JM
30090 * version.h (RELEASE): Set to "development".
30091 (VERSION): Set to "2.16.90".
30092
ee9247c3
CD
300932012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30094
30095 * NEWS: Update copyright. Remove last-updated date.
30096 Mention math library bug fixes and timezone data changes.
30097 * README: Mention GNU/Hurd, x32, and HPPA support status.
30098
4648c381
TS
300992012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30100
30101 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30102
aac78a43
AJ
301032012-06-27 Andreas Jaeger <aj@suse.de>
30104
30105 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30106
ed3dbfad
AJ
301072012-06-25 Andreas Jaeger <aj@suse.de>
30108
30109 * sysdeps/s390/fpu/libm-test-ulps: Update.
30110
4d0ee855
AS
301112012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30112 Thomas Schwinge <thomas@codesourcery.com>
30113
30114 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30115 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30116 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30117 fanotify_mark.
30118
af1bce34
TS
301192012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30120
a9fa33ba
TS
30121 * sysdeps/mach/start.c: Remove file.
30122 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30123 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30124 * sysdeps/sh/init-first.c: Likewise.
30125
58f902b8
TS
30126 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30127 registers for frame unwinding purposes, add CFI directives.
30128 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30129 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30130 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30131 Likewise.
30132
1518f58b
TS
30133 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30134 __fortify_fail returning.
30135 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30136
db9b5059
TS
30137 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30138 sysdeps/sh/____longjmp_chk.S.
30139 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30140 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30141 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30142 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30143
967705fe
TS
30144 * sysdeps/sh/abort-instr.h: New file.
30145 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30146 process in case exit returns.
30147
a9def8c4
TS
30148 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30149 initialize the GOT register before use.
30150
2a649725
TS
30151 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30152 calculation of ARGC > 4.
30153
af1bce34
TS
30154 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30155 meaningful names to some local labels.
30156
d230f50a
KK
301572012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30158 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30159
30160 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30161 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30162 (__arch_compare_and_exchange_val_16_acq): Likewise.
30163 (__arch_compare_and_exchange_val_32_acq): Likewise.
30164 (atomic_exchange_and_add): Fix gUSA sequence.
30165 (atomic_add): Likewise.
30166 (atomic_add_negative): Likewise.
30167 (atomic_add_zero): Likewise.
30168 (atomic_bit_test_set): Likewise.
30169
0479b305
AS
301702012-06-22 Andreas Schwab <schwab@redhat.com>
30171
30172 [BZ #13579]
30173 * include/link.h (struct link_map): Add l_free_initfini.
30174 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30175 l_initfini.
30176 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30177 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30178 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30179 set.
30180
0e3933b9
CD
301812012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30182
30183 * configure.in: Use AC_LANG_SOURCE.
30184 * configure: Regenerate.
30185
4248b1b1
RM
301862012-06-22 Roland McGrath <roland@hack.frob.com>
30187
30188 * configure.in (libc_cv_localstatedir): New substituted variable.
30189 * configure: Regenerated.
30190 * config.make.in (localstatedir): New variable, substituted from
30191 libc_cv_localstatedir.
30192 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30193 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30194 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30195 * sysdeps/gnu/configure: Regenerated.
30196
006dd861
JL
301972012-06-21 Jeff Law <law@redhat.com>
30198
30199 [BZ #14277]
30200 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30201 free. Simplify list management for _LIBC case.
30202
79662d42
JM
302032012-06-21 Joseph Myers <joseph@codesourcery.com>
30204
b7abb4bf
JM
30205 [BZ #14273]
30206 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30207 Clear sign bit of 64-bit integer value before comparing against
30208 overflow value.
30209
79662d42
JM
30210 * sysdeps/mach/configure: Regenerated.
30211
1f150908
L
302122012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30213
30214 [BZ #14278]
30215 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30216
28363bbf
JL
302172012-06-21 Jeff Law <law@redhat.com>
30218
30219 [BZ #13882]
30220 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30221 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 30222 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
30223 * elf/dl-open.c (dl_open_worker): Likewise.
30224
09615db4
CD
302252012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30226
30227 * scripts/list-sources.sh: Scan PORTS for translations.
30228 * po/libc.pot: Regenerated.
30229
2174c6dd
AJ
302302012-06-21 Andreas Jaeger <aj@suse.de>
30231
30232 [BZ #12194]
30233 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30234 warning.
30235 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30236 * bits/byteswap-16.h (__bswap_16): Likewise.
30237 * bits/byteswap.h (__bswap_constant_16): Likewise.
30238
3ee947b1
L
302392012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30240
30241 [BZ #14117]
a2f34833
L
30242 * sysdeps/i386/fpu_control.h: Removed.
30243 * sysdeps/x86_64/fpu_control.h: Moved to ...
30244 * sysdeps/x86/fpu_control.h: Here.
30245
3ee947b1
L
30246 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30247 (_FPU_SETCW): Likewise.
30248
ed1825f8
L
302492012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30250
25f1282a
L
30251 [BZ #14117]
30252 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30253 * sysdeps/x86/fpu/bits/mathinline.h: This.
30254 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30255
ed1825f8
L
30256 [BZ #14050]
30257 [BZ #14117]
30258 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30259 functions if __x86_64__ is defined.
30260
36d54b74
CLT
302612012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30262
30263 * string/endian.h: Add !__ASSEMBLER__ condition for including
30264 conversion interfaces.
30265
10285c21
JM
302662012-06-15 Joseph Myers <joseph@codesourcery.com>
30267
30268 [BZ #14241]
30269 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30270 of ABS(x) in calculating zero to negative powers other than odd
30271 integers.
30272 * math/libm-test.inc (pow_test): Add more tests.
30273
06c5abbd
AJ
302742012-06-15 Andreas Jaeger <aj@suse.de>
30275
30276 * manual/contrib.texi (Contributors): Update entry of Liubov
30277 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30278 Machado Filho.
30279
a3aeac40
CH
302802012-06-15 Cyril Hrubis <metan@ucw.cz>
30281
30282 * string/string.h: Add __wur to GNU version of strerror_r.
30283
49bdf4c1
L
302842012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30285
30286 [BZ #14229]
30287 * string/Makefile (tests): Add tst-strtok_r.
30288 * string/tst-strtok_r.c: New file.
30289 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30290 RAX_LP/RDX_LP on SAVE_PTR.
30291
834f9b8d
RM
302922012-06-14 Roland McGrath <roland@hack.frob.com>
30293
30294 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30295
75fa1921
JM
302962012-06-14 Joseph Myers <joseph@codesourcery.com>
30297
30298 * libm_test.inc (csqrt_test): Allow more spurious underflow
30299 exceptions.
30300 (j0_test): Likewise.
30301 (j1_test): Likewise.
30302 (y0_test): Likewise.
30303 (y1_test): Likewise.
30304
771766df
CD
303052012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30306
30307 * po/Makefile (libc.pot): Use UTF-8 charset.
30308
ceb9e56b
PP
303092012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30310
30311 [BZ #14210]
30312 Suppress sign-conversion warning from FD_SET.
30313 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30314 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30315 not unsigned long int.
30316 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30317
ddb28975
L
303182012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30319
30320 [BZ #14050]
30321 [BZ #14117]
30322 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30323 __extern_always_inline instead of __extern_inline.
30324 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30325 (__signbit): Likewise.
30326 (__signbitl): Support C++ namespace.
30327 (lrintf): New inline function.
30328 (lrint): Likewise.
30329 (llrintf): Likewise.
30330 (llrint): Likewise.
30331 (fmaxf): Likewise.
30332 (fmax): Likewise.
30333 (fminf): Likewise.
30334 (fmin): Likewise.
30335 (rint): Likewise.
30336 (rintf): Likewise.
30337 (ceil): Likewise.
30338 (ceilf): Likewise.
30339 (floor): Likewise.
30340 (floorf): Likewise.
30341 (nearbyint): Likewise.
30342 (nearbyintf): Likewise.
30343
d7b4fb26
TS
303442012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30345
30346 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30347 non-default versions.
30348
eb55f5c2
RM
303492012-06-11 Roland McGrath <roland@hack.frob.com>
30350
30351 [BZ #14218]
30352 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30353
366af02c
TS
303542012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30355
99ff6e5c
TS
30356 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30357 (FE_UPWARD, FE_DOWNWARD): Don't define.
30358 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30359 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30360
366af02c
TS
30361 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30362 reading it.
30363 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30364 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30365
793ea851
KK
303662012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30367
30368 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30369 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30370 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30371 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30372
a728a38f
L
303732012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30374
30375 [BZ #14117]
c08010c7
L
30376 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30377 * sysdeps/i386/fpu/Implies: New file.
30378 * sysdeps/x86_64/fpu/Implies: Likewise.
30379 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30380 * sysdeps/x86/fpu/bits/fenv.h: This.
30381
a728a38f
L
30382 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30383 __SSE_MATH__.
30384
6e230d11
SP
303852012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30386
30387 [BZ #14134]
30388 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30389 character 0xffff that matches the last element of the
30390 conversion table.
30391
1b671feb
AZ
303922012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30393
30394 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30395 fmodl commit.
30396
6043738b
AZ
303972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30398
30399 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30400 values higher than 25.6283.
30401
34ae0b32
AZ
304022012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30403
30404 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30405 subnormal exponent extraction and add some __builtin_expect.
30406 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30407 Fix for subnormal mantissa calculation.
30408
1214ec8f
MF
304092012-06-04 Mike Frysinger <vapier@gentoo.org>
30410
30411 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30412 cpu2 is -1 and errno is not ENOSYS.
30413
f3d1f93c
L
304142012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30415
30416 [BZ #14117]
0e4a3cd7
L
30417 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30418 * sysdeps/x86/bits/string.h: This.
30419 * sysdeps/x86_64/bits/string.h: Removed.
30420
6704c645
L
30421 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30422 if not compiling for x86-64, but compiling for >= i486.
30423
48495318
L
30424 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30425 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30426
14adcbfc
L
30427 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30428 New macro from Linux kernel 3.4.0.
30429 (FP_XSTATE_MAGIC2): Likewise.
30430 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30431 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30432 (struct _fpx_sw_bytes): New struct.
30433 (struct _xsave_hdr): Likewise.
30434 (struct _ymmh_state): Likewise.
30435 (struct _xstate): Likewise.
30436
68e408ab
L
30437 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30438 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30439 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30440 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30441 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30442 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30443
f3d1f93c
L
30444 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30445 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30446 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30447 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30448 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30449 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30450
d9dc34cd
TMQMF
304512012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30452
30453 [BZ #13743]
30454 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30455 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30456 (sysdep_headers): Include sys/platform/ppc.h.
30457 * sysdeps/powerpc/test-gettimebase.c: Test for
30458 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30459 * manual/Makefile (appendices): Include platform.texi.
30460 * manual/contrib.texi (Contributors): Update @node pointers.
30461 * manual/maint.texi (Maintenance): Likewise.
30462 (Platform): New node.
30463 * manual/platform.texi: New file. Document the new features.
30464
4af3879c
SP
304652012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30466 Jakub Jelinek <jakub@redhat.com>
30467
30468 [BZ #14188]
30469 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30470 where __builtin_expect is unavailable.
30471
2fd6ff13
DM
304722012-06-03 David S. Miller <davem@davemloft.net>
30473
30474 * stdlib/longlong.h: Updated from GCC.
30475
173f7220
AS
304762012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30477
30478 [BZ #14042]
30479 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30480 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30481 __mcount_internal.
30482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30483 (GLIBC_2.16): Likewise.
30484
f34a1c6f
L
304852012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30486
30487 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30488
88a4576f
JM
304892012-06-01 Joseph Myers <joseph@codesourcery.com>
30490
ea32bcdd
JM
30491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30492 (default-abi): New variable.
30493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30494 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30495 variable.
30496 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30497 Likewise.
30498 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30499 Likewise.
30500 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30501 Likewise.
30502
88a4576f
JM
30503 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30504 definition. Document in comment.
30505
402fe938
DM
305062012-06-01 David S. Miller <davem@davemloft.net>
30507
30508 * stdlib/longlong.h: Updated from GCC.
30509
3553723f
L
305102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30511
30512 [BZ #14117]
3bd872c4
L
30513 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30514 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30515 sys/debugreg.h sys/io.h here.
30516 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30517 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30518 sys/io.h.
30519 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30520 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30521 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30522 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30523 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30524 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30525
3553723f
L
30526 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30527 Define only if __x86_64__ is defined.
30528
4842e4fe
JM
305292012-06-01 Joseph Myers <joseph@codesourcery.com>
30530
c5bfe3d5
JM
30531 [BZ #14048]
30532 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30533 Use int64_t for variable i.
30534 * math/libm-test.inc (fmod_test): Add more tests.
30535
4842e4fe
JM
30536 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30537 z computation is not scheduled after fetestexcept.
30538 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30539 Use math_force_eval instead of asm to ensure calculation scheduled
30540 before exception test.
30541 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30542 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30543
efb73488
AJ
305442012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30545
30546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30547 computation is not scheduled after fetestexcept.
30548
29bcce7c
L
305492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30550
30551 [BZ #14117]
30552 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30553 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30554
73a68f94
AZ
305552012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30556
30557 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30558 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30559
67b6df78
L
305602012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30561
edf2933a 30562 [BZ #14117]
ebc64a18
L
30563 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30564 <bits/wordsize.h>.
30565 (__WCHAR_MIN): Support __WORDSIZE == 64.
30566 (__WCHAR_MAX): Likewise.
30567
edf2933a
L
30568 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30569 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30570
57c6cf40
L
30571 [BZ #14183]
30572 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30573 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30574
67b6df78 30575 [BZ #14117]
8eb6281e
L
30576 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30577 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30578
aac639f4
L
30579 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30580 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30581
67b6df78
L
30582 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30583 Defined to 1 if __x86_64__ isn't defined.
30584 (_STAT_VER_LINUX_OLD): New.
30585 (st_atime): Remove duplicate.
30586 (st_mtime): Likewise.
30587 (st_ctime): Likewise.
30588
1c2cfe81
DM
305892012-05-31 David S. Miller <davem@davemloft.net>
30590
30591 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30592 entries.
30593
5be8418c
AS
305942012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30595
e7725326
AS
30596 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30597 gen-libm-test.pl.
30598
5be8418c
AS
30599 [BZ #14132]
30600 * elf/dl-reloc.c: Include <_itoa.h>.
30601 (_dl_reloc_bad_type): Remove use of INTUSE.
30602 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30603 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30604 * stdio-common/psiginfo.c (psiginfo): Likewise.
30605 * stdio-common/psignal.c (psignal): Likewise.
30606 * string/strsignal.c (strsignal): Likewise.
30607 * include/signal.h (_sys_siglist): Declare hidden proto.
30608 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30609 INTVARDEF with libc_hidden_data_def.
30610 * stdio-common/itoa-udigits.c: Likewise.
30611 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30612 (_itoa_lower_digits_internal): Remove declaration.
30613 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30614 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30615 (_sys_sigabbrev_internal): Remove aliases.
30616 (_sys_siglist): Define hidden alias.
30617
507352f1
MT
306182012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30619
30620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30621 bits/sysctl.h.
30622
42bbb1c3
L
306232012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30624
30625 [BZ #14117]
6bd784b6
L
30626 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30627 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30628
8bca20f0
L
30629 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30630 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30631 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30632 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30633 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30634 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30635
f9e890a9
L
30636 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30637 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30638 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30639
471101a1
L
30640 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30641 with __addr.
30642 (insw): Likewise.
30643 (insl): Likewise.
30644 (outsb): Likewise.
30645 (outsw): Likewise.
30646 (outsl): Likewise.
30647
6451c862
L
30648 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30649 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30650 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30651
a254b8c9
L
30652 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30653 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30654 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30655 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30656 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30657 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30658
b8dfdd92
L
30659 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30660 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30661
578cd270
L
30662 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30663 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30664
de662f5f
L
30665 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30666 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30667 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30668
25653439
L
30669 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30670 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30671 to ...
30672 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30673
6bad24a0
L
30674 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30675 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30676 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30677
42bbb1c3
L
30678 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30679 for x86-64.
30680 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30681
2d10d547
JM
306822012-05-31 Joseph Myers <joseph@codesourcery.com>
30683
30684 * math/math.h (M_El): Use two more decimal places.
30685 (M_LOG2El): Likewise.
30686 (M_LOG10El): Likewise.
30687 (M_LN2l): Likewise.
30688 (M_LN10l): Likewise.
30689 (M_PIl): Likewise.
30690 (M_PI_2l): Likewise.
30691 (M_PI_4l): Likewise.
30692 (M_1_PIl): Likewise.
30693 (M_2_PIl): Likewise.
30694 (M_2_SQRTPIl): Likewise.
30695 (M_SQRT2l): Likewise.
30696 (M_SQRT1_2l): Likewise.
30697
f230c29b
DM
306982012-05-31 David S. Miller <davem@davemloft.net>
30699
30700 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30701 values between float registers.
30702 * sysdeps/sparc/sparc64/memset.S: Likewise.
30703 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30704
fed806c3
MF
307052012-05-31 Mike Frysinger <vapier@gentoo.org>
30706
30707 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30708 -D_FORTIFY_SOURCE=1.
30709 (CPPFLAGS-tst-longjmp_chk.c): Define.
30710 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30711 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30712 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30713 CFLAGS-tst-wchar-h.c.
30714
30917259
MP
307152012-05-31 Marek Polacek <polacek@redhat.com>
30716
30717 [BZ #14132]
30718 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30719 __endmntent_internal): Remove declaration.
30720 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30721 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30722 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30723
1c58d5dc
DM
307242012-05-30 David S. Miller <davem@davemloft.net>
30725
30726 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30727 (___Q_simulate_exceptions): Use real FP ops rather than writing
30728 into the %fsr.
30729 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30730 Likewise.
30731
7dc00e0d
L
307322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30733
30734 [BZ #14117]
0bd53985
L
30735 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30736 * sysdeps/x86/bits/xtitypes.h: This.
30737
3a257e66
L
30738 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30739 * sysdeps/x86/bits/wordsize.h: This.
30740
62f62904
L
30741 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30742 * sysdeps/x86/bits/huge_vall.h: This.
30743
404fe9d9
L
30744 * sysdeps/i386/bits/select.h: Removed.
30745 * sysdeps/x86_64/bits/select.h: Renamed to ...
30746 * sysdeps/x86/bits/select.h: This.
30747
d48d0446
L
30748 * sysdeps/i386/bits/setjmp.h: Removed.
30749 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30750 * sysdeps/x86/bits/setjmp.h: This.
30751
7dc00e0d
L
30752 * sysdeps/i386/bits/mathdef.h: Removed.
30753 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30754 * sysdeps/x86/bits/mathdef.h: This.
30755
03277f8f
AS
307562012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30757
30758 [BZ #14132]
30759 * include/sys/socket.h (__connect_internal)
30760 (__libc_sa_len_internal): Remove declaration.
30761 (__connect, __libc_sa_len): Declare hidden_proto.
30762 (SA_LEN): Remove use of INTUSE.
30763 * socket/connect.c: Add libc_hidden_def.
30764 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30765 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30766 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30767 alias.
30768 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30769 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30770 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30771 of adding _internal alias.
30772
13764867
L
307732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30774
30775 [BZ #14117]
6bd97696
L
30776 * sysdeps/i386/bits/link.h: Removed.
30777 * sysdeps/i386/bits/linkmap.h: Likewise.
30778 * sysdeps/x86_64/bits/link.h: Renamed to ...
30779 * sysdeps/x86/bits/link.h: This.
30780 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30781 * sysdeps/x86/bits/linkmap.h: This.
30782
f726f0bb
L
30783 * sysdeps/i386/bits/endian.h: Removed.
30784 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30785 * sysdeps/x86/bits/endian.h: This.
30786
13764867
L
30787 * sysdeps/i386/bits/byteswap.h: Removed.
30788 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30789 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30790 * sysdeps/x86/bits/byteswap.h: This.
30791 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30792 * sysdeps/x86/bits/byteswap-16.h: This.
30793 * sysdeps/i386/Implies: Add x86.
30794 * sysdeps/x86_64/Implies: Likewise.
30795
ae251b0b
DM
307962012-05-30 David S. Miller <davem@davemloft.net>
30797
30798 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30799 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30800 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30801 (FP_TRAPPING_EXCEPTIONS): Define.
30802 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30803 (FP_TRAPPING_EXCEPTIONS): Define.
30804 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30805 subnormals only when inexact has been signalled or underflow
30806 exceptions are enabled.
30807 (_FP_PACK_CANONICAL): Likewise.
30808
d5c90867
L
308092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30810
30811 [BZ #14183]
30812 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30813 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30814
63f1549e
RH
308152012-05-30 Richard Henderson <rth@twiddle.net>
30816
8d8f2279
RH
30817 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30818 with #ifndef NOT_IN_libc.
30819
63f1549e
RH
30820 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30821 marked to avoid plt entry.
30822
0ab0291b
L
308232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30824
30825 [BZ #14112]
30826 * Makeconfig (default-abi): New macro.
30827 (abi-includes): Likewise.
30828 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30829 $(abi-$(default-abi)-lib-soname) for soname if defined.
30830 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30831 abi-variants.
30832 * Makefile (installed-stubs): Likewise.
30833 * include/stubs-biarch.h: Removed.
30834 * scripts/lib-names.awk: Only handle one library at a time.
30835 * scripts/soversions.awk: Remove WORDSIZE support.
30836 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30837 entries.
30838 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30839 Removed.
30840 (syscall-list-default-condition): Likewise.
30841 (syscall-list-default-condition): Likewise.
30842 (syscall-list-includes): Likewise.
30843 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30844 syscall-list-* with abi-*. Handle undefined abi-variants.
30845 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30846 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30847 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30848 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30849 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30850 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30851 Removed.
30852 (syscall-list-32-options): Likewise.
30853 (syscall-list-32-condition): Likewise.
30854 (syscall-list-64-options): Likewise.
30855 (syscall-list-64-condition): Likewise.
30856 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30857 macro.
30858 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30859 Renamed to ...
30860 (abi-*): This.
30861 (abi-64-ld-soname): New macro.
30862 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30863 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30864 Renamed to ...
30865 (abi-*): This.
30866 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30867 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30868
4da0431d
JM
308692012-05-30 Joseph Myers <joseph@codesourcery.com>
30870
3a85279c
JM
30871 * sysdeps/unix/sysv/linux/kernel-features.h
30872 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30873 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30874 include <kernel-features.h>.
30875 [!__NR_ftruncate64]: Remove conditional code.
30876 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30877 [__NR_ftruncate64]: Make code unconditional.
30878 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30879 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30880 include <kernel-features.h>.
30881 [!__NR_ftruncate64]: Remove conditional code.
30882 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30883 [__NR_ftruncate64]: Make code unconditional.
30884 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30886 include <kernel-features.h>.
30887 [!__NR_ftruncate64]: Remove conditional code.
30888 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30889 [__NR_ftruncate64]: Make code unconditional.
30890 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30892 include <kernel-features.h>.
30893 [!__NR_ftruncate64]: Remove conditional code.
30894 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30895 [__NR_ftruncate64]: Make code unconditional.
30896 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30897
4da0431d
JM
30898 * configure.in (libc_cv_fpie): Weaken to a compile test using
30899 LIBC_TRY_CC_OPTION.
30900 * configure: Regenerated.
30901
11ef492c
AK
309022012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30903
30904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30908 Refreshed.
30909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30915 Refreshed.
30916
d66ef399
DM
309172012-05-27 David S. Miller <davem@davemloft.net>
30918
30919 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30920 (___Q_zero): New.
30921 (__Q_simulate_exceptions): Return void. Change to simulate
30922 exceptions by writing into the %fsr.
30923 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30924 (__Qp_handle_exceptions): Likewise.
30925 (numbers): Delete.
30926 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30927 __Qp_handle_exceptions.
30928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30929 __Qp_handle_exceptions.
30930 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30931 as unused and give dummy FP_RND_NEAREST initializer.
30932 (FP_INHIBIT_RESULTS): Define.
30933 (___Q_simulate_exceptions): Update declaration.
30934 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30935 formatting.
30936 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30937 as unused and give dummy FP_RND_NEAREST initializer.
30938 (__Qp_handle_exceptions): Update declaration.
30939 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30940 formatting.
30941
04fb54b5
TS
309422012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30943
30944 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30945 the temporary FPU control word.
30946 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30947 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30948 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30949 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30950 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30951 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30952 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30953 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30954 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30955 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30956 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30957
3f99608f
KK
309582012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30959
30960 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30961 fields.
30962
65a4de4e
CLT
309632012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30964
30965 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30966 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30967 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30968 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30969 Likewise.
30970 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30971 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30972 Likewise.
30973
15749d40
UD
309742012-05-27 Ulrich Drepper <drepper@gmail.com>
30975
30976 * po/h.po: Update from translation team.
30977
25dbcb27
AS
309782012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30979
3d3f8e55
AS
30980 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30981
25dbcb27
AS
30982 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30983 handling of denormals.
30984 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30985 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30986 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30987 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30988 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30989 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30991 Likewise.
30992
7ad47a80 309932012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
30994
30995 [BZ #14152]
30996 * math/libm-test.inc (fma_test): Don't always expect underflow
30997 exception.
30998
9c6ea9fa
SP
309992012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31000
31001 [BZ #12416]
31002 * elf/tst-execstack.c: Include stackinfo.h.
31003 (do_test): Adjust test case to ensure that pthread_getattr_np
31004 behaviour remains the same after marking stack executable.
31005
a8239222
JM
310062012-05-25 Joseph Myers <joseph@codesourcery.com>
31007
31008 * sysdeps/unix/sysv/linux/kernel-features.h
31009 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31010 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31011 kernel-features.h.
31012 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31013 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31014 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31015 kernel-features.h.
31016 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31017 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31018
918b5606
L
310192012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31020
31021 * configure.in: Define the default includes to being none.
31022 * configure: Regenerated.
31023
3a097cc7
RM
310242012-05-25 Roland McGrath <roland@hack.frob.com>
31025
8422c9a5
RM
31026 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31027 * sysdeps/x86_64/setjmp.S: Likewise.
31028 * sysdeps/i386/bsd-setjmp.S: Likewise.
31029 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31030 * sysdeps/i386/setjmp.S: Likewise.
31031 * sysdeps/i386/__longjmp.S: Likewise.
31032 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31033 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31034
3a097cc7
RM
31035 * include/stap-probe.h: New file.
31036 * configure.in: Handle --enable-systemtap.
31037 * configure: Regenerated.
31038 * config.h.in (USE_STAP_PROBE): New #undef.
31039 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31040 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31041 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31042
21708942
JM
310432012-05-25 Joseph Myers <joseph@codesourcery.com>
31044
31045 [BZ #13717]
31046 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31047 to 2.4.0 where earlier.
31048 * sysdeps/unix/sysv/linux/configure: Regenerated.
31049 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
31058 [__ASSUME_32BITUIDS]: Make code unconditional.
31059 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31060 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31061 <kernel-features.h>.
31062 [__ASSUME_32BITUIDS]: Make code unconditional.
31063 [!__ASSUME_32BITUIDS]: Remove conditional code.
31064 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31065 <kernel-features.h>.
31066 [__ASSUME_32BITUIDS]: Make code unconditional.
31067 [!__ASSUME_32BITUIDS]: Remove conditional code.
31068 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31069 <kernel-features.h>.
31070 [__ASSUME_32BITUIDS]: Make code unconditional.
31071 [!__ASSUME_32BITUIDS]: Remove conditional code.
31072 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31073 <kernel-features.h>.
31074 [__ASSUME_32BITUIDS]: Make code unconditional.
31075 [!__ASSUME_32BITUIDS]: Remove conditional code.
31076 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31077 <kernel-features.h>.
31078 [__ASSUME_32BITUIDS]: Make code unconditional.
31079 [!__ASSUME_32BITUIDS]: Remove conditional code.
31080 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31081 <kernel-features.h>.
31082 [__ASSUME_32BITUIDS]: Make code unconditional.
31083 [!__ASSUME_32BITUIDS]: Remove conditional code.
31084 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31085 <kernel-features.h>.
31086 [__ASSUME_32BITUIDS]: Make code unconditional.
31087 [!__ASSUME_32BITUIDS]: Remove conditional code.
31088 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31089 <kernel-features.h>.
31090 [__ASSUME_32BITUIDS]: Make code unconditional.
31091 [!__ASSUME_32BITUIDS]: Remove conditional code.
31092 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31093 <kernel-features.h>.
31094 [__ASSUME_32BITUIDS]: Make code unconditional.
31095 [!__ASSUME_32BITUIDS]: Remove conditional code.
31096 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31097 <kernel-features.h>.
31098 [__ASSUME_32BITUIDS]: Make code unconditional.
31099 [!__ASSUME_32BITUIDS]: Remove conditional code.
31100 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31101 <kernel-features.h>.
31102 [__NR_setresgid] (__setresgid): Do not declare.
31103 [__ASSUME_32BITUIDS]: Make code unconditional.
31104 [!__ASSUME_32BITUIDS]: Remove conditional code.
31105 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31106 <kernel-features.h>.
31107 [__NR_setresuid] (__setresuid): Do not declare.
31108 [__ASSUME_32BITUIDS]: Make code unconditional.
31109 [!__ASSUME_32BITUIDS]: Remove conditional code.
31110 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31111 <kernel-features.h>.
31112 [__ASSUME_32BITUIDS]: Make code unconditional.
31113 [!__ASSUME_32BITUIDS]: Remove conditional code.
31114 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31115 <kernel-features.h>.
31116 [__ASSUME_32BITUIDS]: Make code unconditional.
31117 [!__ASSUME_32BITUIDS]: Remove conditional code.
31118 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31119 <kernel-features.h>.
31120 [__ASSUME_32BITUIDS]: Make code unconditional.
31121 [!__ASSUME_32BITUIDS]: Remove conditional code.
31122 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31123 <kernel-features.h>.
31124 [__ASSUME_32BITUIDS]: Make code unconditional.
31125 [!__ASSUME_32BITUIDS]: Remove conditional code.
31126 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31127 <kernel-features.h>.
31128 [__ASSUME_32BITUIDS]: Make code unconditional.
31129 [!__ASSUME_32BITUIDS]: Remove conditional code.
31130 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31131 <kernel-features.h>.
31132 [__ASSUME_32BITUIDS]: Make code unconditional.
31133 [!__ASSUME_32BITUIDS]: Remove conditional code.
31134 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31135 <kernel-features.h>.
31136 [__ASSUME_32BITUIDS]: Make code unconditional.
31137 [!__ASSUME_32BITUIDS]: Remove conditional code.
31138 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31139 <kernel-features.h>.
31140 [__ASSUME_32BITUIDS]: Make code unconditional.
31141 [!__ASSUME_32BITUIDS]: Remove conditional code.
31142 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31143 <kernel-features.h>.
31144 [__ASSUME_32BITUIDS]: Make code unconditional.
31145 [!__ASSUME_32BITUIDS]: Remove conditional code.
31146 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31147 <kernel-features.h>.
31148 [__ASSUME_32BITUIDS]: Make code unconditional.
31149 [!__ASSUME_32BITUIDS]: Remove conditional code.
31150 * sysdeps/unix/sysv/linux/kernel-features.h
31151 (__ASSUME_SETRESUID_SYSCALL): Remove.
31152 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31153 (__ASSUME_32BITUIDS): Likewise.
31154 (__ASSUME_LDT_WORKS): Likewise.
31155 (__ASSUME_O_DIRECTORY): Likewise.
31156 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31157 architecture but not kernel version.
31158 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31159 (__ASSUME_MMAP2_SYSCALL): Likewise.
31160 (__ASSUME_STAT64_SYSCALL): Likewise.
31161 (__ASSUME_IPC64): Likewise.
31162 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31163 <kernel-features.h>.
31164 [__ASSUME_32BITUIDS]: Make code unconditional.
31165 [!__ASSUME_32BITUIDS]: Remove conditional code.
31166 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31167 <kernel-features.h>.
31168 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31169 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31170 132096]: Remove conditional code.
31171 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31172 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31173 <kernel-features.h>.
31174 [__ASSUME_32BITUIDS]: Make code unconditional.
31175 [!__ASSUME_32BITUIDS]: Remove conditional code.
31176 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31177 <kernel-features.h>.
31178 [__ASSUME_32BITUIDS]: Make code unconditional.
31179 [!__ASSUME_32BITUIDS]: Remove conditional code.
31180 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31181 <kernel-features.h>.
31182 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31183 unconditional.
31184 (__setresgid): Do not declare.
31185 [__ASSUME_32BITUIDS]: Make code unconditional.
31186 [!__ASSUME_32BITUIDS]: Remove conditional code.
31187 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31188 <kernel-features.h>.
31189 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31190 unconditional.
31191 (__setresuid): Do not declare.
31192 [__ASSUME_32BITUIDS]: Make code unconditional.
31193 [!__ASSUME_32BITUIDS]: Remove conditional code.
31194 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31195 <kernel-features.h>.
31196 [__ASSUME_32BITUIDS]: Make code unconditional.
31197 [!__ASSUME_32BITUIDS]: Remove conditional code.
31198 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31199 <kernel-features.h>.
31200 [__ASSUME_32BITUIDS]: Make code unconditional.
31201 [!__ASSUME_32BITUIDS]: Remove conditional code.
31202
a386f1cc
RH
312032012-05-25 Richard Henderson <rth@twiddle.net>
31204
31205 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31206 dl_hwcap to ifunc resolver.
31207 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31208 elf_ifunc_invoke.
31209 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31210 dl_hwcap to ifunc resolver.
31211 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31212
b6550497
JM
312132012-05-24 Joseph Myers <joseph@codesourcery.com>
31214
31215 [BZ #14153]
31216 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31217 for |x| <= 2**-26, not 2**-57.
31218 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31219 exception.
31220
b0bc23a1
JL
312212012-05-24 Jeff Law <law@redhat.com>
31222
31223 * stdio-common/Makefile (tests): Add bug25.
31224 * stdio-common/bug25.c: New test.
31225
347c92e9
L
312262012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31227
31228 [BZ #13576]
31229 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31230 multiple of MALLOC_ALIGNMENT in size.
31231 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31232
6bcc8b3f
JM
312332012-05-24 Joseph Myers <joseph@codesourcery.com>
31234
31235 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31236 Require >= 256.
31237 (FILENAME_MAX): Use macro-int-constant.
31238 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31239 (_IOFBF): Use macro-int-constant.
31240 (_IOLBF): Likewise.
31241 (_IONBF): Likewise.
31242 (SEEK_CUR): Likewise.
31243 (SEEK_END): Likewise.
31244 (SEEK_SET): Likewise.
31245 (TMP_MAX): Likewise.
31246 (EOF): Use macro-int-constant. Require < 0.
31247 (NULL): Use macro-constant. Require == 0.
31248 (stdin): Require type to be FILE *.
31249 (stdout): Likewise.
31250 (stderr): Likewise.
31251 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31252 macro-int-constant.
31253 (EXIT_SUCCESS): Likewise.
31254 (NULL): Use macro-constant. Require == 0.
31255 (RAND_MAX): Use macro-int-constant.
31256 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31257 [C99-based standards] (strtof): Require function.
31258 [C99-based standards] (strtold): Likewise.
31259 [C99-based standards] (strtoll): Likewise.
31260 [C99-based standards] (strtoull): Likewise.
31261 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31262 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31263 [ISO || ISO99 || ISO11] (math.h): Likewise.
31264 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31265 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31266 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31267
d18ea0c5
AS
312682012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31269
31270 [BZ #14132]
56d25bb8
AS
31271 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31272 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31273 * intl/dgettext.c (DCGETTEXT): Likewise.
31274 * intl/gettext.c (DCGETTEXT): Likewise.
31275 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31276 * posix/regex_internal.h (gettext): Likewise.
31277 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31278 Remove declaration.
31279 * include/argz.h (__argz_count_internal)
31280 (__argz_stringify_internal): Remove declaration.
31281 (__argz_count, __argz_stringify): Declare hidden proto.
31282 * intl/dcgettext.c: Remove use of INTDEF.
31283 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31284 * string/argz-stringify.c: Likewise.
31285 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31286 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31287 Declare hidden proto.
d18ea0c5
AS
31288 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31289 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31290 Declare hidden proto.
31291 * include/stdio.h (__asprintf_internal): Don't declare.
31292 (__asprintf): Don't define as macro. Declare hidden proto.
31293 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31294 (__fsetlocking): Declare hidden proto.
31295 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31296 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31297 hidden proto.
31298 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31299 (_IO_setlinebuf): Remove use of INTUSE.
31300 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31301 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31302 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31303 Remove declaration.
31304 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31305 (_IO_do_flush): Remove use of INTUSE.
31306 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31307 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31308 (_IO_adjust_column, _IO_least_wmarker)
31309 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31310 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31311 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31312 (_IO_default_doallocate, _IO_wdefault_doallocate)
31313 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31314 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31315 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31316 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31317 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31318 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31319 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31320 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31321 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31322 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31323 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31324 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31325 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31326 proto.
31327 (_IO_flush_all_internal, _IO_adjust_column_internal)
31328 (_IO_default_uflow_internal, _IO_default_finish_internal)
31329 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31330 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31331 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31332 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31333 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31334 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31335 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31336 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31337 (_IO_file_close_internal, _IO_file_close_it_internal)
31338 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31339 (_IO_file_init_internal, _IO_file_attach_internal)
31340 (_IO_file_fopen_internal, _IO_file_read_internal)
31341 (_IO_file_sync_internal, _IO_file_seek_internal)
31342 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31343 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31344 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31345 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31346 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31347 (_IO_list_all_internal, _IO_link_in_internal)
31348 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31349 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31350 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31351 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31352 (_IO_do_write_internal, _IO_padn_internal)
31353 (_IO_getline_info_internal, _IO_getline_internal)
31354 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31355 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31356 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31357 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31358 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31359 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31360 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31361 with libc_hidden_ver, remove use of INTUSE.
31362 * libio/genops.c: Likewise.
31363 * libio/freopen.c: Likewise.
31364 * libio/freopen64.c: Likewise.
31365 * libio/iofclose.c: Likewise.
31366 * libio/iofdopen.c: Likewise.
31367 * libio/iofflush.c: Likewise.
31368 * libio/iofflush_u.c: Likewise.
31369 * libio/iofgets.c: Likewise.
31370 * libio/iofgets_u.c: Likewise.
31371 * libio/iofopen.c: Likewise.
31372 * libio/iofopncook.c: Likewise.
31373 * libio/iofread.c: Likewise.
31374 * libio/iofread_u.c: Likewise.
31375 * libio/ioftell.c: Likewise.
31376 * libio/iofwrite.c: Likewise.
31377 * libio/iogetline.c: Likewise.
31378 * libio/iogets.c: Likewise.
31379 * libio/iogetwline.c: Likewise.
31380 * libio/iopadn.c: Likewise.
31381 * libio/iopopen.c: Likewise.
31382 * libio/ioseekoff.c: Likewise.
31383 * libio/ioseekpos.c: Likewise.
31384 * libio/iosetbuffer.c: Likewise.
31385 * libio/iosetvbuf.c: Likewise.
31386 * libio/ioungetc.c: Likewise.
31387 * libio/ioungetwc.c: Likewise.
31388 * libio/iovdprintf.c: Likewise.
31389 * libio/iovsprintf.c: Likewise.
31390 * libio/iovsscanf.c: Likewise.
31391 * libio/memstream.c: Likewise.
31392 * libio/obprintf.c: Likewise.
31393 * libio/oldfileops.c: Likewise.
31394 * libio/oldiofclose.c: Likewise.
31395 * libio/oldiofdopen.c: Likewise.
31396 * libio/oldiofopen.c: Likewise.
31397 * libio/oldiopopen.c: Likewise.
31398 * libio/oldstdfiles.c: Likewise.
31399 * libio/putc.c: Likewise.
31400 * libio/setbuf.c: Likewise.
31401 * libio/setlinebuf.c: Likewise.
31402 * libio/stdfiles.c: Likewise.
31403 * libio/strops.c: Likewise.
31404 * libio/vasprintf.c: Likewise.
31405 * libio/vscanf.c: Likewise.
31406 * libio/vsnprintf.c: Likewise.
31407 * libio/vswprintf.c: Likewise.
31408 * libio/wfiledoalloc.c: Likewise.
31409 * libio/wfileops.c: Likewise.
31410 * libio/wgenops.c: Likewise.
31411 * libio/wmemstream.c: Likewise.
31412 * libio/wstrops.c: Likewise.
31413 * libio/__fpurge.c: Likewise.
31414 * libio/__fsetlocking.c: Likewise.
31415 * assert/assert.c: Likewise.
31416 * debug/fgets_chk.c: Likewise.
31417 * debug/fgets_u_chk.c: Likewise.
31418 * debug/fread_chk.c: Likewise.
31419 * debug/fread_u_chk.c: Likewise.
31420 * debug/gets_chk.c: Likewise.
31421 * debug/obprintf_chk.c: Likewise.
31422 * debug/vasprintf_chk.c: Likewise.
31423 * debug/vdprintf_chk.c: Likewise.
31424 * debug/vsnprintf_chk.c: Likewise.
31425 * debug/vsprintf_chk.c: Likewise.
31426 * malloc/mtrace.c: Likewise.
31427 * misc/error.c: Likewise.
31428 * misc/syslog.c: Likewise.
31429 * stdio-common/asprintf.c: Likewise.
31430 * stdio-common/fxprintf.c: Likewise.
31431 * stdio-common/getw.c: Likewise.
31432 * stdio-common/isoc99_fscanf.c: Likewise.
31433 * stdio-common/isoc99_scanf.c: Likewise.
31434 * stdio-common/isoc99_vfscanf.c: Likewise.
31435 * stdio-common/isoc99_vscanf.c: Likewise.
31436 * stdio-common/isoc99_vsscanf.c: Likewise.
31437 * stdio-common/printf-prs.c: Likewise.
31438 * stdio-common/printf_fp.c: Likewise.
31439 * stdio-common/printf_fphex.c: Likewise.
31440 * stdio-common/printf_size.c: Likewise.
31441 * stdio-common/putw.c: Likewise.
31442 * stdio-common/scanf.c: Likewise.
31443 * stdio-common/sprintf.c: Likewise.
31444 * stdio-common/tmpfile.c: Likewise.
31445 * stdio-common/vfprintf.c: Likewise.
31446 * stdio-common/vfscanf.c: Likewise.
31447 * stdlib/strfmon_l.c: Likewise.
31448 * sunrpc/openchild.c: Likewise.
31449 * sunrpc/xdr_stdio.c: Likewise.
31450 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31451 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31452
d6c33fda
RM
314532012-05-24 Roland McGrath <roland@hack.frob.com>
31454
c1487492
RM
31455 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31456
31457 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31458 in the third column, to generate for the shared library an IFUNC
31459 that uses _dl_vdso_vsym.
31460 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31461 * Makeconfig (object-suffixes-noshared): New variable.
31462
31463 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31464 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31465 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31466 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31467
d6c33fda
RM
31468 [BZ #14132]
31469 * include/sys/time.h (__gettimeofday): Remove macro.
31470 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31471 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31472 Remove INTDEF.
31473 (__gettimeofday): Add libc_hidden_def.
31474 (gettimeofday): Add libc_hidden_weak.
31475 * sysdeps/mach/gettimeofday.c: Likewise.
31476 * sysdeps/posix/gettimeofday.c: Likewise.
31477 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31478 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31479 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31480 (__gettimeofday_internal): Remove strong_alias.
31481 (__gettimeofday): Add libc_hidden_def.
31482 (gettimeofday): Add libc_hidden_weak.
31483 * sysdeps/unix/syscalls.list (gettimeofday):
31484 Remove __gettimeofday_internal alias.
31485
b5a2bbe6
L
314862012-05-24 Daniel Jacobowitz <drow@false.org>
31487 H.J. Lu <hongjiu.lu@intel.com>
31488
31489 [BZ #12495]
31490 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31491 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31492 (largebin_index_32_big): New.
31493 (largebin_index): Use it for 16-byte alignment.
31494 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31495 correction with front_misalign.
31496
cfba4fda
L
314972012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31498
7f907421
L
31499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31501 Likewise.
31502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31503 Likewise.
31504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31505 Likewise.
31506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31507 Likewise.
31508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31509 Likewise.
31510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31511 Likewise.
31512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31513 Likewise.
31514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31515 Likewise.
31516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31517 Likewise.
31518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31519 Likewise.
31520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31521 Likewise.
31522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31523 Likewise.
31524
cfba4fda
L
31525 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31526 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31527
80bad0cc
JM
315282012-05-24 Joseph Myers <joseph@codesourcery.com>
31529
7a25eb06
JM
31530 [BZ #10846]
31531 [BZ #14036]
31532 * math/libm-test.inc (exp_test): Add test from bug 14036.
31533 (pow_test): Add test from bug 10846.
31534
795405f9
JM
31535 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31536 and other flags.
31537 (special_function): Do not include flags in test name.
31538 (parse_args): Likewise.
31539 * sysdeps/i386/fpu/libm-test-ulps: Update.
31540 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31541 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31542 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31544
80bad0cc
JM
31545 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31546 exceptions.
31547 * math/libm-test.inc ("Philosophy"): Update comment about
31548 exception testing.
31549 (UNDERFLOW_EXCEPTION): New macro.
31550 (UNDERFLOW_EXCEPTION_OK): Likewise.
31551 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31552 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31553 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31554 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31555 (INVALID_EXCEPTION_OK): Update value.
31556 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31557 (OVERFLOW_EXCEPTION_OK): Likewise.
31558 (IGNORE_ZERO_INF_SIGN): Likewise.
31559 (test_exceptions): Handle underflow exceptions.
31560 (acos_test): Update for underflow exception expectations.
31561 (cexp_test): Likewise.
31562 (clog_test): Likewise.
31563 (clog10_test): Likewise.
31564 (csqrt_test): Likewise.
31565 (ctan_test): Likewise.
31566 (ctanh_test): Likewise.
31567 (exp_test): Likewise.
31568 (exp10_test): Likewise.
31569 (exp2_test): Likewise.
31570 (expm1_test): Likewise.
31571 (fma_test): Likewise.
31572 (j0_test): Likewise.
31573 (jn_test): Likewise.
31574 (nexttoward_test): Likewise.
31575 (pow_test): Likewise.
31576 (scalbn_test): Likewise.
31577 (scalbln_test): Likewise.
31578 (tan_test): Likewise.
31579 (y1_test): Likewise.
31580 * sysdeps/i386/fpu/libm-test-ulps: Update.
31581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31582
9e0e3d0b
DM
315832012-05-23 David S. Miller <davem@davemloft.net>
31584
31585 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31586 (__libc_sigaction): Remove unused local variables.
31587
ccd0a08f
L
315882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31589
31590 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31591
62bdf9a6
PE
315922012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31593
f8591f80
PE
31594 mktime: avoid signed integer overflow
31595 * time/mktime.c (__mktime_internal): Do not mishandle the case
31596 where diff == INT_MIN.
31597
94c7d826
PE
31598 mktime: simplify computation of average
31599 * time/mktime.c (ranged_convert): Use new time_t_avg function
31600 instead of rolling our own (probably-slower) code.
31601
ce73d683
PE
31602 mktime: do not assume signed right shift propagates sign bit
31603 * time/mktime.c (isdst_differ): New static function.
31604 (__mktime_internal): No need to normalize tm_isdst now.
31605 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31606 tm_isdst values.
31607
72a22e59
PE
31608 mktime: merge another wrapv change from gnulib
31609 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31610 from some compilers.
31611
68605433
PE
31612 mktime: remove incorrect attempt at unusual arithmetics
31613 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31614 The code didn't really work on such machines anyway.
31615 (TYPE_MINIMUM): Assume two's complement.
31616 (twos_complement_arithmetic): Verify that long_int and time_t
31617 are two's complement (or unsigned, in the latter case).
31618
03cf7fe3
PE
31619 mktime: check signed shifts on long_int and time_t, too
31620 * time/mktime.c (SHR): Check that shifts work as desired
31621 on the types long_int and time_t too, as SHR is used on
31622 such types.
31623
f04dfbc2
PE
31624 mktime: do not assume 'long' is wide enough
31625 * time/mktime.c (verify): Move decl up.
31626 (long_int): New type.
31627 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31628 to remove assumption in the code that 'long' is wide enough to
31629 store year values. This assumption is not true on x32 and on
31630 some non-glibc platforms.
31631
62bdf9a6
PE
31632 mktime: merge wrapv change from gnulib
31633 * time/mktime.c (WRAPV): New macro.
31634 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31635 (guess_time_tm, __mktime_internal): Do not assume that signed
31636 integer overflow wraps around; modern compilers generate code
31637 where this assumption is no longer valid.
31638
5e292e4f
L
316392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31640
31641 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31642 Replace "jmp L(pseudo_end)" with "ret".
31643 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31644 Likewise.
31645
8caf8c87
AJ
316462012-05-23 Andreas Jaeger <aj@suse.de>
31647
31648 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31649 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31650
1a09dc56
AJ
316512012-05-23 Andreas Jaeger <aj@suse.de>
31652 Maximilian Attems <max@stro.at>
31653
31654 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31655 New macros.
31656
1c87aba0
L
316572012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31658
31659 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31660 code so that pseudo_end is just ret and the stack pointer is
31661 correct also for static library in error case.
31662
40e45bd5
JM
316632012-05-23 Joseph Myers <joseph@codesourcery.com>
31664
c2670533
JM
31665 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31666 move to syscalls.list.
31667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31671
40e45bd5
JM
31672 * manual/install.texi (Running make install): Do not mention Linux
31673 kernel version for which pt_chown is not needed.
31674 (Linux): Do not mention problems with nscd with 2.0 kernels.
31675 * INSTALL: Regenerated.
31676
be08eda5
AJ
316772012-05-23 Andreas Jaeger <aj@suse.de>
31678
31679 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31680 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31681 macro.
31682 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31683 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31684 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31685 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31686 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31687 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31688 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31689 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31690 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31691 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31692 * sysdeps/unix/sysv/linux/bits/in.h
31693 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31694
a6a056bb
RM
316952012-05-22 Roland McGrath <roland@hack.frob.com>
31696
31697 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31698 (PREPARE_VERSION): Just use assert instead, it will be elided
31699 under [NDEBUG] anyway.
31700
c9009328
L
317012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31702
31703 * sysdeps/unix/sysv/linux/Makefile: Include
31704 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 31705 (sysdep_routines): Remove sysctl.
c9009328
L
31706 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31707 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31708 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31709 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31710 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31711
73338355
AJ
317122012-05-22 Andreas Jaeger <aj@suse.de>
31713
31714 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31715 that pseudo_end is just ret and the stack pointer is correct also
31716 for static library in error case.
31717
d44638b0
PP
317182012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31719
31720 [BZ #14122]
31721 * nss/nsswitch.c (defconfig_entries): New variable.
31722 (__nss_database_lookup): Don't leak defconfig entries.
31723 (nss_parse_service_list): Don't leak on error paths.
31724 (free_database_entries): New function.
31725 (free_defconfig): New function.
31726 (free_mem): Move common code to free_database_entries.
31727
31a39bd8
L
317282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31729
da0331a8
L
31730 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31731 Add arch_prctl.
31732 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31733
31a39bd8
L
31734 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31735 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31737 New macro.
31738 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31739 (INTERNAL_SYSCALL_TYPES): Likewise.
31740 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31741 (LOAD_REGS_TYPES_[1-6]): Likewise.
31742 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31743 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31744
45470df3
AZ
317452012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31746
31747 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31748 copysignl for GLIBC_2_0.
31749 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31750 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31751 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31752 logbl for GLIBC_2_0.
31753 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31754 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31755
98a61bcb
L
317562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31757
a4f6e481
L
31758 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31759 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31760
f63d5db6
L
31761 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31762 Use "neg %eax".
31763
98a61bcb
L
31764 * time/mktime.c: Update copyright years.
31765
95770f14
PE
317662012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31767
6226efbd
PE
31768 mktime: merge comment-quoting-style change from gnulib
31769 * time/mktime.c: Quote 'like this' in comments.
31770 The GNU coding standards suggest that we no longer quote `like this',
31771 as "`" and "'" are typically rendered asymmetrically nowadays.
31772 The typical gnulib style is to quote 'like this' when quoting
31773 code, and "like this" when quoting English.
31774
b99e4f78
PE
31775 * time/mktime.c (compile-command): Add "-I.".
31776
643e01e6
PE
31777 mktime: merge mktime-internal.h change from gnulib
31778 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31779
2554247d
PE
31780 mktime: merge time_r change from gnulib
31781 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31782
826dd0ab
PE
31783 mktime: merge DEBUG change from gnulib
31784 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31785 case system <time.h> has a #define.
31786
bd83aabe
PE
31787 mktime: merge <sys/types.h> change from gnulib
31788 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31789 since <time.t> is now guaranteed to define time_t.
31790
95770f14
PE
31791 mktime: merge HAVE_CONFIG_H change from gnulib
31792 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31793
5e1a27a9
L
317942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31795
0e44a77e
L
31796 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31797 Use "neg %eax".
31798
5e1a27a9
L
31799 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31800 __rlim_t cast.
31801 (struct rusage): Use anonymous union to pad each field to
31802 __syscall_slong_t.
31803
46259bec
DM
318042012-05-21 David S. Miller <davem@davemloft.net>
31805
31806 * Makefules (o-iterator): Remove .s cases.
31807 (compile-command.s): Delete.
31808 (COMPILE.s): Delete.
31809 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31810
59f0c22e
JM
318112012-05-21 Joseph Myers <joseph@codesourcery.com>
31812
31813 * configure.in (libc_cv_predef_stack_protector): Only consider
31814 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31815 * configure: Regenerated.
31816
20c07380
L
318172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31818
bbb3154b
L
31819 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31820 New macro. Use R*LP on int and pointer.
31821 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
31822 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31823 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
31824 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31825
20c07380
L
31826 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31827 [__WORDSIZE_TIME64_COMPAT32] instead of
31828 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31829 (struct utmp): Likewise.
31830 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31831 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31832 Renamed to ...
31833 (__WORDSIZE_TIME64_COMPAT32): This.
31834 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31835 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31836 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31837 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31838 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31839 (__WORDSIZE_TIME64_COMPAT32): New macro.
31840
d8d1017e
AJ
318412012-05-21 Andreas Jaeger <aj@suse.de>
31842
31843 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31844 only if [SHARED]. Add prototype for __wcschr_ia32.
31845
6c7fb145
RM
318462012-05-21 Roland McGrath <roland@hack.frob.com>
31847
31848 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31849 of %rbp unmolested in the jmp_buf while mangling the low bits.
31850 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31851 unmolested high bits of %rbp while demangling the low bits.
31852 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31853
66274218
AJ
318542012-05-21 Andreas Jaeger <aj@suse.de>
31855
07c58f8f
AJ
31856 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31857 * sunrpc/svc_simple.c: Use it for registerrpc.
31858 * sunrpc/xcrypt.c: Use it for passwd2des.
31859
66274218
AJ
31860 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31861
61f65140
L
318622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31863
31864 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31865 Don't define if [__SYSCALL_WORDSIZE != 32].
31866 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31867 New macro.
31868
5fefb436
AJ
318692012-05-21 Bruno Haible <bruno@clisp.org>
31870 Andreas Jaeger <aj@suse.de>
31871
31872 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31873 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31874 inptr and inend for must_buffer_ch.
31875 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31876 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31877 * stdio-common/Makefile (tests): Remove bug15.
31878 (bug15-ENV): Remove macro.
31879 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31880 anymore.
31881
d8e272ab
AJ
318822012-05-19 Andreas Jaeger <aj@suse.de>
31883 Roland McGrath <roland@hack.frob.com>
31884
31885 * manual/contrib.texi: Completely rewritten. It contains now an
31886 alphabetical list of contributors and their contributions.
31887
4a56a162
RH
318882012-05-21 Richard Henderson <rth@twiddle.net>
31889
31890 * misc/getauxval.c (__getauxval): Use unsigned long int.
31891 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31892 (getauxval): Use unsigned long int.
31893
d024d23c
L
318942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31895
31896 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31897
cbc00a03
RM
318982012-05-21 Roland McGrath <roland@hack.frob.com>
31899
31900 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31901 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31902 __alignof__ (long double).
31903
478143fa
AZ
319042012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31905
31906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31907
c7683a6d
RH
319082012-05-20 Richard Henderson <rth@twiddle.net>
31909
31910 * misc/getauxval.c: New file.
31911 * misc/sys/auxv.h: New file.
31912 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31913 (routines): Add getauxval.
31914 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31915 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31916 * elf/dl-sysdep.c (_dl_auxv): Remove.
31917 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31918 * elf/dl-support.c (_dl_auxv): New variable.
31919 (_dl_aux_init): Initialize it.
31920 * manual/startup.texi (Auxiliary Vector): New node.
31921 * sysdeps/generic/bits/hwcap.h: New file.
31922 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31923 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31924 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31925 * sysdeps/sparc/sysdep.h: ... here. Include it.
31926 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31927 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
31928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31929 Update.
c7683a6d
RH
31930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31933 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31938
a6f1845d
AZ
319392012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31940
31941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31942
cbcbe830
DM
319432012-05-19 David S. Miller <davem@davemloft.net>
31944
31945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31946
e0b16cc2
JM
319472012-05-19 Joseph Myers <joseph@codesourcery.com>
31948
31949 [BZ #14123]
31950 * math/s_ccosh.c: Include <float.h>
31951 (__ccosh): Avoid internal overflow calculating sinh and cosh
31952 values before multiplying by sin and cos values.
31953 * math/s_ccoshf.c: Likewise.
31954 * math/s_ccoshl.c: Likewise.
31955 * math/s_csin.c: Likewise.
31956 * math/s_csinf.c: Likewise.
31957 * math/s_csinl.c: Likewise.
31958 * math/s_csinh.c: Likewise.
31959 * math/s_csinhf.c: Likewise.
31960 * math/s_csinhl.c: Likewise.
31961 * math/libm-test.inc (ccos_test): Add more tests.
31962 (ccosh_test): Likewise.
31963 (csin_test): Likewise.
31964 (csinh_test): Likewise.
31965 * sysdeps/i386/fpu/libm-test-ulps: Update.
31966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31967
6ad13e08
L
319682012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31969
f66f0ce8
L
31970 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31971 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31972
6ad13e08
L
31973 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31974
b1d072a7
JM
319752012-05-19 Joseph Myers <joseph@codesourcery.com>
31976
31977 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31978 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31979 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31980 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31981 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31982 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31983 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31984 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31985 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31986 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31987 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31988 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31989 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31990 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31991 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31992 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31993 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31994 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31995 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31996 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31997 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31998 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31999 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32000 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32001 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32002 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32003 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32004 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32005 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32006 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32007 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32008
9eae47cb
AJ
320092012-05-18 Andreas Jaeger <aj@suse.de>
32010
32011 * csu/.gitignore: Delete.
32012
bb07f69f
L
320132012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32014
32015 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32016 (timex): Use __syscall_slong_t.
32017
e6bdb741
AJ
320182012-05-18 Andreas Jaeger <aj@suse.de>
32019 Carlos O'Donell <carlos_odonell@mentor.com>
32020
32021 * manual/install.texi (Configuring and compiling): Update
32022 description about files modified in the source directory.
d6c33fda 32023 * INSTALL: Regenerated.
e6bdb741 32024
1b74487e
L
320252012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32026
32027 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32028 value. Use "or" to set return value to -1.
32029 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32030 negate return value.
32031
a88b64b9
TMQMF
320322012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32033
57f41c40
AS
32034 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32035 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
32036 failure if the compiler has Graphite support disabled.
32037 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32038 Likewise.
57f41c40
AS
32039 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32040 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
32041 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32042 Likewise.
32043
3707636e
L
320442012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32045
610b8622
L
32046 * sysdeps/x86_64/x32/_itoa.h: New file.
32047
7cd195df
L
32048 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32049 getdents system call only if kernel and user dirents have the
32050 same d_ino and d_off.
32051
94b07d20
L
32052 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32053 LLONG_MAX != LONG_MAX.
32054 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32055 (_fitoa_word): Likewise.
32056
18298070
L
32057 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32058 years.
32059 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32060 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32061 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32062
553c7ea4
L
32063 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32064 include <bits/wordsize.h>. Check __x86_64__ instead of
32065 __WORDSIZE.
32066 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32067 if __x86_64__ is defined. Use anonymous union on fpstate.
32068
3707636e
L
32069 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32070 anonymous union.
32071
b53ef01a
AS
320722012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32073
37fb1dc0
AS
32074 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32075 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32076 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32077 Refer to _rtld_local_ro instead of _rtld_global_ro.
32078 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32079 Likewise.
32080 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32081 Likewise.
32082 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32083 Likewise.
32084 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32085 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32086 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32087
b53ef01a
AS
32088 * sysdeps/powerpc/powerpc32/dl-machine.c
32089 (__elf_machine_runtime_setup) [PROF]: Don't reference
32090 _dl_prof_resolve.
32091
7a185db2
AJ
320922012-05-18 Andreas Jaeger <aj@suse.de>
32093
32094 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32095 function only available for GCCs before 3.4 since GCC 3.4
32096 introduced a builtin.
32097 (lrint): Likewise.
32098 (llrintf): Likewise.
32099 (llrint): Likewise.
32100 (fmaxf): Likewise.
32101 (fmax): Likewise.
32102 (fminf): Likewise.
32103 (fmin): Likewise.
32104 (rint): Likewise.
32105 (rintf): Likewise.
32106 (nearbyint): Likewise.
32107 (nearbyintf): Likewise.
32108 (ceil): Likewise.
32109 (ceilf): Likewise.
32110 (floor): Likewise.
32111 (floorf): Likewise.
32112
3e5aef87
L
321132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32114
428bd707
L
32115 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32116 on both fields and cast pointer to __syscall_ulong_t.
32117
3e5aef87
L
32118 * bits/types.h (__fsword_t): New type.
32119 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32120 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32121 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32122 (__FSWORD_T_TYPE): Likewise.
32123 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32124 (__FSWORD_T_TYPE): Likewise.
32125 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32126 (__FSWORD_T_TYPE): Likewise.
32127 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32128 (__FSWORD_T_TYPE): Likewise.
32129 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32130 __SWORD_TYPE with __fsword_t.
32131 (statfs64): Likewise.
32132
1ba7c3dc
DM
321332012-05-17 David S. Miller <davem@davemloft.net>
32134
32135 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32136
59910343
AJ
321372012-05-17 Andreas Jaeger <aj@suse.de>
32138
32139 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32140 warning.
32141
2e4c1e9e
L
321422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32143
32144 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32145
de7f5ce7
AJ
321462012-05-17 Andreas Jaeger <aj@suse.de>
32147
32148 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32149 when it is used.
32150
286abc3d
CM
321512012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32152
32153 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32154
477cc68e
L
321552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32156
32157 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32158 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32159
1a0994f5
CD
321602012-05-17 Andreas Jaeger <aj@suse.de>
32161 Carlos O'Donell <carlos_odonell@mentor.com>
32162
32163 [BZ #14059]
32164 * sysdeps/x86_64/multiarch/init-arch.h
32165 (bit_YMM_Usable): Rename to...
32166 (bit_AVX_Usable): ... this.
32167 (bit_FMA4_Usable): New macro.
32168 (bit_XMM_state): New macro.
32169 (bit_YMM_state): New macro.
32170 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32171 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32172 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32173 (CPUID_OSXSAVE): New macro.
32174 (CPUID_AVX): New macro.
32175 (CPUID_FMA4): New macro.
32176 (index_YMM_Usable): Rename to...
32177 (index_AVX_Usable): ... this.
32178 (HAS_AVX): Use HAS_ARCH_FEATURE.
32179 (HAS_FMA4): Likewise.
32180 (HAS_YMM_USABLE): Remove.
32181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32182 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32183 are present.
32184 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32185 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32186 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32187 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32188 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32189
0af797de
CM
321902012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32191
32192 * math/libm-test.c: Support platforms without multiple rounding modes.
32193 * math/bug-nextafter.c: Support platforms without FP exceptions.
32194 * math/bug-nexttoward.c: Likewise.
32195 * math/test-fenv.c: Likewise.
32196 * math/test-misc.c: Likewise.
32197 * stdlib/bug-getcontext.c: Likewise.
32198
e39745ff
AJ
321992012-05-17 Andreas Jaeger <aj@suse.de>
32200
32201 * manual/examples/search.c (critter_cmp): Change signature to
32202 avoid warnings.
32203 * manual/string.texi (Collation Functions): Likewise.
32204
48970aba
L
322052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32206
32207 * bits/types.h: Fold copyright years.
32208 * bits/typesizes.h: Likewise.
32209 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32210 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32211 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32212 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32213 * time/time.h: Likewise.
32214
bedee953
PP
322152012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32216
32217 [BZ #208]
32218 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32219 in instead of returning them. Return void.
32220 (__libc_mallinfo): Accumulate over all arenas.
32221 (__malloc_stats): Adjust for change in int_mallinfo interface.
32222
61653dfb
RM
322232012-05-16 Roland McGrath <roland@hack.frob.com>
32224
30b99d79
RM
32225 [BZ #10375]
32226 * configure.in (NM): Add AC_CHECK_TOOL for it.
32227 (libc_extra_cflags): New substituted variable.
32228 Check for -fstack-protector being used implicitly.
32229 * configure: Regenerated.
32230 * config.make.in (config-extra-cflags): New variable,
32231 gets @libc_extra_cflags@.
32232 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32233
61653dfb
RM
32234 [BZ #10375]
32235 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32236 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32237 * configure: Regenerated.
32238 * config.make.in (CPPUNDEFS): New substituted variable.
32239 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32240 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32241 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32242
661768bb
L
322432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32244
32245 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32246 (mq_attr): Use __syscall_slong_t.
32247
d4261567
L
322482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32249
32250 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32251 Check __x86_64__ instead of __WORDSIZE.
32252 (_STAT_VER_LINUX): Likewise.
32253 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32254 __syscall_ulong_t and __syscall_slong_t.
32255 (stat64): Likewise.
32256
cf3ff365
L
322572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32258
32259 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32260
76cf3e4d
L
322612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32262
32263 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32264
a637753a
L
322652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32266
32267 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32268 __syscall_ulong_t.
32269
d5e05119
L
32270 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32271 include <bits/wordsize.h>. Check __x86_64__ instead of
32272 __WORDSIZE.
32273 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32274 defined.
32275 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32276
f62ee380
L
32277 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32278 include <bits/wordsize.h>. Check __x86_64__ instead of
32279 __WORDSIZE.
32280 (user_regs_struct): Use "__extension__ unsigned long long"
32281 instead of "unsigned long" if __x86_64__ is defined.
32282 (user): Likewise. Pad after pointer field if __ILP32__ is
32283 defined.
32284
4e124ced
JM
322852012-05-16 Joseph Myers <joseph@codesourcery.com>
32286
6a3951a0
JM
32287 * configure.in (makeinfo): Require version 4.5 or later. Allow
32288 versions 5 to 9.
32289 * configure: Regenerated.
32290 * manual/install.texi (texinfo): Increase version requirement to
32291 4.5 or later.
32292 * INSTALL: Regenerated.
32293
4e124ced
JM
32294 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32295
953ca31a
L
322962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32297
32298 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32299
617aca05
L
32300 * sysdeps/x86_64/x32/ffs.c: New file.
32301
5762f7ae
L
32302 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32303 __syscall_ulong_t.
32304 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32305 defined. Use __syscall_ulong_t.
32306 (shminfo): Use __syscall_ulong_t.
32307 (shm_info): Likewise.
32308
a26b6856
L
32309 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32310 __syscall_ulong_t.
32311
cb2b9ef7
L
32312 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32313 <bits/wordsize.h>.
32314 (msgqnum_t): Use __syscall_ulong_t.
32315 (msglen_t): Likewise.
32316 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32317 __syscall_ulong_t.
32318
34683bb0
L
32319 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32320 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32321
84a68786
L
32322 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32323
48baa5f1
L
32324 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32325 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32326
180be88b
L
32327 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32328 __syscall_slong_t.
32329
5e90c8ad
L
32330 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32331 include <bits/wordsize.h>. Check __x86_64__ instead of
32332 __WORDSIZE.
32333
23dfb58b
L
32334 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32335 "unsigned long long int" if __x86_64__ is defined.
32336 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32337
ce5d54b0
L
32338 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32339 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32340 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32341
13dc9eac
L
32342 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32343 <stdint.h>.
32344 (GET_PC): Cast to uintptr_t first.
32345 (GET_FRAME): Likewise.
32346 (GET_STACK): Likewise.
32347
a7895d15
L
32348 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32349 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32350 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32351 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32352 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32353 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32354 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32355 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32356 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32357 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32358 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32359 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32360 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32361 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32362 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32363 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32364 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32365 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32366 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32367 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32368 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32369 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32370 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32371 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32372 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32373 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32374 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32375 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32376 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32377
656416c9
AS
323782012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32379
5bd66283
AS
32380 * Makerules (+depfiles): Also collect depfiles from .oS in
32381 $(extra-objs).
32382 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32383 .oS, $(libnldbl-routines)).
32384
656416c9
AS
32385 * Makerules (native-compile-mkdep-flags): Define.
32386 * sunrpc/Makefile (extra-objs): Add $(addprefix
32387 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32388 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32389 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32390 calling $(make-target-directory).
32391
a46f2169
L
323922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32393
32394 * bits/types.h (__snseconds_t): Removed.
32395 * time/time.h (struct timespec): Replace __snseconds_t with
32396 __syscall_slong_t.
32397 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32398 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32399 Likewise.
32400 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32401 (__SNSECONDS_T_TYPE): Likewise.
32402 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32403 (__SNSECONDS_T_TYPE): Likewise.
32404 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32405 (__SNSECONDS_T_TYPE): Likewise.
32406
6af6528b
L
324072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32408
32409 * sysdeps/mach/hurd/bits/typesizes.h
32410 (__SYSCALL_SLONG_TYPE): New macro.
32411 (__SYSCALL_ULONG_TYPE): Likewise.
32412
de986b56
L
324132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32414
32415 * bits/types.h (__syscall_slong_t): New type.
32416 (__syscall_ulong_t): Likewise.
32417
32418 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32419 (__SYSCALL_ULONG_TYPE): Likewise.
32420 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32421 (__SYSCALL_SLONG_TYPE): Likewise.
32422 (__SYSCALL_ULONG_TYPE): Likewise.
32423 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32424 (__SYSCALL_SLONG_TYPE): Likewise.
32425 (__SYSCALL_ULONG_TYPE): Likewise.
32426 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32427 (__SYSCALL_SLONG_TYPE): Likewise.
32428 (__SYSCALL_ULONG_TYPE): Likewise.
32429
85736dc7
L
324302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32431
32432 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32433 Add sigaltstack-offsets.sym.
32434 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32435 <sigaltstack-offsets.h>.
32436 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32437 longjmp_msg pointer.
32438 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32439 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32440 signal stack.
32441 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32442
cc03b296
JM
324432012-05-15 Joseph Myers <joseph@codesourcery.com>
32444
a9538892
JM
32445 * elf/stackguard-macros.h: Remove file.
32446 * sysdeps/generic/stackguard-macros.h: New file.
32447 * sysdeps/i386/stackguard-macros.h: Likewise.
32448 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32449 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32450 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32451 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32452 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32453 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32454 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32455 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32456 <elf/stackguard-macros.h>.
32457
cc03b296
JM
32458 [BZ #14109]
32459 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32460 __aligned__ in attribute.
32461 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32462 (gregset_t): Likewise.
32463
93171016
L
324642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32465
32466 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32467 * sysdeps/x86_64/64/Implies-after: Here. New file.
32468 * sysdeps/x86_64/x32/Implies-after: New file.
32469
d86813a0
L
324702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32471
32472 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32473 and access return value for _dl_profile_fixup. Use R10_LP to
32474 load frame size.
32475
2953ec75
L
324762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32477
32478 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32479
3b550e9e
L
324802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32481
32482 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32483 * sysdeps/x86_64/x32/sysdep.h: New file.
32484
eda41706
L
324852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32486
32487 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32488 * sysdeps/x86_64/setjmp.S: Likewise.
32489
9ea01d93
AZ
324902012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32491
32492 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32493 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32494 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32495 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32496 remove unused global constant.
32497
02a91938
CM
324982012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32499
32500 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32501 include of <not-cancel.h>.
32502
6540185f
RM
325032012-05-15 Roland McGrath <roland@hack.frob.com>
32504
32505 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32506
509072a0
AJ
325072012-05-15 Jeff Law <law@redhat.com>
32508 Andreas Jaeger <aj@suse.de>
32509
32510 [BZ #13594]
32511 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32512 out from...
32513 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32514 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32515 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32516 code changing __hst_map_handle.map.
32517
ba75122d
RM
325182012-05-15 Roland McGrath <roland@hack.frob.com>
32519
32520 * configure.in (sysnames): Look for Implies-before and Implies-after
32521 files.
32522 * configure: Regenerated.
32523
890d8bd8
L
325242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32525
32526 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32527 8-byte data alignment with LP_SIZE alignment.
32528
f6ee6623
L
325292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32530
32531 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32532 into R10_LP.
32533
ea2626f6
L
325342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32535
32536 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32537
085f715e
L
325382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32539
32540 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32541 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32542 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32543 Likewise.
32544 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32545
be8498fc
L
325462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32547
32548 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32549 (stackinfo_sub_sp): Likewise.
32550
70bc83b9
L
325512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32552
32553 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32554 RAX_LP.
32555
9bc0b730
L
325562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32557
32558 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32559 into R*_LP.
32560
6d2850e7
L
325612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32562
32563 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32564 sizes into R*_LP.
32565
3cb84561
L
325662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32567
32568 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32569
54e2ed81
L
325702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32571
32572 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32573 into R11_LP and load __x86_64_shared_cache_size_half into
32574 R8_LP.
32575
8a17f349
L
325762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32577
32578 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32579 R8_LP.
32580
777b1eea
AZ
325812012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32582
32583 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32584 logb for POWER7.
32585 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32586 logbf for POWER7.
32587 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32588 logbl for POWER7.
32589 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32590 powerpc32/power7/fpu/s_logb.c via #include.
32591 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32592 powerpc32/power7/fpu/s_logbf.c via #include.
32593 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32594 powerpc32/power7/fpu/s_logbl.c via #include.
32595
d20d4ac2
JM
325962012-05-15 Joseph Myers <joseph@codesourcery.com>
32597
32598 * README.libm: Remove file.
32599
6cdef1ab
L
326002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32601
32602 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32603 count for x32. Use R*_LP and omit operand-size suffix.
32604
0b254d8f
L
326052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32606
32607 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32608 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32609 * sysdeps/x86_64/x32/shlib-versions: New file.
32610
ceb809dc
RM
326112012-05-14 Roland McGrath <roland@hack.frob.com>
32612
32613 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32614 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32615 Use _dl_fatal_printf instead.
32616
37f1abd4
JM
326172012-05-14 Joseph Myers <joseph@codesourcery.com>
32618
32619 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32620 set if not set by the user. Do not allow for being unset.
32621 * sysdeps/unix/sysv/linux/configure: Regenerated.
32622
11de3a33
L
326232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32624
32625 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32626 the `q' suffix from lea and replace .quad with ASM_ADDR.
32627
e02f153a
L
326282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32629
32630 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32631 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32632 instead of $17.
32633 (PTR_DEMANGLE): Likewise.
32634
520ae0fd
L
326352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32636
32637 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32638 (LP_OP): Likewise.
32639 (ASM_ADDR): Likewise.
32640 (RAX_LP): Likewise.
32641 (RBP_LP): Likewise.
32642 (RBX_LP): Likewise.
32643 (RCX_LP): Likewise.
32644 (RDI_LP): Likewise.
32645 (RSI_LP): Likewise.
32646 (RSP_LP): Likewise.
32647 (R8_LP): Likewise.
32648 (R9_LP): Likewise.
32649 (R10_LP): Likewise.
32650 (R10_LP): Likewise.
32651 (R11_LP): Likewise.
32652 (R12_LP): Likewise.
32653 (R13_LP): Likewise.
32654 (R14_LP): Likewise.
32655 (R15_LP): Likewise.
32656
b985be81
L
326572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32658
32659 * sysdeps/x86_64/x32/dl-machine.h: New file.
32660
6a4888ff
AJ
326612012-05-14 Andreas Jaeger <aj@suse.de>
32662
32663 * manual/Makefile (subdir): Remove export of subdir.
32664 (all): Remove target.
32665 (.PHONY): Remove all from list.
32666 (mkinstalldirs): Remove.
32667 (.PHONY): Remove installdirs from list.
32668 ($(inst_infodir)/libc.info): Use make-target-directory.
32669 (installdirs): Remove.
32670 (subdir_%): Remove.
32671 (glibc-targets): Remove.
32672 (lib): Remove.
32673 (stubs): Remove.
32674 ($(objpfx)stubs ../po/manual.pot): Remove.
32675 ($(objpfx)stamp%): Remove.
32676 (make-target-directory): Remove.
32677 (subdir_install): Remove.
32678 (routines): Remove.
32679 (aux): Remove.
32680 (sources): Remove.
32681 (objects): Remove.
32682 (headers): Remove.
32683
32684 [BZ #13750]
32685 * manual/.gitignore: Remove, it's not needed anymore.
32686 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32687 all files in it.
32688 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32689 directory.
32690 (texis): Renamed to $(objpfx)texis.
32691 (texis-path): New, contains path to generated files.
32692 (chapters.%): Use texis-path for complete path, add extra argument
32693 libc-texinfo.sh.
32694 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32695 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32696 (summary,texi, stamp-summary): Use complete path of
32697 files. Generate files in build dir.
32698 (dir-add.texi): Build in build dir.
32699 (libm-err.texi,stamp-libm-err): Likewise.
32700 (version.texi, stamp-version): Likewise.
32701 (.%c.texi): Likewise.
32702 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32703 (mostlyclean): Remove target.
32704 (realclean): Remove target.
32705 (generated): Add new variable with contents from mostlyclean and
32706 realclean, remove entries duplicated in common-mostlyclean, add
32707 stamp-libm-err and stamp-version.
32708 (generated-dirs): Add libc directory.
32709 ($(inst_infodir)/libc.info): Install files from build dir.
32710
32711 * manual/install.texi (Configuring and compiling): Adjust since
32712 the info files are not part of the tar ball anymore.
32713
7ac77294
AJ
327142012-05-14 Andreas Jaeger <aj@suse.de>
32715
32716 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32717 variable.
32718
ffb7875d
JM
327192012-05-14 Joseph Myers <joseph@codesourcery.com>
32720
32721 [BZ #13717]
32722 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32723 to 2.2.0 where earlier.
32724 * sysdeps/unix/sysv/linux/configure: Regenerated.
32725 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32726 Remove conditional code.
32727 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32728 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32729 Remove conditional code.
32730 [!__NR_lchown]: Likewise.
32731 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32732 [__NR_lchown]: Likewise.
32733 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32734 comment referencing __ASSUME_LCHOWN_SYSCALL.
32735 * sysdeps/unix/sysv/linux/i386/sigaction.c
32736 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32737 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32738 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32739 Remove conditional code.
32740 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32741 (__protocol_available): Remove #if 0 code.
32742 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32743 conditional code.
32744 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32745 * sysdeps/unix/sysv/linux/kernel-features.h
32746 (__ASSUME_GETCWD_SYSCALL): Don't define.
32747 (__ASSUME_REALTIME_SIGNALS): Likewise.
32748 (__ASSUME_PREAD_SYSCALL): Likewise.
32749 (__ASSUME_PWRITE_SYSCALL): Likewise.
32750 (__ASSUME_POLL_SYSCALL): Likewise.
32751 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32752 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32753 non-SPARC.
32754 (__ASSUME_SIOCGIFNAME): Don't define.
32755 (__ASSUME_MSG_NOSIGNAL): Likewise.
32756 (__ASSUME_SENDFILE): Define unconditionally.
32757 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32758 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32759 conditional code.
32760 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32761 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32762 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32763 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32764 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32765 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32766 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32768 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32769 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32771 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32772 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32774 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32775 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32777 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32778 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32780 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32781 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32783 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32784 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32786 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32787 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32789 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32790 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32791 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32792 Remove conditional code.
32793 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32794 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32795 Remove conditional code.
32796 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32797 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32798 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32799 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32800 Remove conditional code.
32801 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32802 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32803 Remove conditional code.
32804 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32805 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32806 Remove conditional code.
32807 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32808 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32809 Remove conditional code.
32810 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32811 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32812 Remove conditional code.
32813 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32814 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32815 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32816 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32817 * sysdeps/unix/sysv/linux/sigaction.c
32818 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32819 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32820 * sysdeps/unix/sysv/linux/sigpending.c
32821 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32822 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32823 * sysdeps/unix/sysv/linux/sigprocmask.c
32824 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32825 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32826 * sysdeps/unix/sysv/linux/sigsuspend.c
32827 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32828 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32829 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32830 (__libc_missing_rt_sigs): Remove.
32831 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32832 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32833 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32834 Remove conditional code.
32835 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32836 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32837 return 1.
32838 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32839 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32840 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32841 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32842
1bfb7291
AJ
328432012-05-14 Andreas Jaeger <aj@suse.de>
32844
caae5a81
AJ
32845 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32846 it's not used in glibc.
32847 (__coshm1): Likewise.
32848 (__acosh1p): Likewise.
32849 (__sgn): Likewise.
32850
1bfb7291
AJ
32851 * manual/string.texi (Copying and Concatenation): Add missing
32852 variable in concat example.
32853 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32854
c044d724
L
328552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32856
144c5467 32857 [BZ #14103]
c044d724
L
32858 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32859 __builtin_clzl with __builtin_clzll.
32860
2523c62b
L
328612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32862
32863 [BZ #14104]
32864 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32865 libc_freeres_ptr.
32866
d7bb4c42
LD
328672012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32868
32869 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32870 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32871 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32872 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32873
9dc4e1fb
MF
328742012-05-14 Mike Frysinger <vapier@gentoo.org>
32875
32876 * NEWS: Update ia64 info.
32877
c7df0112
AS
328782012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32879
32880 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32881 used as bcopy.
32882
dc70356c
TS
328832012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32884
32885 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32886 * sysdeps/unix/syscalls.list (dup3): Likewise.
32887 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32888 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32889
9fb1a21f
L
328902012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32891
32892 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32893 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32894
4822a2a5
L
328952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32896
32897 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32898 thread pointer.
32899 (TLS_IE): Use mov/add instead of movq/addq to load thread
32900 pointer.
32901 (TLS_GD_PREFIX): New.
32902 (TLS_GD): Use it.
32903
842b81d6
DM
329042012-05-11 David S. Miller <davem@davemloft.net>
32905
32906 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32907 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32908 (_FPU_SETCW): Likewise.
32909
1cf463cd
L
329102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32911
32912 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32913 is 32-byte aligned.
32914
60cc4a18
AS
329152012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32916
32917 [BZ #11837]
32918 * iconvdata/gb18030.c: Update tables.
32919 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32920 characters specially.
32921 (BODY for TO_LOOP): Add encoding of missing ranges.
32922
febb44a4
TS
329232012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32924
32925 [BZ #13673]
32926 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32927 * sysdeps/mach/hurd/dup3.c: Likewise.
32928 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32929 * sysdeps/powerpc/memmove.c:: Likewise.
32930
0a10fb9e
L
329312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32932
32933 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32934 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32935
df8a552f
L
329362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32937
32938 * elf/elf.h (R_X86_64_RELATIVE64): New.
32939 (R_X86_64_NUM): Updated.
32940 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32941 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32942 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32943 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32944 tst-quad1pie tst-quad2pie
32945 (modules-names): Add tst-quadmod1 tst-quadmod2.
32946 ($(objpfx)tst-quad1): New dependency.
32947 ($(objpfx)tst-quad2): Likewise.
32948 ($(objpfx)tst-quad1pie): Likewise.
32949 ($(objpfx)tst-quad2pie): Likewise.
32950 * sysdeps/x86_64/tst-quad1.c: New file.
32951 * sysdeps/x86_64/tst-quad1pie.c: New file.
32952 * sysdeps/x86_64/tst-quad2.c: Likewise.
32953 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32954 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32955 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32956 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32957 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32958
f34d6f84
ST
329592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32960
f42d41d1
ST
32961 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32962 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32963 * streams/stropts.h (t_scalar_t): Define type.
32964
3c3571fc
ST
32965 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32966 (_PATH_PRESERVE): Set to "/var/lib".
32967 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32968
61f06bd3
ST
32969 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32970 instead of int.
32971
918d4d71
ST
32972 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32973 if __dir_mkfile succeeded.
32974
f34d6f84
ST
32975 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32976 checking for _hurd_dtablesize. Unlock it right after having
32977 finished _hurd_dtable allocation.
32978
10589b4a
TS
329792012-05-10 Thomas Schwinge <thomas@schwinge.name>
32980
674cdbc7
TS
32981 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32982 * sysdeps/mach/hurd/configure: Regenerated.
32983 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32984 special-casing to...
32985 * sysdeps/gnu/configure.in: ... this new file.
32986 * sysdeps/unix/sysv/linux/configure: Regenerated.
32987 * sysdeps/gnu/configure: New generated file.
32988
8e41b99f
TS
32989 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32990 for Linux: use nsec instead of usec, as well as:
32991 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32992 members of type struct timespec.
32993 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32994 New macros.
32995 (struct stat64): Likewise.
32996 (_STATBUF_ST_NSEC): New macro.
32997 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32998
10589b4a
TS
32999 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33000 __strtoul_internal rather than strtoul.
33001
63643c85
PT
330022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33003
33004 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33005 and reject them.
33006
3faebe6a
ST
330072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33008
33009 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33010 which preserves existing values.
33011 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33012
c6474b07
PT
330132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33014
33015 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33016 TIMEOUT values. Return EINVAL for NFDS values either negative or
33017 greater than FD_SETSIZE.
33018
1043890b
ST
330192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33020
33021 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33022 allocated, call __vm_protect to finish enabling the existing space, and
33023 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33024 allocate the remainder.
33025
37ed8b9b
PT
330262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33027
33028 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33029 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33030
db653660
ST
330312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33032
37ed8b9b
PT
33033 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33034 sysdeps/mach/hurd/readlink.c.
b29d4053 33035
db653660
ST
33036 * posix/tst-sysconf.c (posix_options): Only use
33037 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33038 _POSIX_SYNCHRONIZED_IO when they are defined
33039 * sysdeps/mach/hurd/bits/posix_opt.h:
33040 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33041 (_XOPEN_REALTIME): Undefine macro.
33042 (_XOPEN_REALTIME_THREADS): Undefine macro.
33043 (_XOPEN_SHM): Undefine macro.
33044 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33045 macro to -1.
33046 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33047 macro to -1.
33048 (_POSIX_ASYNC_IO): Undefine macro.
33049 (_POSIX_PRIORITIZED_IO): Undefine macro.
33050 (_POSIX_SPIN_LOCKS): Define macro to -1.
33051
ee16e894
ST
33052 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33053 SA_NODEFER, SA_RESETHAND.
33054 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33055 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33056 F_DUPFD_CLOEXEC.
33057
6103ae3b
TS
330582012-05-10 Thomas Schwinge <thomas@schwinge.name>
33059
33060 * elf/Makefile (pldd-modules): Define unconditionally.
33061
80b4e5f3
TS
330622012-05-10 Thomas Schwinge <thomas@schwinge.name>
33063
33064 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33065
edadcbd6
ST
330662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33067
33068 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33069 Return ENOENT when name is empty.
33070 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33071
80694780
TS
330722012-05-10 Thomas Schwinge <thomas@schwinge.name>
33073
1792c087
TS
33074 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33075
80694780
TS
33076 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33077
6b645f0d
ST
330782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33079
80694780
TS
33080 Fix mlock in all cases except non-readable pages.
33081 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33082 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 33083
6b645f0d
ST
33084 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33085 (__mkdir): When path is `/', just fail with EEXIST.
33086 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33087
e468f8a3
TS
330882012-05-10 Thomas Schwinge <thomas@schwinge.name>
33089
33090 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33091 <sys/uio.h> (for writev).
33092 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33093 and <sys/param.h> (for MIN).
33094
a4186cff
PT
330952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33096
33097 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33098 REQUESTED_TIME. Properly set the remaining time and return EINTR
33099 if interrupted.
33100
510bbf14
TS
331012012-05-10 Thomas Schwinge <thomas@schwinge.name>
33102
33103 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33104 Depend on against $(link-rpcuserlibs).
33105
5d5722e8
ST
331062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33107
a4186cff
PT
33108 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33109 (__libc_stack_end): Do not use attribute_relro.
33110 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33111 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 33112 to libthread-provided value.
a4186cff
PT
33113 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33114 attribute_relro.
5d5722e8 33115
37233df9
TS
331162012-05-10 Thomas Schwinge <thomas@schwinge.name>
33117
be971a2b
TS
33118 [BZ #3748]
33119 * bits/libc-lock.h (__libc_once_get): New macro.
33120 * sysdeps/mach/bits/libc-lock.h: Likewise.
33121 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33122 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33123 instead of using implementation details.
33124
37233df9
TS
33125 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33126 * libio/freopen.c: Likewise.
33127 * libio/freopen64.c: Likewise.
33128 * misc/syslog.c: Likewise.
33129 * nscd/connections.c: Likewise.
33130 * nscd/netgroupcache.c: Likewise.
33131 * sysdeps/posix/getcwd.c: Likewise.
33132
38de94a5
RM
331332012-05-10 Roland McGrath <roland@hack.frob.com>
33134
33135 * math/w_ilogbf.c: Add #include <limits.h>.
33136
67530489
ST
331372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33138
a4186cff 33139 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
33140 path instead of returning without unlocking.
33141
67530489
ST
33142 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33143 immediate-write ioctls.
33144 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33145
5aa3a74a
TS
331462012-05-10 Thomas Schwinge <thomas@schwinge.name>
33147
18bad2ae
TS
33148 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33149 __builtin_frame_address instead of making assumptions about the
33150 location of the return address relative to DATA. Force early load of
33151 the return address.
33152 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33153 __builtin_frame_address.
33154
5aa3a74a
TS
33155 dup3 for GNU Hurd.
33156 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33157 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33158 implement dup3 and do some further code clean-ups.
33159 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33160 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33161
ecd0de9a
ST
331622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33163
cd9fa985
ST
33164 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33165
a4186cff
PT
33166 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33167 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33168 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33169 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33170 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33171 d->port.lock.
802ca5a5 33172
a4186cff
PT
33173 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33174 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33175 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 33176
bcf55240
TS
331772012-05-10 Thomas Schwinge <thomas@schwinge.name>
33178
6960eb42
TS
33179 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33180 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33181 definitions.
33182
eb43375f
TS
33183 accept4 for GNU Hurd.
33184 * include/sys/socket.h (__libc_accept4): New prototype.
33185 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33186 to implement __libc_accept4.
33187 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33188 __libc_accept4.
33189 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33190
bcf55240
TS
33191 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33192 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33193 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33194 signal-defines.sym.
33195
6178c55b
ST
331962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33197
a4186cff 33198 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 33199
6f080c2f
TS
332002012-05-10 Thomas Schwinge <thomas@schwinge.name>
33201
33202 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33203 assertion on O_CLOEXEC flag.
33204 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33205 * hurd/intern-fd.c: Likewise.
33206 * hurd/port2fd.c: Likewise.
33207
bcfe3a54
ST
332082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33209
33210 [BZ #3906]
33211 * bits/in.h (IPV6_PKTINFO): Define new macro.
33212 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33213
89c9aa49
AZ
332142012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33215
33216 [BZ #13954]
33217 [BZ #13955]
33218 [BZ #13956]
33219 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33220 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33221 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33222 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33223 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33224 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33225 * math/libm-test.inc (logb_test) : Additional logb tests.
33226
021db4be
AJ
332272012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33228 Andreas Jaeger <aj@suse.de>
33229
33230 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33231 * configure: Regenerated.
33232 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33233 * config.make.in (link-obsolete-rpc): New substituted variable.
33234 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33235 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33236 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33237 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33238 so that libc.a contains the symbols.
33239 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33240 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33241 * sunrpc/auth_none.c: Likewise.
33242 * sunrpc/auth_unix.c: Likewise.
33243 * sunrpc/authdes_prot.c: Likewise.
33244 * sunrpc/authuxprot.c: Likewise.
33245 * sunrpc/clnt_gen.c: Likewise.
33246 * sunrpc/clnt_perr.c: Likewise.
33247 * sunrpc/clnt_raw.c: Likewise.
33248 * sunrpc/clnt_simp.c: Likewise.
33249 * sunrpc/clnt_tcp.c: Likewise.
33250 * sunrpc/clnt_udp.c: Likewise.
33251 * sunrpc/clnt_unix.c: Likewise.
33252 * sunrpc/des_crypt.c: Likewise.
33253 * sunrpc/des_soft.c: Likewise.
33254 * sunrpc/get_myaddr.c: Likewise.
33255 * sunrpc/key_call.c: Likewise.
33256 * sunrpc/key_prot.c: Likewise.
33257 * sunrpc/netname.c: Likewise.
33258 * sunrpc/pm_getmaps.c: Likewise.
33259 * sunrpc/pm_getport.c: Likewise.
33260 * sunrpc/pmap_clnt.c: Likewise.
33261 * sunrpc/pmap_prot.c: Likewise.
33262 * sunrpc/pmap_prot2.c: Likewise.
33263 * sunrpc/pmap_rmt.c: Likewise.
33264 * sunrpc/publickey.c: Likewise.
33265 * sunrpc/rpc_cmsg.c: Likewise.
33266 * sunrpc/rpc_common.c: Likewise.
33267 * sunrpc/rpc_dtable.c: Likewise.
33268 * sunrpc/rpc_prot.c: Likewise.
33269 * sunrpc/rpc_thread.c: Likewise.
33270 * sunrpc/rtime.c: Likewise.
33271 * sunrpc/svc.c: Likewise.
33272 * sunrpc/svc_auth.c: Likewise.
33273 * sunrpc/svc_raw.c: Likewise.
33274 * sunrpc/svc_run.c: Likewise.
33275 * sunrpc/svc_tcp.c: Likewise.
33276 * sunrpc/svc_udp.c: Likewise.
33277 * sunrpc/svc_unix.c: Likewise.
33278 * sunrpc/svcauth_des.c: Likewise.
33279 * sunrpc/xcrypt.c: Likewise.
33280 * sunrpc/xdr.c: Likewise.
33281 * sunrpc/xdr_array.c: Likewise.
33282 * sunrpc/xdr_float.c: Likewise.
33283 * sunrpc/xdr_intXX_t.c: Likewise.
33284 * sunrpc/xdr_mem.c: Likewise.
33285 * sunrpc/xdr_rec.c: Likewise.
33286 * sunrpc/xdr_ref.c: Likewise.
33287 * sunrpc/xdr_sizeof.c: Likewise.
33288 * sunrpc/xdr_stdio.c: Likewise.
33289
b5c086a2
RM
332902012-05-10 Roland McGrath <roland@hack.frob.com>
33291
33292 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33293 change. Update copyright years.
33294
6d74dd09
JM
332952012-05-10 Joseph Myers <joseph@codesourcery.com>
33296
33297 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33298
28e72501
MK
332992012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33300 Joseph Myers <joseph@codesourcery.com>
33301 Paul Pluzhnikov <ppluzhnikov@google.com>
33302
33303 [BZ #14012]
33304 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33305 requiring rpcgen.
33306 [cross-compiling] (extra-libs): Likewise.
33307 [cross-compiling] (extra-libs-others): Likewise.
33308 [cross-compiling] (librpcsvc-routines): Likewise.
33309 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33310 [cross-compiling] (omit-deps): Likewise.
33311 (sunrpc-CPPFLAGS): New variable.
33312 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33313 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33314 (cross-rpcgen-objs): New variable.
33315 (extra-objs): Append $(cross-rpcgen-objs).
33316 ($(cross-rpcgen-objs)): New rule.
33317 ($(objpfx)cross-rpcgen): Likewise.
33318 (rpcgen-cmd): Define to use $(built-program-file). Expand
33319 comment.
33320 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33321 ($(objpfx)x%.stmp): Likewise.
33322 * sunrpc/proto.h [IS_IN_build] (_): Define.
33323 [IS_IN_build] (_libc_intl_domainname): Likewise.
33324
c8c59454
L
333252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33326
33327 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33328 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33329 and R_X86_64_TPOFF64.
33330
6f27cd16
JM
333312012-05-10 Joseph Myers <joseph@codesourcery.com>
33332
33333 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33334 sysdeps/unix/sysv/syscalls.list.
33335 (stime): Likewise.
33336 (utime): Likewise.
33337 * sysdeps/unix/sysv/syscalls.list: Remove file.
33338
02467e1c
PE
333392012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33340
33341 [BZ #3440]
33342 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33343 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33344 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33345 (__LC_IDENTIFICATION): Make these macros useful in #if
33346 expressions, as required by C99.
33347
da392631
AS
333482012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33349
33350 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33351 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33352 after this.
33353
8115f29b
L
333542012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33355
33356 * stdlib/longlong.h: Updated from GCC.
33357
bdd74070
AJ
333582012-05-09 Andreas Jaeger <aj@suse.de>
33359
edfe0dbe
AJ
33360 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33361 default is first entry.
33362 (run_mode): Set type.
33363 (main): Remove informal message about syslog.
33364 (options): Fix typo.
33365
bcfe3a54
ST
33366 [BZ #14053]
33367 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 33368 to asm.
bcfe3a54
ST
33369 (lrint): Likewise.
33370 (llrintf): Likewise.
33371 (llrint): Likewise.
33372 (rint): Likewise.
33373 (rintf): Likewise.
33374 (nearbyint): Likewise.
33375 (nearbyintf): Likewise.
bdd74070 33376
91d8d69e
AJ
333772012-05-09 Andreas Jaeger <aj@suse.de>
33378 Pedro Alves <palves@redhat.com>
33379
33380 * nscd/nscd.c (run_mode): Use enum.
33381 (main): Cleanup coding style issue.
33382
bb90b80b
AJ
333832012-05-09 Alexandre Oliva <aoliva@redhat.com>
33384 Andreas Jaeger <aj@suse.de>
33385
bcfe3a54
ST
33386 * nscd/nscd.c (go_background): Replaced with...
33387 (run_mode): ... this.
bb90b80b 33388 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
33389 (options): Add -F --foreground.
33390 (main): Implement it.
33391 (parse_opt): Parse it.
bb90b80b 33392
1a4b75a1
AJ
333932012-05-09 Andreas Jaeger <aj@suse.de>
33394
33395 [BZ #14083]
33396 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33397 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33398 -Wconversion warning.
33399 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33400 Likewise.
33401
b1cc2472
JM
334022012-05-09 Joseph Myers <joseph@codesourcery.com>
33403
33404 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33405 == 0.
33406 (LC_ALL): Use macro-int-constant.
33407 (LC_COLLATE): Likewise.
33408 (LC_CTYPE): Likewise.
33409 (LC_MESSAGES): Likewise.
33410 (LC_MONETARY): Likewise.
33411 (LC_NUMERIC): Likewise.
33412 (LC_TIME): Likewise.
33413 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33414 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33415 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33416 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33417 Specify type.
33418 [C99-based standards] (float_t): Expect type.
33419 [C99-based standards] (double_t): Expect type.
33420 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33421 type.
33422 [C99-based standards] (HUGE_VALL): Likewise.
33423 [C99-based standards] (INFINITY): Likewise.
33424 [C99-based standards] (NAN): Likewise.
33425 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33426 [C99-based standards] (FP_NAN): Likewise.
33427 [C99-based standards] (FP_NORMAL): Likewise.
33428 [C99-based standards] (FP_SUBNORMAL): Likewise.
33429 [C99-based standards] (FP_ZERO): Likewise.
33430 [C99-based standards] (FP_FAST_FMA): Use
33431 optional-macro-int-constant. Specify type. Require == 1.
33432 [C99-based standards] (FP_FAST_FMAF): Likewise.
33433 [C99-based standards] (FP_FAST_FMAL): Likewise.
33434 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33435 [C99-based standards] (FP_ILOGBNAN): Likewise.
33436 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33437 Specify type.
33438 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33439 [C99-based standards] (math_errhandling): Specify type.
33440 [ISO99 || ISO11] (signgam): Do not allow.
33441 [non-C99-based standards] (copysignf): Do not allow.
33442 [non-C99-based standards] (exp2f): Likewise.
33443 [non-C99-based standards] (log2f): Likewise.
33444 [non-C99-based standards] (modff): Allow.
33445 [non-C99-based standards] (erff): Do not allow.
33446 [non-C99-based standards] (erfcf): Likewise.
33447 [non-C99-based standards] (gammaf): Likewise.
33448 [non-C99-based standards] (hypotf): Likewise.
33449 [non-C99-based standards] (j0f): Likewise.
33450 [non-C99-based standards] (j1f): Likewise.
33451 [non-C99-based standards] (jnf): Likewise.
33452 [non-C99-based standards] (lgammaf): Likewise.
33453 [non-C99-based standards] (tgammaf): Likewise.
33454 [non-C99-based standards] (y0f): Likewise.
33455 [non-C99-based standards] (y1f): Likewise.
33456 [non-C99-based standards] (ynf): Likewise.
33457 [non-C99-based standards] (isnanf): Likewise.
33458 [non-C99-based standards] (acoshf): Likewise.
33459 [non-C99-based standards] (asinhf): Likewise.
33460 [non-C99-based standards] (atanhf): Likewise.
33461 [non-C99-based standards] (cbrtf): Likewise.
33462 [non-C99-based standards] (expm1f): Likewise.
33463 [non-C99-based standards] (ilogbf): Likewise.
33464 [non-C99-based standards] (log1pf): Likewise.
33465 [non-C99-based standards] (logbf): Likewise.
33466 [non-C99-based standards] (nextafterf): Likewise.
33467 [non-C99-based standards] (remainderf): Likewise.
33468 [non-C99-based standards] (rintf): Likewise.
33469 [non-C99-based standards] (scalbf): Likewise.
33470 [non-C99-based standards] (copysignl): Likewise.
33471 [non-C99-based standards] (exp2l): Likewise.
33472 [non-C99-based standards] (log2l): Likewise.
33473 [non-C99-based standards] (modfl): Allow.
33474 [non-C99-based standards] (erfl): Do not allow.
33475 [non-C99-based standards] (erfcl): Likewise.
33476 [non-C99-based standards] (gammal): Likewise.
33477 [non-C99-based standards] (hypotl): Likewise.
33478 [non-C99-based standards] (j0l): Likewise.
33479 [non-C99-based standards] (j1l): Likewise.
33480 [non-C99-based standards] (jnl): Likewise.
33481 [non-C99-based standards] (lgammal): Likewise.
33482 [non-C99-based standards] (tgammal): Likewise.
33483 [non-C99-based standards] (y0l): Likewise.
33484 [non-C99-based standards] (y1l): Likewise.
33485 [non-C99-based standards] (ynl): Likewise.
33486 [non-C99-based standards] (isnanl): Likewise.
33487 [non-C99-based standards] (acoshl): Likewise.
33488 [non-C99-based standards] (asinhl): Likewise.
33489 [non-C99-based standards] (atanhl): Likewise.
33490 [non-C99-based standards] (cbrtl): Likewise.
33491 [non-C99-based standards] (expm1l): Likewise.
33492 [non-C99-based standards] (ilogbl): Likewise.
33493 [non-C99-based standards] (log1pl): Likewise.
33494 [non-C99-based standards] (logbl): Likewise.
33495 [non-C99-based standards] (nextafterl): Likewise.
33496 [non-C99-based standards] (remainderl): Likewise.
33497 [non-C99-based standards] (rintl): Likewise.
33498 [non-C99-based standards] (scalbl): Likewise.
33499 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33500 [non-C99-based standards] (FP_*): Do not allow.
33501 [C99-based standards] (FP_*): Change to
33502 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33503 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33504 allow.
33505 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33506 (SIG_ERR): Likewise.
33507 [X/Open-based standards] (SIG_HOLD): Likewise.
33508 (SIG_IGN): Likewise.
33509 (SIGABRT): Use macro-int-constant. Specify type. Require
33510 positive value.
33511 (SIGFPE): Likewise.
33512 (SIGILL): Likewise.
33513 (SIGINT): Likewise.
33514 (SIGSEGV): Likewise.
33515 (SIGTER): Likewise.
33516 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33517 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33518 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33519 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33520 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33521 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33522 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33523 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33524 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33525 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33526 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33527 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33528 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33529 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33530 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33531 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33532 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33533 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33534 [X/Open-based standards] (SIGTRAP): Likewise.
33535 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33536 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33537 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33538 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33539 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33540 allow.
33541
b9f1922d
IW
335422012-05-08 Ian Wienand <ianw@vmware.com>
33543
33544 [BZ #14080]
33545 * time/tzset.c (__tzset_parse_tz): Update default rules for
33546 daylight time changes in the Energy Policy Act of 2005.
33547
1db86e88
AJ
335482012-05-09 Andreas Jaeger <aj@suse.de>
33549
33550 [BZ #13983]
33551 * elf/ldconfig.c (parse_conf): Change string to make clear that
33552 ldconfig only issued a warning if ld.so.conf does not exist.
33553
dee4a4e3
DM
335542012-05-08 David S. Miller <davem@davemloft.net>
33555
ee0db190
DM
33556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33557 movxtod instead of popping the value on the stack.
33558
dee4a4e3
DM
33559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33560
6a43ec98
CD
335612012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33562
33563 * config.h.in: Add HAVE_ARM_PCS_VFP.
33564
05c2c961
RMG
335652012-05-08 Roland Mc Grath <roland@hack.frob.com>
33566
bcfe3a54
ST
33567 [BZ #13979]
33568 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33569 checking but the checks are disabled for any reason.
05c2c961 33570
4b30f61a
L
335712012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33572
33573 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33574 and ELF64_R_TYPE with ELFW(R_TYPE).
33575
eee2bc67
JM
335762012-05-08 Joseph Myers <joseph@codesourcery.com>
33577
7ea5391a
JM
33578 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33579 (ulimit): Likewise.
33580
eee2bc67
JM
33581 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33582 (settimeofday): Likewise.
33583
abb66a67
MF
335842012-05-08 Mike Frysinger <vapier@gentoo.org>
33585
33586 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33587 a struct th_u2 inside the union, and move tu_block/tu_code into
33588 a new th_u3 union of tu_block/tu_code inside of that. Move
33589 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33590 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33591 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33592 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33593 (th_stuff): Change to th_u1.tu_stuff.
33594 (th_data): Define.
33595 (th_msg): Change to th_u1.th_u2.tu_data.
33596
7f18b530
DM
335972012-05-07 David S. Miller <davem@davemloft.net>
33598
05760585
DM
33599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33600
7f18b530
DM
33601 [BZ #14074]
33602 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33603 (SETUP_PIC_REG): Use it.
33604 (SETUP_PIC_REG_LEAF): Use it.
33605
495fd99f
JM
336062012-05-07 Joseph Myers <joseph@codesourcery.com>
33607
33608 [BZ #13885]
33609 [BZ #13923]
33610 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33611 USE_AS_EXPM1L.
33612 (EXPL_FINITE): Likewise.
33613 (FLDLOG): Likewise.
33614 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33615 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33616 e_expl.S.
33617 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33618 USE_AS_EXPM1L.
33619 (EXPL_FINITE): Likewise.
33620 (FLDLOG): Likewise.
33621 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33622 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33623 e_expl.S.
33624 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33625 test of -max_value argument for long double.
33626 * sysdeps/i386/fpu/libm-test-ulps: Update.
33627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33628
6693d694
DM
336292012-05-06 David S. Miller <davem@davemloft.net>
33630
33631 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33632 quad soft-float symbols whose references which are compiler
33633 generated.
33634 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33635
6c23e11c
JM
336362012-05-06 Joseph Myers <joseph@codesourcery.com>
33637
d8b82cad
JM
33638 [BZ #13884]
33639 [BZ #13914]
33640 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33641 USE_AS_EXP10L.
33642 (EXPL_FINITE): Likewise.
33643 (FLDLOG): Likewise.
33644 (c0): Likewise.
33645 (c1): Likewise.
33646 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33647 Adjust comments for base varying.
33648 (__expl_finite): Change alias to EXPL_FINITE.
33649 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33650 e_expl.S.
33651 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33652 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33653 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33654 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33655 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33656 USE_AS_EXP10L.
33657 (EXPL_FINITE): Likewise.
33658 (FLDLOG): Likewise.
33659 (c0): Likewise.
33660 (c1): Likewise.
33661 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33662 Adjust comments for base varying.
33663 (__expl_finite): Change alias to EXPL_FINITE.
33664 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33665 tests for bugs.
33666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33667
6c23e11c
JM
33668 [BZ #14064]
33669 * math/libm-test.inc (check_float_internal): Correct ulp
33670 calculation for subnormal expected results.
33671
29ba805c
AJ
336722012-05-06 Andreas Jaeger <aj@suse.de>
33673
33674 * Makeconfig (+math-flags): New, set to -frounding-math.
33675 (+cflags): Add +math-flags so that all of glibc gets compiled with
33676 it.
33677
33678 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33679
7b17aeda
JM
336802012-05-05 Joseph Myers <joseph@codesourcery.com>
33681
5779f134
JM
33682 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33683 Disable one test.
33684
41498f4d
JM
33685 [BZ #13787]
33686 [BZ #13922]
33687 [BZ #14036]
33688 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33689 (__ieee754_expl): Allow for and saturate large arguments.
33690 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33691 (u_threshold): Likewise.
33692 (__exp): Call __ieee754_exp before checking for overflow and
33693 underflow.
33694 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33695 (u_threshold): Likewise.
33696 (__expf): Call __ieee754_expf before checking for overflow and
33697 underflow.
33698 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33699 (u_threshold): Likewise.
33700 (__expl): Call __ieee754_expl before checking for overflow and
33701 underflow.
33702 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33703 (__ieee754_expl): Allow for and saturate large arguments.
33704 * math/libm-test.inc (exp_test): Add another test. Do not allow
33705 missing overflow exception on overflow.
33706 (expm1_test): Do not allow missing overflow exception on overflow.
33707
6698b8bf
JM
33708 * sysdeps/i386/fpu/e_expl.c: Move to ...
33709 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33710 rather than using inline asm.
33711 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33712 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33713 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33714
7b17aeda
JM
33715 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33716 (nice): Likewise.
33717 (poll): Likewise.
33718 (signal): Likewise.
33719 (time): Likewise.
33720 (times): Likewise.
33721
f7c85819
JM
337222012-05-04 Joseph Myers <joseph@codesourcery.com>
33723
33724 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33725 sysdeps/unix/common/syscalls.list.
33726 (fchmod): Likewise.
33727 (fchown): Likewise.
33728 (ftruncate): Likewise.
33729 (getrusage): Likewise.
33730 (gettimeofday): Likewise.
33731 (setpgid): Likewise.
33732 (setregid): Likewise.
33733 (setreuid): Likewise.
33734 (sigaction): Likewise.
33735 (truncate): Likewise.
33736 (vhangup): Likewise.
33737 * sysdeps/unix/common/syscalls.list: Remove file.
33738 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33739 * sysdeps/unix/sysv/linux/Implies: Likewise.
33740
336270d0
L
337412012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33742
33743 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33745 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33746 Moved to ...
33747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33748 Here.
33749 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33750 to ...
33751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33752 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33753 to ...
33754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33755 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33756 to ...
33757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33758 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33759 to ...
33760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33761 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33762 to ...
33763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33764 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33765 to ...
33766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33767 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33768 to ...
33769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33770 Here.
33771 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33772 to ...
33773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33774 Here.
33775 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33776 to ...
33777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33778 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33779 Moved to ...
33780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33781 Here.
33782 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33783 to ...
33784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33785
d128e450
JM
337862012-05-04 Joseph Myers <joseph@codesourcery.com>
33787
fa8ee516
JM
33788 * sysdeps/unix/common/bits/dirent.h: Remove file.
33789 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33790
d128e450
JM
33791 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33792 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33793 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33794 * sysdeps/unix/bsd/isatty.c: Likewise.
33795 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33796 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33797 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33798
ff8faaf0 337992012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 33800
62881be4 33801 [BZ #13563]
31dc8730
AZ
33802 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33803 long double comparison inaccuracies.
33804 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33806
6fef930c
AS
338072012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33808
33809 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33810 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33811
8f203e6c
JM
338122012-05-04 Joseph Myers <joseph@codesourcery.com>
33813
33814 [BZ #14049]
33815 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33816 nonzero digits before rounding a hex value.
33817 * stdlib/tst-strtod.c (tests): Add another test.
33818
5197d9c2
AK
338192012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33820
33821 * sysdeps/s390/fpu/libm-test-ulps: Update.
33822
f0c1dedf
AJ
338232012-05-03 Andreas Jaeger <aj@suse.de>
33824
33825 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33826 does not get optimized out.
33827 (malloc_opt_barrier): New.
33828
a65ef2ae 338292012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 33830 Roland McGrath <roland@hack.frob.com>
a65ef2ae 33831
2b942cb7 33832 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 33833 intermediate file deletion.
2b942cb7 33834 (generated): Add .symlist files.
a65ef2ae 33835
54b71e02
JM
338362012-05-03 Joseph Myers <joseph@codesourcery.com>
33837
33838 [BZ #13775]
33839 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33840 Redirect under this condition.
33841 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33842 [__USE_GNU] (__dprintf_chk): Not under this condition.
33843 [__USE_GNU] (__vdprintf_chk): Likewise.
33844 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33845 under this condition.
33846 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33847 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33848 [__USE_XOPEN2K8] (vdprintf): Likewise.
33849 [__USE_GNU] (__dprintf_chk): Not under this condition.
33850 [__USE_GNU] (__vdprintf_chk): Likewise.
33851 [__USE_GNU] (dprintf): Likewise.
33852 [__USE_GNU] (vdprintf): Likewise.
33853
d3dfcc41
RM
338542012-05-03 Roland McGrath <roland@hack.frob.com>
33855
33856 * elf/Makefile (common-generated): Set this instead of generated for
33857 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33858 $(all-built-dso)-derived lists.
33859
7ac30cc5
AJ
338602012-05-03 Andreas Jaeger <aj@suse.de>
33861
0c51e550
AJ
33862 * sysdeps/i386/fpu/libm-test-ulps: Update.
33863
7ac30cc5
AJ
33864 * FAQ: Removed.
33865 * FAQ.in: Likewise.
33866 * scripts/gen-FAQ.pl: Likewise.
33867 * manual/install.texi (Installation): Point to online location of
33868 FAQ.
33869 * Makefile (files-for-dist): Remove FAQ.
33870 (FAQ): Remove.
33871
d4c2917f
AM
338722012-05-02 Allan McRae <allan@archlinux.org>
33873
33874 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33875 (LDFLAGS-reldepmod5.so): Likewise.
33876 (LDFLAGS-reldep6mod1.so): Likewise.
33877 (LDFLAGS-reldep6mod4.so): Likewise.
33878 (LDFLAGS-reldep8mod3.so): Likewise.
33879 (LDFLAGS-unload4mod1.so): Likewise.
33880 (LDFLAGS-unload4mod2.so): Likewise.
33881 (LDFLAGS-tst-initorder): Likewise.
33882 (LDFLAGS-tst-initordera2.so): Likewise.
33883 (LDFLAGS-tst-initordera3.so): Likewise.
33884 (LDFLAGS-tst-initordera4.so): Likewise.
33885 (LDFLAGS-tst-initorderb2.so): Likewise.
33886 (LDFLAGS-noload): Likewise.
33887 (LDFLAGS-next): Likewise.
33888 (LDFLAGS-order2mod1.so): Likewise.
33889 (LDFLAGS-order2mod2.so): Likewise.
33890 (LDFLAGS-tst-initorder2): Likewise.
33891 (LDFLAGS-tst-initorder2a.so): Likewise.
33892 (LDFLAGS-tst-initorder2b.so): Likewise.
33893 (LDFLAGS-tst-initorder2c.so): Likewise.
33894 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33895
d77f993f
DM
338962012-05-02 David S. Miller <davem@davemloft.net>
33897
33898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33899
171a70b4
PP
339002012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33901
33902 [BZ #14055]
33903 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33904
0be196ad
AJ
339052012-05-02 Andreas Jaeger <aj@suse.de>
33906
33907 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33908 since we manipulate rounding mode.
33909 (CPPFLAGS-test-idouble.c): Likewise.
33910 (CPPFLAGS-test-ifloat.c): Likewise.
33911 (CFLAGS-test-ldouble.c): Likewise.
33912 (CFLAGS-test-double.c): Likewise.
33913 (CFLAGS-test-float.c): Likewise.
33914 (CFLAGS-test-misc.c): Likewise.
33915 (CFLAGS-test-test-fenv.c): Likewise.
33916
4f9d04aa
AZ
339172012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33918
2b942cb7
RM
33919 [BZ #2550]
33920 [BZ #2570]
33921 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33922 comparisons to determine direction to adjust input.
4f9d04aa 33923
82a79e7d
RM
339242012-05-01 Roland McGrath <roland@hack.frob.com>
33925
f5a01ca9
RM
33926 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33927 output to the target.
33928
90fe4186
RM
33929 * scripts/localplt.awk: New file.
33930 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33931 (check-localplt-CFLAGS): Variable removed.
33932 ($(all-built-dso:=.jmprel)): New static pattern rule.
33933 (generated): Add those targets.
33934 (localplt-built-dso): New variable.
33935 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33936
33937 * elf/check-localplt.c: File removed.
33938
82397ed6
RM
33939 * scripts/check-execstack.awk: New file.
33940 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33941 (check-execstack-CFLAGS): Variable removed.
33942 ($(objpfx)check-execstack.h): Target removed.
33943 ($(objpfx)execstack-default): New target.
33944 (generated): Add that instead of check-execstack.h.
33945 ($(all-built-dso:=.phdr)): New static pattern rule.
33946 (generated): Add those targets.
33947 * elf/check-execstack.c: File removed.
33948
82a79e7d
RM
33949 * scripts/check-textrel.awk: New file.
33950 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33951 (check-textrel-CFLAGS): Variable removed.
33952 (all-built-dso): Use := to define.o
33953 ($(all-built-dso:=.dyn)): New static pattern rule.
33954 (generated): Add those targets.
33955 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33956 * config.make.in (READELF): New substituted variable.
33957 * elf/check-textrel.c: File removed.
33958
62fde54f 339592012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 33960
615605c9
JM
33961 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33962 allow.
33963 * conform/data/ctype.h-data [C99-based standards] (isblank):
33964 Expect function.
33965 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33966 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33967 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33968 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33969 Specify type. Require positive value.
33970 (EILSEQ): Likewise.
33971 (ERANGE): Likewise.
33972 [ISO || POSIX] (EILSEQ): Do not expect.
33973 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33974 Specify type. Require positive value.
33975 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33976 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33977 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33978 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33979 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33980 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33981 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33982 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33983 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33984 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33985 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33986 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33987 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33988 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33989 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33990 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33991 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33992 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33993 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33994 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33995 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33996 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33997 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33998 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33999 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34000 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34001 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34002 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34003 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34004 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34005 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34006 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34007 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34008 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34009 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34010 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34011 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34012 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34013 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34014 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34015 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34016 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34017 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34018 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34019 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34020 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34021 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34022 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34023 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34024 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34025 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34026 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34027 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34028 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34029 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34030 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34031 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34032 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34033 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34034 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34035 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34036 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34037 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34038 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34039 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34040 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34041 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34042 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34043 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34044 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34045 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34046 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34047 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34048 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34049 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34050 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34051 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34052 Require >= 2.
34053 (FLT_ROUNDS): Expect as macro, not constant.
34054 (FLT_MANT_DIG): Use macro-int-constant.
34055 (DBL_MANT_DIG): Likewise.
34056 (LDBL_MANT_DIG): Likewise.
34057 (FLT_DIG): Likewise.
34058 (DBL_DIG): Likewise.
34059 (LDBL_DIG): Likewise.
34060 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34061 (DBL_MIN_EXP): Likewise.
34062 (LDBL_MIN_EXP): Likewise.
34063 (FLT_MAX_EXP): Use macro-int-constant.
34064 (DBL_MAX_EXP): Likewise.
34065 (LDBL_MAX_EXP): Likewise.
34066 (FLT_MAX_10_EXP): Likewise.
34067 (DBL_MAX_10_EXP): Likewise.
34068 (LDBL_MAX_10_EXP): Likewise.
34069 (FLT_MAX): Use macro-constant.
34070 (DBL_MAX): Likewise.
34071 (LDBL_MAX): Likewise.
34072 (FLT_EPSILON): Use macro-constant. Give upper bound.
34073 (DBL_EPSILON): Likewise.
34074 (LDBL_EPSILON): Likewise.
34075 (FLT_MIN): Likewise.
34076 (DBL_MIN): Likewise.
34077 (LDBL_MIN): Likewise.
34078 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34079 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34080 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34081 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34082 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34083 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34084 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34085 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34086 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34087 [ISO11] (FLT_TRUE_MIN): Likewise.
34088 [ISO11] (LDBL_TRUE_MIN): Likewise.
34089 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34090 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34091 (SCHAR_MIN): Use macro-int-constant. Specify type.
34092 (SCHAR_MAX): Likewise.
34093 (UCHAR_MAX): Likewise.
34094 (CHAR_MIN): Likewise.
34095 (CHAR_MAX): Likewise.
34096 (MB_LEN_MAX): Use macro-int-constant.
34097 (SHRT_MIN): Use macro-int-constant. Specify type.
34098 (SHRT_MAX): Likewise.
34099 (USHRT_MAX): Likewise.
34100 (INT_MAX): Likewise.
34101 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34102 bound negative.
34103 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34104 bound with "U".
34105 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34106 bound with "L".
34107 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34108 bound negative. Suffix upper bound with "L".
34109 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34110 bound with "UL".
34111 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34112 Specify type.
34113 [C99-based standards] (LLONG_MAX): Likewise.
34114 [C99-based standards] (ULLONG_MAX): Likewise.
34115 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34116 == 0.
34117 [ISO11] (max_align_t): Require type.
34118 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34119
c9140a62
JM
34120 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34121 from $CFLAGS, without defining away __attribute__ calls.
34122 (checknamespace): Use $CFLAGS_namespace.
34123
9af0bf29
JM
34124 * conform/conformtest.pl (@keywords): Only include C99 keywords
34125 for standards based on C99 or C11.
34126
343222a2
JM
34127 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34128 Disable tests.
34129 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34130 UNIX98]: Likewise.
34131
661f8cf0
JM
34132 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34133 usability of symbols in #if.
34134
ee74b9cb
JM
34135 * conform/conformtest.pl: If macro or constant types start
34136 "promoted:", expect the symbol to be of the following type
34137 promoted by the integer promotions.
62fde54f 34138
aafc49b3
JM
34139 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34140 in one place. Also handle "macro-constant".
34141
fefdf574
JM
34142 * conform/conformtest.pl: Only accept expected macro values with
34143 "==". Parse all "macro" lines in one place.
34144 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34145
f2d922fe
JM
34146 * conform/conformtest.pl: Handle braced types on "constant" lines
34147 instead of handling "typed-constant".
34148 * conform/data/signal.h-data: Use "constant" instead of
34149 "typed-constant".
34150
d22956c9
JM
34151 * conform/conformtest.pl: Handle "optional-" at start of lines in
34152 one place rather than duplicating several cases. Handle each
34153 format of "macro" line with initial "optional-".
34154
028e2e38
JM
34155 * conform/conformtest.pl: Only accept expected constant or
34156 optional-constant values with "==". Parse all "constant" lines in
34157 one place. Parse all "optional-constant" lines in one place.
34158 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34159 * conform/data/fmtmsg.h-data: Likewise.
34160 * conform/data/netinet/in.h-data: Likewise.
34161 * conform/data/tar.h-data: Likewise.
34162 * conform/data/limits.h-data: Use "==" form on "constant" and
34163 "optional-constant" lines.
34164
1b8f2850
JM
34165 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34166 Use -std=c99 for XOPEN2K.
34167 (@knownproblems): Remove.
34168 (newtoken): Don't check %isknown.
34169
a05a144b
JM
34170 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34171 Do not expect macro.
34172 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34173 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34174 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34175 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34176 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34177 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34178 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34179 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34180 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34181 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34182 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34183 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34184 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34185 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34186 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34187 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34188 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34189 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34190 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34191 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34192 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34193 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34194 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34195 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34196 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34197 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34198 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34199 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34200 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34201 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34202 [XPG3] (acosh): Likewise.
34203 [XPG3] (asinh): Likewise.
34204 [XPG3] (atanh): Likewise.
34205 [XPG3] (cbrt): Likewise.
34206 [XPG3] (expm1): Likewise.
34207 [XPG3] (ilogb): Likewise.
34208 [XPG3] (log1p): Likewise.
34209 [XPG3] (logb): Likewise.
34210 [XPG3] (nextafter): Likewise.
34211 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34212 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34213 [XPG3] (remainder): Likewise.
34214 [XPG3] (rint): Likewise.
34215 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34216 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34217 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34218 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34219 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34220 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34221 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34222 [UNIX98 || XOPEN2K] (scalb): Expect.
34223 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34224 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34225 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34226 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34227 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34228 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34229 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34230 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34231 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34232 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34233 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34234 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34235 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34236 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34237 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34238 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34239 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34240 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34241 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34242 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34243 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34244 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34245 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34246 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34247 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34248 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34249 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34250 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34251 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34252 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34253 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34254 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34255 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34256 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34257 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34258 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34259 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34260 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34261 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34262 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34263 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34264 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34265 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34266 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34267 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34268 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34269 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34270 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34271 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34272 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34273 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34274 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34275 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34276 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34277 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34278 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34279 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34280 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34281 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34282 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34283 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34284 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34285 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34286 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34287 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34288 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34289 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34290 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34291 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34292 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34293 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34294 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34295 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34296 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34297 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34298 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34299 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34300 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34301 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34302 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34303 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34304 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34305 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34306 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34307 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34308 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34309 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34310 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34311 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34312 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34313 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34314 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34315 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34316 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34317 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34318 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34319 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34320 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34321 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34322 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34323 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34324 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34325 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34326 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34327 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34328 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34329 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34330 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34331 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34332 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34333 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34334 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34335 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34336 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34337 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34338 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34339 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34340 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34341 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34342 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34343 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34344 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34345 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34346 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34347 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34348 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34349 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34350 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34351 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34352 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34353 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34354 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34355 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34356 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34357 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34358 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34359 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34360
73c5ebe3
JM
34361 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34362 _XOPEN_SOURCE_EXTENDED for XPG4.
34363
39c33b6c
JM
34364 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34365
62fde54f
JM
34366 * Makeconfig (localtime): Remove variable.
34367 (inst_localtime-file): Likewise.
34368
0741d64c
AS
343692012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34370
34371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34372 Update.
34373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34374 Update.
34375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34376 Update.
34377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34378 Update.
34379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34380 Update.
34381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34382 Update.
34383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34384 Update.
34385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34386 Update.
34387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34388 Update.
34389
7cb029ee
JM
343902012-05-01 Joseph Myers <joseph@codesourcery.com>
34391
34392 [BZ #2550]
34393 [BZ #2570]
34394 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34395 comparisons to determine direction to adjust input.
34396 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34397 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34398 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34399 Likewise.
34400 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34401 Likewise.
34402 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34403 Likewise.
34404 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34405 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34406 Likewise.
34407 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34408 Likewise.
34409 * math/libm-test.inc (nexttoward_test): Add more tests.
34410
412bd966
AS
344112012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34412
34413 [BZ #14040]
34414 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34415 in version GLIBC_2.1, not GLIBC_2.0.
34416 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34417 Likewise.
34418
9568c0c2
JM
344192012-04-30 Joseph Myers <joseph@codesourcery.com>
34420
adfbc8ac
JM
34421 [BZ #13942]
34422 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34423 (1 - x) * (1 + x).
34424 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34425 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34426 * math/libm-test.inc (acos_test): Add more tests.
34427 (asin_test): Likewise.
34428 * sysdeps/i386/fpu/libm-test-ulps: Update.
34429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34430
5ba3cc69
JM
34431 [BZ #14034]
34432 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34433 of square root.
34434 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34435 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34436 * math/libm-test.inc (acos_test_tonearest): New function.
34437 (acos_test_towardzero): Likewise.
34438 (acos_test_downward): Likewise.
34439 (acos_test_upward): Likewise.
34440 (asin_test_tonearest): Likewise.
34441 (asin_test_towardzero): Likewise.
34442 (asin_test_downward): Likewise.
34443 (asin_test_upward): Likewise.
34444 (main): Call the new functions.
34445 * sysdeps/i386/fpu/libm-test-ulps: Update.
34446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34447
9568c0c2
JM
34448 [BZ #13884]
34449 [BZ #13924]
34450 * math/e_exp10.c: Include <float.h>.
34451 (__ieee754_exp10): Handle underflow here rather than multiplying
34452 large negative argument by M_LN10.
34453 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34454 of __ieee754_expf.
34455 * math/e_exp10l.c: Include <float.h>.
34456 (__ieee754_exp10l): Handle underflow here rather than multiplying
34457 large negative argument by M_LN10l.
34458 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34459 spurious overflow exception on underflow.
34460
5ac3ea17
MP
344612012-04-29 Marek Polacek <polacek@redhat.com>
34462
34463 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34464 (__fortify_function): New macro.
34465 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34466 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34467 __extern_always_inline.
34468 * libio/bits/stdio2.h: Likewise.
34469 * libio/bits/stdio.h: Likewise.
34470 * string/string.h: Likewise.
34471 * string/bits/string3.h: Likewise.
34472 * include/stdio.h: Likewise.
34473 * stdlib/bits/stdlib.h: Likewise.
34474 * stdlib/stdlib.h: Likewise.
34475 * rt/bits/mqueue2.h: Likewise.
34476 * rt/mqueue.h: Likewise.
34477 * posix/bits/unistd.h: Likewise.
34478 * posix/unistd.h: Likewise.
34479 * io/bits/poll2.h: Likewise.
34480 * io/bits/fcntl2.h: Likewise.
34481 * io/fcntl.h: Likewise.
34482 * io/sys/poll.h: Likewise.
34483 * misc/bits/syslog.h: Likewise.
34484 * misc/bits/syslog-ldbl.h: Likewise.
34485 * misc/sys/syslog.h: Likewise.
34486 * socket/bits/socket2.h: Likewise.
34487 * socket/sys/socket.h: Likewise.
34488 * debug/tst-chk1.c: Likewise.
34489 * wcsmbs/bits/wchar2.h: Likewise.
34490 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34491 * wcsmbs/wchar.h: Likewise.
34492
ecf0ebfb
AJ
344932012-04-29 Andreas Jaeger <aj@suse.de>
34494
34495 * Makerules (tests): Remove enable-check-abi protection.
34496 (check-abi-warn): Remove.
34497 (check-abi-%): Remove check-abi-warn usage.
34498
34499 * configure.in: Remove check-abi configure option.
34500 * configure: Regenerated.
34501 * config.make.in (enable-check-abi): Remove.
34502
6d5c57fa
AS
345032012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34504
24c5d07e 34505 [BZ #14033]
ded5180a
AS
34506 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34507 double functions to double *_finite functions.
34508
7e0d315d
AS
34509 [BZ #13941]
34510 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34511 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34512 LDBL_MIN_EXP.
34513 * stdio-common/Makefile (tests): Add tst-sprintf3.
34514 * stdio-common/tst-sprintf3.c: New file.
34515
6d5c57fa
AS
34516 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34517 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34518
0749ff8b
JM
345192012-04-28 Joseph Myers <joseph@codesourcery.com>
34520
34521 * conform/conformtest.pl: Remove duplicate typed-constant
34522 handling.
34523
8dbd5d7b
DM
345242012-04-28 David S. Miller <davem@davemloft.net>
34525
34526 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34527 (check-abi-%): Remove AWK script prerequisite and explicit
34528 abilist directory.
34529 (check-abi): Rewrite to just diff the symlist with the abilist.
34530 (config-tls, config-abi-config): Delete, no longer used.
34531 (update-abi-%): Remove AWK script and explicit abilist directory.
34532 (update-abi): Rewrite to simply compare and conditionally copy the
34533 symlist and the sysdep abilist file. Remove update-abi-config
34534 checks.
34535 * abilist/ld.abilist: Remove.
34536 * abilist/libBrokenLocale.abilist: Remove.
34537 * abilist/libanl.abilist: Remove.
34538 * abilist/libcrypt.abilist: Remove.
34539 * abilist/libdl.abilist: Remove.
34540 * abilist/librt.abilist: Remove.
34541 * abilist/libthread_db.abilist: Remove.
34542 * abilist/libutil.abilist: Remove.
34543 * scripts/extract-abilist.awk: Remove.
34544 * scripts/merge-abilist.awk: Remove.
34545 * sysdeps/generic/libcidn.abilist: New file.
34546 * sysdeps/generic/libnss_compat.abilist: New file.
34547 * sysdeps/generic/libnss_db.abilist: New file.
34548 * sysdeps/generic/libnss_dns.abilist: New file.
34549 * sysdeps/generic/libnss_files.abilist: New file.
34550 * sysdeps/generic/libnss_hesiod.abilist: New file.
34551 * sysdeps/generic/libnss_nis.abilist: New file.
34552 * sysdeps/generic/libnss_nisplus.abilist: New file.
34553 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34554 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34555 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34556 file.
34557 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34558 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34559 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34560 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34561 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34562 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34563 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34564 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34565 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34566 file.
34567 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34568 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34569 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34570 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34571 file.
34572 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34573 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34574 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34575 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34576 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34577 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34578 file.
34579 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34580 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34581 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34582 file.
34583 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34584 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34585 New file.
34586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34587 New file.
34588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34589 New file.
34590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34591 New file.
34592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34593 New file.
34594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34595 New file.
34596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34597 New file.
34598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34599 New file.
34600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34601 New file.
34602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34603 New file.
34604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34605 New file.
34606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34607 New file.
34608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34609 New file.
34610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34611 file.
34612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34613 New file.
34614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34615 New file.
34616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34617 file.
34618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34619 New file.
34620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34621 New file.
34622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34623 file.
34624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34625 New file.
34626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34627 New file.
34628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34629 New file.
34630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34631 New file.
34632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34633 New file.
34634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34635 New file.
34636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34638 file.
34639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34640 New file.
34641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34642 file.
34643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34644 file.
34645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34646 file.
34647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34648 file.
34649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34650 file.
34651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34652 New file.
34653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34654 file.
34655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34656 file.
34657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34658 New file.
34659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34660 file.
34661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34663 file.
34664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34665 New file.
34666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34667 file.
34668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34669 file.
34670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34671 file.
34672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34673 file.
34674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34675 file.
34676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34677 New file.
34678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34679 file.
34680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34681 file.
34682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34683 New file.
34684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34685 file.
34686 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34687 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34688 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34689 file.
34690 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34691 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34692 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34693 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34694 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34695 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34696 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34697 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34698 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34699 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34702 file.
34703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34704 New file.
34705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34706 file.
34707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34708 file.
34709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34710 file.
34711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34712 file.
34713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34714 file.
34715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34716 New file.
34717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34718 New file.
34719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34720 file.
34721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34722 New file.
34723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34724 file.
34725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34727 file.
34728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34729 New file.
34730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34731 file.
34732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34733 file.
34734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34735 file.
34736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34737 file.
34738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34739 file.
34740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34741 New file.
34742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34743 New file.
34744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34745 file.
34746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34747 New file.
34748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34749 file.
34750
41d73a1b
JM
347512012-04-28 Joseph Myers <joseph@codesourcery.com>
34752
34753 * conform/conformtest.pl: Fix typo in handling typed-constant from
34754 allow-header.
34755
28aeeda4
JM
347562012-04-27 Joseph Myers <joseph@codesourcery.com>
34757
adae8f5e
JM
34758 * README: Cut down references to pre-2.6 Linux kernels and
34759 Linuxthreads. Update lists of configurations in libc and ports
34760 and sort alphabetically. Say "or newer" with Linux kernel version
34761 requirements.
34762
28aeeda4
JM
34763 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34764
a462cb63
RA
347652012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34766
34767 [BZ #887]
34768 * math/libm-test.inc (logb_test_downward): New test to expose
34769 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34770 rounding mode.
34771
6ad3493e
JM
347722012-04-27 Joseph Myers <joseph@codesourcery.com>
34773
34774 [BZ #14027]
34775 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34776 to be done.
34777 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34778 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34779
2ce4f015
JM
347802012-04-26 Joseph Myers <joseph@codesourcery.com>
34781
5aeb141a
JM
34782 * sysdeps/unix/i386/brk.S: Remove file.
34783 * sysdeps/unix/i386/dl-brk.S: Likewise.
34784 * sysdeps/unix/i386/pipe.S: Likewise.
34785 * sysdeps/unix/i386/sigreturn.S: Likewise.
34786 * sysdeps/unix/i386/syscall.S: Likewise.
34787 * sysdeps/unix/i386/vfork.S: Likewise.
34788 * sysdeps/unix/i386/wait.S: Likewise.
34789
7143acae
JM
34790 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34791 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34792
2ce4f015
JM
34793 * configure.in (arm*-none*): Do not allow without
34794 --enable-hacker-mode.
34795 (netbsd*): Remove case setting base_os.
34796 (386bsd*): Likewise.
34797 (freebsd*): Likewise.
34798 (bsdi*): Likewise.
34799 (osf*): Likewise.
34800 (sunos*): Likewise.
34801 (ultrix*): Likewise.
34802 (newsos*): Likewise.
34803 (dynix*): Likewise.
34804 (*bsd*): Likewise.
34805 (sysv*): Likewise.
34806 (isc*): Likewise.
34807 (esix*): Likewise.
34808 (sco*): Likewise.
34809 (minix*): Likewise.
34810 (irix4*): Likewise.
34811 (irix6*): Likewise.
34812 (solaris[2-9]*): Likewise.
34813 (none): Likewise.
34814 * configure: Regenerated.
34815
0ac229c8
AZ
348162012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34817
34818 [BZ #11521]
34819 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34820 overflow or cancellation in calculating denominator.
34821 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34822 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34823 down expression to avoid unexpected rounding in newer GCCs.
34824 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34825
33f244f4
DM
348262012-04-26 David S. Miller <davem@davemloft.net>
34827
34828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34829 long-double compat symbols.
34830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34843
cfa1f3e8
DM
348442012-04-25 David S. Miller <davem@davemloft.net>
34845
34846 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34847 HWCAP_* values only after the memory barriers have been defined.
34848 (atomic_full_barrier): Define.
34849 (atomic_read_barrier): Define.
34850 (atomic_write_barrier): Define.
34851
6e236b92
SP
348522012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34853
34854 * shlib-versions: Add libgcc_s version information.
34855 * sysdeps/generic/libgcc_s.h: Remove.
34856 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34857 libgcc_s.h.
34858 * sysdeps/gnu/unwind-resume.c: Likewise.
34859 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34860
aab39a09
DM
348612012-04-25 David S. Miller <davem@davemloft.net>
34862
34863 * sysdeps/unix/sparc/brk.S: Delete.
34864 * sysdeps/unix/sparc/dl-brk.S: Delete.
34865 * sysdeps/unix/sparc/pipe.S: Delete.
34866 * sysdeps/unix/sparc/sysdep.S: Delete.
34867 * sysdeps/unix/sparc/sysdep.h: Delete.
34868 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
34869 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34870 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34871 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34872 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
34873 (JUMPTARGET): Remove.
34874 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34875 sysdeps/unix/sparc/sysdep.h
34876 (ENTRY, END): Remove.
34877 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34878
a3cc4f48
JM
348792012-04-25 Joseph Myers <joseph@codesourcery.com>
34880
2ed8cda2
JM
34881 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34882 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34883 -DIS_IN_build.
34884
35d76d59
JM
34885 * timezone/README: Update upstream location and email address for
34886 tzcode and tzdata.
34887 * timezone/zdump.c: Update from tzcode 2012b.
34888 * timezone/zic.c: Likewise.
34889
a3cc4f48
JM
34890 * configure.in (libc_cv_as_needed): Remove test.
34891 * configure: Regenerated.
34892 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34893 conditional definition.
34894 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34895 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34896 * config.make.in (have-as-needed): Remove variable.
34897
ceab42c3
SP
348982012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34899 Paul Pluzhnikov <ppluzhnikov@google.com>
34900
34901 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34902 strings correctly.
34903
3ce2865f
CLT
349042012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34905
34906 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34907 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34908 * sysdeps/sh/strlen.S: Likewise.
34909
f37e0d68
JM
349102012-04-24 Joseph Myers <joseph@codesourcery.com>
34911
ae186e9a
JM
34912 * sysdeps/unix/fork.S: Remove file.
34913 * sysdeps/unix/i386/fork.S: Likewise.
34914 * sysdeps/unix/sparc/fork.S: Likewise.
34915
b96914af
JM
34916 * sysdeps/unix/system.c: Remove file.
34917 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34918
f37e0d68
JM
34919 * sysdeps/unix/getegid.S: Remove file.
34920 * sysdeps/unix/geteuid.S: Likewise.
34921
87ef29ca
RM
349222012-04-24 Roland McGrath <roland@hack.frob.com>
34923
83bcd236
RM
34924 * scripts/check-localplt.awk: New file.
34925 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34926 of diff.
34927 * scripts/data/localplt-generic.data: Add a comment.
34928
87ef29ca
RM
34929 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34930 NODE when __dir_mkfile failed.
34931 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34932 Reported by Ludovic Courtès <ludo@gnu.org>.
34933
e5a6e567
AJ
349342012-04-24 Andreas Jaeger <aj@suse.de>
34935
34936 * Makerules (common-clean): Also remove gen-as-const-headers
34937 files.
34938
c1820385
JM
349392012-04-24 Joseph Myers <joseph@codesourcery.com>
34940
34941 * Makerules (native-compile): Do not change working directory for
34942 build. Use $(OUTPUT_OPTION) in command.
34943 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34944
94e02fc4
AZ
349452012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34946
34947 [BZ #13886]
34948 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34949 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34950 * math/libm-test.inc (floor_test): Add more tests.
34951 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34952
3a533ca3
JM
349532012-04-24 Joseph Myers <joseph@codesourcery.com>
34954
940ab4b3
JM
34955 * sysdeps/unix/getdents.c: Remove file.
34956 * sysdeps/unix/sysv/getdents.c: Likewise.
34957 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34958
90e037bd
JM
34959 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34960 sysdeps/unix/mman/syscalls.list.
34961 (mmap): Likewise.
34962 (mprotect): Likewise.
34963 (msync): Likewise.
34964 (munmap): Likewise.
34965 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34966 * sysdeps/unix/mman/syscalls.list: Remove.
34967 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34968
3a533ca3
JM
34969 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34970 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34971 * configure: Regenerated.
34972 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34973 $(libgcc_s_suffix).
34974 * config.make.in (libgcc_s_suffix): Remove variable.
34975
1ad743de
JM
349762012-04-23 Joseph Myers <joseph@codesourcery.com>
34977
4ad451e2
JM
34978 * sysdeps/unix/sysv/gethostname.c: Move to ...
34979 * sysdeps/posix/gethostname.c: ... here.
34980
5e37ce39
JM
34981 * sysdeps/unix/execve.S: Remove file.
34982
1ad743de
JM
34983 * sysdeps/unix/_exit.S: Remove file.
34984
4e681b5b
AJ
349852012-04-23 Andreas Jaeger <aj@suse.de>
34986
34987 [BZ #13739]
34988 * manual/Makefile: Remove make dist support, there's no
34989 need for a stand-alone documentation tar ball.
34990 (TEXI2DVI): Define always, it's not in Makeconfig.
34991 (dist): Removed.
34992 (tar-it): Removed.
34993 (edition): Removed.
34994 (glibc-doc-$(edition).tar): Removed
34995 (%.Z): Removed.
34996 (%.gz): Removed.
34997 (%.uu): Removed.
34998 (ETAGS): Remove, it's in Makeconfig.
34999 (move-if-change): Remove, it's in Makeconfig.
35000
38686a03 350012012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
35002
35003 [BZ #13970]
35004 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35005 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35006 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35007 (strtod_l, strtof_l, strtold_l): Remove __wur.
35008 It is not necessarily an error to ignore strtol's return value.
35009 One can reliably look at the stored endptr to decide whether
35010 the number had valid syntax.
35011
7c0616fa
AJ
350122012-04-21 Andreas Jaeger <aj@suse.de>
35013
803cb6b7 35014 [BZ #13739]
7c0616fa
AJ
35015 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35016
b0fe253f
JM
350172012-04-21 Joseph Myers <joseph@codesourcery.com>
35018
35019 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35020 * sysdeps/unix/sysv/Versions: Remove file.
35021
8280f22d
MT
350222012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35023
35024 [BZ #13927]
35025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35026
75ce411f 350272012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
35028
35029 [BZ #7064]
35030 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35031 version from __vm86.
35032
097d59fa
JM
350332012-04-20 Joseph Myers <joseph@codesourcery.com>
35034
a90f3bcb
JM
35035 * sysdeps/unix/common/lxstat.c: Remove file.
35036 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35037
edc7ea78
JM
35038 * sysdeps/unix/sysv/Makefile: Remove file.
35039
cb78c221
JM
35040 * sysdeps/unix/sysv/direct.h: Remove file.
35041
efa6a45f
JM
35042 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35043 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35044 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35045 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35046 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35047 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35048 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35049
9c9f2d0c
JM
35050 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35051
4541c83b
JM
35052 * sysdeps/unix/xmknod.c: Remove file.
35053 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35054
f5d153a0
JM
35055 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35056
aa746595
JM
35057 * sysdeps/unix/sysv/i386/time.S: Remove file.
35058
cce5905e
JM
35059 * sysdeps/unix/fxstat.c: Remove file.
35060 * sysdeps/unix/xstat.c: Likewise.
35061 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35062
37fa3841
JM
35063 * sysdeps/unix/sysv/sigaction.c: Remove file.
35064
ff1962a3
JM
35065 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35066 (sysdep_headers): Remove variable.
35067 [termio.h not in sysdep_headers] (generated): Likewise.
35068 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35069 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35070 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35071 * sysdeps/unix/sysv/tcflow.c: Likewise.
35072 * sysdeps/unix/sysv/tcflush.c: Likewise.
35073 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35074 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35075 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35076 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35077 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35078
e7740d31
JM
35079 * sysdeps/unix/siglist.c: Remove file.
35080
ee06f18b
JM
35081 * sysdeps/unix/getppid.S: Remove file.
35082
097d59fa
JM
35083 * sysdeps/unix/mkdir.c: Remove file.
35084 * sysdeps/unix/rmdir.c: Likewise.
35085
ff3d51ec
AS
350862012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35087
35088 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35089 ERR_MAX value.
35090 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35091 errlist-compat value.
35092
50f81fd7
DM
350932012-04-18 David S. Miller <davem@davemloft.net>
35094
35095 * sysdeps/generic/memcopy.h (reg_char): Delete.
35096 * debug/strcat_chk.c: Use char, not reg_char.
35097 * debug/strcpy_chk.c: Likewise.
35098 * debug/strncat_chk.c: Likewise.
35099 * debug/strncpy_chk.c: Likewise.
35100 * string/memchr.c: Likewise.
35101 * string/memrchr.c: Likewise.
35102 * string/rawmemchr.c: Likewise.
35103 * string/strcat.c: Likewise.
35104 * string/strchr.c: Likewise.
35105 * string/strchrnul.c: Likewise.
35106 * string/strcmp.c: Likewise.
35107 * string/strcpy.c: Likewise.
35108 * string/strncat.c: Likewise.
35109 * string/strncmp.c: Likewise.
35110 * string/strncpy.c: Likewise.
35111
8ff41c46
WS
351122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35113
35114 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35115 __builtin_memcopy is called when src and dest ranges are known to not
35116 overlap.
35117
6b652f46
WS
351182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35119
35120 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35121 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35122 fwd_align_merge macro call.
35123 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35124 bwd_align_merge macro call.
35125 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35126
b282631e
WS
351272012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35128
35129 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35130 bwd_align_merge macros.
35131 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35132 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35133 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35134
95aa737c
DM
351352012-04-18 David S. Miller <davem@davemloft.net>
35136
35137 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35138
7a99a614
AJ
351392012-04-18 Andreas Jaeger <aj@suse.de>
35140
35141 [BZ# 6794]
35142 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35143 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35144 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35145
35146 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35147 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35148 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35149
35150 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35151 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35152 Adjust for changed ldbl-128 files.
35153
35154 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35155 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35156 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35157
e5270c23
DM
351582012-04-17 David S. Miller <davem@davemloft.net>
35159
35160 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35161
fb5e92c9
AS
351622012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35163
35164 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35165 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35166 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35167 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35168 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35169 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35170
76da7265
AZ
351712012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35172
35173 [BZ #6794]
35174 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35175 * math/libm-test.inc: Add ilogb errno and exception tests.
35176 * math/w_ilogb.c: New file: ilogb wrapper.
35177 * math/w_ilogbf.c: New file: ilogbf wrapper.
35178 * math/w_ilogbl.c: New file: ilogbl wrapper.
35179 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35180 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35181 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35182 exception being thrown with 0.0 as argument.
35183 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35184 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35185 exception being thrown with 0.0 as argument.
35186 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35187 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35188 exception being thrown with 0.0 as argument.
35189 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35190 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35191 exception being thrown with 0.0 as argument.
35192 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35193 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 35194 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
35195 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35196 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35197 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35198 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35199 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35200 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35201
0396e69d
PB
352022012-04-17 Petr Baudis <pasky@ucw.cz>
35203
35204 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35205 with altivec.
35206
750b5926
MP
352072012-04-16 Marek Polacek <polacek@redhat.com>
35208
35209 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35210
751728a1
MP
352112012-04-16 Marek Polacek <polacek@redhat.com>
35212
35213 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35214 operands of fdivp instruction.
35215
34a27407
L
352162012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35217
35218 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35219 * elf/tst-auditmod3b.c: Likewise.
35220 * elf/tst-auditmod4b.c: Likewise.
35221 * elf/tst-auditmod5b.c: Likewise.
35222 * elf/tst-auditmod6b.c: Likewise.
35223 * elf/tst-auditmod6c.c: Likewise.
35224 * elf/tst-auditmod7b.c: Likewise.
35225 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35226 * sysdeps/x86_64/preconfigure.in: Likewise.
35227 * sysdeps/x86_64/preconfigure: Regenerated.
35228
7e73e17d
L
352292012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35230
35231 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35232 __ILP32__.
35233
c7a6ab72
AB
352342012-04-13 Antoine Balestrat <merkil33@gmail.com>
35235
35236 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35237 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35238
a9e8e0e0
CL
352392012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35240
35241 [BZ #13973]
35242 * locale/iso-639.def: Fix gl language name. Spotted by
35243 Yaron Shahrabani.
35244
ec98af7d
RM
352452012-04-12 Roland McGrath <roland@hack.frob.com>
35246
35247 [BZ #2074]
35248 * libio/libio.h (__io_write_fn): Update comment.
35249
247c3ede
PB
352502012-04-12 Petr Baudis <pasky@ucw.cz>
35251
35252 [BZ #2074]
35253 * stdio.texi (Hook Functions): The user provided writer function
35254 is not allowed to return -1.
35255
55939d6d
DM
352562012-04-11 David S. Miller <davem@davemloft.net>
35257
35258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35259
90020f5a
MF
352602012-04-11 Mike Frysinger <vapier@gentoo.org>
35261
35262 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35263 Add a leading slash to rtkaio.
35264
288f9098
JM
352652012-04-11 Jim Meyering <meyering@redhat.com>
35266
90020f5a
MF
35267 [BZ #11959]
35268 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35269 It is not necessarily an error to ignore fwrite's return
35270 value. One can reliably use ferror to test for errors after
35271 the fact.
288f9098 35272
4be2b570
L
352732012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35274
35275 * bits/types.h (__snseconds_t): New type.
35276 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35277
35278 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35279 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35280 (__SNSECONDS_T_TYPE): Likewise.
35281 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35282 (__SNSECONDS_T_TYPE): Likewise.
35283 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35284 (__SNSECONDS_T_TYPE): Likewise.
35285
288f9098 352862012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
35287
35288 [BZ #2636]
35289 * manual/time.texi (Processor Time): Return type of times is
35290 elapsed real time since an arbitrary point in the past.
35291 (CPU Time): Move CLK_TCK from here...
35292 (Processor Time): ...to here. Correct description.
35293 * manual/conf.texi (Constants for Sysconf): Correct description of
35294 _SC_CLK_TCK.
35295
d7dd4413
DM
352962012-04-10 David S. Miller <davem@davemloft.net>
35297
35298 [BZ #13967]
35299 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35300 where the is a gap between DT_REL(A) and DT_JMPREL.
35301
b46068fc
L
353022012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35303
35304 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35305 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35306 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35307
73d65cc3
SP
353082012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35309
35310 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35311 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35312 (dl_main): Handle --inhibit-cache.
35313 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35314 _dl_inhibit_cache.
35315 * elf/dl-load.c (_dl_map_object): Use it.
35316 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35317
bcc8d661
JM
353182012-04-09 Joseph Myers <joseph@codesourcery.com>
35319
8f9a2fae
JM
35320 [BZ #13872]
35321 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35322 (__ieee754_powl): Saturate large exponents rather than testing for
35323 overflow of y*log2(x).
35324 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35325 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35326 exceptions.
35327
bcc8d661
JM
35328 [BZ #11521]
35329 * math/s_ctan.c: Include <float.h>.
35330 (__ctan): Avoid internal overflow or cancellation in calculating
35331 denominator.
35332 * math/s_ctanf.c: Likewise.
35333 * math/s_ctanl.c: Likewise.
35334 * math/s_ctanh.c: Likewise.
35335 * math/s_ctanhf.c: Likewise.
35336 * math/s_ctanhl.c: Likewise.
35337 * math/libm-test.inc (ctan_test): Add more tests.
35338 (ctanh_test): Likewise.
35339 * sysdeps/i386/fpu/libm-test-ulps: Update.
35340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35341
823fbbb4
AJ
353422012-04-09 Andreas Jaeger <aj@suse.de>
35343
03879793
AJ
35344 [BZ #6894]
35345 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35346 is an optional BSD extension.
35347
823fbbb4
AJ
35348 [BZ #10254]
35349 * manual/stdio.texi (Opening Streams): Document additional fopen
35350 parameters.
35351
8de131cb
RM
353522012-04-09 Roland McGrath <roland@hack.frob.com>
35353
35354 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35355 %eax without telling the compiler.
35356
c0ed9d7d
CD
353572012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35358
35359 [BZ # 13963]
35360 * manual/install.texi: Use sourceware.org.
35361
c483f6b4
JM
353622012-04-09 Joseph Myers <joseph@codesourcery.com>
35363
d7dd9453
JM
35364 [BZ #13873]
35365 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35366 (__ieee754_pow): Generate overflow and underflow using huge*huge
35367 and tiny*tiny rather than just returning constant infinity or zero
35368 for large exponents.
35369 * math/libm-test.inc (pow_test): Require overflow exceptions for
35370 applicable cases of large exponents.
35371
c483f6b4
JM
35372 [BZ #706]
35373 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35374 (__ieee754_pow): Use iterative multiplication algorithm only for
35375 integer exponents with absolute value below 1024. Check for odd
35376 integer exponents when using algorithm for real exponents.
35377 * math/libm-test.inc (pow_test): Add more tests.
35378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35379
d2de7579
JM
353802012-04-08 Joseph Myers <joseph@codesourcery.com>
35381
35382 [BZ #13705]
35383 * math/libm-test.inc (exp_test): Do not allow overflow exception
35384 on underflow test.
35385
f77f1232
AJ
353862012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35387
35388 [BZ #13705]
35389 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35390 instead of __kernel_standard_f.
35391
3884932b
MF
353922012-04-08 Mike Frysinger <vapier@gentoo.org>
35393
35394 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35395 * sysdeps/x86_64/memset_chk.S: Likewise.
35396
54472e9c
AJ
353972012-04-08 Andreas Jaeger <aj@suse.de>
35398
6ab0fbfc
AJ
35399 [BZ #10153]
35400 * manual/startup.texi (Environment Access): Describe return value
35401 for putenv and setenv.
35402
61efba8c
AJ
35403 [BZ #6895]
35404 * manual/filesys.texi (Directory Entries): Add description for
35405 DT_LNK.
35406
95c3f29a
AJ
35407 [BZ #6890]
35408 * manual/filesys.texi (Directory Entries): Clarify that it's file
35409 system not operating system in the description of DT_UNKNOWN.
35410
54472e9c
AJ
35411 [BZ #6578]
35412 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35413
624254b1
SC
354142012-04-08 Stephen Compall <s11@member.fsf.org>
35415
35416 [BZ #6649]
35417 * manual/llio.texi (Opening and Closing Files): Add cross
35418 reference to explain mode argument.
35419
1e4920e0
MF
354202012-04-07 Mike Frysinger <vapier@gentoo.org>
35421
35422 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35423 * sysdeps/x86_64/memset_chk.S: Likewise.
35424
5ed848f3
DM
354252012-04-07 David S. Miller <davem@davemloft.net>
35426
35427 * elf/elf.h (R_SPARC_WDISP10): Define.
35428 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35429 R_SPARC_SIZE32.
35430 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35431 R_SPARC_SIZE64 and R_SPARC_H34.
35432
96154cd8
CD
354332012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35434
35435 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35436 conditions and remove no longer applicable assertion.
35437
9904dc47
L
354382012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35439
35440 * bits/byteswap.h: Include <features.h>.
35441 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35442 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35443
f8887d0a
L
354442012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35445
35446 * bits/byteswap.h (__bswap_16): Removed.
35447 Include <bits/byteswap-16.h> to get __bswap_16.
35448 * sysdeps/i386/bits/byteswap.h: Likewise.
35449 * sysdeps/s390/bits/byteswap.h: Likewise.
35450 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35451 * bits/byteswap-16.h: New file.
35452 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35453 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35454 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35455 * string/Makefile (headers): Add bits/byteswap-16.h.
35456
62470f60
PP
354572012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35458
35459 [BZ #13895]
35460 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35461 extra indirection.
35462 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35463 * nss/tst-nss-static.c: New.
35464
4dad7bab
RM
354652012-04-06 Robert Millan <rmh@gnu.org>
35466
35467 [BZ #6486]
35468 * manual/llio.texi (File Position Primitive): lseek
35469 refers to WHENCE when it really means OFFSET.
35470
e9142a17
AJ
354712012-04-06 Andreas Jaeger <aj@suse.de>
35472
2c040eff
AJ
35473 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35474 strncmp declarations.
35475
e9142a17
AJ
35476 * abilist/libc.abilist: Add __poll and __ppoll.
35477
ff9f1c5f
DM
354782012-04-05 David S. Miller <davem@davemloft.net>
35479
dcd2ae90
DM
35480 * scripts/check-local-headers.sh: Accept a host triplet in the
35481 path matched by the exclude regexp.
35482
993eb054
DM
35483 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35484 definition.
35485 * sysdeps/powerpc/powerpc32/dl-machine.h
35486 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35487 * sysdeps/s390/s390-32/dl-machine.h
35488 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35489 * sysdeps/sparc/sparc32/dl-machine.h
35490 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35491 * sysdeps/sparc/sparc64/dl-machine.h
35492 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35493
ff9f1c5f
DM
35494 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35495 lazy binding.
48e2e132 35496 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
35497 undefined symbol errors.
35498
48e2e132 35499 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
35500 DT_NEEDED entries.
35501
e80d6f94
MM
355022012-04-05 Michael Matz <matz@suse.de>
35503
35504 [BZ #13592]
35505 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35506
349fa79f
AJ
355072012-04-05 Andreas Jaeger <aj@suse.de>
35508
35509 [BZ #13908]
35510 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35511 comment.
35512
f402708f
KK
355132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35514
35515 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35516 which ROUND is no valid rounding mode.
35517
2ecccfc9
KK
355182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35519
35520 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35521 read again.
35522 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35523
8a53f50f
KK
355242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35525
35526 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35527 an exception using FPU order intentionally.
35528
355292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35530
35531 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35532 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35533 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35534 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35535
d653abb7
SJ
355362012-04-05 Simon Josefsson <simon@josefsson.org>
35537
35538 [BZ #12340]
35539 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35540 EINVAL when BUFLEN is too smal.
35541
c3b1bf7d
TS
355422012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35543
35544 [BZ #13553]
35545 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35546 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35547
b1aa60f3
AJ
355482012-04-03 Andreas Jaeger <aj@suse.de>
35549
c3b1bf7d 35550 [BZ #13938]
67f60a26
AJ
35551 * manual/setjmp.texi (System V contexts): Fix sentence.
35552
b1aa60f3
AJ
35553 [BZ #13926]
35554 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35555 New macro for this case.
35556 [!__GNUC__] (__bswap_64): New inline function for this case.
35557 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35558 * bits/byteswap.h: Likewise.
35559 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35560 ull, guard with __GLIBC_HAVE_LONG_LONG.
35561
35562 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35563 __GLIBC_HAVE_LONG_LONG.
35564
35565 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35566 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35567
39c59c35
TMQMF
355682012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35569
35570 [BZ #13691]
35571 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35572 inptr and inend, rather than using last_ch.
35573
135ffda8
DM
355742012-04-02 David S. Miller <davem@davemloft.net>
35575
35576 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35577 * stdio-common/printf-parse.h (read_int): Change return type to
35578 'int', return -1 on INT_MAX overflow.
35579 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35580 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35581 overflows INT_MAX. Check for overflow of in-format-string precision
35582 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35583 SIZE_MAX not INT_MAX for integer overflow test.
35584 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35585 skip the construct in the format string but do not record anything.
35586 * stdio-common/bug22.c: Adjust to test both width/prevision
35587 INT_MAX overflow as well as total length INT_MAX overflow. Check
35588 explicitly for proper errno values.
35589
228c019e
TS
355902012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35591
302cadd3
TS
35592 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35593 CHAR_MAX.
35594 * string/test-strcmp.c [! WIDE]: Likewise.
35595 * time/tst-mktime2.c: Likewise for INT_MAX.
35596 * string/test-string.h: #include <sys/param.h> for MIN.
35597
228c019e
TS
35598 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35599 * sysdeps/i386/init-first.c (init): Likewise.
35600 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35601 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35602 * sysdeps/sh/init-first.c (init): Likewise.
35603
cfa633f5
UD
356042012-04-01 Ulrich Drepper <drepper@gmail.com>
35605
35606 * po/ru.po: Update from translation team.
d1635ef8 35607 * po/vi.po: Likewise.
cfa633f5 35608
6cd0a5ea
SP
356092012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35610
35611 * resolv/nss_dns/dns-host.c: Merge copyright years.
35612
4b43400f
LD
356132012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35614
35615 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35616 Optimize memcpy with prefetch if
35617 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35618 src, dst pointers have unequal 16 byte alignments.
35619
48c41d04
SP
356202012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35621
35622 [BZ #13928]
35623 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35624 from a CNAME entry and return the minimum ttl for the query.
35625 (gaih_getanswer_slice): Likewise.
35626
b8dc394d
JL
356272012-03-30 Jeff Law <law@redhat.com>
35628
35629 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35630 due to long keys.
35631 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35632 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35633
2f5a5ed0
JL
35634 * resolv/nss_dns/dns-host.c: Update copyright year.
35635
1d39e359
UD
356362012-03-30 Ulrich Drepper <drepper@gmail.com>
35637
c030f70c 35638 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 35639 requests to save a system call. Fix check that all bytes are sent.
c030f70c 35640
1d39e359
UD
35641 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35642 comments for sendmmsg.
35643
356442012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
35645
35646 [BZ #13691]
35647 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35648 with only 1 character between 0x0041 and 0x01b0.
35649 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35650 * wcsmbs/tst-mbsnrtowcs.c: New file.
35651
20fde227
DM
356522012-03-29 David S. Miller <davem@davemloft.net>
35653
35654 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35655 small copies by hand.
35656
984a4237
JL
356572012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35658
35659 [BZ #13761]
57f41c40
AS
35660 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35661 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35662 group memberships.
984a4237 35663
18c9d62b
DM
356642012-03-28 David S. Miller <davem@davemloft.net>
35665
88d85d4f
DM
35666 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35667 that branches into memcpy.
35668 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35669 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35670 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35671 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35672 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35673 bits.
35674 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35675 implementation too.
35676 * sysdeps/sparc/mempcpy.S: New file.
35677
e5aa83e1
DM
35678 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35679 the IFUNC routine in the libc case.
35680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35681
88570753
DM
35682 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35683 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35684 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35685 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35686 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35687 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35688 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35689 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35690
249d7567
DM
35691 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35692 loop to 256 bytes instead of 64 bytes and fix test signedness.
35693
18c9d62b
DM
35694 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35695 * sysdeps/sparc/sparc32/Makefile: rather than here...
35696 * sysdeps/sparc/sparc64/Makefile: and here.
35697
05f3d1f6
UD
356982012-03-28 Ulrich Drepper <drepper@gmail.com>
35699
35700 * malloc/mallocbug.c: Avoid warnings about unused variables.
35701
86ae07a8
JL
357022012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35703
35704 [BZ #13760]
35705 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35706 in the right place. Discard and retry query if response is
35707 larger than input buffer size.
35708
41bf21a1
JM
357092012-03-28 Joseph Myers <joseph@codesourcery.com>
35710
d6270972
JM
35711 [BZ #369]
35712 [BZ #2678]
35713 [BZ #3866]
35714 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35715 x for large integer exponent.
35716 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35717 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35718 sign of result as needed afterwards.
35719 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35720 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35721 result for underflowing pow the same as for overflow.
35722 (__kernel_standard_l): Handle powl overflow and underflow here
35723 rather than calling __kernel_standard.
35724 * math/libm-test.inc (pow_test): Add more tests.
35725
414fca03 35726 [BZ #3868]
41bf21a1
JM
35727 [BZ #13879]
35728 [BZ #13910]
35729 [BZ #13911]
35730 [BZ #13912]
35731 [BZ #13913]
35732 [BZ #13915]
35733 [BZ #13916]
35734 [BZ #13917]
35735 [BZ #13918]
35736 [BZ #13919]
35737 [BZ #13920]
35738 [BZ #13921]
35739 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35740 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35741 (__kernel_standard_l): New function.
35742 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35743 __kernel_standard.
35744 * math/w_acosl.c (__acosl): Likewise.
35745 * math/w_asinl.c (__asinl): Likewise.
35746 * math/w_atan2l.c (__atan2l): Likewise.
35747 * math/w_atanhl.c (__atanhl): Likewise.
35748 * math/w_coshl.c (__coshl): Likewise.
35749 * math/w_exp10l.c (__exp10l): Likewise.
35750 * math/w_exp2l.c (__exp2l): Likewise.
35751 * math/w_fmodl.c (__fmodl): Likewise.
35752 * math/w_hypotl.c (__hypotl): Likewise.
35753 * math/w_j0l.c (__j0l, __y0l): Likewise.
35754 * math/w_j1l.c (__j1l, __y1l): Likewise.
35755 * math/w_jnl.c (__jnl, __ynl): Likewise.
35756 * math/w_lgammal.c (__lgammal): Likewise.
35757 * math/w_log10l.c (__log10l): Likewise.
35758 * math/w_log2l.c (__log2l): Likewise.
35759 * math/w_logl.c (__logl): Likewise.
35760 * math/w_powl.c (__powl): Likewise.
35761 * math/w_remainderl.c (__remainderl): Likewise.
35762 * math/w_scalbl.c (sysv_scalbl): Likewise.
35763 * math/w_sinhl.c (__sinhl): Likewise.
35764 * math/w_sqrtl.c (__sqrtl): Likewise.
35765 * math/w_tgammal.c (__tgammal): Likewise.
35766 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35767 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35768 * math/libm-test.inc (acos_test): Add more tests.
35769 (acosh_test): Likewise.
35770 (asin_test): Likewise.
35771 (atanh_test): Likewise.
35772 (exp_test): Likewise.
35773 (exp10_test): Likewise.
35774 (exp2_test): Likewise.
35775 (expm1_test): Likewise.
35776 (lgamma_test): Likewise.
35777 (log_test): Likewise.
35778 (log10_test): Likewise.
35779 (log1p_test): Likewise.
35780 (log2_test): Likewise.
35781 (pow_test): Do not allow some spurious overflow exceptions.
35782 (sqrt_test): Add more tests.
35783 (tgamma_test): Likewise.
35784 (y0_test): Likewise.
35785 (y1_test): Likewise.
35786 (yn_test): Likewise.
35787
dd62fda6
AB
357882012-03-27 Anton Blanchard <anton@samba.org>
35789
35790 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35791 MAP_HUGETLB.
35792 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35793 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35794 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35795
1e3cdfda
AJ
357962012-03-27 David S. Miller <davem@davemloft.net>
35797
b855ab85
DM
35798 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35799
1e3cdfda
AJ
35800 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35801 have-as-vis3 check.
35802
358032012-03-27 Andreas Jaeger <aj@suse.de>
35804
35805 * sysdeps/x86_64/elf/configure.in: Moved to ...
35806 * sysdeps/x86_64/configure.in: ... here.
35807 * sysdeps/x86_64/elf/start.S: Moved to ...
35808 * sysdeps/x86_64/start.S: ... here.
35809 * sysdeps/x86_64/elf/configure: Delete.
35810
35811 * sysdeps/x86_64/configure.in: Merge contents from
35812 sysdeps/i386/configure.in (without i686 check).
35813
35814 * sysdeps/i386/elf/Versions: Merge into ...
35815 * sysdeps/i386/Versions: ... this.
35816 * sysdeps/i386/elf/Versions: Delete file.
35817 * sysdeps/i386/elf/start.S: Moved to ...
35818 * sysdeps/i386/start.S: ...here.
35819 * sysdeps/i386/elf/configure.in: Merge into...
35820 * sysdeps/i386/configure.in: ...here.
35821 * sysdeps/i386/elf/configure.in: Delete file.
35822 * sysdeps/i386/elf/configure: Delete file.
35823
35824 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35825 * debug/backtracesyms.c: ... here.
35826 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35827 * debug/backtracesymsfd.c: ... here.
35828 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35829 * sysdeps/generic/ifunc-sel.h: ... here.
35830
35831 * sysdeps/unix/i386/start.c: Delete file.
35832 * sysdeps/unix/sparc/start.c: Delete file.
35833 * sysdeps/unix/start.c: Delete file.
35834
35835 * sysdeps/sh/elf/configure.in: Moved to ...
35836 * sysdeps/sh/configure.in: ... here.
35837 * sysdeps/sh/elf/start.S: Moved to ...
35838 * sysdeps/sh/start.S: ... here.
35839 * sysdeps/sh/elf/configure: Delete file.
35840
35841 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35842 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35843 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35844 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35845 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35846 * sysdeps/powerpc/powerpc64/start.S: here.
35847 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35848 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35849 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35850 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35851 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35852
35853 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35854 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35855 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35856 * sysdeps/powerpc/powerpc32/start.S: ... here.
35857 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35858 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35859 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35860
35861 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35862 * sysdeps/powerpc/ifunc-sel.h: ... here.
35863 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35864 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35865
35866 * sysdeps/sparc/elf/configure.in: Moved to ...
35867 * sysdeps/sparc/configure.in: ... here.
35868 * sysdeps/sparc/elf/configure: Delete file.
35869 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35870 * sysdeps/sparc/sparc32/start.S: ... here.
35871 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35872 * sysdeps/sparc/sparc64/start.S: ... here.
35873 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35874 * sysdeps/sparc/sparc32/Makefile: ... this.
35875 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35876 * sysdeps/sparc/sparc64/Makefile: ... this.
35877
35878 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35879 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35880 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35881 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35882 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35883 * sysdeps/s390/s390-32/setjmp.S: ... here.
35884 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35885 * sysdeps/s390/s390-32/configure.in: ... here.
35886 * sysdeps/s390/s390-32/elf/configure: Delete file.
35887 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35888 * sysdeps/s390/s390-32/start.S: ... here.
35889
35890 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35891 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35892 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35893 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35894 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35895 * sysdeps/s390/s390-64/setjmp.S: ... here.
35896 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35897 * sysdeps/s390/s390-64/configure.in: ... here
35898 * sysdeps/s390/s390-64/elf/configure: Delete file.
35899 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35900 * sysdeps/s390/s390-64/start.S: ... here.
35901 * sysdeps/s390/s390-64/elf/configure: Delete.
35902
35903 * configure.in: Remove support for elf directories in sysdeps.
35904
35905 * configure: Regenerated.
35906 * sysdeps/i386/configure: Regenerated.
35907 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35908 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35909 * sysdeps/s390/s390-32/configure: Regenerated.
35910 * sysdeps/s390/s390-64/configure: Regenerated.
35911 * sysdeps/sh/configure: Regenerated.
35912 * sysdeps/sparc/configure: Regenerated.
35913 * sysdeps/x86_64/configure: Regenerated.
35914
a3f61311
AS
359152012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35916
c876e002
AS
35917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35918
a3f61311
AS
35919 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35920 denormal result into account.
35921
ac4c54f0
RM
359222012-03-25 Roland McGrath <roland@hack.frob.com>
35923
35924 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35925 Reported by Allan McRae <allan@archlinux.org>.
35926
6a9b9c02
JL
359272012-03-23 Jeff Law <law@redhat.com>
35928
35929 * nss/getnssent.c (__nss_getent): Fix typo.
35930
4c42a0c1
DM
359312012-03-23 David S. Miller <davem@davemloft.net>
35932
35933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35934
1532c7ac
L
359352012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35936
35937 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35938 to pad to uint64_t for each field.
35939 (dl_tls_index): Replace unsigned long with uint64_t.
35940
3ff42526
PP
359412012-03-23 Daniel Jacobowitz <dmj@google.com>
35942 Paul Pluzhnikov <ppluzhnikov@google.com>
35943
35944 [BZ #6528]
35945 * grp/Makefile (otherlibs): Don't set it.
35946 * inet/Makefile (otherlibs): Likewise.
35947 * login/Makefile (otherlibs): Likewise.
35948 * nscd/Makefile (otherlibs): Likewise.
35949 * posix/Makefile (otherlibs): Likewise.
35950 * pwd/Makefile (otherlibs): Likewise.
35951 * rt/Makefile (otherlibs): Likewise.
35952 * sunrpc/Makefile (otherlibs): Likewise.
35953 * nss/Makefile (otherlibs): Likewise.
35954 Add libnss_files to routines and static-only-routines.
35955 ($(objpfx)getent): Remove rule.
35956 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35957 static-only-routines.
35958
7c69cd14
JM
359592012-03-22 Joseph Myers <joseph@codesourcery.com>
35960
35961 [BZ #13892]
35962 * math/s_cexp.c: Include <float.h>.
35963 (__cexp): Handle exp result overflowing not necessarily
35964 overflowing both real and imaginary parts of result.
35965 * math/s_cexpf.c: Likewise.
35966 * math/s_cexpl.c: Likewise.
35967 * math/libm-test.inc (cexp_test): Add more tests.
35968 * sysdeps/i386/fpu/libm-test-ulps: Update.
35969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35970
81b035fe
L
359712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35972
35973 * include/link.h (ELFW): New macro.
35974 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35975 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35976
1da7940c
L
359772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35978
35979 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35980 with uint64_t.
35981
b749dbb9
L
359822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35983
35984 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35985 declaration.
35986 (struct La_x32_retval): Likewise.
35987
2ff87f3f
L
359882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35989
35990 * sysdeps/x86_64/preconfigure.in: New file.
35991 * sysdeps/x86_64/preconfigure: New generated file.
35992
c0df8e69
JM
359932012-03-22 Joseph Myers <joseph@codesourcery.com>
35994
48e44791
JM
35995 [BZ #13824]
35996 * math/e_exp2l.c: Include <float.h>.
35997 (__ieee754_exp2l): Handle overflow and underflow cases
35998 separately. Only pass fractional part of argument to
35999 __ieee754_expl.
36000 * math/libm-test.inc (exp2_test): Add more tests.
36001
c0df8e69
JM
36002 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36003 negating x to take absolute value.
36004 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36005 Likewise.
36006 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36007 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36008 Likewise.
36009 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36010 computing low part if x was negated.
36011 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36012
c8e43ba7
L
360132012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36014
36015 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36016 la_x32_gnu_pltexit.
36017 (pltexit): Cast int_retval to ptrdiff_t.
36018 * elf/tst-auditmod3b.c: Likewise.
36019 * elf/tst-auditmod4b.c: Likewise.
36020 * elf/tst-auditmod5b.c: Likewise.
36021 * elf/tst-auditmod6b.c: Likewise.
36022 * elf/tst-auditmod6c.c: Likewise.
36023 * elf/tst-auditmod7b.c: Likewise.
36024
36025 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36026 and x32_gnu_pltexit.
36027
36028 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36029 __ELF_NATIVE_CLASS.
36030 (La_x32_regs): New macro.
36031 (La_x32_retval): Likewise.
36032 (la_x32_gnu_pltenter): New function prototype.
36033 (la_x32_gnu_pltexit): Likewise.
36034
7998fa78
AS
360352012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36036
dcb33988
AS
36037 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36038 exponent.
36039
233fc563
AS
36040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36041
7998fa78
AS
36042 * configure.in (libc_cv_cc_nofma): Check for option to disable
36043 generation of FMA instructions.
36044 * configure: Regenerate.
36045 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36046 * sysdeps/ieee754/dbl-64/Makefile: New file.
36047 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36048 Remove brandred-fma4.
36049 (CFLAGS-brandred-fma4.c): Remove.
36050 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36051 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36052 define.
36053 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36054 define.
36055
8e95c99a
L
360562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36057
36058 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36059 LLONG_MAX != LONG_MAX.
36060 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36061 (_fitoa_word): Likewise.
36062 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36063 LLONG_MAX != LONG_MAX.
36064 * stdio-common/_itowa.h: Include <_itoa.h>.
36065 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36066 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36067 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36068 only if not defined.
36069 (_ITOA_WORD_TYPE): Likewise.
36070 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36071 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36072
6f4db457
DM
360732012-03-21 David S. Miller <davem@davemloft.net>
36074
36075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36076
7785fe5a
L
360772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36078
36079 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36080 of x86_64 when setting libc_cv_slibdir, libdir and
36081 libc_cv_localedir.
36082 * sysdeps/unix/sysv/linux/configure: Regenerated.
36083
4535cd55
JM
360842012-03-21 Joseph Myers <joseph@codesourcery.com>
36085
36086 * manual/lang.texi (Old Varargs): Remove section.
36087 (How Variadic): Update menu.
36088 (va_start): Do not mention varargs.h.
36089
17228132
TS
360902012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36091 Joseph Myers <joseph@codesourcery.com>
36092
36093 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36094 link test.
36095 * configure: Regenerated.
36096
8149f976
TS
360972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36098
05f3d1f6
UD
36099 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36100 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36101 conformtest.pl
8149f976 36102
1a4ac776
JM
361032012-03-21 Joseph Myers <joseph@codesourcery.com>
36104
be22ce65
JM
36105 * NOTES: Remove.
36106 * Makefile (files-for-dist): Remove NOTES.
36107 (NOTES): Remove rule.
36108 * README: Don't refer to NOTES.
36109 * manual/creature.texi: Don't include macros.texi.
36110 * manual/intro.texi (creature.texi): Remove comment referring to
36111 NOTES.
36112
40b601fb
JM
36113 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36114 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36115 * configure: Regenerated.
36116 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36117 LIBC_TRY_CC_OPTION.
36118 (libc_cv_as_i686): Likewise.
36119 (libc_cv_cc_avx): Likewise.
36120 (libc_cv_cc_sse2avx): Likewise.
36121 (libc_cv_cc_fma4): Likewise.
36122 (libc_cv_cc_novzeroupper): Likewise.
36123 * sysdeps/i386/configure: Regenerated.
36124
1a4ac776
JM
36125 [BZ #13883]
36126 * sysdeps/i386/fpu/s_cexp.S: Remove.
36127 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36128 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36129 * math/libm-test.inc (cexp_test): Add more tests.
36130 * sysdeps/i386/fpu/libm-test-ulps: Update.
36131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36132
a458e7fe
AM
361332012-03-21 Allan McRae <allan@archlinux.org>
36134
36135 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36136
0cb7efc5
JM
361372012-03-21 Joseph Myers <joseph@codesourcery.com>
36138
36139 [BZ #13871]
36140 * math/w_exp2.c: Do not include <float.h>.
36141 (o_threshold, u_threshold): Remove.
36142 (__exp2): Calculate result before checking finiteness and calling
36143 __kernel_standard.
36144 * math/w_exp2f.c: Likewise.
36145 * math/w_exp2l.c: Likewise.
36146 * math/libm-test.inc (exp2_test): Require overflow exception for
36147 1e6 input.
2460d3aa
JM
36148
36149 [BZ #3866]
36150 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36151 range of signed 64-bit integers before using fistpll. Remove
36152 checks for whether integers fit in mantissa bits.
36153 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36154 the range of signed 32-bit integers before using fistpl. Remove
36155 checks for whether integers fit in mantissa bits.
36156 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36157 (__ieee754_powl): Test for y outside the range of signed 64-bit
36158 integers before using fistpll. Reduce 64-bit values to 63-bit
36159 ones as needed.
36160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36161 divide-by-zero is raised for zero to large negative powers.
36162 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36163 (__ieee754_powl): Test for y outside the range of signed 64-bit
36164 integers before using fistpll. Reduce 64-bit values to 63-bit
36165 ones as needed.
36166 * math/libm-test.inc (pow_test): Add more tests.
36167
eb96ffb0
L
361682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36169
36170 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36171 <stdio-common/_itoa.h>.
36172 * debug/segfault.c: Likewise.
36173 * elf/dl-cache.c: Likewise.
36174 * elf/dl-minimal.c: Likewise.
36175 * elf/dl-misc.c: Likewise.
36176 * elf/dl-sysdep.c: Likewise.
36177 * elf/dl-version.c: Likewise.
36178 * elf/rtld.c: Likewise.
36179 * hurd/hurdsock.c: Likewise.
36180 * hurd/lookup-retry.c: Likewise.
36181 * malloc/malloc.c: Likewise.
36182 * malloc/mtrace.c: Likewise.
36183 * nscd/nscd_getgr_r.c: Likewise.
36184 * nscd/nscd_getpw_r.c: Likewise.
36185 * nscd/nscd_getserv_r.c: Likewise.
36186 * posix/getopt_init.c: Likewise.
36187 * posix/wordexp.c: Likewise.
36188 * stdio-common/_itoa.c: Likewise.
36189 * stdio-common/printf_fphex.c: Likewise.
36190 * stdio-common/vfprintf.c: Likewise.
36191 * string/_strerror.c: Likewise.
36192 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36193 * sysdeps/i386/i686/hp-timing.h: Likewise.
36194 * sysdeps/mach/_strerror.c: Likewise.
36195 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36196 * sysdeps/mach/hurd/sethostid.c: Likewise.
36197 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36198 * sysdeps/mach/xpg-strerror.c: Likewise.
36199 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36200 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36201 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36202 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36203 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36204 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36205 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36206 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36207 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36208 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36209 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36210 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36211 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36212 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36213 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36214 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36215 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36216 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36217 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36218 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36219 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36220
36221 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36222
36223 * stdio-common/_itoa.h: Moved to ...
36224 * sysdeps/generic/_itoa.h: Here.
36225
36226 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36227
36228 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36229 instead of "_itoa.h" and "_itowa.h".
36230 * stdio-common/vfprintf.: Likewise.
36231
d1af992d
L
362322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36233
36234 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36235 <bits/wordsize.h>.
36236 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36237 (__signbit): Likwise.
36238 (llrintf): Likwise.
36239 (llrint): Likwise.
36240
114883e0
L
362412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36242
36243 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36244 __WORDSIZE != 64.
36245
c135cc1b
JM
362462012-03-20 Joseph Myers <joseph@codesourcery.com>
36247
36248 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36249 OVERFLOW_EXCEPTION_OK.
36250 * math/libm-test.inc ("Philosophy"): Update comment about
36251 exception testing.
36252 (OVERFLOW_EXCEPTION): Define.
36253 (OVERFLOW_EXCEPTION_OK): Likewise.
36254 (INVALID_EXCEPTION_OK): Renumber.
36255 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36256 (IGNORE_ZERO_INF_SIGN): Likewise.
36257 (test_exceptions): Handle FE_OVERFLOW.
36258 (exp10_test): Expect overflow exceptions.
36259 (exp2_test): Likewise.
36260 (expm1_test): Likewise.
36261 (nextafter_test): Likewise.
36262 (pow_test): Likewise.
36263 (scalbn_test): Likewise.
36264 (scalbln_test): Likewise.
36265
95443d88
L
362662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36267
36268 * sysdeps/x86_64/bits/atomic.h
36269 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36270 64bit integer.
36271 (atomic_exchange_acq): Likewise.
36272 (__arch_exchange_and_add_body): Likewise.
36273 (__arch_add_body): Likewise.
36274 (atomic_add_negative): Likewise.
36275 (atomic_add_zero): Likewise.
36276
490df6c4
L
362772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36278
c2722551 36279 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
36280 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36281
5e52b189
L
362822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36283
36284 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36285 Check __x86_64__ instead of __WORDSIZE.
36286
a9879d4c
L
362872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36288
36289 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36290
5df98260
DM
362912012-03-19 David S. Miller <davem@davemloft.net>
36292
e1497744
DM
36293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36294
5df98260
DM
36295 * sysdeps/sparc/fpu/fenv_private.h: New file.
36296 * sysdeps/sparc/fpu/math_private.h: Use it.
36297 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36298 Remove.
57f41c40 36299 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
36300 (libc_feholdexcept_setroundl): Remove.
36301 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36302 Remove.
36303 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36304 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36305
b4c35121
L
363062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36307
36308 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36309 int64_t instead of long int.
36310 (INSERT_WORDS64): Likwise.
36311
56965fd7
L
363122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36313
36314 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36315 _Unwind_GetCFA return to _Unwind_Ptr first.
36316
83d1aec8
JM
363172012-03-19 Joseph Myers <joseph@codesourcery.com>
36318
1897ad44
JM
36319 [BZ #13629]
36320 * math/s_clog.c: Include <float.h>.
36321 (__clog): Scale large or subnormal inputs.
36322 * math/s_clogf.c: Likewise.
36323 * math/s_clogl.c: Likewise.
36324 * math/s_clog10.c: Include <float.h>.
36325 (M_LOG10_2): Define.
36326 (__clog10): Scale large or subnormal inputs.
36327 * math/s_clog10f.c: Likewise.
36328 * math/s_clog10l.c: Likewise.
36329 * math/libm-test.inc (clog_test): Add more tests.
36330 (clog10_test): Likewise.
36331 * sysdeps/i386/fpu/libm-test-ulps: Update.
36332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36333
7726d6a9
JM
36334 [BZ #11451]
36335 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36336 x and y.
36337 * math/libm-test.inc (atan2_test): Add another test.
36338
83d1aec8
JM
36339 * Makerules (common-objdir-compile): Remove.
36340 * sysdeps/unix/Makefile (config-generated): Do not add
36341 $(unix-generated) to variable.
36342 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36343 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36344 Remove rule.
36345 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36346 Likewise.
36347 [generic bits/local_lim.h] (before-compile): Do not append to
36348 variable.
36349 [generic bits/local_lim.h] (common-generated): Likewise.
36350 [generic sys/param.h] (before-compile): Do not append to variable.
36351 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36352 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36353 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36354 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36355 include.
36356 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36357 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36358 [generic sys/param.h] ($(addprefix
36359 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36360 [generic sys/param.h] (common-generated): Do not append to
36361 variable.
36362 [generic sys/param.h] (sysdep_headers): Likewise.
36363 [generic bits/errno.h] (before-compile): Do not append to
36364 variable.
36365 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36366 rule.
36367 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36368 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36369 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36370 [generic bits/errno.h] (common-generated): Do not append to
36371 variable.
36372 [generic bits/ioctls.h] (before-compile): Do not append to
36373 variable.
36374 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36375 rule.
36376 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36377 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36378 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36379 rule.
36380 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36381 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36382 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36383 [generic bits/ioctls.h] (common-generated): Do not append to
36384 variable.
36385 [generic sys/syscall.h] (syscall.h): Remove variable.
36386 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36387 rule.
36388 [generic sys/syscall.h] (before-compile): Do not append to
36389 variable.
36390 [generic sys/syscall.h] (common-generated): Likewise.
36391 * sysdeps/unix/errnos-tmpl.c: Remove file.
36392 * sysdeps/unix/errnos.awk: Likewise.
36393 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36394 * sysdeps/unix/ioctls.awk: Likewise.
36395 * sysdeps/unix/mk-local_lim.c: Likewise.
36396 * sysdeps/unix/snarf-ioctls: Likewise.
36397
4851a949
RH
363982012-03-19 Richard Henderson <rth@twiddle.net>
36399
bd37f2ee
RH
36400 * sysdeps/i386/fpu/fenv_private.h: New file.
36401 * sysdeps/i386/fpu/math_private.h: Use it.
36402 (math_opt_barrier, math_force_eval): Remove.
36403 (libc_feholdexcept_setround_53bit): Remove.
36404 (libc_feupdateenv_53bit): Remove.
36405 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36406 (math_opt_barrier, math_force_eval): Remove.
36407 (libc_feholdexcept): Remove.
36408 (libc_feholdexcept_setround): Remove.
36409 (libc_fetestexcept, libc_fesetenv): Remove.
36410 (libc_feupdateenv_test): Remove.
36411 (libc_feupdateenv, libc_feholdsetround): Remove.
36412 (libc_feresetround): Remove.
36413
d0adc922
RH
36414 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36415 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36416
0fe0f1f8
RH
36417 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36418 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36419 (libc_feupdateenv_testl): New.
36420 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36421 (libc_feupdateenv_testf): New.
36422 (libc_feupdateenv): Use libc_feupdateenv_test.
36423 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36424 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36425
eb92c487
RH
36426 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36427 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36428 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36429 (libc_feresetround_noex): New.
36430 (libc_feresetround_noexf): New.
36431 (libc_feresetround_noexl): New.
36432 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36433 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36434 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36435 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36436 SET_RESTORE_ROUND.
36437 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36438 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36439 (__cos): Likewise.
36440 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36441 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36442 SET_RESTORE_ROUND_NOEX.
36443 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36444 SET_RESTORE_ROUND_NOEXF.
36445 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36446 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36447 (libc_feholdsetroundf): New.
36448 (libc_feresetround, libc_feresetroundf): New.
36449
7d2e8012
RH
36450 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36451 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36452 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36453
b4dabbb4
RH
36454 * sysdeps/generic/math_private.h: Include <fenv.h>.
36455 (default_libc_feholdexcept): New.
36456 (default_libc_feholdexcept_setround): New.
36457 (default_libc_fesetenv, default_libc_feupdateenv): New.
36458 (libc_feholdexcept): Only define if undefined.
36459 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36460 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36461 (libc_feholdexcept_setroundl): Likewise.
36462 (libc_feholdexcept_setround_53bit): Likewise.
36463 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36464 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36465 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36466 (libc_feupdateenv_53bit): Likewise.
36467 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36468 (libc_feholdexcept): Convert from macro to inline function.
36469 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36470 (libc_fesetenv, libc_feupdateenv): Likewise.
36471
4851a949
RH
36472 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36473 not previously defined.
36474 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36475 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36476 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36477 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36478 * sysdeps/ieee754/flt-32/math_private.h: New file.
36479 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36480 math_private.h below SET_FLOAT_WORD.
36481 (__isnan, __isinf_ns, __finite): Remove.
36482 (__isnanf, __isinf_nsf, __finitef): Remove.
36483
e79d442e
AS
364842012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36485
36486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36487
90b80344
DM
364882012-03-17 David S. Miller <davem@davemloft.net>
36489
36490 [BZ #6471]
36491 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36492 for 2.16.
36493
edc21804
DM
364942012-03-16 David S. Miller <davem@davemloft.net>
36495
77e927af
DM
36496 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36497 warnings.
36498
374976dd
DM
36499 [BZ #6471]
36500 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36501 properly.
36502 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36503 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36504 sysdep_routines when subdir is sysvipc.
36505 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36506 __getshmlba helper.
36507
edc21804
DM
36508 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36509
473c3ef3
L
365102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36511
36512 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36513 [__LP64__].
36514
eb0f39b6
L
365152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36516
36517 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36518 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36519 (__lround): Renamed to ...
36520 (__llround): This. Replace long int with long long int.
36521 Define lround functions as aliases of llround functions.
36522 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36523
6b6cd74b
L
365242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36525
36526 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36527 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36528 adresses to uintptr_t. Replace "long int" and "unsigned long
36529 int" with "greg_t" on va_arg.
36530
f1a77b01
L
365312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36532
36533 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36534 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36535
36536 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36537 Move e_machine check before EI_CLASS check. Handle x32
36538 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36539 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36540 SKIP_EM_IA_64 and include
36541 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36542
36543 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36544 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36545 (add_system_dir): New macro.
36546
36547 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36548 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36549
11b90b9f
JM
365502012-03-16 Joseph Myers <joseph@codesourcery.com>
36551
c36e1d23
JM
36552 [BZ #2551]
36553 [BZ #2552]
36554 [BZ #2553]
36555 [BZ #2554]
36556 [BZ #2562]
36557 [BZ #2563]
36558 [BZ #2565]
36559 [BZ #2566]
36560 [BZ #2576]
36561 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36562 (y0): Likewise.
36563 * math/w_j0f.c (j0f): Likewise.
36564 (y0f): Likewise.
36565 * math/w_j0l.c (__j0l): Likewise.
36566 (__y0l): Likewise.
36567 * math/w_j1.c (j1): Likewise.
36568 (y1): Likewise.
36569 * math/w_j1f.c (j1f): Likewise.
36570 (y1f): Likewise.
36571 * math/w_j1l.c (__j1l): Likewise.
36572 (__y1l): Likewise.
36573 * math/w_jn.c (jn): Likewise.
36574 (yn): Likewise.
36575 * math/w_jnf.c (jnf): Likewise.
36576 (ynf): Likewise.
36577 * math/w_jnl.c (__jnl): Likewise.
36578 (__ynl): Likewise.
36579 * math/libm-test.inc (j0_test): Add more tests.
36580 (j1_test): Likewise.
36581 (jn_test): Likewise. Add trailing semicolon to existing test.
36582 (y0_test): Likewise.
36583 (y1_test): Likewise.
36584 * sysdeps/i386/fpu/libm-test-ulps: Update.
36585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36586
11b90b9f
JM
36587 [BZ #13851]
36588 [BZ #13854]
36589 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36590 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36591 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36592 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36593 (__tanl): Set errno for infinite argument.
36594 * sysdeps/i386/fpu/mptan.c: Remove.
36595 * sysdeps/i386/fpu/s_tan.S: Likewise.
36596 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36597 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36598 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36599 * math/libm-test.inc (tan_test): Add more tests and enable more
36600 tests for double and long double.
36601 * sysdeps/i386/fpu/libm-test-ulps: Update.
36602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36603
6a1bd2a1
JK
366042012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36605
36606 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36607 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36608
10a803e0
RM
366092012-03-16 Roland McGrath <roland@hack.frob.com>
36610
36611 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36612 * configure.in: Use it for both main tree and add-ons.
36613 * configure: Regenerated.
36614
f196c7f7
L
366152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36616
36617 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36618
8848d99d
JM
366192012-03-16 Joseph Myers <joseph@codesourcery.com>
36620
96cbe7f4
JM
36621 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36622 in comment.
36623
8848d99d
JM
36624 [BZ #13851]
36625 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36626 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36627 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36628 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36629 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36630 infinite argument.
36631 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36632 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36633 != 0 for prec == 2.
36634 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36635 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36636 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36637 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36638 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36639 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36640 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36641 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36642 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36643 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36644 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36645 * math/libm-test.inc (cos_test): Add more tests and enable more
36646 tests for long double.
36647 (sin_test): Likewise.
36648 (sincos_test): Likewise.
36649 * sysdeps/i386/fpu/libm-test-ulps: Update.
36650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36651
dd7f4703
DM
366522012-03-16 David S. Miller <davem@davemloft.net>
36653
36654 * sysdeps/sparc/fpu/math_private.h: New file.
36655
006f1daa
DM
366562012-03-15 David S. Miller <davem@davemloft.net>
36657
c0c83bc8
DM
36658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36659 file.
e6a62e18 36660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
36661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36662 file.
e6a62e18
DM
36663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36668 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36669 sysdep routines.
36670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36671
88cb87d9
DM
36672 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36673 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36674
006f1daa 36675 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
36676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36677 sparc-ifunc.h
006f1daa 36678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
36679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36680 Likewise.
36681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36682 Likewise.
006f1daa
DM
36683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
36686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36687 Likewise.
006f1daa
DM
36688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
36692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36693 Likewise.
36694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36695 Likewise.
006f1daa
DM
36696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36701 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36702 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36703 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36704 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36714 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36715 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36716 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36717 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36718 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36719 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36720
11e0098e
AS
367212012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36722
36723 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36724 scaling.
36725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36726
e85b09d0
AJ
367272012-03-15 Andreas Jaeger <aj@suse.de>
36728
36729 [BZ #13852]
36730 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36731 ieee754/flt-32 implementation for sin, cos and sincos.
36732 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36733 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36734 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36735 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36736 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36737 ieee754/flt-32 implementation for tan.
36738
36739 * math/libm-test.inc (cos_test): Enable some large input tests for
36740 float as well
36741 (sin_test): Likewise.
36742 (sincos_test): Likewise.
36743 (tan_test): Add tests for large input.
36744
36745 * sysdeps/i386/fpu/libm-test-ulps: Update.
36746
81c64153
AJ
367472012-03-15 Andreas Jaeger <aj@suse.de>
36748
36749 [BZ #13658]
36750 * math/libm-test.inc (cos_test): Add more test cases.
36751 (sin_test): Likewise.
36752 (sincos_test): Likewise.
36753
7bbfa5c6
AJ
367542012-03-15 Andreas Jaeger <aj@suse.de>
36755
36756 [BZ #13837]
36757 * math/libm-test.inc (cos_test): Add a test case for large input
36758 value.
36759 (sin_test): Likewise.
36760 (sincos_test): Likewise.
36761
57f41c40
AS
367622012-03-15 Andreas Jaeger <aj@suse.de>
36763 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
36764
36765 [BZ #13658]
0671f479 36766 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
36767 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36768 * sysdeps/i386/fpu/branred.c: Likewise.
36769 * sysdeps/i386/fpu/dosincos.c: Likewise.
36770 * sysdeps/i386/fpu/mpa.c: Likewise.
36771 * sysdeps/i386/fpu/s_cos.S: Likewise.
36772 * sysdeps/i386/fpu/s_sin.S: Likewise.
36773 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36774 * sysdeps/i386/fpu/sincos32.c: Likewise.
36775
36776 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36777 Define.
36778 (libc_feupdateenv_53bit): Define.
36779 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36780 Define.
36781 (libc_feupdateenv_53bit): Define.
36782
36783 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36784 53 bit (without extend i386 double precision).
36785
36786 * math/libm-test.inc (sincos_test): Add tests for large input.
36787 (sin): Likewise.
36788 (cos): Likewise.
36789
36790 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36791
9cad04ea
AS
367922012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36793
36794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36795
f7062b9a
DM
367962012-03-15 David S. Miller <davem@davemloft.net>
36797
36798 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36799 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36800 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36801 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36806 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36807 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
36813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36814 file.
f7062b9a 36815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
36816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36817 file.
f7062b9a 36818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
36819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36820 file.
f7062b9a 36821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
36822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36823 file.
f7062b9a
DM
36824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36825 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36826 fmin/fmax sysdep routines.
36827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36828
7bd951ff
DM
368292012-03-14 David S. Miller <davem@davemloft.net>
36830
559398ab
DM
36831 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36832 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36835 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36836 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36837 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36838 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36839 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36840 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36841 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36842 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36843 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36844 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36846 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36851 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36852 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36853 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36854 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36855 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36856 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36857 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36858 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36859 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36860 routines.
36861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36862 file.
559398ab 36863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
36864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36865 file.
559398ab 36866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
36867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36868 file.
559398ab 36869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
36870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36871 file.
559398ab 36872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
36873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36874 file.
559398ab 36875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
36876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36877 file.
36878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36879 file.
36880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36881 file.
36882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36883 file.
36884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36885 New file.
36886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36887 file.
36888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36889 file.
559398ab 36890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
36891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36892 file.
559398ab 36893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36895 file.
559398ab 36896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
36897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36898 file.
559398ab 36899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
36900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36901 VIS3 routines.
559398ab
DM
36902
36903 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36904 New file.
36905
5a1c1e32
DM
36906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36907
eae47a36
DM
36908 * sysdeps/sparc/configure.in: New file.
36909 * sysdeps/sparc/configure: Generate.
36910 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36911 * configure: Regenerate.
36912 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36913 * config.make.in (have-as-vis3): New.
36914 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36915 available use -Av9d instead of -Av9a.
36916 * sysdeps/sparc/sparc64/Makefile: Likewise.
36917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
36918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36919 New file.
36920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36921 file.
36922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36923 New file.
36924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36925 file.
eae47a36
DM
36926 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36927 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36928 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36929 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36930 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36931
c0c83bc8
DM
36932 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36933 fzeros/fnegs to load 0x80000000 into a float register instead of
36934 using the stack.
7bd951ff
DM
36935 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36936
bd951ccb
JM
369372012-03-14 Joseph Myers <joseph@codesourcery.com>
36938
36939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36940 bits/syscall.h.
36941 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36942 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36943 ($(inst_includedir)/bits/syscall.h): Remove rule.
36944 ($(objpfx)bits/syscall.d): Include instead of
36945 $(objpfx)syscall-list.d.
36946 (generated): Change syscall-list.h and syscall-list.d to
36947 bits/syscall.h and bits/syscall.d.
36948
bb4e6db2
RM
369492012-03-14 Roland McGrath <roland@hack.frob.com>
36950
36951 [BZ #13846]
36952 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36953
aa4a2ae1
JM
369542012-03-14 Joseph Myers <joseph@codesourcery.com>
36955
e456826d
JM
36956 [BZ #13841]
36957 * math/s_csqrt.c: Include <float.h>.
36958 (__csqrt): Scale large or subnormal inputs.
36959 * math/s_csqrtf.c: Likewise.
36960 * math/s_csqrtl.c: Likewise.
36961 * math/libm-test.inc (csqrt_test): Add more tests.
36962 * sysdeps/i386/fpu/libm-test-ulps: Update.
36963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36964
aa4a2ae1
JM
36965 [BZ #13840]
36966 * math/libm-test.inc (hypot_test): Add more tests.
36967
7c10fd35
DM
369682012-03-13 David S. Miller <davem@davemloft.net>
36969
36970 [BZ #13840]
36971 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36972 double-precision for the calculation instead of scaling.
36973
f453b98b
JM
369742012-03-13 Joseph Myers <joseph@codesourcery.com>
36975
36976 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36977 manipulate bits before adding and subtracting TWO52[sx].
36978 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36979 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36980 Likewise.
36981 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36982
09a3453f
DM
369832012-03-13 David S. Miller <davem@davemloft.net>
36984
8e59da90
DM
36985 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36986 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36987 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36988 rtld-global-offsets.h
36989 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36990
2a8ab7f2
DM
36991 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36992 large parameters.
36993
10f62770
DM
36994 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36995
5f0bdb18
DM
36996 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36997 'err' in the ifdef scope in which it is actually used.
36998
09a3453f
DM
36999 * nss/nss_db/db-init.c: Include string.h
37000
b4b2eb5e
DM
370012012-03-12 David S. Miller <davem@davemloft.net>
37002
98bb2f1c
DM
37003 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37004 masking out of the most significant byte of random value used.
37005 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37006 Fix coding style in previous change.
37007
b4b2eb5e
DM
37008 * sysdeps/unix/sysv/linux/kernel-features.h
37009 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37010 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37011 expression.
37012 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37013 later.
37014
6e226b09
DM
370152012-03-11 David S. Miller <davem@davemloft.net>
37016
a1bcbd40
DM
37017 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37018 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37019 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37020 for 'resultvar' otherwise things get truncated on 64-bit.
37021
cb9d6174
DM
37022 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37023 Fix masking out of the most significant byte of random value used.
37024
6e226b09
DM
37025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37026
058c132d
AS
370272012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37028
37029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37030
2d2cd515
DM
370312012-03-09 David S. Miller <davem@davemloft.net>
37032
37033 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37034 variables with appropriate CPP guards.
57f41c40
AS
37035 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37036 from the frame pointer, not the stack pointer. Correct layout
37037 comments. Fix test on resulting framesize and the management of
37038 the outregs buffer for pltexit. Preserve floating point return
37039 values across _dl_call_pltexit call.
2d2cd515
DM
37040 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37041 framesize and the management of the outregs buffer for pltexit.
37042 Preserve floating point return values across _dl_call_pltexit
37043 call.
57f41c40
AS
37044 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37045 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37046 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
37047 (print_exit): Fix format string for return register value.
37048
9a07f9d0
JM
370492012-03-10 Joseph Myers <joseph@codesourcery.com>
37050
37051 * sunrpc/Makefile (others): Add rpcgen.
37052 ($(objpfx)rpcgen): Remove special build rule and dependency on
37053 libc.
37054 * sunrpc/rpcgen.c: New file.
37055
547b5e30
PE
370562012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37057
c524201a
PE
37058 [BZ #13673]
37059 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37060 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37061 * sysdeps/i386/crti.S: Likewise.
37062 * sysdeps/i386/crtn.S: Likewise.
37063 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37064 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37065 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37066 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37067 * sysdeps/sh/crti.S: Likewise.
37068 * sysdeps/sh/crtn.S: Likewise.
37069 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37070
7b6235f2
PE
37071 [BZ #13673]
37072 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37073 with URL.
37074 * locale/programs/locfile-kw.gperf: Likewise.
37075 * locale/programs/charmap-kw.h: Regenerated.
37076 * locale/programs/locfile-kw.h: Likewise.
37077
547b5e30
PE
37078 [BZ #13673]
37079 * intl/plural.y: Replace FSF snail mail address with URL.
37080 * intl/plural.c: Regenerated.
37081
5f0a5dae
RH
370822012-03-09 Richard Henderson <rth@twiddle.net>
37083
37084 * include/math_private.h: Remove file.
37085 * math/math_private.h: Move file ...
37086 * sysdeps/generic/math_private.h: ... here.
37087
b8c03620
RH
37088 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37089 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37090 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37091
4e234f5d 37092 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
37093 and <math_private.h>.
37094 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37095 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37096 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37097 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37098 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37099 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37100 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37101 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37102 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37103 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37104 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37105 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37106 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37107 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37108 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37109 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37110 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37111 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37112 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37113 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37115 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37116 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37117 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37118 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37119 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37120 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37121 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37122 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37123 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37124 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37125 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37126 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37127 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37128 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37129 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37130 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37131 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37132 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37134 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37135 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37136 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37137 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37138 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37139 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37140 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37141 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37142 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37143 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37144 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37145 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37146 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37147 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37148 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37149 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37150 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37151 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37152 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37153 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37154 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37155 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37156 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37157 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37158 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37159 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37160 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37161 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37162 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37163 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37164 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37165 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37166 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37167 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37168 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37169 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37170 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37171 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37172 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37173 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37174 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37175 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37176 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37177 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37178 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37179 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37180 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37181 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37182 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37183 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37184 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37185 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37186 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37187 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37188 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37189 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37190 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37191 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37192 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37193 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37194 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37195 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37196 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37197 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37198 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37199 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37200 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37201 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37202 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37203 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37204 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37205 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37206 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37207 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37208 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37209 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37210 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37211 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37212 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37213 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37214 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37215 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37216 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37217 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37218 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37219 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37220 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37221 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37222 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37223 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37224 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37225 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37226 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37227 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37228 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37229 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37230 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37231 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37232 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37233 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37234 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37235 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37236 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37237 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37238 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37239 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37240 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37241 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37242 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37243 * sysdeps/ieee754/k_standard.c: Likewise.
37244 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37245 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37246 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37247 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37248 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37249 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37250 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37251 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37252 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37253 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37254 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37255 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37256 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37257 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37258 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37259 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37260 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37261 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37262 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37263 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37264 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37265 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37266 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37267 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37268 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37269 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37270 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37271 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37272 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37273 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37274 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37275 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37276 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37277 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37278 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37279 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37280 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37281 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37282 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37283 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37284 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37285 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37286 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37287 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37288 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37289 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37290 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37291 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37292 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37293 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37294 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37295 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37296 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37297 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37298 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37299 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37300 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37301 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37302 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37303 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37304 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37305 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37306 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37307 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37308 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37309 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37310 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37311 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37312 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37313 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37314 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37315 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37316 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37317 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37318 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37319 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37320 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37321 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37322 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37323 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37324 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37325 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37326 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37327 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37328 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37329 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37330 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37331 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37332 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37333 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37334 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37335 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37336 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37337 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37338 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37339 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37340 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37341 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37342 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37343 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37344 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37345 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37346 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37347 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37348 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37349 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37350 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37351 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37352 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37353 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37354 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37355 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37356 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37357 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37358 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37359 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37360 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37361 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37362 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37363 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37364 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37365 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37366 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37367 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37368 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37369 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37370 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37371 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37372 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37373 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37374 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37375 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37376 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37377 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37378 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37379 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37380 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37381 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37382 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37383 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37384 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37385 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37386 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37387 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37388 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37389 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37390 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37391 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37392 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37393 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37394 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37395 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37396 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37397 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37398 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37399 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37400 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37401 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37402 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37403 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37404 * sysdeps/ieee754/s_lib_version.c: Likewise.
37405 * sysdeps/ieee754/s_matherr.c: Likewise.
37406 * sysdeps/ieee754/s_signgam.c: Likewise.
37407 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37408 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37409 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37410 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37411 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37412 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37413 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37414 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37415 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37416 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37417 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37418 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37419 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37420 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37421 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37422 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37423 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37424 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37425 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37426 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37427 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 37428
1991fa03
JM
374292012-03-09 Joseph Myers <joseph@codesourcery.com>
37430
37431 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37432 * sunrpc/rpc_main.c: Likewise.
37433 * sunrpc/rpc_svcout.c: Likewise.
37434
60d6f5a6
DM
374352012-03-09 David S. Miller <davem@davemloft.net>
37436
37437 * include/math_private.h: New file.
37438
4962050e
JM
374392012-03-09 Joseph Myers <joseph@codesourcery.com>
37440
02a6f887
JM
37441 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37442 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37443 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37444 from <bits/socket_type.h>.
37445 (enum __socket_type): Don't define here.
37446 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37447 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37448 bits/socket_type.h.
37449
c6e013c1
JM
37450 [BZ #13566]
37451 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37452 checking __USE_GNU.
37453
4962050e
JM
37454 * Makerules ($(inst_includedir)/%.h): New rule.
37455 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37456 (install-others): Remove variable setting.
37457 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37458
38842f45
RH
374592012-03-08 Richard Henderson <rth@twiddle.net>
37460
67bb6da6
RH
37461 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37462 from macro to inline function; merge with the
37463 !__LIBC_INTERNAL_MATH_INLINES version.
37464 (__ieee754_sqrtf): Likewise.
37465
15194b4b
RH
37466 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37467 to inline function.
37468 (__rintf, __floor, __floorf): Likewise.
37469
64e21ede
RH
37470 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37471 macro to inline function.
37472 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37473
38842f45
RH
37474 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37475 not <math/math_private.h>.
37476
c64bf5fe
DM
374772012-03-08 David S. Miller <davem@davemloft.net>
37478
37479 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37480 copyright year.
37481 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37482
82d86f28
TS
374832012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37484
37485 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37486 normalization.
37487 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37488 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37489
aea5d727
UD
374902012-03-08 Ulrich Drepper <drepper@gmail.com>
37491
37492 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37493 be defined individually, they must be defined as a block. Define
37494 S for printing a string instead of hidint the different by using a
37495 macro for adding the 'l'.
37496 * stdio-common/tst-fphex-wide.c: Adjust.
37497
70bca0a3
MP
374982012-03-07 Marek Polacek <polacek@redhat.com>
37499
37500 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37501
65b81130
MP
375022012-03-08 Marek Polacek <polacek@redhat.com>
37503
37504 [BZ #13806]
37505 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37506 * stdio-common/tst-fphex.c: Define a few macros to make the
37507 test reusable. Use them.
37508 * stdio-common/tst-fphex-wide.c: New file.
37509
07037eeb
JM
375102012-03-08 Joseph Myers <joseph@codesourcery.com>
37511
a7a93d50
JM
37512 [BZ #6911]
37513 * manual/macros.texi (gnusystems): New macro.
37514 (nongnusystems): Likewise.
37515 (gnulinuxhurdsystems): Likewise.
37516 (gnuhurdsystems): Likewise..
37517 (gnulinuxsystems): Likewise.
37518 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37519 variants of the GNU system, not "GNU system".
37520 * manual/conf.texi: Likewise.
37521 * manual/errno.texi: Likewise. Update example of errno macro
37522 expansion.
37523 * manual/filesys.texi: Likewise.
37524 (getumask): Document as specific to GNU/Hurd.
37525 * manual/install.texi: Likewise. Reword some references to
37526 GNU/Linux.
37527 * manual/intro.texi: Likewise.
37528 * manual/io.texi: Likewise.
37529 (File Name Portability): Detail which constraints are inapplicable
37530 to all GNU systems and which are only inapplicable to GNU/Hurd.
37531 * manual/job.texi: Likewise.
37532 * manual/llio.texi: Likewise.
37533 (O_NOCTTY): Document as present on GNU/Linux.
37534 * manual/maint.texi: Likewise.
37535 * manual/memory.texi: Likewise.
37536 * manual/pattern.texi: Likewise.
37537 * manual/pipe.texi: Likewise.
37538 * manual/process.texi: Likewise.
37539 * manual/resource.texi: Likewise.
37540 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37541 child on GNU/Hurd.
37542 * manual/setjmp.texi: Likewise.
37543 * manual/signal.texi: Likewise.
37544 * manual/startup.texi: Likewise.
37545 * manual/stdio.texi: Likewise.
37546 * manual/terminal.texi: Likewise.
37547 (ONLCR): Document as POSIX.
37548 (OXTABS): Document availability on GNU/Linux as XTABS.
37549 (ONOEOT): Document availability separately from other bits.
37550 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37551 * manual/time.texi: Likewise.
37552 * manual/users.texi: Likewise.
37553 * INSTALL: Regenerated.
37554 * sysdeps/gnu/errlist.c: Regenerated.
37555
07037eeb
JM
37556 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37557 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37558 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37559 puts.
37560 * configure: Regenerated.
37561
d1d3431a
JM
375622012-03-07 Joseph Myers <joseph@codesourcery.com>
37563
af6a1e37
JM
37564 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37565 default includes instead of AC_HEADER_CHECK.
37566 * sysdeps/i386/configure: Regenerated.
37567
d1d3431a
JM
37568 [BZ #10716]
37569 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37570 * math/s_cacoshf.c (__cacoshf): Likewise.
37571 * math/s_cacoshl.c (__cacoshl): Likewise.
37572 * math/s_casinh.c (__casinh): Set signs of result from argument.
37573 * math/s_casinhf.c (__casinhf): Likewise.
37574 * math/s_casinhl.c (__casinhl): Likewise.
37575 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37576 (casinh_test): Add more tests.
37577 * sysdeps/i386/fpu/libm-test-ulps: Update.
37578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37579
482ff4da
UD
375802012-03-07 Ulrich Drepper <drepper@gmail.com>
37581
872fda05
UD
37582 * po/zh_TW.po: Update from translation team.
37583
a4300c7a
UD
37584 * login/Makefile (distribute): Remove variable.
37585 * catgets/Makefile: Likewise.
37586 * mach/Makefile: Likewise.
37587 * malloc/Makefile: Likewise.
37588 * misc/Makefile: Likewise.
37589 * iconv/Makefile: Likewise.
37590 * nscd/Makefile: Likewise.
37591 * hurd/Makefile: Likewise.
37592 * manual/Makefile: Likewise.
37593 * locale/Makefile: Likewise.
37594 * intl/Makefile: Likewise.
37595 * conform/Makefile: Likewise.
37596 * nss/Makefile: Likewise.
37597 * time/Makefile: Likewise.
37598 * soft-fp/Makefile: Likewise.
37599 * dirent/Makefile: Likewise.
37600 * gmon/Makefile: Likewise.
37601 * po/Makefile: Likewise.
37602 * rt/Makefile: Likewise.
37603 * socket/Makefile: Likewise.
37604 * math/Makefile: Likewise.
37605 * signal/Makefile: Likewise.
37606 * debug/Makefile: Likewise.
37607 * elf/Makefile: Likewise.
37608 * timezone/Makefile: Likewise.
37609 * stdlib/Makefile: Likewise.
37610 * iconvdata/Makefile: Likewise.
37611 * sunrpc/Makefile: Likewise.
37612 * io/Makefile: Likewise.
37613 * argp/Makefile: Likewise.
37614 * inet/Makefile: Likewise.
37615 * hesiod/Makefile: Likewise.
37616 * grp/Makefile: Likewise.
37617 * csu/Makefile: Likewise.
37618 * wctype/Makefile: Likewise.
37619 * crypt/Makefile: Likewise.
37620 * libio/Makefile: Likewise.
37621 * string/Makefile: Likewise.
37622 * nis/Makefile: Likewise.
37623 * resolv/Makefile: Likewise.
37624 * stdio-common/Makefile: Likewise.
37625 * wcsmbs/Makefile: Likewise.
37626 * dlfcn/Makefile: Likewise.
37627 * posix/Makefile: Likewise.
37628
3b7c4e74 37629 [BZ #6959]
482ff4da
UD
37630 * timezone/Makefile: Don't install timezone files, just the programs
37631 and scripts.
37632
f72ed77d
UD
376332012-03-06 Ulrich Drepper <drepper@gmail.com>
37634
a000466f
UD
37635 * nss/databases.def: Add missing gshadow entry.
37636
f72ed77d
UD
37637 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37638
a53b7a4e
MP
376392012-03-06 Marek Polacek <polacek@redhat.com>
37640
37641 [BZ #13726]
37642 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37643 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37644 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37645 * stdio-common/tst-long-dbl-fphex.c: New file.
37646
e9258400
DM
376472012-03-06 David S. Miller <davem@davemloft.net>
37648
37649 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37650 (set_obp_int): New function.
37651 (get_obp_int): New function.
37652 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
37653 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37654 Avoid unused variable warnings on 'val' and use builtin_expect.
37655 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37656 __builtin_expect.
e9258400
DM
37657 (INLINE_CLONE_SYSCALL): Likewise.
37658
3bd2c723
DM
376592012-03-05 David S. Miller <davem@davemloft.net>
37660
37661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37662
bbb78d03
AS
376632012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37664
884c5db4
AS
37665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37666
bbb78d03
AS
37667 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37668 only for |x| >= 40.
37669 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37670
1c9f702a 376712012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
37672
37673 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37674 Replace gettimeofday with __vdso_gettimeofday.
37675
7be16f82
RM
37676 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37677 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37678 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
37679
37680 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37681 time with __vdso_time.
37682
ed58a00f
JM
376832012-03-05 Joseph Myers <joseph@codesourcery.com>
37684
37685 * manual/lang.texi (size_t): Note types to which size_t may be
37686 equivalent with the GNU C Library, but do not describe when
37687 differences between them are significant.
37688
30ee4ced
AJ
376892012-03-05 Andreas Jaeger <aj@suse.de>
37690
37691 * sysdeps/i386/fpu/libm-test-ulps: Update.
37692
b7cd39e8
JM
376932012-03-05 Joseph Myers <joseph@codesourcery.com>
37694
37695 [BZ #3976]
37696 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37697 (__ieee754_pow): Save and restore rounding mode and use
37698 round-to-nearest for main computations.
37699 * math/libm-test.inc (pow_test_tonearest): New function.
37700 (pow_test_towardzero): Likewise.
37701 (pow_test_downward): Likewise.
37702 (pow_test_upward): Likewise.
37703 (main): Call the new functions.
37704 * sysdeps/i386/fpu/libm-test-ulps: Update.
37705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
37706
37707 [BZ #3976]
37708 * math/libm-test.inc (cosh_test_tonearest): New function.
37709 (cosh_test_towardzero): Likewise.
37710 (cosh_test_downward): Likewise.
37711 (cosh_test_upward): Likewise.
37712 (sinh_test_tonearest): Likewise.
37713 (sinh_test_towardzero): Likewise.
37714 (sinh_test_downward): Likewise.
37715 (sinh_test_upward): Likewise.
37716 (main): Call the new functions.
37717 * sysdeps/i386/fpu/libm-test-ulps: Update.
37718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37719
6c6a98c9
TV
377202012-03-05 Tom de Vries <tom@codesourcery.com>
37721
37722 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37723 default stack guard is set in last bytes.
37724 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37725
21bb2d2e 377262012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 37727
21bb2d2e 37728 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 37729
21bb2d2e
AJ
37730 [BZ #13656]
37731 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37732 possibly allocate from heap instead of stack.
37733 * stdio-common/bug-vfprintf-nargs.c: New file.
37734 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 37735
c6922934
AS
377362012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37737
37738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37739
bc957d53
MP
377402012-03-03 Marek Polacek <polacek@redhat.com>
37741
37742 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37743 * math/math_private.h: Likewise.
37744 * stdlib/tst-strtod.c: Likewise.
37745 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37746 * sysdeps/x86_64/bits/atomic.h: Likewise.
37747
6358490d
DM
377482012-03-02 David S. Miller <davem@davemloft.net>
37749
37750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37754 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37755 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37756 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37757 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37758
01ae168d
RM
377592012-03-02 Roland McGrath <roland@hack.frob.com>
37760
d9a17c07
RM
37761 [BZ #13792]
37762 * manual/examples/README: New file, says the example source files
37763 can be used under GPL>=2.
37764 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37765 line containing just "*/".
37766 * manual/examples/add.c: Add copyright header (GPL>=2).
37767 * manual/examples/argp-ex1.c: Likewise.
37768 * manual/examples/argp-ex2.c: Likewise.
37769 * manual/examples/argp-ex3.c: Likewise.
37770 * manual/examples/argp-ex4.c: Likewise.
37771 * manual/examples/atexit.c: Likewise.
37772 * manual/examples/db.c: Likewise.
37773 * manual/examples/dir.c: Likewise.
37774 * manual/examples/dir2.c: Likewise.
37775 * manual/examples/execinfo.c: Likewise.
37776 * manual/examples/filecli.c: Likewise.
37777 * manual/examples/filesrv.c: Likewise.
37778 * manual/examples/fmtmsgexpl.c: Likewise.
37779 * manual/examples/genpass.c: Likewise.
37780 * manual/examples/inetcli.c: Likewise.
37781 * manual/examples/inetsrv.c: Likewise.
37782 * manual/examples/isockad.c: Likewise.
37783 * manual/examples/longopt.c: Likewise.
37784 * manual/examples/memopen.c: Likewise.
37785 * manual/examples/memstrm.c: Likewise.
37786 * manual/examples/mkfsock.c: Likewise.
37787 * manual/examples/mkisock.c: Likewise.
37788 * manual/examples/mygetpass.c: Likewise.
37789 * manual/examples/pipe.c: Likewise.
37790 * manual/examples/popen.c: Likewise.
37791 * manual/examples/rprintf.c: Likewise.
37792 * manual/examples/search.c: Likewise.
37793 * manual/examples/select.c: Likewise.
37794 * manual/examples/setjmp.c: Likewise.
37795 * manual/examples/sigh1.c: Likewise.
37796 * manual/examples/sigusr.c: Likewise.
37797 * manual/examples/stpcpy.c: Likewise.
37798 * manual/examples/strdupa.c: Likewise.
37799 * manual/examples/strftim.c: Likewise.
37800 * manual/examples/strncat.c: Likewise.
37801 * manual/examples/subopt.c: Likewise.
37802 * manual/examples/swapcontext.c: Likewise.
37803 * manual/examples/termios.c: Likewise.
37804 * manual/examples/testopt.c: Likewise.
37805 * manual/examples/testpass.c: Likewise.
37806 * manual/examples/timeval_subtract.c: Likewise.
37807
01ae168d
RM
37808 [BZ #13792]
37809 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37810 function to ...
37811 * manual/timeval_subtract.c.texi: ... here, new file.
37812
49efa33d
DM
378132012-03-02 David S. Miller <davem@davemloft.net>
37814
37815 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37816
28afd92d
JM
378172012-03-02 Joseph Myers <joseph@codesourcery.com>
37818
804360ed
JM
37819 [BZ #3976]
37820 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37821 (__sin): Save and restore rounding mode and use round-to-nearest
37822 for all computations.
37823 (__cos): Save and restore rounding mode and use round-to-nearest
37824 for all computations.
37825 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37826 <fenv.h>.
37827 (tan): Save and restore rounding mode and use round-to-nearest for
37828 all computations.
37829 * math/libm-test.inc (cos_test_tonearest): New function.
37830 (cos_test_towardzero): Likewise.
37831 (cos_test_downward): Likewise.
37832 (cos_test_upward): Likewise.
37833 (sin_test_tonearest): Likewise.
37834 (sin_test_towardzero): Likewise.
37835 (sin_test_downward): Likewise.
37836 (sin_test_upward): Likewise.
37837 (tan_test_tonearest): Likewise.
37838 (tan_test_towardzero): Likewise.
37839 (tan_test_downward): Likewise.
37840 (tan_test_upward): Likewise.
37841 (main): Call the new functions.
37842 * sysdeps/i386/fpu/libm-test-ulps: Update.
37843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37844
a6d06d7b
JM
37845 [BZ #10135]
37846 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37847 small n, then large n, before computing and testing k+n.
37848 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37849 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37850 Likewise.
37851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37852 Likewise.
37853 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37854 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37855 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37856 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37857 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37858 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37859 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37860 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37861 * math/libm-test.inc (scalbn_test): Add more tests.
37862 (scalbln_test): Likewise.
37863
07e12bb3
JM
37864 * manual/filesys.texi (mode_t): Describe constraints on size and
37865 signedness, not exact equivalence to a particular type.
37866 (ino_t): Likewise.
37867 (ino64_t): Likewise.
37868 (dev_t): Likewise.
37869 (nlink_t): Likewise.
37870 (blkcnt_t): Likewise.
37871 (blkcnt64_t): Likewise.
37872 * manual/llio.texi (off_t): Likewise.
37873
28afd92d
JM
37874 [BZ #3976]
37875 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37876 (__ieee754_exp): Save and restore rounding mode and use
37877 round-to-nearest for all computations.
37878 * math/libm-test.inc (exp_test_tonearest): New function.
37879 (exp_test_towardzero): Likewise.
37880 (exp_test_downward): Likewise.
37881 (exp_test_upward): Likewise.
37882 (main): Call the new functions.
37883 * sysdeps/i386/fpu/libm-test-ulps: Update.
37884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37885
b1eeb65d
CD
378862012-03-01 Chris Demetriou <cgd@google.com>
37887
37888 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37889 have predictable order.
37890
53362a4b
DM
378912012-03-01 David S. Miller <davem@davemloft.net>
37892
3c969083
DM
37893 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37894
759707de
DM
37895 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37896 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37897 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37898 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37899
dfdb8ff2
DM
37900 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37901 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37902 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37904 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37905 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37906 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37907 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37908 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37909
ead89f96
DM
37910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37911
7f66bd07
DM
37912 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37913 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37914 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37915
53362a4b
DM
37916 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37917 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37918 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37919 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37920 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37921 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37922 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37923 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37924 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37925 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37926 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37927 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37928 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37929 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37930 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37931 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37932 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37933 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37934 * sysdeps/sparc/elf/configure: Regenerated.
37935
7b1902cb
JM
379362012-03-01 Joseph Myers <joseph@codesourcery.com>
37937
bec039bc
JM
37938 * configure.in (AS, LD): Require binutils 2.20 or later.
37939 * configure: Regenerated.
37940 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37941 as required minimum version.
37942 * INSTALL: Regenerated.
37943
7b1902cb
JM
37944 [BZ #2541]
37945 [BZ #4108]
37946 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37947 before squaring exponent.
37948 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37949 bottom long double and 27 bits of top long double before squaring
37950 exponent.
37951 * math/libm-test.inc (erfc_test): Add more tests.
37952 * sysdeps/i386/fpu/libm-test-ulps: Update.
37953 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37955
f775c276
KT
379562012-03-01 Kai Tietz <ktietz@redhat.com>
37957
37958 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37959 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37960 containing bit-fields.
37961 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37962 * soft-fp/single.h (_FP_UNION_S): Likewise.
37963 * soft-fp/double.h (_FP_UNION_D): Likewise.
37964
5b8a4d4a
JM
379652012-02-29 Joseph Myers <joseph@codesourcery.com>
37966
0bab47b6
JM
37967 [BZ #13786]
37968 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37969 not include ../strcmp.S.
37970 [USE_AS_STRNCASECMP_L]: Likewise.
37971 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37972 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37973 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37974 (__strncasecmp_l_ia32): Define as alias to
37975 __strncasecmp_l_nonascii.
37976
0fcad3e2
JM
37977 [BZ #5794]
37978 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37979 * sysdeps/i386/fpu/libm-test-ulps: Update.
37980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37981
5b8a4d4a
JM
37982 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37984
8fdceb2e
JL
379852012-02-29 Jeff Law <law@redhat.com>
37986
37987 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37988 out of bounds read.
37989
1f393a11
MP
379902012-02-29 Marek Polacek <polacek@redhat.com>
37991
37992 [BZ #13706]
37993 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37994 * elf/Makefile: Add rules to run tst-unused-dep.out.
37995
8847f037
DM
379962012-02-28 David S. Miller <davem@davemloft.net>
37997
37998 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37999 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38000 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38001 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38002 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38003 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38004
169d7f11
JM
380052012-02-29 Joseph Myers <joseph@codesourcery.com>
38006
38007 * math/libm-test.inc (llround_test): Move one test from
38008 lround_test. Use TEST_f_L in moved test.
38009 (lround_test): Move misplaced test to llround_test. Add testcase
38010 from bug 2561.
38011
39adf059
UD
380122012-02-28 Ulrich Drepper <drepper@gmail.com>
38013
38014 * sysdeps/x86_64/fpu/e_expf.S: New file.
38015 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38016
71b5d1c5
SB
380172012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38018
38019 [BZ #13637]
38020 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38021 of remain_len that may cause incomplete multi-byte character and
38022 false match.
38023 * posix/bug-regex33.c: New file.
38024 * posix/Makefile (tests): Add bug-regex33.
38025
1f77f049
JM
380262012-02-28 Joseph Myers <joseph@codesourcery.com>
38027
38028 * manual/macros.texi: New file.
38029 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38030 * manual/libc.texinfo: Include macros.texi.
38031 * manual/creatute.texi: Likewise.
38032 * manual/install.texi: Likewise.
38033 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38034 @glibcadj{} in references to the GNU C Library.
38035 * manual/charset.texi: Likewise.
38036 * manual/conf.texi: Likewise.
38037 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38038 when not using those macros.
38039 * manual/creature.texi: Likewise.
38040 * manual/crypt.texi: Likewise.
38041 * manual/errno.texi: Likewise.
38042 * manual/filesys.texi: Likewise.
38043 * manual/header.texi: Likewise.
38044 * manual/install.texi: Likewise.
38045 * manual/intro.texi: Likewise.
38046 * manual/io.texi: Likewise.
38047 * manual/job.texi: Likewise.
38048 * manual/lang.texi: Likewise.
38049 * manual/libc.texiinfo: Likewise.
38050 * manual/llio.texi: Likewise.
38051 * manual/locale.texi: Likewise.
38052 * manual/maint.texi: Likewise.
38053 * manual/math.texi: Likewise.
38054 * manual/memory.texi: Likewise.
38055 * manual/message.texi: Likewise.
38056 * manual/nss.texi: Likewise.
38057 * manual/pattern.texi: Likewise.
38058 * manual/process.texi: Likewise.
38059 * manual/resource.texi: Likewise.
38060 * manual/search.texi: Likewise.
38061 * manual/setjmp.texi: Likewise.
38062 * manual/signal.texi: Likewise.
38063 * manual/socket.texi: Likewise.
38064 * manual/startup.texi: Likewise.
38065 * manual/stdio.texi: Likewise.
38066 * manual/string.texi: Likewise.
38067 * manual/sysinfo.texi: Likewise.
38068 * manual/syslog.texi: Likewise.
38069 * manual/terminal.texi: Likewise.
38070 * manual/time.texi: Likewise.
38071 * manual/users.texi: Likewise.
38072 * INSTALL: Regenerated.
38073 * NOTES: Regenerated.
d40c5d54 38074 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 38075
450bf206
AS
380762012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38077
38078 * include/dirent.h: Include <dirstream.h> before
38079 <dirent/dirent.h>.
38080
741a235b
DM
380812012-02-28 David S. Miller <davem@davemloft.net>
38082
38083 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38084 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38085 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38086 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38087
d6b5aa58
DM
380882012-02-27 David S. Miller <davem@davemloft.net>
38089
1aff59a3
DM
38090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38092 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38093 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38094
d6b5aa58
DM
38095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38096 frame pointer instead of stack pointer relative arg slot.
38097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38098 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38099 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38100
433f48bf
CD
381012012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38102
38103 [BZ #3992]
38104 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38105
d674b76d
DM
381062012-02-27 David S. Miller <davem@davemloft.net>
38107
38108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38112 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38113 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38114 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38115 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38116
0e7727f7
JM
381172012-02-27 Joseph Myers <joseph@codesourcery.com>
38118
38119 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38120 later. Allow versions 5-9.
43be4ca2 38121 * configure: Regenerated.
0e7727f7
JM
38122 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38123 required minimum version and 4.6 as recommended version. Do not
38124 mention bugs in GCC 2.7 and 2.8.
43be4ca2 38125 * INSTALL: Regenerated.
0e7727f7 38126
a78bc654
DM
381272012-02-27 David S. Miller <davem@davemloft.net>
38128
428d5830
DM
38129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38133 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38134 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38135 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38136 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38137
a78bc654
DM
38138 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38139 manipulate bits before adding and subtracting TWO112[sx].
38140 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38141
4579f81c
RM
381422012-02-27 Roland McGrath <roland@hack.frob.com>
38143
36c8acb4
RM
38144 [BZ #13775]
38145 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38146 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38147 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38148 being in POSIX, because they are in 1003.1-2008.
38149
84ad622b
RM
38150 * rt/tst-aio.c: Include <fcntl.h>.
38151 * rt/tst-aio7.c: Likewise.
38152 * rt/tst-aio64.c: Likewise.
38153
4579f81c
RM
38154 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38155
abd923db
JM
381562012-02-27 Joseph Myers <joseph@codesourcery.com>
38157
38158 * manual/install.texi (--with-headers): Describe headers as
38159 interface headers, not private headers.
38160 (Specific advice for GNU/Linux systems): Describe use of headers
38161 from "make headers_install", not private headers from older
38162 kernels.
43be4ca2 38163 * INSTALL: Regenerated.
abd923db
JM
38164 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38165 Change to 2.6.19.
38166 * sysdeps/unix/sysv/linux/configure: Regenerated.
38167
6664049b
JM
38168 * manual/llio.texi (fclean): Remove documentation.
38169
bb8b6697
JM
38170 * manual/Makefile (libc-texi-generated): New variable. Include
38171 version.texi.
38172 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38173 $(libc-texi-generated), not duplicated list of files.
38174 (version.texi, stamp-version): New rules.
38175 (realclean): Remove $(libc-texi-generated), not individual files
38176 from that list. Do not remove dir-add.texinfo.
38177 * manual/libc.texinfo: Comment out uses of edition numbers and
38178 references to printed manual. Remove last-updated dates.
38179 (EDITION): Comment out.
38180 (ISBN): Likewise.
38181 (VERSION, UPDATED): Remove.
38182 (version.texi): Include.
38183
12e5c3b9
AS
381842012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38185
38186 * sysdeps/posix/spawni.c: Include <signal.h>.
38187 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38188 * sysdeps/pthread/aio_fsync.c: Likewise.
38189
4efeffc1 381902012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 38191
ba63ba08
UD
38192 * conform/Makefile (tests): Run only when not cross-compiling and
38193 when fast-check is not defined.
38194
d94a4670
UD
38195 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38196 * conform/data/limits.h-data: Fixes for POSIX2008.
38197 * conform/run-conformtest.sh: Run all tests.
38198 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38199 headers.
38200 * include/bits/dlfcn.h: Likewise.
38201 * include/langinfo.h: Likewise.
38202 * include/monetary.h: Likewise.
38203 * include/sys/poll.h: Likewise.
38204
38205 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38206 for __USE_GNU.
38207 * posix/spawn.h: Define __need_sigset_t.
38208 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38209 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38210 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38211 to get sigevent_t only.
38212 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38213 only for __USE_GNU.
38214 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38215 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38216 process_vm_writev only for __USE_GNU.
38217 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
38218
38219 * conform/Makefile: For now ignore errors from run-conformtest.
38220 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38221 POSIX to avoid namespace pollution. Don't prepend headers.
38222 * conform/data/aio.h-data: Fixes for POSIX testing.
38223 * conform/data/fcntl.h-data: Likewise.
38224 * conform/data/glob.h-data: Likewise.
38225 * conform/data/grp.h-data: Likewise.
38226 * conform/data/pthread.h-data: Likewise.
38227 * conform/data/pwd.h-data: Likewise.
38228 * conform/data/signal.h-data: Likewise.
38229 * conform/data/spawn.h-data: Likewise.
38230 * conform/data/stdio.h-data: Likewise.
38231 * conform/data/stdlib.h-data: Likewise.
38232 * conform/data/stropts.h-data: Likewise.
38233 * conform/data/sys/mman.h-data: Likewise.
38234 * conform/data/sys/stat.h-data: Likewise.
38235 * conform/data/sys/types.h-data: Likewise.
38236 * conform/data/sys/wait.h-data: Likewise.
38237 * conform/data/time.h-data: Likewise.
38238 * conform/data/unistd.h-data: Likewise.
38239 * conform/data/utime.h-data: Likewise.
38240
38241 * io/sys/stat.h: fchmod was always in POSIX.
38242 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38243 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38244 * rt/aio.h: Define __need_timespec before including <time.h>.
38245 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38246 struct. Add forward declaration of pthread_attr_t and use it in
38247 sigevent.
38248 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38249 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38250 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38251 always remove CLK_TCK definition.
38252
c20105c3
AS
382532012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38254
38255 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38256
7a270350
UD
382572012-02-25 Ulrich Drepper <drepper@gmail.com>
38258
31341567
UD
38259 * conform/run-conformtest.sh: New file.
38260 * conform/Makefile: Run run-conformtest for tests.
38261 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38262 support.
38263
38264 * conform/data/uchar.h-data: New file.
38265 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38266 * conform/data/arpa/inet.h-data: Likewise.
38267 * conform/data/assert.h-data: Likewise.
38268 * conform/data/complex.h-data: Likewise.
38269 * conform/data/cpio.h-data: Likewise.
38270 * conform/data/ctype.h-data: Likewise.
38271 * conform/data/dirent.h-data: Likewise.
38272 * conform/data/dlfcn.h-data: Likewise.
38273 * conform/data/errno.h-data: Likewise.
38274 * conform/data/fcntl.h-data: Likewise.
38275 * conform/data/float.h-data: Likewise.
38276 * conform/data/fmtmsg.h-data: Likewise.
38277 * conform/data/fnmatch.h-data: Likewise.
38278 * conform/data/ftw.h-data: Likewise.
38279 * conform/data/glob.h-data: Likewise.
38280 * conform/data/grp.h-data: Likewise.
38281 * conform/data/iconv.h-data: Likewise.
38282 * conform/data/inttypes.h-data: Likewise.
38283 * conform/data/langinfo.h-data: Likewise.
38284 * conform/data/libgen.h-data: Likewise.
38285 * conform/data/limits.h-data: Likewise.
38286 * conform/data/locale.h-data: Likewise.
38287 * conform/data/math.h-data: Likewise.
38288 * conform/data/monetary.h-data: Likewise.
38289 * conform/data/mqueue.h-data: Likewise.
38290 * conform/data/ndbm.h-data: Likewise.
38291 * conform/data/net/if.h-data: Likewise.
38292 * conform/data/netdb.h-data: Likewise.
38293 * conform/data/netinet/in.h-data: Likewise.
38294 * conform/data/nl_types.h-data: Likewise.
38295 * conform/data/poll.h-data: Likewise.
38296 * conform/data/pthread.h-data: Likewise.
38297 * conform/data/pwd.h-data: Likewise.
38298 * conform/data/regex.h-data: Likewise.
38299 * conform/data/sched.h-data: Likewise.
38300 * conform/data/search.h-data: Likewise.
38301 * conform/data/semaphore.h-data: Likewise.
38302 * conform/data/setjmp.h-data: Likewise.
38303 * conform/data/signal.h-data: Likewise.
38304 * conform/data/spawn.h-data: Likewise.
38305 * conform/data/stdarg.h-data: Likewise.
38306 * conform/data/stdio.h-data: Likewise.
38307 * conform/data/stdlib.h-data: Likewise.
38308 * conform/data/string.h-data: Likewise.
38309 * conform/data/strings.h-data: Likewise.
38310 * conform/data/stropts.h-data: Likewise.
38311 * conform/data/sys/ipc.h-data: Likewise.
38312 * conform/data/sys/mman.h-data: Likewise.
38313 * conform/data/sys/msg.h-data: Likewise.
38314 * conform/data/sys/resource.h-data: Likewise.
38315 * conform/data/sys/select.h-data: Likewise.
38316 * conform/data/sys/sem.h-data: Likewise.
38317 * conform/data/sys/shm.h-data: Likewise.
38318 * conform/data/sys/socket.h-data: Likewise.
38319 * conform/data/sys/stat.h-data: Likewise.
38320 * conform/data/sys/statvfs.h-data: Likewise.
38321 * conform/data/sys/time.h-data: Likewise.
38322 * conform/data/sys/timeb.h-data: Likewise.
38323 * conform/data/sys/times.h-data: Likewise.
38324 * conform/data/sys/types.h-data: Likewise.
38325 * conform/data/sys/uio.h-data: Likewise.
38326 * conform/data/sys/un.h-data: Likewise.
38327 * conform/data/sys/utsname.h-data: Likewise.
38328 * conform/data/sys/wait.h-data: Likewise.
38329 * conform/data/syslog.h-data: Likewise.
38330 * conform/data/tar.h-data: Likewise.
38331 * conform/data/termios.h-data: Likewise.
38332 * conform/data/utime.h-data: Likewise.
38333 * conform/data/utmpx.h-data: Likewise.
38334 * conform/data/varargs.h-data: Likewise.
38335 * conform/data/wchar.h-data: Likewise.
38336 * conform/data/wctype.h-data: Likewise.
38337 * conform/data/wordexp.h-data: Likewise.
38338
38339 * include/stropts.h: New file.
38340 * include/uchar.h: New file.
38341 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38342 * include/assert.h: Likewise.
38343 * include/ctype.h: Likewise.
38344 * include/dirent.h: Likewise.
38345 * include/dlfcn.h: Likewise.
38346 * include/fcntl.h: Likewise.
38347 * include/fnmatch.h: Likewise.
38348 * include/glob.h: Likewise.
38349 * include/grp.h: Likewise.
38350 * include/libio.h: Likewise.
38351 * include/locale.h: Likewise.
38352 * include/math.h: Likewise.
38353 * include/net/if.h: Likewise.
38354 * include/netdb.h: Likewise.
38355 * include/netinet/in.h: Likewise.
38356 * include/pthread.h: Likewise.
38357 * include/pwd.h: Likewise.
38358 * include/regex.h: Likewise.
38359 * include/sched.h: Likewise.
38360 * include/search.h: Likewise.
38361 * include/setjmp.h: Likewise.
38362 * include/signal.h: Likewise.
38363 * include/stdio.h: Likewise.
38364 * include/stdlib.h: Likewise.
38365 * include/string.h: Likewise.
38366 * include/sys/cdefs.h: Likewise.
38367 * include/sys/mman.h: Likewise.
38368 * include/sys/msg.h: Likewise.
38369 * include/sys/resource.h: Likewise.
38370 * include/sys/select.h: Likewise.
38371 * include/sys/socket.h: Likewise.
38372 * include/sys/stat.h: Likewise.
38373 * include/sys/statvfs.h: Likewise.
38374 * include/sys/time.h: Likewise.
38375 * include/sys/times.h: Likewise.
38376 * include/sys/uio.h: Likewise.
38377 * include/sys/utsname.h: Likewise.
38378 * include/sys/wait.h: Likewise.
38379 * include/termios.h: Likewise.
38380 * include/time.h: Likewise.
38381 * include/ulimit.h: Likewise.
38382 * include/unistd.h: Likewise.
38383 * include/utime.h: Likewise.
38384 * include/wchar.h: Likewise.
38385 * include/wctype.h: Likewise.
38386 * include/wordexp.h: Likewise.
38387
38388 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38389
7a270350
UD
38390 * time/time.h: TIME_UTC must be a macro.
38391 Make timespec_get available for ISO C11 only as well.
38392
7724defc
UD
383932012-02-24 Ulrich Drepper <drepper@gmail.com>
38394
38395 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38396 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38397
6b1d1d46
JM
383982012-02-24 Joseph Myers <joseph@codesourcery.com>
38399
38400 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 38401
0f8bbd69
JM
384022012-02-24 Joseph Myers <joseph@codesourcery.com>
38403
38404 * manual/texinfo.tex: Update to version 2012-01-19.16.
38405
66ab80bc
JM
384062012-02-24 Joseph Myers <joseph@codesourcery.com>
38407
38408 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38409
74981cc5
RM
384102012-02-24 Roland McGrath <roland@hack.frob.com>
38411
ee968201
RM
38412 [BZ #13738]
38413 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38414 * manual/fdl-1.3.texi: New file.
38415 * manual/fdl-1.1.texi: File removed.
38416
74981cc5
RM
38417 [BZ #13738]
38418 * manual/libc.texinfo (FDL_VERSION): New @set.
38419 Use it for mention of FDL in cover text.
38420 (Documentation License): Use it in @include file name.
38421
7bb764bc
JM
384222012-02-22 Joseph Myers <joseph@codesourcery.com>
38423 Roland McGrath <roland@hack.frob.com>
38424
38425 [BZ #5461]
57f41c40
AS
38426 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38427 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
38428 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38429 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38430 name.
38431 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38432
6cbeae47
JM
384332012-02-22 Joseph Myers <joseph@codesourcery.com>
38434
38435 [BZ #2547]
38436 [BZ #11365]
38437 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38438 manipulate bits before adding and subtracting TWO23[sx].
38439 * math/libm-test.inc (nearbyint_test): Add more tests.
38440
fe45ce09
JM
384412012-02-22 Joseph Myers <joseph@codesourcery.com>
38442
38443 [BZ #2548]
38444 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38445 bits before adding and subtracting TWO23[sx].
38446 * math/libm-test.inc (rint_test): Add more tests.
38447 (rint_test_tonearest): Likewise.
38448 (rint_test_towardzero): Likewise.
38449 (rint_test_downward): Likewise.
38450 (rint_test_upward: Likewise.
38451
ff3b3d82
JM
384522012-02-22 Joseph Myers <joseph@codesourcery.com>
38453
38454 [BZ #10110]
38455 * include/stdc-predef.h: New file. Extracted from features.h.
38456 * include/features.h: Include stdc-predef.h.
38457 * Makefile (headers): Add stdc-predef.h.
38458 * CONFORMANCE (Compiler limitations): Update.
38459
ef0aab35
JM
384602012-02-22 Joseph Myers <joseph@codesourcery.com>
38461
38462 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38463
58639409
DM
384642012-02-21 David S. Miller <davem@davemloft.net>
38465
38466 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38467 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38468
c0e70b25
DM
384692012-02-20 David S. Miller <davem@davemloft.net>
38470
38471 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38472 using a normal save/restore sequence, rather than allocating a
38473 dummy stack frame just to store a frame pointer and restore.
38474 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38475
fb06851d
JM
384762012-02-21 Joseph Myers <joseph@codesourcery.com>
38477
38478 * manual/install.texi: Fix stray word in line-wrapped comment.
38479
7a8b71c3
DM
384802012-02-20 David S. Miller <davem@davemloft.net>
38481
d510c123
DM
38482 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38483 both binutils and gcc support GOTDATA.
38484
0722d7c2
DM
38485 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38486 "rd %pc" in the PIC register setup sequences.
38487
3d2b3019
DM
38488 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38489 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38490 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38491 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38492 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38493 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38494 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38495 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38496 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38497 (SYSCALL_ERROR_HANDLER): Likewise.
38498 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38499 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38500 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38501 (SYSCALL_ERROR_HANDLER): Likewise.
38502
c80098a9
DM
38503 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38504 (HAVE_GCC_GOTDATA): New.
38505 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38506 relocation support in both binutils and gcc.
38507 * sysdeps/sparc/elf/configure: Regenerate.
38508
3a2545a0
DM
38509 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38510 * sysdeps/sparc/sparc32/elf/configure: Delete.
38511 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38512 * sysdeps/sparc/sparc64/elf/configure: Delete.
38513 * sysdeps/sparc/elf/configure.in: New file.
38514 * sysdeps/sparc/elf/configure: Generate.
38515
7a8b71c3
DM
38516 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38517 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38518 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38519 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38520 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38521
f1e86fca
JM
385222012-02-21 Joseph Myers <joseph@codesourcery.com>
38523
38524 * manual/install.texi: Do not mention specific glibc version
38525 numbers.
38526 * manual/libc.texinfo (VERSION, UPDATED): Update.
38527 (@copying): Use @copyright{} and range of years.
38528
0e7dfaef
JM
385292012-02-21 Joseph Myers <joseph@codesourcery.com>
38530
38531 [BZ #13695]
38532 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38533 [crti.S not in sysdirs] (generated): Do not append.
38534 [crti.S not in sysdirs] (omit-deps): Likewise.
38535 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38536 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38537 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38538 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38539 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38540 Likewise.
38541 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38542 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38543 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38544 * csu/defs.awk: Remove file.
38545 * sysdeps/generic/initfini.c: Likewise.
38546 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38547 variable.
38548 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38549 Likewise.
38550
599af3ca
JM
385512012-02-20 Joseph Myers <joseph@codesourcery.com>
38552
38553 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38554 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38555 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38556 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38557 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38558 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38559 <bits/epoll.h>.
38560 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38561 (__EPOLL_PACKED): Define to empty if not defined by
38562 <bits/epoll.h>.
38563 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38565 bits/epoll.h.
38566
0e499750
JM
385672012-02-20 Joseph Myers <joseph@codesourcery.com>
38568
38569 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38570 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38571 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38572 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38573 <bits/timerfd.h>.
38574 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38575 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38576 bits/timerfd.h.
38577
5ad91f6e
JM
385782012-02-20 Joseph Myers <joseph@codesourcery.com>
38579
38580 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38581 in C locale.
38582 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38583 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38584 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38586
06b99b02
AJ
385872012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38588
38589 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38590 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38591
7638c0fd
AS
385922012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38593
38594 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38595 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38596 defined.
38597 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38598 Likewise.
38599 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38600 entry for 2.16.
38601
92221550
AJ
386022012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38603
38604 * math/w_acos.c: Use non-signaling floating-point comparisons.
38605 * math/w_acosf.c: Likewise.
38606 * math/w_acosh.c: Likewise.
38607 * math/w_acoshf.c: Likewise.
38608 * math/w_acoshl.c: Likewise.
38609 * math/w_acosl.c: Likewise.
38610 * math/w_asin.c: Likewise.
38611 * math/w_asinf.c: Likewise.
38612 * math/w_asinl.c: Likewise.
38613 * math/w_atanh.c: Likewise.
38614 * math/w_atanhf.c: Likewise.
38615 * math/w_atanhl.c: Likewise.
38616 * math/w_exp2.c: Likewise.
38617 * math/w_exp2f.c: Likewise.
38618 * math/w_exp2l.c: Likewise.
38619 * math/w_j0.c: Likewise.
38620 * math/w_j0f.c: Likewise.
38621 * math/w_j0l.c: Likewise.
38622 * math/w_j1.c: Likewise.
38623 * math/w_j1f.c: Likewise.
38624 * math/w_j1l.c: Likewise.
38625 * math/w_jn.c: Likewise.
38626 * math/w_jnf.c: Likewise.
38627 * math/w_log.c: Likewise.
38628 * math/w_log10.c: Likewise.
38629 * math/w_log10f.c: Likewise.
38630 * math/w_log10l.c: Likewise.
38631 * math/w_log2.c: Likewise.
38632 * math/w_log2f.c: Likewise.
38633 * math/w_log2l.c: Likewise.
38634 * math/w_logf.c: Likewise.
38635 * math/w_logl.c: Likewise.
38636 * math/w_sqrt.c: Likewise.
38637 * math/w_sqrtf.c: Likewise.
38638 * math/w_sqrtl.c: Likewise.
38639 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38640 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38641 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38642 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38643 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38644
ebaf36eb
JM
386452012-02-19 Joseph Myers <joseph@codesourcery.com>
38646
38647 [BZ #9739]
38648 * manual/string.texi (strnlen): Use correct parameter name in
38649 equivalent expression.
38650
71c254a6
JM
386512012-02-19 Joseph Myers <joseph@codesourcery.com>
38652
38653 [BZ #11174]
38654 * manual/users.texi (seteuid): Consistently use neweuid for
38655 argument name.
38656
16d2c631
JM
386572012-02-19 Joseph Myers <joseph@codesourcery.com>
38658
38659 [BZ #13704]
38660 * manual/nss.texi (Services in the NSS configuration): Correct
38661 list of services in example configuration file.
38662
cd837b09
NB
386632012-02-19 Nick Bowler <nbowler@draconx.ca>
38664
38665 [BZ #11322]
38666 * manual/arith.texi: Remove statements about negative zero
38667 behaving identically to zero.
38668
02c4bbad
JM
386692012-02-18 Joseph Myers <joseph@codesourcery.com>
38670
38671 [BZ #5993]
38672 * manual/install.texi: Do not document upgrading from libc5.
38673
366842e7
JM
386742012-02-18 Joseph Myers <joseph@codesourcery.com>
38675
38676 [BZ #4596]
38677 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38678
dd54084d
DM
386792012-02-18 David S. Miller <davem@davemloft.net>
38680
38681 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38682 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38683 %o7 across the call.
38684 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38685 instead.
38686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38687 SETUP_PIC_REG_LEAF.
38688 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38689 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38690 * sysdeps/sparc/crtn.S: Likewise.
38691
2bcc53a3
UD
386922012-02-17 Ulrich Drepper <drepper@gmail.com>
38693
38694 * aout/Makefile: Remove.
38695
09c093b5
RK
386962012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38697
38698 [BZ #13058]
38699 * manual/examples/argp-ex1.c (main): Format definition in GNU
38700 style.
38701 * manual/examples/argp-ex2.c (main): Likewise.
38702 * manual/examples/argp-ex3.c (main): Likewise.
38703 * manual/examples/argp-ex4.c (main): Likewise.
38704 * manual/examples/longopt.c (main): Use new-style prototype
38705 definition.
38706 * manual/examples/strncat.c (main): Specify return type and use
38707 (void) for arguments.
38708 * manual/examples/subopt.c (main): Use char **argv argument.
38709
2ee633a2
JM
387102012-02-17 Joseph Myers <joseph@codesourcery.com>
38711
38712 [BZ #5077]
38713 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38714 rounding modes.
38715
0520adde
FB
387162012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38717
38718 [BZ #6907]
38719 * manual/string.texi (strchr): Change when strchrnul is
38720 recommended.
38721
3f4081cd
DGM
387222012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38723
38724 [BZ #174]
38725 * manual/locale.texi (setlocale): Document LOCPATH.
38726
d1b10e78
JM
387272012-02-17 Joseph Myers <joseph@codesourcery.com>
38728
38729 [BZ #10210]
38730 * manual/process.texi (execle): Move @dots{} before last argument.
38731
79c6869c
PB
387322012-02-17 Paul Bolle <pebolle@tiscali.nl>
38733
38734 [BZ #12047]
38735 * manual/charset.texi (Generic Charset Conversion): Fix typo
38736 (LC_TYPE -> LC_CTYPE).
38737
cc6e48bc
NB
387382012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38739
38740 [BZ #5805]
38741 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38742 (scalbnf): Likewise.
38743 (scalbnl): Likewise.
38744 (scalbln): Likewise.
38745 (scalblnf): Likewise.
38746 (scalblnl): Likewise.
38747 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38748 (vwarnx): Likewise.
38749 (verr): Likewise.
38750 (verrx): Likewise.
38751 * manual/filesys.texi (telldir): Use braces around return type.
38752 * manual/llio.texi (mmap): Add space after comma.
38753 (mmap64): Likewise.
38754 * manual/math.texi (jn): Use @var{} on parameter names.
38755 (jnf): Likewise.
38756 (jnl): Likewise.
38757 (yn): Likewise.
38758 (ynf): Likewise.
38759 (ynl): Likewise.
38760 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38761 line.
38762 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38763 "...".
38764 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38765 (sched_get_priority_max): Likewise.
38766 * manual/signal.texi (sigvec): Add space after comma.
38767 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38768 names.
38769 (if_indextoname): Likewise.
38770 (if_freenameindex): Likewise.
38771 (sendto): Use ',' instead of '.' in prototype.
38772 * manual/startup.texi (syscall): Use @dots{} instead of literal
38773 "...".
38774 * manual/stdio.texi (__fpending): Separate initial words of
38775 paragraph from @deftypefun line.
38776 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38777 "...".
38778 (vsyslog): Use @var{} on parameter names.
38779 * manual/terminal.texi (stty): Use @var{} on parameter names.
38780 * manual/users.texi (getutmp): Use @var{} on parameter names.
38781 (getutmpx): Likewise.
38782
5b23062f
JM
387832012-02-17 Joseph Myers <joseph@codesourcery.com>
38784
38785 [BZ #6884]
38786 * manual/stdio.texi (fopen): Fix typos in description of
38787 ",ccs=STRING".
38788
8dee4833
AJ
387892012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38790
38791 [BZ #4026]
38792 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38793 get clock_id definition.
38794
9078ce93
TS
387952012-02-17 Thomas Schwinge <thomas@schwinge.name>
38796
38797 [BZ #4822]
38798 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38799 (madvise): Cast every argument to void on its own.
38800
3835c55f
JM
388012012-02-17 Joseph Myers <joseph@codesourcery.com>
38802
38803 [BZ #9902]
38804 * manual/startup.texi (Exit Status): Fix typo.
38805
35c47e37
JM
388062012-02-17 Joseph Myers <joseph@codesourcery.com>
38807
38808 [BZ #10140]
38809 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38810 * manual/examples/argp-ex2.c: Likewise.
38811 * manual/examples/argp-ex3.c: Likewise.
38812
e3b69ca7
RH
388132012-02-16 Richard Henderson <rth@redhat.com>
38814
38815 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38816 * sysdeps/s390/s390-32/initfini.c: Remove.
38817 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38818 * sysdeps/s390/s390-64/initfini.c: Remove.
38819
df83af67
KK
388202012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38821
38822 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38823 compiler output for sysdeps/generic/initfini.c.
38824 * sysdeps/sh/elf/initfini.c: Remove file.
38825
f63f3380
DM
388262012-02-16 David S. Miller <davem@davemloft.net>
38827
fb59b3a4
DM
38828 [BZ #11494]
38829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38830
f63f3380
DM
38831 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38832 * sysdeps/sparc/crti.S: New file.
38833 * sysdeps/sparc/crtn.S: New file.
38834 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38835 * sysdeps/sparc/sparc64/Makefile: Likewise.
38836
df6a4a4a
MF
388372012-02-15 Mike Frysinger <vapier@gentoo.org>
38838
6dd8f3dc 38839 [BZ #3335]
df6a4a4a
MF
38840 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38841
1cac7236
RM
388422012-02-15 Roland McGrath <roland@hack.frob.com>
38843
d2c736f8
RM
38844 [BZ #4822]
38845 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38846
1cac7236
RM
38847 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38848 (write, read, close): Likewise.
38849 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38850
8e475601
JM
388512012-02-15 Joseph Myers <joseph@codesourcery.com>
38852
38853 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38854 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38855 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38856 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38857 <bits/signalfd.h>.
38858 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38860 bits/signalfd.h.
38861
ed656b40
MP
388622012-02-14 Marek Polacek <polacek@redhat.com>
38863
38864 * sysdeps/x86_64/crti.S: New file.
38865 * sysdeps/x86_64/crtn.S: New file.
38866 * sysdeps/x86_64/elf/initfini.c: Remove file.
38867
2a979d3a
JM
388682012-02-13 Joseph Myers <joseph@codesourcery.com>
38869
38870 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38871 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38872 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38873 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38874 <bits/inotify.h>.
38875 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38876 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38877 bits/inotify.h.
38878
2a418ac3
JM
388792012-02-13 Joseph Myers <joseph@codesourcery.com>
38880
38881 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38882 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38883 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38884 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38885 <bits/eventfd.h>.
38886 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38888 bits/eventfd.h.
38889
fb779be7
TS
388902012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38891
e19e83c5
RM
38892 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38893 __feraiseexcept instead of feraiseexcept.
7c35ffed 38894
fb779be7
TS
38895 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38896 nanosleep invocations.
38897 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38898 strings, and add error checking for a nanosleep invocations.
38899
59ba27a6
PE
389002012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38901
38902 Replace FSF snail mail address with URLs, as per GNU coding standards.
38903 Most of the snail mail addresses were wrong anyway, and omitting
38904 them makes the source code easier to maintain. Almost all of the
38905 changes are to license notices and to locale LC_IDENTIFICATION
38906 addresses, except for this one:
38907 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38908 not its snail mail address.
38909
57b957eb
RH
389102012-02-09 Richard Henderson <rth@twiddle.net>
38911
af850b1c
RH
38912 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38913 of kernel-features.h.
38914
57b957eb
RH
38915 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38916
6b73181a
MP
389172012-02-08 Marek Polacek <polacek@redhat.com>
38918
38919 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38920 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38921 * sysdeps/gnu/_G_config.h: Likewise.
38922 * sysdeps/generic/_G_config.h: Likewise.
38923
26ecc33a
AS
389242012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38925
6c6dbc63
AS
38926 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38927 tests.
38928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38929
e216c012
AS
38930 * sysdeps/powerpc/powerpc32/crti.S: New file.
38931 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38932 * sysdeps/powerpc/powerpc64/crti.S: New file.
38933 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38934
26ecc33a
AS
38935 * Makeconfig (have-initfini): Don't set.
38936 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38937 * configure.in (nopic_initfini): Don't substitute.
38938 * config.h.in (HAVE_INITFINI): Don't #undef.
38939 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38940 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38941
3add8e13
JM
389422012-02-08 Joseph Myers <joseph@codesourcery.com>
38943
38944 Support crti.S and crtn.S provided directly by architectures.
38945 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38946 [crti.S in sysdirs] (omit-deps): Likewise.
38947 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38948 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38949 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38950 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38951 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38952 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38953 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38954 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38955 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38956 compiler output for sysdeps/generic/initfini.c.
38957 * sysdeps/i386/elf/Makefile: Remove file.
38958 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38959
a22f12b4
MP
389602012-02-07 Marek Polacek <polacek@redhat.com>
38961
38962 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38963 * sysdeps/gnu/_G_config.h: Likewise.
38964 * sysdeps/mach/hurd/_G_config.h: Likewise.
38965
148cf100
MP
389662012-02-07 Marek Polacek <polacek@redhat.com>
38967
38968 * math/Makefile (tests): Add tst-CMPLX2.
38969 * math/tst-CMPLX2.c: New file.
38970
cfdc0dd7
AS
389712012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38972
84ba42c4
AS
38973 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38974
cfdc0dd7
AS
38975 * math/libm-test.inc (jn_test): Add missing L suffix.
38976
622c86f4
MP
389772012-02-06 Marek Polacek <polacek@redhat.com>
38978
38979 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38980 * sysdeps/i386/fpu/e_powf.S: Likewise.
38981 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38982 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38983 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38984 * sysdeps/i386/fpu/e_pow.S: Likewise.
38985 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38986 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38987 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38988 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38989 * sysdeps/i386/fpu/e_log2.S: Likewise.
38990 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38991 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38992 * sysdeps/i386/fpu/e_powl.S: Likewise.
38993 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38994 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38995 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38996 * sysdeps/i386/fpu/e_logl.S: Likewise.
38997 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38998 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38999 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39000 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39001 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39002 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39003 * sysdeps/i386/fpu/e_log.S: Likewise.
39004 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39005 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39006 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39007 * sysdeps/i386/fpu/e_logf.S: Likewise.
39008 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39009 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39010 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39011 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39012 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39013 * sysdeps/i386/fpu/e_log10.S: Likewise.
39014 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39015 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39016 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39017 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39018 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39019 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39020 * sysdeps/i386/asm-syntax.h: Likewise.
39021 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39022 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39023 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39024 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39025 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39026 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39027 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39028 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39029 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39030 * sysdeps/powerpc/sysdep.h: Likewise.
39031 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39032 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39033
d4a54ac6
JM
390342012-02-06 Joseph Myers <joseph@codesourcery.com>
39035
39036 [BZ #411]
39037 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39038
314054ea
JM
390392012-02-06 Joseph Myers <joseph@codesourcery.com>
39040
39041 * sysdeps/i386/sysdep.h: Include <features.h>.
39042 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39043 version.
39044
d8e0ca50
JM
390452012-02-05 Joseph Myers <joseph@codesourcery.com>
39046
39047 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39048 Define.
39049 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39050 LOAD_PIC_REG_STR.
39051
b1da7dd9
JM
390522012-02-03 Joseph Myers <joseph@codesourcery.com>
39053
39054 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39055 (SETUP_PIC_REG): Use GET_PC_THUNK.
39056 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39057 macro.
39058
9a1d9254
JM
390592012-02-03 Joseph Myers <joseph@codesourcery.com>
39060
39061 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39062 for non-PIC compilation.
39063 (SETUP_PIC_REG): Add .p2align directive.
39064 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39065 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39066 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39067 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39068 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39069 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39070 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39071 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39072 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39073 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39074 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39075 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39076 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39077 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39078 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39079 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39080 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39081 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39082 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39083 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39084 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39085 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39086 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39087 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39088 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39089 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39090 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39091 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39092 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39093 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39094 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39095 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39096 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39097 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39098 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39099 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39100 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39101 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39102 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39103 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39104 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39105
65dc3b75
JM
391062012-02-03 Joseph Myers <joseph@codesourcery.com>
39107
39108 * math/tst-CMPLX.c: Include <stdio.h>.
39109
d55bf177
JM
391102012-01-31 Joseph Myers <joseph@codesourcery.com>
39111
39112 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39113 float.
39114 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39115 * sysdeps/sparc/bits/mathdef.h: Likewise.
39116
69db4f8f
MP
391172012-01-31 Marek Polacek <polacek@redhat.com>
39118
39119 * libio/libio.h: Don't define _PARAMS.
39120 * locale/programs/config.h: Don't define PARAMS.
39121 * stdlib/strtol_l.c: Likewise.
39122 (__strtol_l): Remove PARAMS from the prototype.
39123
41b81892
UD
391242012-01-31 Ulrich Drepper <drepper@gmail.com>
39125
3b49edc0
UD
39126 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39127 names. Just use the correct names. Remove unnecessary wrapper
39128 functions.
39129 * malloc/arena.c: Likewise.
39130 * malloc/hooks.c: Likewise.
39131
41b81892
UD
39132 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39133 ARENA_TEST says not to. Simplify test for creation of a new arena.
39134 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39135
27a25b6e
UD
391362012-01-30 Ulrich Drepper <drepper@gmail.com>
39137
39138 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39139 into tail calls.
39140 (update_get_addr): New function.
39141 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39142 GET_ADDR_MODULE parameter.
39143
c8a89e7d
JM
391442012-01-30 Joseph Myers <joseph@codesourcery.com>
39145
39146 * crypt/cert.c: Remove __STDC__ conditionals.
39147 * crypt/crypt-entry.c: Likewise.
39148 * crypt/crypt_util.c: Likewise.
39149 * libio/filedoalloc.c: Likewise.
39150 * libio/fileops.c: Likewise.
39151 * libio/genops.c: Likewise.
39152 * libio/iofclose.c: Likewise.
39153 * libio/iofdopen.c: Likewise.
39154 * libio/iofopen.c: Likewise.
39155 * libio/iofopen64.c: Likewise.
39156 * libio/iogetdelim.c: Likewise.
39157 * libio/iopopen.c: Likewise.
39158 * libio/obprintf.c: Likewise.
39159 * libio/oldfileops.c: Likewise.
39160 * libio/oldiofclose.c: Likewise.
39161 * libio/oldiofdopen.c: Likewise.
39162 * libio/oldiofopen.c: Likewise.
39163 * libio/oldiopopen.c: Likewise.
39164 * libio/wfiledoalloc.c: Likewise.
39165 * libio/wgenops.c: Likewise.
39166 * locale/programs/xmalloc.c: Likewise.
39167 * misc/syslog.c: Likewise.
39168 * stdio-common/xbug.c: Likewise.
39169 * string/memchr.c: Likewise.
39170 * string/memcmp.c: Likewise.
39171 * string/memrchr.c: Likewise.
39172 * string/rawmemchr.c: Likewise.
39173 * sysdeps/posix/getcwd.c: Likewise.
39174 * time/strftime_l.c: Likewise.
39175
3b100462
JM
391762012-01-30 Joseph Myers <joseph@codesourcery.com>
39177
39178 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
39179 * config.make.in (config-cflags-sse2avx): Define.
39180 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39181 Fix typo.
39182
607998af
CM
391832012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39184
39185 * scripts/config.guess: Update from upstream config git repository.
39186 * scripts/config.sub: Likewise.
39187
3601428f
CM
391882012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39189
3ac8b282
CM
39190 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39191 (EM_NUM): Update.
39192 (R_TILEPRO_*, R_TILEGX_*): New macros.
39193
e034841e
CM
39194 * scripts/firstversions.awk: Fix bug in version range handling.
39195
540d7568
CM
39196 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39197
3601428f
CM
39198 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39199
463de862
CM
39200 * include/sys/epoll.h: New file.
39201 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39202 libc_hidden_def.
39203
73139a76
UD
392042012-01-28 Ulrich Drepper <drepper@gmail.com>
39205
96bc5b45
UD
39206 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39207 Avoid unnecessary __WORDSIZE == 64 test.
39208 (fmaxf): Use VEX format if possible.
39209 (fmax): Likewise.
39210 (fminf): Likewise.
39211 (fmin): Likewise.
39212
56f6f6a2
UD
39213 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39214 * math/math_private.h: Remove libc_fegetround* and
39215 libc_fesetround*.
39216 * sysdeps/i386/configure.in: Check for -msse2avx.
39217 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39218 also if SSE2AVX is defined.
39219 Remove libc_fegetround* and libc_fesetround*.
39220 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39221 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39222 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39223 of HAS_YMM_USABLE.
39224 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39225 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39226 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39227 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39228 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39229
73139a76
UD
39230 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39231
d73f93a4
AZ
392322012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39233
39234 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39235 size is not set.
39236 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39237
6ee65ed6
UD
392382012-01-27 Ulrich Drepper <drepper@gmail.com>
39239
39240 [BZ #13618]
39241 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39242 relocation.
39243 * Makeconfig (libm): Define.
39244 * elf/Makefile: Add rules to build and run tst-relsort1.
39245 * elf/tst-relsort1.c: New file.
39246 * elf/tst-relsort1mod1.c: New file.
39247 * elf/tst-relsort1mod2.c: New file.
39248
8db21882
JM
392492012-01-27 Joseph Myers <joseph@codesourcery.com>
39250
39251 * math/s_ldexp.c: Remove __STDC__ conditionals.
39252 * math/s_ldexpf.c: Likewise.
39253 * math/s_ldexpl.c: Likewise.
39254 * math/s_nextafter.c: Likewise.
39255 * math/s_nexttowardf.c: Likewise.
39256 * math/s_significand.c: Likewise.
39257 * math/s_significandf.c: Likewise.
39258 * math/s_significandl.c: Likewise.
39259 * math/w_jnl.c: Likewise.
39260 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39261 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39262 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39263 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39264 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39265 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39266 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39267 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39268 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39269 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39270 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39271 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39272 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39273 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39274 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39275 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39276 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39277 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39278 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39279 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39280 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39281 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39282 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39283 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39284 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39285 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39286 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39287 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39288 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39289 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39290 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39291 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39292 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39293 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39294 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39295 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39296 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39297 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39298 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39299 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39300 * sysdeps/ieee754/k_standard.c: Likewise.
39301 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39302 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39303 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39304 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39305 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39306 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39307 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39308 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39309 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39310 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39311 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39312 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39313 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39314 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39315 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39316 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39317 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39318 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39319 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39320 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39321 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39322 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39323 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39324 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39325 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39326 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39327 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39328 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39329 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39330 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39331 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39332 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39333 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39334 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39335 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39336 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39337 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39338 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39339 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39340 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39341 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39342 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39343 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39344 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39345 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39346 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39347 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39348 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39349 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39350 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39351 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39352 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39353 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39354 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39355 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39356 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39357 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39358 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39359 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39360 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39361 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39362 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39363 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39364 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39365 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39366 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39367 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39368 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39369 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39370 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39371 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39372 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39373 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39374 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39375 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39376 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39377 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39378 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39379 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39380 * sysdeps/ieee754/s_matherr.c: Likewise.
39381 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39382 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39383 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39384 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39385
965a54a4
JM
393862012-01-26 Joseph Myers <joseph@codesourcery.com>
39387
39388 * crypt/md5.h: Remove __STDC__ conditionals.
39389 * libio/libioP.h: Likewise.
39390 * locale/programs/config.h: Likewise.
39391 * sysdeps/generic/sysdep.h: Likewise.
39392 * sysdeps/i386/asm-syntax.h: Likewise.
39393 * sysdeps/s390/asm-syntax.h: Likewise.
39394 * sysdeps/unix/sysdep.h: Likewise.
39395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39397
7071ad79
JM
393982012-01-26 Joseph Myers <joseph@codesourcery.com>
39399
39400 * libio/libio.h: Remove __STDC__ conditionals.
39401 * malloc/obstack.h: Likewise.
39402 * math/complex.h: Likewise.
39403 * math/math.h: Likewise.
39404 * sysdeps/generic/_G_config.h: Likewise.
39405 * sysdeps/gnu/_G_config.h: Likewise.
39406 * sysdeps/mach/hurd/_G_config.h: Likewise.
39407 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39408 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39409 * sysdeps/sparc/bits/mathdef.h: Likewise.
39410
afc5ed09
UD
394112012-01-26 Ulrich Drepper <drepper@gmail.com>
39412
39413 [BZ #13583]
39414 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 39415 Clean up HAS_* macros.
afc5ed09 39416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
39417 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39418 possible.
39419 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39420 HAS_AVX.
39421 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39422 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39423 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39424 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39425 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 39426
bdb6de1d
JM
394272012-01-25 Joseph Myers <joseph@codesourcery.com>
39428
39429 * elf/tst-unique3.cc (gets): Remove declaration.
39430 * elf/tst-unique3lib.cc (gets): Likewise.
39431 * elf/tst-unique3lib2.cc (gets): Likewise.
39432 * elf/tst-unique4.cc (gets): Likewise.
39433
b15549e6
UD
394342012-01-24 Ulrich Drepper <drepper@gmail.com>
39435
39436 * include/stdio.h: Add C++ protection. Add gets declarations and
39437 definitions.
39438 * debug/tst-chk1.c: Don't declare gets here.
39439 * stdio-common/tst-gets.c: Likewise.
39440
a037381f
JM
394412012-01-24 Joseph Myers <joseph@codesourcery.com>
39442
39443 * posix/glob: Remove directory.
39444
f1d4aa75
JM
394452012-01-24 Joseph Myers <joseph@codesourcery.com>
39446
39447 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39448
81c0c964
PT
394492012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39450
39451 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39452 of the non-standard EPFNOSUPPORT.
39453
0ea698ae
ST
394542011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39455
39456 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39457 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39458 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39459
d220b117
UD
394602012-01-21 Ulrich Drepper <drepper@gmail.com>
39461
39462 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39463
3e1aa84e
UD
394642012-01-20 Ulrich Drepper <drepper@gmail.com>
39465
39466 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39467 transient errors.
39468 * nscd/grpcache.c (cache_addgr): Likewise.
39469 * nscd/hstcache.c (cache_addhst): Likewise.
39470 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39471 * nscd/pwdcache.c (cache_addpw): Likewise.
39472 * nscd/servicescache.c (cache_addserv): Likewise.
39473
400aa020
UD
394742012-01-16 Ulrich Drepper <drepper@gmail.com>
39475
d77e7869
UD
39476 * malloc/malloc.c: Various cleanups.
39477 * malloc/hooks.c: Likewise.
39478
400aa020
UD
39479 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39480 * stdlib/bug-fmtmsg1.c: New file.
39481
39482 * stdlib/fmtmsg.c (init): Add missing unlock.
39483 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39484
e0a309cf
MP
394852012-01-12 Marek Polacek <polacek@redhat.com>
39486
39487 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39488 and _GNU_SOURCE.
39489
929d11c7
WS
394902012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39491
39492 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39493 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39494 macro to ensure uniqueness of label name.
39495 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39496 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39497
41d0e869
UD
394982012-01-11 Ulrich Drepper <drepper@gmail.com>
39499
0cc5ed3b
UD
39500 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39501
41d0e869
UD
39502 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39503 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39504 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39505 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39506
a47a831a
UD
395072012-01-10 Ulrich Drepper <drepper@gmail.com>
39508
daa891c0
UD
39509 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39510
39511 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39512 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39513 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39514
e58ef0f2
UD
39515 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39516
a47a831a 39517 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
39518 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39519 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 39520 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
39521
39522 * math/bits/math-finite.h: Add ldexp support.
39523
a0bfc9c7
MP
395242012-01-10 Marek Polacek <polacek@redhat.com>
39525
39526 * locale/programs/localedef.h (show_archive_content): Add noreturn
39527 attribute.
39528
d6e97a1d
UD
395292012-01-09 Ulrich Drepper <drepper@gmail.com>
39530
39531 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39532
d5835c26
UD
395332012-01-08 Ulrich Drepper <drepper@gmail.com>
39534
e5f484c6
UD
39535 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39536
d5835c26
UD
39537 * io/Makefile (headers): Add bits/poll2.h.
39538
d1f741e9
WS
395392011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39540
39541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39542 typo #include statement.
39543
ec09c1c4
UD
395442012-01-08 Ulrich Drepper <drepper@gmail.com>
39545
39546 * include/sys/cdefs.h: Define __attribute_alloc_size.
39547 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39548 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39549 * elf/pldd.c: Likewise.
39550 * iconv/iconv_charmap.c: Likewise.
39551 * iconv/iconvconfig.c: Likewise.
39552 * iconv/strtab.c: Likewise.
39553 * locale/programs/locale.c: Likewise.
39554 * locale/programs/localedef.h: Likewise.
39555 * locale/programs/simple-hash.c: Likewise.
39556 * nscd/nscd.h: Likewise.
39557 * nss/makedb.c: Likewise.
39558 * sysdeps/generic/ldconfig.h: Likewise.
39559 * locale/programs/localedef.c: Remove xmalloc prototype.
39560 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39561
20b38e03
PP
395622012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39563
39564 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39565 appropriate.
39566
a0da5fe1
UD
395672012-01-08 Ulrich Drepper <drepper@gmail.com>
39568
1d5a644a 39569 * math/Makefile (tests): Add tst-CMPLX.
669704fd 39570 * math/tst-CMPLX.c: New file.
1d5a644a 39571
8784a6db
UD
39572 * math/complex.h (CMPLXL): Fix typo.
39573
d9a216c0
UD
39574 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39575 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39576 GLIBC_2.16.
39577 * debug/tst-chk1.c: Add poll and ppoll tests.
39578 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39579 * include/sys/poll.h: Add hidden proto for ppoll.
39580 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39581 * sysdeps/mach/hurd/ppoll.c: Likewise.
39582 * io/ppoll.c: Likewise.
39583 * debug/poll_chk.c: New file.
39584 * debug/ppoll_chk.c: New file.
39585 * include/bits/poll2.h: New file.
39586 * io/bits/poll2.h: New file.
39587
ac097f5c
UD
39588 [BZ #1350]
39589 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39590
2119dcfa
UD
39591 * configure.in: static is always set to yes. Remove.
39592 * config.make.in: Don't set build-static.
39593 * Makeconfig: Remove use of build-static.
39594 * dlfcn/Makefile: Likewise.
39595 * elf/Makefile: Likewise.
39596 * math/Makefile: Likewise.
39597 * misc/Makefile: Likewise.
39598 * nptl/Makefile: Likewise.
39599 * sysdeps/mach/hurd/Makefile: Likewise.
39600
121766a9
UD
39601 * configure.in: PWD_P is not used anymore.
39602 * config.make.in: Remove PWD_P entry.
39603
51a1d39c 39604 * configure.in: Remove last remnants of RANLIB.
8720d066 39605 No need to check for signed size_t anymore.
215f4bdc
UD
39606 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39607 and IA-64.
3857022a 39608 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
39609 * aclocal.m4: Likewise.
39610
d3ed7225
UD
39611 * wcsmbs/mbrtoc16.c: Implement using towc function.
39612 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39613 * wcsmbs/wcsmbsload.c: Likewise.
39614 * iconv/gconv_simple.c: Likewise.
39615 * iconv/gconv_int.h: Likewise.
39616 * iconv/gconv_builtin.h: Likewise.
39617 * iconv/iconv_prog.c: Remove CHAR16 handling.
39618
39619 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39620
39621 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39622
a0da5fe1
UD
39623 * configure.in: Remove --with-elf and --enable-bounded options.
39624 Dont set base_machine for ia64. More non-ELF conditions removed.
39625 Remove testing and setting of leading underscore information.
39626 * config.make.in (build-bounded): Set to no.
39627 * config.h.in: Remove NO_UNDERSCORES entry.
39628 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39629 them.
39630 * csu/start.c: Remove !NO_UNDERSCORE code.
39631 * locale/localeinfo.h: Likewise.
39632 * sysdeps/generic/machine-gmon.h: Likewise.
39633 * sysdeps/generic/sysdep.h: Likewise.
39634 * sysdeps/i386/sysdep.h: Likewise.
39635 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39636 * sysdeps/mach/sysdep.h: Likewise.
39637 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39638 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39639 * sysdeps/sh/sysdep.h: Likewise.
39640 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39641 * sysdeps/unix/i386/sysdep.S: Likewise.
39642 * sysdeps/unix/sparc/start.c: Likewise.
39643 * sysdeps/unix/sparc/sysdep.S: Likewise.
39644 * sysdeps/unix/sparc/sysdep.h: Likewise.
39645 * sysdeps/unix/start.c: Likewise.
39646 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39647 * sysdeps/x86_64/sysdep.h: Likewise.
39648
df78418a
UD
396492012-01-07 Ulrich Drepper <drepper@gmail.com>
39650
a784e502
UD
39651 [BZ #13553]
39652 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39653 for non-gcc.
39654 * argp/argp-fmtstream.h: Use const instead __const.
39655 * argp/argp.h: Likewise.
39656 * assert/assert.h: Likewise.
39657 * bits/fenv.h: Likewise.
39658 * bits/sched.h: Likewise.
39659 * bits/sigset.h: Likewise.
39660 * bits/sigthread.h: Likewise.
39661 * catgets/nl_types.h: Likewise.
39662 * conform/data/pthread.h-data: Likewise.
39663 * crypt/crypt-private.h: Likewise.
39664 * crypt/crypt.h: Likewise.
39665 * crypt/crypt_util.c: Likewise.
39666 * ctype/ctype.h: Likewise.
39667 * debug/execinfo.h: Likewise.
39668 * debug/mbsnrtowcs_chk.c: Likewise.
39669 * debug/mbsrtowcs_chk.c: Likewise.
39670 * debug/wcsnrtombs_chk.c: Likewise.
39671 * debug/wcsrtombs_chk.c: Likewise.
39672 * debug/wcstombs_chk.c: Likewise.
39673 * dirent/dirent.h: Likewise.
39674 * dlfcn/dlfcn.h: Likewise.
39675 * elf/neededtest4.c: Likewise.
39676 * grp/grp.h: Likewise.
39677 * gshadow/gshadow.h: Likewise.
39678 * iconv/gconv.h: Likewise.
39679 * iconv/gconv_int.h: Likewise.
39680 * iconv/gconv_simple.c: Likewise.
39681 * iconv/iconv.h: Likewise.
39682 * iconv/loop.c: Likewise.
39683 * iconv/skeleton.c: Likewise.
39684 * include/aio.h: Likewise.
39685 * include/aliases.h: Likewise.
39686 * include/argz.h: Likewise.
39687 * include/arpa/inet.h: Likewise.
39688 * include/assert.h: Likewise.
39689 * include/dirent.h: Likewise.
39690 * include/dlfcn.h: Likewise.
39691 * include/execinfo.h: Likewise.
39692 * include/fcntl.h: Likewise.
39693 * include/fenv.h: Likewise.
39694 * include/glob.h: Likewise.
39695 * include/grp.h: Likewise.
39696 * include/libintl.h: Likewise.
39697 * include/mntent.h: Likewise.
39698 * include/netdb.h: Likewise.
39699 * include/pwd.h: Likewise.
39700 * include/rpc/netdb.h: Likewise.
39701 * include/sched.h: Likewise.
39702 * include/search.h: Likewise.
39703 * include/shadow.h: Likewise.
39704 * include/signal.h: Likewise.
39705 * include/stdio.h: Likewise.
39706 * include/stdlib.h: Likewise.
39707 * include/string.h: Likewise.
39708 * include/sys/socket.h: Likewise.
39709 * include/sys/stat.h: Likewise.
39710 * include/sys/statfs.h: Likewise.
39711 * include/sys/statvfs.h: Likewise.
39712 * include/sys/syslog.h: Likewise.
39713 * include/sys/time.h: Likewise.
39714 * include/sys/uio.h: Likewise.
39715 * include/time.h: Likewise.
39716 * include/unistd.h: Likewise.
39717 * include/utmp.h: Likewise.
39718 * include/wchar.h: Likewise.
39719 * include/wctype.h: Likewise.
39720 * inet/aliases.h: Likewise.
39721 * inet/arpa/inet.h: Likewise.
39722 * inet/netinet/ether.h: Likewise.
39723 * inet/netinet/in.h: Likewise.
39724 * intl/libintl.h: Likewise.
39725 * io/bits/fcntl2.h: Likewise.
39726 * io/fcntl.h: Likewise.
39727 * io/ftw.h: Likewise.
39728 * io/sys/poll.h: Likewise.
39729 * io/sys/stat.h: Likewise.
39730 * io/sys/statfs.h: Likewise.
39731 * io/sys/statvfs.h: Likewise.
39732 * io/utime.h: Likewise.
39733 * libio/bits/stdio.h: Likewise.
39734 * libio/bits/stdio2.h: Likewise.
39735 * libio/libio.h: Likewise.
39736 * libio/libioP.h: Likewise.
39737 * libio/stdio.h: Likewise.
39738 * locale/lc-ctype.c: Likewise.
39739 * locale/locale.h: Likewise.
39740 * login/utmp.h: Likewise.
39741 * malloc/arena.c: Likewise.
39742 * malloc/malloc.c: Likewise.
39743 * malloc/malloc.h: Likewise.
39744 * malloc/mcheck.c: Likewise.
39745 * malloc/mtrace.c: Likewise.
39746 * math/bits/mathcalls.h: Likewise.
39747 * math/fenv.h: Likewise.
39748 * math/math_private.h: Likewise.
39749 * misc/bits/error.h: Likewise.
39750 * misc/bits/syslog.h: Likewise.
39751 * misc/err.h: Likewise.
39752 * misc/error.h: Likewise.
39753 * misc/fstab.h: Likewise.
39754 * misc/mntent.h: Likewise.
39755 * misc/regexp.h: Likewise.
39756 * misc/search.h: Likewise.
39757 * misc/sgtty.h: Likewise.
39758 * misc/sys/mman.h: Likewise.
39759 * misc/sys/syslog.h: Likewise.
39760 * misc/sys/uio.h: Likewise.
39761 * misc/sys/xattr.h: Likewise.
39762 * misc/ttyent.h: Likewise.
39763 * nis/rpcsvc/ypclnt.h: Likewise.
39764 * nss/nss.h: Likewise.
39765 * posix/bits/unistd.h: Likewise.
39766 * posix/fnmatch.h: Likewise.
39767 * posix/glob.h: Likewise.
39768 * posix/sched.h: Likewise.
39769 * posix/spawn.h: Likewise.
39770 * posix/sys/wait.h: Likewise.
39771 * posix/unistd.h: Likewise.
39772 * posix/wordexp.h: Likewise.
39773 * pwd/pwd.h: Likewise.
39774 * resolv/netdb.h: Likewise.
39775 * resource/sys/resource.h: Likewise.
39776 * rt/aio.h: Likewise.
39777 * rt/bits/mqueue2.h: Likewise.
39778 * rt/mqueue.h: Likewise.
39779 * shadow/shadow.h: Likewise.
39780 * signal/signal.h: Likewise.
39781 * socket/send.c: Likewise.
39782 * socket/sendto.c: Likewise.
39783 * socket/sys/socket.h: Likewise.
39784 * stdio-common/printf.h: Likewise.
39785 * stdlib/bits/stdlib.h: Likewise.
39786 * stdlib/fmtmsg.h: Likewise.
39787 * stdlib/monetary.h: Likewise.
39788 * stdlib/stdlib.h: Likewise.
39789 * stdlib/ucontext.h: Likewise.
39790 * streams/stropts.h: Likewise.
39791 * string/argz.h: Likewise.
39792 * string/bits/string2.h: Likewise.
39793 * string/string.h: Likewise.
39794 * string/strings.h: Likewise.
39795 * sunrpc/rpc/auth.h: Likewise.
39796 * sunrpc/rpc/auth_des.h: Likewise.
39797 * sunrpc/rpc/clnt.h: Likewise.
39798 * sunrpc/rpc/netdb.h: Likewise.
39799 * sunrpc/rpc/pmap_clnt.h: Likewise.
39800 * sunrpc/rpc/xdr.h: Likewise.
39801 * sysdeps/generic/inttypes.h: Likewise.
39802 * sysdeps/generic/net/if.h: Likewise.
39803 * sysdeps/generic/sys/swap.h: Likewise.
39804 * sysdeps/gnu/net/if.h: Likewise.
39805 * sysdeps/gnu/utmpx.h: Likewise.
39806 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39807 * sysdeps/i386/i486/bits/string.h: Likewise.
39808 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39809 * sysdeps/s390/bits/string.h: Likewise.
39810 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39811 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39812 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39813 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39814 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39815 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39816 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39817 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39818 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39819 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39820 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39821 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39822 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39823 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39824 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39825 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39826 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39827 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39828 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39829 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39830 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39831 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39832 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39833 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39834 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39835 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39836 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39837 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39838 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39839 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39840 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39841 * sysvipc/sys/ipc.h: Likewise.
39842 * sysvipc/sys/msg.h: Likewise.
39843 * sysvipc/sys/sem.h: Likewise.
39844 * sysvipc/sys/shm.h: Likewise.
39845 * termios/termios.h: Likewise.
39846 * time/sys/time.h: Likewise.
39847 * time/time.h: Likewise.
39848 * wcsmbs/bits/wchar2.h: Likewise.
39849 * wcsmbs/uchar.h: Likewise.
39850 * wcsmbs/wchar.h: Likewise.
39851 * wctype/wctype.h: Likewise.
39852
0269750c
UD
39853 [BZ #13551]
39854 * Makeconfig: Remove all but ELF support including AIX support.
39855 * Makerules: Likewise.
39856 * config.h.in: Likewise.
39857 * config.make.in: Likewise.
39858 * configure: Likewise.
39859 * configure.in: Likewise.
39860 * csu/Makefile: Likewise.
39861 * csu/version.c: Likewise.
39862 * debug/Makefile: Likewise.
39863 * dlfcn/Makefile: Likewise.
39864 * elf/Makefile: Likewise.
39865 * extra-lib.mk: Likewise.
39866 * iconv/Makefile: Likewise.
39867 * include/libc-symbols.h: Likewise.
39868 * include/shlib-compat.h: Likewise.
39869 * resolv/Makefile: Likewise.
39870 * resolv/res_libc.c: Likewise.
39871 * rt/Makefile: Likewise.
39872 * sysdeps/i386/asm-syntax.h: Likewise.
39873 * sysdeps/i386/sysdep.h: Likewise.
39874 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39875 * sysdeps/mach/sysdep.h: Likewise.
39876 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39877 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39878 * sysdeps/s390/asm-syntax.h: Likewise.
39879 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39880 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39881 * sysdeps/sh/sysdep.h: Likewise.
39882 * sysdeps/unix/sparc/sysdep.h: Likewise.
39883 * sysdeps/wordsize-32/divdi3.c: Likewise.
39884 * sysdeps/x86_64/sysdep.h: Likewise.
39885
00bbd29b
UD
39886 * argp/Versions: Remove _argp_unlock_xxx.
39887
39888 [BZ #13559]
39889 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39890 * abilist/libBrokenLocale.abilist: Likewise.
39891 * abilist/libanl.abilist: Likewise.
39892 * abilist/libc.abilist: Likewise.
39893 * abilist/libcrypt.abilist: Likewise.
39894 * abilist/libdl.abilist: Likewise.
39895 * abilist/libm.abilist: Likewise.
39896 * abilist/libnsl.abilist: Likewise.
39897 * abilist/libpthread.abilist: Likewise.
39898 * abilist/libresolv.abilist: Likewise.
39899 * abilist/librt.abilist: Likewise.
39900 * abilist/libthread_db.abilist: Likewise.
39901 * abilist/libutil.abilist: Likewise.
39902 * abilist/libnss_db.abilist: New file.
39903
39904 * scripts/abilist.awk: Add support for indirect functions.
39905
a2693a0e
UD
39906 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39907
3f05895f
UD
39908 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39909
ecb6fb48
UD
39910 * shlib-versions: Remove entries for ports architectures.
39911
664f8cb9
UD
39912 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39913 files in ports.
39914 * elf/stackguard-macros.h: Remove support for IA-64.
39915 * elf/tst-auditmod1.c: Likewise.
39916 * sysdeps/generic/ldsodefs.h: Likewise.
39917
7ae81d88
UD
39918 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39919 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39920 configure files.
39921
bdeba135
UD
39922 [BZ #13552]
39923 * configure.in: Remove --enable-omitfp support.
39924 * FAQ.in: Adjust.
39925 * config.make.in: Likewise.
39926 * Makeconfig: Likewise.
39927 * manual/install.texi: Likewise.
39928
d75a0a62
UD
39929 In case anyone cares, the IA-64 architecture could move to ports.
39930 * sysdeps/ia64/*: Removed.
39931 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 39932 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 39933
dcc9756b
UD
39934 [BZ #13555]
39935 * configure.in: Remove entries for unsupported architectures.
39936
d3761ebc 39937 [BZ #13533]
9954432e
UD
39938 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39939 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39940 routines.
39941 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39942 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39943 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39944 fall back to using wcrtomb.
39945 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39946 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39947 renaming.
39948 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39949 * wcsmbs/tst-c16c32-1.c: New file.
39950
39951 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39952 local variable.
39953
c3a87236
UD
39954 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39955
28926a1b
UD
39956 * elf/tst-unique3.cc: Add explicit declaration of gets.
39957 * elf/tst-unique3lib.cc: Likewise.
39958 * elf/tst-unique3lib2.cc: Likewise.
39959 * elf/tst-unique4.cc: Likewise.
39960
df78418a
UD
39961 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39962
8ecd6b2a
JM
399632012-01-06 Joseph Myers <joseph@codesourcery.com>
39964
39965 [BZ #13566]
39966 * assert/assert.h (static_assert): Don't define for C++.
39967 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39968 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39969
9f115170
UD
399702012-01-03 Ulrich Drepper <drepper@gmail.com>
39971
5e0d0300
UD
39972 * iconv/loop.c (single loop): Fix assertion in storing of
39973 remaining bytes.
39974
9f115170
UD
39975 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39976
81fb02b0
UD
399772012-01-01 Ulrich Drepper <drepper@gmail.com>
39978
39979 * posix/getconf.c: Update copyright year.
39980 * nss/getent.c: Likewise.
a316c1f6 39981 * nss/makedb.c: Likewise.
81fb02b0
UD
39982 * iconv/iconvconfig.c: Likewise.
39983 * iconv/iconv_prog.c: Likewise.
39984 * elf/ldconfig.c: Likewise.
a316c1f6
UD
39985 * elf/pldd.c: Likewise.
39986 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
39987 * catgets/gencat.c: Likewise.
39988 * csu/version.c: Likewise.
39989 * elf/ldd.bash.in: Likewise.
39990 * elf/sprof.c (print_version): Likewise.
39991 * locale/programs/locale.c: Likewise.
39992 * locale/programs/localedef.c: Likewise.
a316c1f6 39993 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
39994 * nscd/nscd.c (print_version): Likewise.
39995 * debug/xtrace.sh: Likewise.
39996 * malloc/memusage.sh: Likewise.
39997 * malloc/mtrace.pl: Likewise.
39998 * debug/catchsegv.sh: Likewise.
39999
2ba92745
JJ
400002011-12-30 Jakub Jelinek <jakub@redhat.com>
40001
40002 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40003 pure attribute.
40004
dadebdae
UD
400052011-12-24 Ulrich Drepper <drepper@gmail.com>
40006
d3761ebc 40007 [BZ #13533]
db6af3eb
UD
40008 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40009 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40010 transformations.
40011 * iconv/gconv_int.h: Likewise.
40012 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40013 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40014 from libc for GLIBC_2.16.
40015 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40016 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40017 * wcsmbs/uchar.h: Really define mbstate_t.
40018 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40019 * wcsmbs/c16rtomb.c: New file.
40020 * wcsmbs/mbrtoc16.c: New file.
40021 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40022 for C/POSIX locale.
40023 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40024 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40025
dadebdae
UD
40026 * wcsmbs/wchar.h: Add missing __restrict.
40027
67371b56
UD
400282011-12-23 Ulrich Drepper <drepper@gmail.com>
40029
74033a25
UD
40030 [BZ #13532]
40031 * time/Makefile (routines): Add timespec_get.
40032 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40033 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40034 timespec for ISO C11.
40035 * time/timespec_get.c: New file.
40036 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40037 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40038
380d7e87
UD
40039 [BZ #13531]
40040 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40041 * stdlib/stdlib.h: Declare aligned_alloc.
40042 * Versions.def: Add GLIBC_2.16 for libc.
40043 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40044
4e9e7a35
UD
40045 [BZ 13527]
40046 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40047 ISO C11.
40048
380d7e87 40049 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
40050 code.
40051
03a71829
UD
40052 [BZ #13528]
40053 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40054
839e283e
UD
40055 [BZ #13529]
40056 * assert/assert.h (static_assert): Define.
40057
ce5294e2 40058 * version.h: Update for 2.16 development version.
90fa7312 40059
8d44e150 40060 [BZ #13526]
d7809905
UD
40061 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40062 _ISOC11_SOURCE.
40063
c0da14cd
UD
40064 * version.h (RELEASE): Bump for 2.15 release.
40065 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40066
530a3249
MP
40067 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40068 Patch by Marek Polacek <mpolacek@redhat.com>.
40069
67371b56
UD
40070 * bits/byteswap.h: Protect long long constants with __extension__.
40071 * sysdeps/i386/bits/byteswap.h: Likewise.
40072 * sysdeps/ia64/bits/byteswap.h: Likewise.
40073 * sysdeps/s390/bits/byteswap.h: Likewise.
40074 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40075
15db4de1
LD
400762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40077
40078 [BZ #13540]
bbe315ea
LD
40079 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40080 destination buffer.
15db4de1
LD
40081 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40082
2b2596b1
MP
400832011-12-23 Marek Polacek <polacek@redhat.com>
40084
40085 * elf/dl-addr.c (determine_info): Add inline keyword.
40086 * elf/tst-auditmod4b.c (check_avx): Likewise.
40087 * elf/tst-auditmod6b.c (check_avx): Likewise.
40088 * elf/tst-auditmod6c.c (check_avx): Likewise.
40089 * elf/tst-auditmod7b.c (check_avx): Likewise.
40090
70c6c246
UD
400912011-12-23 Ulrich Drepper <drepper@gmail.com>
40092
40093 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40094 !__SSE_MATH__.
40095
c044cf14
LD
400962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40097
15db4de1 40098 [BZ #13540]
c044cf14
LD
40099 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40100 processing for last bytes.
40101
6b13d9d9
BH
401022011-08-06 Bruno Haible <bruno@clisp.org>
40103
d455f537
BH
40104 [BZ #13061]
40105 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40106 U+0385, not to U+1FEE.
40107
6b13d9d9
BH
40108 [BZ #13062]
40109 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40110 entry for U+00A5 U+0301.
40111
db910efd
UD
401122011-12-22 Ulrich Drepper <drepper@gmail.com>
40113
27deeafc
UD
40114 [BZ #13166]
40115 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40116 buffer for the output is too small.
40117
aed9d171
UD
40118 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40119 optimization.
40120
db910efd
UD
40121 [BZ #13185]
40122 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40123 SSE flags if possible.
40124
2bd779ae
LD
401252011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40126
e7f9dac3 40127 [BZ #13540]
2bd779ae
LD
40128 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40129 processing for last bytes.
40130
154bfc16
JM
401312011-12-22 Joseph Myers <joseph@codesourcery.com>
40132
40133 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40134 (syscall-list-default-options, syscall-list-default-condition)
40135 (syscall-list-includes): Define.
40136 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40137 list of ABIs and options and #if conditions for each ABI. Do not
40138 handle common syscalls between ABIs specially.
40139 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40140 Remove.
40141 (syscall-list-variants, syscall-list-32bit-options)
40142 (syscall-list-32bit-condition, syscall-list-64bit-options)
40143 (syscall-list-64bit-condition): Define.
40144 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40145 (syscall-list-variants, syscall-list-32bit-options)
40146 (syscall-list-32bit-condition, syscall-list-64bit-options)
40147 (syscall-list-64bit-condition): Define.
40148 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40149 Remove.
40150 (syscall-list-variants, syscall-list-32bit-options)
40151 (syscall-list-32bit-condition, syscall-list-64bit-options)
40152 (syscall-list-64bit-condition): Define.
40153 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40154 Remove.
40155 (syscall-list-variants, syscall-list-32bit-options)
40156 (syscall-list-32bit-condition, syscall-list-64bit-options)
40157 (syscall-list-64bit-condition): Define.
40158
21eaf3a5
UD
401592011-12-22 Ulrich Drepper <drepper@gmail.com>
40160
16c6f992
UD
40161 * locale/iso-639.def: Add brx entry.
40162
41043168
UD
40163 [BZ #13328]
40164 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40165 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40166
21eaf3a5
UD
40167 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40168 __feraiseexcept_renamed.
40169
e3a851a2
UD
401702011-12-21 Ulrich Drepper <drepper@gmail.com>
40171
4920765e
UD
40172 [BZ #13538]
40173 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40174 EPOLLET with unsigned values.
40175 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40176 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40177
e3a851a2
UD
40178 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40179 to large cancellation.
40180 * math/s_cacoshf.c: Likewise.
40181 * math/s_cacoshl.c: Likewise.
40182
b27e24b8
RK
401832011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40184
40185 [BZ #13305]
aebefeee 40186 [BZ #12786]
b27e24b8
RK
40187 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40188 * math/s_cacoshf.c: Likewise.
40189 * math/s_cacoshl.c: Likewise.
40190
ee190f67
UD
401912011-12-21 Ulrich Drepper <drepper@gmail.com>
40192
40193 [BZ #13439]
40194 * iconv/gconv.h: Define __GCONV_SWAP.
40195 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40196 * iconvdata/utf-16.c: Likewise.
40197 * iconvdata/utf-32.c: Likewise.
40198
707f25df
AS
401992011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40200
40201 [BZ #13524]
40202 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40203 numerator after shifting it by one limb.
40204
d2daaa1e
RÁE
402052011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40206
40207 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40208 under [__USE_EXTERN_INLINES].
40209
a4647e72
UD
402102011-12-17 Ulrich Drepper <drepper@gmail.com>
40211
40212 [BZ #13446]
40213 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40214
f0b264f1
AZ
402152011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40216
40217 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40218 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40219 optimized code.
40220 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40221 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40222 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40223 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40224 for strncasecmp/strncasecmp_l compilation.
40225 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40226 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40227
8ef4f244
MP
402282011-12-08 Marek Polacek <mpolacek@redhat.com>
40229
40230 [BZ #13484]
40231 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40232 of __asm__.
40233
97ac2654
UD
402342011-12-17 Ulrich Drepper <drepper@gmail.com>
40235
40236 [BZ #13506]
40237 * time/tzfile.c (__tzfile_read): Check values from file header.
40238
91d2a845
WS
402392011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40240
40241 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40242 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40243 * powerpc/powerpc32/dl-start.S: Likewise.
40244 * powerpc/powerpc32/elf/start.S: Likewise.
40245 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40246 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40247 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40248 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40249 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40250 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40251 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40252 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40253 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40254 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40255 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40256 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40257 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40258 * powerpc/powerpc32/memset.S: Likewise.
40259 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40260 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40261 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40262 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40263 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40264 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40265 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40266 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40267 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40268 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40269 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40270 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40271 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40272
a1267ba1
AZ
402732011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40274
40275 * math/libm-test.inc: Added more nearbyint tests.
40276 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40277 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40278 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40279 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40280
ad8ac1bd
RL
402812011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40282
40283 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40284 FD_CLOEXEC.
40285
1d3e4b61
UD
402862011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40287
40288 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40289 Add wcscpy-ssse3 wcscpy-c.
40290 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40291 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40292 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40293 * sysdeps/x86_64/wcschr.S: New file.
40294 * sysdeps/x86_64/wcsrchr.S: New file.
40295 * string/test-strcmp.c: Remove checking of wcscmp function for
40296 wrong alignments.
40297 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40298 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40299 wcsrchr-sse2 wcsrchr-c.
40300 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40301 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40302 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40303 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40304 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40305 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40306 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40307 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40308 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40309 * wcsmbc/wcschr.c (WCSCHR): New macro.
40310
5b330a2d
UD
403112011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40312
40313 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40314 * wcsmbs/test-wcsrchr.c: New file.
40315 * string/test-strrchr.c: Add wcsrchr support.
40316 (WIDE): New macro.
40317 * wcsmbs/test-wcscpy.c: New file.
40318 * string/test-strcpy.c: Add wcscpy support.
40319 (WIDE): New macro.
26428b7c 40320
f039c043
UD
403212011-12-10 Ulrich Drepper <drepper@gmail.com>
40322
40323 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40324 the inner loop.
40325
850fb039
AS
403262011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40327
40328 [BZ #13472]
40329 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40330
4efbd5cb
UD
403312011-12-04 Ulrich Drepper <drepper@gmail.com>
40332
52ff5dd0 40333 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 40334 Minor optimizations.
52ff5dd0 40335
4efbd5cb
UD
40336 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40337 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40338 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40339
8a426e12
UD
403402011-12-03 Ulrich Drepper <drepper@gmail.com>
40341
aff2453d
UD
40342 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40343 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40344 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40345 for gcc to avoid warnings.
40346 * inet/Makefile (tests): Add tst-checks.
40347 * inet/tst-checks.c: New file.
40348
40349 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40350 warning.
40351
40352 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40353 __wmemcmp_sse2.
40354
40355 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40356 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40357
8a426e12
UD
40358 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40359
9bea3473
UD
403602011-12-02 Ulrich Drepper <drepper@gmail.com>
40361
3a965496
UD
40362 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40363 problem.
40364
9bea3473
UD
40365 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40366
f101631b
UD
403672011-11-29 Joseph Myers <joseph@codesourcery.com>
40368
40369 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40370 conditional on GCC version.
40371 (__arch_compare_and_exchange_val_8_acq)
40372 (__arch_compare_and_exchange_val_16_acq)
40373 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40374 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40375 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40376
a98275aa
UD
403772011-12-02 Joseph Myers <joseph@codesourcery.com>
40378
40379 * sysdeps/sh/backtrace.c: New file.
40380
d4cc29a2
AS
403812011-12-02 Andreas Schwab <schwab@redhat.com>
40382
40383 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40384 parenthesis.
40385
6257af2d
AS
403862011-12-01 Andreas Schwab <schwab@redhat.com>
40387
40388 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40389 falling back to utime.
40390
b5f44c1a
AS
403912011-11-30 Andreas Schwab <schwab@redhat.com>
40392
40393 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40394 expectations for float.
40395
f3a6cc0a
AS
403962011-11-29 Andreas Schwab <schwab@redhat.com>
40397
40398 * locale/weight.h (findidx): Add parameter len.
40399 * locale/weightwc.h (findidx): Likewise.
40400 * posix/fnmatch_loop.c (FCT): Adjust caller.
40401 * posix/regcomp.c (build_equiv_class): Likewise.
40402 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40403 * posix/regexec.c (check_node_accept_bytes): Likewise.
40404 * string/strcoll_l.c (STRCOLL): Likewise.
40405 * string/strxfrm_l.c (STRXFRM): Likewise.
40406
9d65ea3a
UD
404072011-11-17 Ulrich Drepper <drepper@gmail.com>
40408
40409 * Makefile.in: Remove CVSOPT handling.
40410 * configure.in: Remove use of AC_REVISION.
40411 * iconvdata/Makefile (distribute): No need to filter out CVS.
40412 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40413 handling.
40414
5583a086
AS
404152011-11-16 Andreas Schwab <schwab@redhat.com>
40416
40417 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40418 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40419 [USE_AS_STRNCASECMP_L]: Likewise.
40420 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40421 NO_TLS_DIRECT_SEG_REFS.
40422 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40423 Fix argument offsets for non-PIC.
40424 [USE_AS_STRNCASECMP_L]: Likewise.
40425 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40426 NO_TLS_DIRECT_SEG_REFS.
40427
d62a8200
UD
404282011-11-15 Ulrich Drepper <drepper@gmail.com>
40429
9d65ea3a 40430 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
40431 O_CLOEXEC.
40432 * locale/loadlocale.c (_nl_load_locale): Likewise.
40433
09f93bd3
AS
404342011-11-15 Andreas Schwab <schwab@redhat.com>
40435
446514f9
AS
40436 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40437 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40438 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40439 (SYSCALL_GETTIME): Set errno on error.
40440
09f93bd3
AS
40441 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40442 count references to noai6ai_cached.
40443
312be3f9
UD
404442011-11-15 Ulrich Drepper <drepper@gmail.com>
40445
40446 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40447
40448 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40449 FD_CLOEXEC for /proc/self/maps.
40450
40451 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40452 FD_CLOEXEC for /proc/meminfo.
40453
40454 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40455 gai.conf.
40456
40457 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40458 FD_CLOEXEC for given file.
40459
40460 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40461
40462 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40463 FD_CLOEXEC for /etc/hosts.
40464 (_gethtent): Likewise.
40465
40466 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40467
40468 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40469 cancellation and set FD_CLOEXEC for /etc/netgroup.
40470
40471 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40472 reading /etc/publickey.
40473
40474 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40475 allow cancellation when reading /etc/group.
40476
40477 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40478 cancellation.
40479 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40480
40481 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40482 when using data file.
40483
40484 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40485
40486 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40487 (write_nis_obj): Use "c" and "e" in fopen.
40488
40489 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40490
40491 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40492
40493 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40494
40495 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40496
40497 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40498 locale.alias.
40499
40500 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40501
40502 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40503
40504 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40505
40506 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40507 file parsing and set FD_CLOEXEC.
40508
82af0fa8
UD
405092011-11-14 Ulrich Drepper <drepper@gmail.com>
40510
40511 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40512
a5fb313c
AS
405132011-11-14 Andreas Schwab <schwab@redhat.com>
40514
40515 * malloc/arena.c (arena_get2): Don't call reused_arena when
40516 _int_new_arena failed.
40517
6abf3465
UD
405182011-11-14 Ulrich Drepper <drepper@gmail.com>
40519
40520 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40521 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40522 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40523 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40524 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40525 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40526 to compile strcasecmp and strncasecmp.
40527 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40528 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40529
40530 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40531
76e3966e
UD
405322011-11-13 Ulrich Drepper <drepper@gmail.com>
40533
40534 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40535 locale-defines.sym to gen-as-const-headers.
40536 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40537 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40538 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40539 to compile strcasecmp and strncasecmp.
40540 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40541 strcasecmp_l and strncasecmp_l.
40542 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40543 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40544 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40545 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40546 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40547 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40548 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40549 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40550 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40551 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40552 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40553
ab26144e
UD
405542011-11-12 Ulrich Drepper <drepper@gmail.com>
40555
7edb22ef
UD
40556 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40557 result of SYSDEP_GETTIME_CPU to retval.
40558 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40559 parameter list to macro. Remove trailing semicolon. Adjust users.
40560
9694fc44
UD
40561 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40562 variable.
40563
8ad89ef8
UD
40564 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40565 mantissa words.
40566 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40567
0c822ef9
UD
40568 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40569 from unused variable.
40570
874e0564
UD
40571 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40572 DWARF definitions.
40573 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40574 for assembling.
40575
3a2edc79
UD
40576 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40577 over namespaces.
40578
f3c2577f
UD
40579 * sunrpc/rpc_prot.c (rejected): Fix case value.
40580
294ce126
UD
40581 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40582 unsigned long long int to avoid warnings in shift.
40583
5e2b63c6
UD
40584 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40585 of use of trans.
40586 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40587 variable tmp.
40588
e7f4b08e
UD
40589 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40590 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40591 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40592
ab26144e
UD
40593 * nis/nis_table.c (nis_list): Use variable of correct type for
40594 result of __follow_path call.
40595
8a6d5255
AZ
405962011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40597
40598 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40599 of math functions ceil, trunc, floor, round, and sqrt, when
40600 avaliable on the platform.
40601 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40602 name clash.
40603 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40604 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40605 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40606
aaddc98c
MP
406072011-10-30 Marek Polacek <mpolacek@redhat.com>
40608
40609 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40610 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40611
95b7042b
RM
406122011-11-11 Roland McGrath <roland@hack.frob.com>
40613
40614 * include/unistd.h: Fix __readlink return type.
40615 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40616
57769839
UD
406172011-11-11 Ulrich Drepper <drepper@gmail.com>
40618
40619 * stdlib/ucontext.h: Undo last change for makecontext.
40620
edc5984d
AS
406212011-11-11 Andreas Schwab <schwab@redhat.com>
40622
98591e58
AS
40623 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40624
edc5984d
AS
40625 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40626 * setjmp/setjmp.h: Mark functions as non-leaf.
40627 * setjmp/bits/setjmp2.h: Likewise.
40628 * stdlib/ucontext.h: Likewise.
40629
77cdc054
AS
406302011-11-10 Andreas Schwab <schwab@redhat.com>
40631
40632 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40633 (reused_arena): Don't check arena limit.
40634 (arena_get2): Atomically check arena limit.
40635
fe72eebd
UD
406362011-11-08 Ulrich Drepper <drepper@gmail.com>
40637
5f078c32
UD
40638 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40639 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40640
fe72eebd
UD
40641 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40642 instructions.
40643
ae1bc2fa
AS
406442011-11-07 Andreas Schwab <schwab@redhat.com>
40645
7583a88d
AS
40646 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40647 handler when locking.
40648
ae1bc2fa
AS
40649 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40650 Fix size of allocated buffer.
40651
10fb0bfa
AS
406522011-11-04 Andreas Schwab <schwab@redhat.com>
40653
998832a4
AS
40654 [BZ #10103]
40655 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40656 declarations for long double functions.
40657 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40658
10fb0bfa
AS
40659 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40660
3d7ba52b
AS
406612011-11-03 Andreas Schwab <schwab@redhat.com>
40662
a9ae54a1
AS
40663 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40664 installed.
40665
3d7ba52b
AS
40666 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40667 is disabled.
40668
bc8db248
ST
406692011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40670
40671 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40672
45b96dd6
AS
406732011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40674
647776f6
AS
40675 * include/alloca.h (stackinfo_alloca_round): Define.
40676 (extend_alloca): Use it.
40677 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40678 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40679 here.
40680
d91a8b93
AS
40681 * scripts/check-local-headers.sh: Ignore libaudit.h.
40682
45b96dd6
AS
40683 * nscd/Makefile (extra-objs): Make recursively expanded.
40684
432d41ce
UD
406852011-11-01 Ulrich Drepper <drepper@gmail.com>
40686
34372fc6
UD
40687 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40688 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40689
fadb59f8
UD
40690 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40691 * posix/tst-rfc3484-2.c: Likewise.
40692 * posix/tst-rfc3484-3.c: Likewise.
40693
78239589
UD
40694 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40695 process_vm_writev.
40696 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40697 process_vm_writev.
40698 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40699 process_vm_writev from libc using GLIBC_2.15 version.
40700
432d41ce
UD
40701 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40702
02f9c6cf
PP
407032011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40704
40705 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40706 stack usage.
40707
3a2c0242
UD
407082011-10-31 Ulrich Drepper <drepper@gmail.com>
40709
f4ec4833
UD
40710 [BZ #13367]
40711 * nss/getent.c (initgroups_keys): Show error message in case no group
40712 names are given.
40713
3a2c0242
UD
40714 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40715 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40716 __bump_nl_timestamp.
40717 * nscd/connections (nscd_init): When host database is served open
40718 netlink socket and request notification about configuration changes.
40719 (main_loop_poll): Track netlink file descriptor and bump timestamp
40720 in case data becomes available.
40721 (main_loop_epoll): Likewise.
40722 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40723 (database_pers_head): Add extra_data fileds.
40724 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40725 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40726 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40727 Adjust caller.
40728 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40729 in6ai data, call __free_in6ai.
40730 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40731 Add -DHAVE_NETLINK.
40732 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40733 interface information. Reuse previous data if netlink timestamp
40734 is not changed.
40735 (__bump_nl_timestamp): New function.
40736 (__free_in6ai): New function.
40737
636064eb
UD
407382011-10-30 Ulrich Drepper <drepper@gmail.com>
40739
40740 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40741 close_not_cancel_no_status here.
40742 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40743
9beb2334
UD
407442011-10-29 Ulrich Drepper <drepper@gmail.com>
40745
6ef76f3b
UD
40746 [BZ #13276]
40747 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40748 return value.
40749
0ffc4f3e 40750 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
40751 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40752 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40753
cb95113e
UD
407542011-07-03 Andreas Jaeger <aj@suse.de>
40755
40756 [BZ #10709]
40757 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40758 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40759 * math/libm-test.inc (sin_test): Add test case.
40760
a1b560ff
UD
407612011-10-29 Ulrich Drepper <drepper@gmail.com>
40762
c9aaface
UD
40763 [BZ #13337]
40764 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40765 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40766
d272e7f1
UD
40767 * elf/chroot_canon.c (chroot_canon): Cleanups.
40768
1bc33071
UD
40769 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40770
1760874d
TJ
40771 [BZ #13335]
40772 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40773 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40774
51d91b18
UD
40775 * string/test-strchr.c: Make usable for strchrnul testing.
40776 * string/test-strchrnul.c: New file.
40777 * string/Makefile (strop-tests): Add strchrnul.
40778
a1b560ff 40779 * po/it.po: Update from translation team.
b611fb81 40780 * po/es.po: Likewise.
a1b560ff 40781
a5b81e1f
UD
407822011-10-28 Ulrich Drepper <drepper@gmail.com>
40783
fd52bc6d
UD
40784 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40785 the three constants needed as parameters. Drop the others.
40786 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40787 __m128i_strloadu_tolower.
52e4b9eb
UD
40788 Create and initialize variable zero and use it in all the places
40789 where _mm_setzero_si128 was used.
fd52bc6d 40790
a5b81e1f
UD
40791 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40792 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40793 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40794 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40795 anymore.
40796 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40797 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40798 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40799 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40800 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40801 __mpranred, __mptan.
40802 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40803 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40804 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40805 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40806 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40807 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40808 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40809 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40810 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40811
b4343346
AS
408122011-10-28 Andreas Schwab <schwab@redhat.com>
40813
0c92d8a8
AS
40814 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40815 redefine if SHARED.
40816 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40817
b4343346
AS
40818 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40819 wide char related routines to wcsmbs subdir.
40820
3871f58f
AS
408212011-10-27 Andreas Schwab <schwab@redhat.com>
40822
40823 [BZ #13344]
40824 * misc/sys/cdefs.h (__THROWNL): Define.
40825 * posix/unistd.h: Use __THREADNL instead of __THREAD
40826 for memory synchronization functions.
40827
94d44d9f
RM
408282011-10-26 Roland McGrath <roland@hack.frob.com>
40829
21b64b15 40830 [BZ #13349]
94d44d9f
RM
40831 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40832 doesn't exist.
40833 * manual/stdio.texi (Obstack Streams): Node removed.
40834
f6ce9294
AS
408352011-10-26 Andreas Schwab <schwab@redhat.com>
40836
80479147
AS
40837 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40838 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40839 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40840
f6ce9294
AS
40841 * math/math_private.h (math_force_eval): Allow non-addressable
40842 arguments.
40843 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40844
618280a1
UD
408452011-10-25 Ulrich Drepper <drepper@gmail.com>
40846
e0016b11
UD
40847 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40848 file is not needed.
40849
40850 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40851 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40852 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40853 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40854 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40855 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40856 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40857 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40858 Add AVX variants.
40859 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40860 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40861 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40862 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40863 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40864 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40865 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40866 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40867 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40868 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40869 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40870 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40871 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40872 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40873 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40874 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40875 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40876 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40877 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40878
40879 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40880 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40881
618280a1
UD
40882 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40883 place. Use VEX encoding when compiling for AVX.
40884
37822576
AS
408852011-10-25 Andreas Schwab <schwab@redhat.com>
40886
1f1e1947
AS
40887 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40888 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40889
37822576
AS
40890 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40891
31ea014d
UD
408922011-10-25 Ulrich Drepper <drepper@gmail.com>
40893
d7826aa1 40894 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 40895 useless if() expression.
d7826aa1
UD
40896 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40897 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40898 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40899 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40900 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40901 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40902 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40903 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40904 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40905 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40906 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40907 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40908 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40909 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40910 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40911 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40912 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40913 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40914 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40915
31ea014d
UD
40916 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40917
16437fec
AS
409182011-10-25 Andreas Schwab <schwab@redhat.com>
40919
40920 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40921 condition.
40922 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40923
31d3cc00
UD
409242011-10-25 Ulrich Drepper <drepper@gmail.com>
40925
40926 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40927 .text section. Avoid duplicate constants.
40928 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40930 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40932 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40933 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40934 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40935 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40936 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40937 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40938 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40939 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40940 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40941 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40942 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40943 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40944 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40945 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40946 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40947 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40948 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40949 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40950 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40951 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40952 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40953 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40954 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40955 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40956 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40957 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40958 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40959 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40960 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40961 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40962 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40963 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40964 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40965 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40966 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40967 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40968 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40969 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40970 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40971 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40972 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40973
58985aa9
UD
409742011-10-24 Ulrich Drepper <drepper@gmail.com>
40975
202c9deb
UD
40976 * sysdeps/x86_64/dla.h: Move to ...
40977 * sysdeps/x86_64/fpu/dla.h: ...here.
40978 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40979 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 40980
af968f62
UD
40981 * config.make.in: Add have-mfma4 entry.
40982 * configure.in: Substitute libc_cv_cc_fma4.
40983 * math/Makefile (dbl-only-routines): Add sincostab.
40984 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40985 Use __sincostab not sincos.
40986 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40987 name is a macro.
40988 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40989 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40990 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40991 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40992 using __copysign.
40993 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40994 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40995 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40996 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40997 and __inv.
40998 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40999 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41000 __copysign.
41001 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41002 define aliases when function name is a macro.
41003 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41004 sysdeps/ieee754/dbl-64/sincos.tbl.
41005 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41006 fma4-enabled routines.
41007 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41008 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41009 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41010 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41011 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41012 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41013 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41014 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41015 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41016 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41017 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41018 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41019 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41020 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41021 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41022 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41023 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41024 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41025 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41026 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41027 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41028 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41029 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41030 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41031 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41032 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41033 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41034 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41035 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41036 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41037
58985aa9
UD
41038 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41039 rename.
41040 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41041 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41042 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41043 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41044 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41045 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41046 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41047 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41048
a201fbcf
AS
410492011-10-24 Andreas Schwab <schwab@redhat.com>
41050
41051 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41052
fc2ee42a
LD
410532011-10-23 Ulrich Drepper <drepper@gmail.com>
41054
bb3129bd
UD
41055 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41056
0275fff8
UD
41057 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41058 prediction.
41059 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41060
2fa2ae85
UD
41061 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41062 Remove unused variable magic_bits.
41063 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41064
fc2ee42a
LD
41065 * string/strnlen.c: Define and use STRNLEN macro.
41066 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41067 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41068 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41069 * wcsmbs/wcslen.c: Define and use WCSLEN.
41070 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41071 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41072 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41073 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41074 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41075 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41076 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41077
ce7dd29f
LD
410782011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41079
41080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41081 strnlen-sse2-no-bsf.
41082 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41083 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41084 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41085 Add strnlen support.
41086 (USE_AS_STRNLEN): New macro.
41087 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41088 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41089 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41090 * sysdeps/x86_64/wcslen.S: New file.
41091
979c70a3
MZ
410922011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41093
41094 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41095 XMM-moves are used for copying on small sizes.
41096
2d09f82f
LD
410972011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41098
41099 * wcsmbs/Makefile (strop-tests): Add wcschr.
41100 * wcsmbs/test-wcschr.c: New file.
41101 * string/test-strchr.c: Update.
41102 Add wcschr support.
41103 (WIDE): New macro.
41104
619fccca
LD
411052011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41106
2d09f82f 41107 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
41108 * wcsmbs/test-wcslen.c: New file.
41109 * string/test-strlen.c: Update.
41110 Add wcslen support.
41111 (WIDE): New macro.
41112
09f699ea
UD
411132011-10-23 Ulrich Drepper <drepper@gmail.com>
41114
41115 * po/it.po: Update from translation team.
41116
95584d3b
LD
411172011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41118
41119 * sysdeps/x86_64/wcscmp.S: Update.
41120 Fix wrong comparison semantics.
41121 wcscmp shall use signed comparison not unsigned.
41122 Don't use substraction to avoid overflow bug.
41123 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41124 * wcsmbc/wcscmp.c: Likewise.
41125 * string/test-strcmp.c: Likewise.
41126 Add new tests to check cases with negative values.
41127
c8b3296b
UD
411282011-10-23 Ulrich Drepper <drepper@gmail.com>
41129
41130 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41131 * sysdeps/x86_64/dla.h: ...here. New file.
41132 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41133 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41134 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41135 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41136 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41137 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41138 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41139 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41140 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41141
246ad57a
AS
411422011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41143
41144 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41145 __ynl_finite aliases.
41146
a1a87169
UD
411472011-10-22 Ulrich Drepper <drepper@gmail.com>
41148
0d355eb7
UD
41149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41150
a1a87169
UD
41151 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41152 define DLA_FMA.
41153 [DLA_FMA] (EMULV): Use DLA_FMA.
41154 [DLA_FMA] (MUL12): Use EMULV.
41155 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41156 that are not needed.
41157 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41158 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41159 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41160 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41161 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41162 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41163 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41164
ee2aafe0
AS
411652011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41166
41167 * math/s_nan.c: Undef __nan.
41168 * math/s_nanf.c: Undef __nanf.
41169 * math/s_nanl.c: Undef __nanl.
41170 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41171 "math_private.h".
41172
bc62c2fb
UD
411732011-10-22 Ulrich Drepper <drepper@gmail.com>
41174
77425c63
UD
41175 * math/s_catan.c: Add branch predictions.
41176 * math/s_catanf.c: Likewise.
41177 * math/s_catanh.c: Likewise.
41178 * math/s_catanhf.c: Likewise.
41179 * math/s_catanhl.c: Likewise.
41180 * math/s_catanl.c: Likewise.
41181 * math/s_cexp.c: Likewise.
41182 * math/s_cexpf.c: Likewise.
41183 * math/s_cexpl.c: Likewise.
41184 * math/s_clog.c: Likewise.
41185 * math/s_clog10.c: Likewise.
41186 * math/s_clog10f.c: Likewise.
41187 * math/s_clog10l.c: Likewise.
41188 * math/s_clogf.c: Likewise.
41189 * math/s_clogl.c: Likewise.
41190 * math/s_csqrt.c: Likewise.
41191 * math/s_csqrtf.c: Likewise.
41192 * math/s_csqrtl.c: Likewise.
41193 * math/s_ctanf.c: Likewise.
41194 * math/s_ctanh.c: Likewise.
41195 * math/s_ctanhf.c: Likewise.
41196 * math/s_ctanhl.c: Likewise.
41197 * math/s_ctanl.c: Likewise.
41198
bc62c2fb
UD
41199 * math/math_private.h: Define __nan, __nanf, __nanl.
41200 * math/s_cacosh.c: Include <math_private.h>.
41201 * math/s_cacoshl.c: Likewise.
41202 * math/s_casinh.c: Likewise.
41203 * math/s_casinhf.c: Likewise.
41204 * math/s_casinhl.c: Likewise.
41205 * math/s_ccos.c: Rely entire on ccosh.
41206 * math/s_ccosf.c: Rely entire on ccoshf.
41207 * math/s_ccosl.c: Rely entirely on ccoshl.
41208 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41209 Remove tests for FE_INVALID.
41210 * math/s_ccoshf.c: Likewise.
41211 * math/s_ccoshl.c: Likewise.
41212 * math/s_csin.c: Likewise.
41213 * math/s_csinf.c: Likewise.
41214 * math/s_csinh.c Likewise.
41215 * math/s_csinhf.c: Likewise.
41216 * math/s_csinhl.c: Likewise.
41217 * math/s_csinl.c: Likewise.
41218 * math/s_ctan.c: Likewise.
41219 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41220 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41221 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41222
8ec250a4
UD
412232011-10-21 Ulrich Drepper <drepper@gmail.com>
41224
c196fed8
UD
41225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41226 compilation problems.
41227
8ec250a4
UD
41228 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41229 __builtin_expect.
41230
8d4f46c6
UD
412312011-10-20 Ulrich Drepper <drepper@gmail.com>
41232
ed72b654
UD
41233 * sysdeps/i386/configure.in: Test for -mfma4 option.
41234 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41235 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41236 COMMON_CPUID_INDEX_80000001.
41237 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41238 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41239 use it if FMA3 is not supported.
41240 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41241
8d4f46c6
UD
41242 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41243 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41244
d45c60c2
AS
412452011-10-20 Andreas Schwab <schwab@redhat.com>
41246
41247 [BZ #12892]
41248 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41249 it would create a cycle with a link time dependency.
41250
d9a4d2ab
UD
412512011-10-19 Ulrich Drepper <drepper@gmail.com>
41252
855d1560
UD
41253 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41254 instruction.
41255 * string/Makefile (strop-tests): Add rawmemchr.
41256 * string/test-rawmemchr.c: New file.
41257
d9a4d2ab
UD
41258 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41259 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41260 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41261 when compiling str{,n}casecmp and when AVX is available. Hook up
41262 new optimized code in initializers.
41263
8f3b1ffe
AS
412642011-10-19 Andreas Schwab <schwab@redhat.com>
41265
41266 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41267 __feraiseexcept instead of feraiseexcept.
41268
d38f1dba
UD
412692011-10-18 Ulrich Drepper <drepper@gmail.com>
41270
d9a8d0ab
UD
41271 * math/math_private.h: Define defaults for libc_fetestexcept and
41272 libc_feupdateenv.
41273 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41274 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41275 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41276 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41277 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41278 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41279 libc_fetestexcept and libc_feupdateenv.
41280
4855e3dd
UD
41281 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41282 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41283 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41284 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41285 libc_feholdexcept_setround.
41286
581d30e3
UD
41287 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41288 Add s_nearbyint-c and s_nearbyintf-c.
41289 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41290 nearbyintf inlines.
41291 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41292 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41293 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41294 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41295
d38f1dba
UD
41296 * math/math_private.h: Define defaults for libc_fegetround,
41297 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41298 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41299 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41300 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41301 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41302 standard functions.
41303 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41304 Remove comments and hacks for old compiler versions.
41305 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41306 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41307 libc_feholdexceptl.
41308
caa6c9d8
AS
413092011-10-18 Andreas Schwab <schwab@redhat.com>
41310
41311 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
41312 (__feraiseexcept_renamed): Add __NTH.
41313 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
41314 namespace violations.
41315
97c066e6
UD
413162011-10-17 Ulrich Drepper <drepper@gmail.com>
41317
99ce7b04
UD
41318 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41319
1004d182
UD
41320 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41321
228a984d
UD
41322 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41323 recently added interfaces.
41324 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41325
c8553a6a
UD
41326 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41327 about macro parameter expansion.
41328
ed22dcf6
UD
41329 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41330 __NO_MATH_INLINES is defined. Cleanups.
41331
41332 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41333 and __floorf is target has SSE4.1.
41334 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41335 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41336 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41337 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41338
b171c137
UD
41339 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41340 name.
41341 (floorf): Likewise.
41342
97c066e6
UD
41343 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41344
629f62ef
AS
413452011-10-17 Andreas Schwab <schwab@redhat.com>
41346
49a43d80
AS
41347 * misc/sys/cdefs.h: Fix last change.
41348
629f62ef
AS
41349 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41350 database lookup.
41351
e453f6cd
UD
413522011-10-16 Ulrich Drepper <drepper@gmail.com>
41353
aa78043a
UD
41354 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41355
ad0f5cad
UD
41356 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41357 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41358 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41359 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41360 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41361 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41362 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41363 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41364 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41365 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41366 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41367 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41368 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41369 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41370 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41371 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41372 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41373 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41374 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41375 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41376 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41377 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41378
41379 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41380 ceil, ceilf, floor, floorf.
41381
41382 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41383 Perform IRELATIVE relocations last.
41384
e453f6cd
UD
41385 * elf/do-rel.h: Add another parameter nrelative, replacing the
41386 local variable with the same name. Change name of the function
41387 to end in Rel or Rela (uppercase).
41388 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41389 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41390 elf_dynamic_do_##reloc function.
41391
fd5bdc09
UD
413922011-10-15 Ulrich Drepper <drepper@gmail.com>
41393
79b195b5
UD
41394 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41395 is sufficient, at least on modern CPUs.
41396
d4a28569
UD
41397 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41398
b61099b5
UD
41399 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41400 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41401
bcf01e6d
UD
41402 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41403 __expl_finite.
41404 * math/bits/math-finite.h: Add entries for exp.
41405 * math/e_expl.c: Add __*_finite alias.
41406 * sysdeps/i386/fpu/e_exp.S: Likewise.
41407 * sysdeps/i386/fpu/e_expf.S: Likewise.
41408 * sysdeps/i386/fpu/e_expl.c: Likewise.
41409 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41410 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41411 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41412 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41413 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41414 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41415 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41416
ba1a0d59
UD
41417 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41418 is sufficient, at least on modern CPUs.
41419
fd5bdc09
UD
41420 * ctype/ctype-info.c (__ctype_init): Define.
41421 * include/ctype.h (__ctype_init): Declare.
41422 (__ctype_b_loc): The variable is always initialized.
41423 (__ctype_toupper_loc): Likewise.
41424 (__ctype_tolower_loc): Likewise.
41425 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41426 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41427
7872cfb0
AS
414282011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41429
b468825a
AS
41430 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41431
7872cfb0
AS
41432 * configure.in: Also look in $cxxmachine/include for C++ system
41433 headers.
41434
be13f7bf
LD
414352011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41436
41437 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41438 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41439 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41440 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41441 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41442 (USE_AS_WMEMCMP): New macro.
41443 Fixing indents.
41444 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41445 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41446 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41447 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41449 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41450 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41451 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41452 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41453 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41454 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41455 (USE_AS_WMEMCMP): New macro.
41456 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41457 * sysdeps/string/test-memcmp.c: Update.
41458 Fix simple_wmemcmp.
41459 Add new tests.
41460 * wcsmbs/wmemcmp.c: Update.
41461 (WMEMCMP): New macro.
41462 Fix overflow bug.
41463
556a2007
AJ
414642011-10-12 Andreas Jaeger <aj@suse.de>
41465
41466 [BZ #13268]
41467 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41468
538faaa7
UD
414692011-10-15 Ulrich Drepper <drepper@gmail.com>
41470
ab6737ff
UD
41471 * libio/iofwide.c (do_length): Avoid warning.
41472
538faaa7
UD
41473 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41474
396a21b1
UD
414752011-10-14 Ulrich Drepper <drepper@gmail.com>
41476
cdf2901f
UD
41477 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41478
38ad40ce
UD
41479 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41480 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41481 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41482 * sysdeps/i386/i686/fpu/e_log.S: New file.
41483 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41484 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41485
396a21b1
UD
41486 * ctype/ctype.h: Add support for inlined isXXX functions when
41487 compiling C++ code.
41488
6b1f68c9
AS
414892011-10-14 Andreas Schwab <schwab@redhat.com>
41490
349290c0
AS
41491 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41492
6b1f68c9
AS
41493 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41494
f2282d42
RM
414952011-10-13 Roland McGrath <roland@hack.frob.com>
41496
41497 [BZ #13291]
41498 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41499
5298ffa8
AS
415002011-10-13 Andreas Schwab <schwab@redhat.com>
41501
714fad23
AS
41502 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41503 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41504 feraiseexcept.
41505
81dcc7fb
AS
41506 * sysdeps/x86_64/memrchr.S: Check for zero size.
41507
5298ffa8
AS
41508 * string/stratcliff.c: Add memrchr tests.
41509
951fbcec
LD
415102011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41511
41512 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41513 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41514 rawmemchr-sse2 rawmemchr-sse2-bsf.
41515 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41516 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41517 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41518 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41519 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41520 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41521 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41522 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41523 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41524 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41525 * string/memrchr.c (MEMRCHR): New macro.
41526
0ac5ae23
UD
415272011-10-12 Ulrich Drepper <drepper@gmail.com>
41528
41529 Add integration with gcc's -ffinite-math-only and optimize wrapper
41530 functions in libm.
41531 * Versions.def: Define GLIBC_2.15 version for libm.
41532 * math/Makefile (headers): Add bits/math-finite.h.
41533 * math/bits/math-finite.h: New file.
41534 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41535 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41536 * math/e_acoshl.c: Add __*_finite alias.
41537 * math/e_acosl.c: Likewise.
41538 * math/e_asinl.c: Likewise.
41539 * math/e_atan2l.c: Likewise.
41540 * math/e_atanhl.c: Likewise.
41541 * math/e_coshl.c: Likewise.
41542 * math/e_exp10.c: Likewise.
41543 * math/e_exp10f.c: Likewise.
41544 * math/e_exp10l.c: Likewise.
41545 * math/e_exp2l.c: Likewise.
41546 * math/e_fmodl.c: Likewise.
41547 * math/e_gammal_r.c: Likewise.
41548 * math/e_hypotl.c: Likewise.
41549 * math/e_j0l.c: Likewise.
41550 * math/e_j1l.c: Likewise.
41551 * math/e_jnl.c: Likewise.
41552 * math/e_lgammal_r.c: Likewise.
41553 * math/e_log10l.c: Likewise.
41554 * math/e_log2l.c: Likewise.
41555 * math/e_logl.c: Likewise.
41556 * math/e_powl.c: Likewise.
41557 * math/e_sinhl.c: Likewise.
41558 * math/e_sqrtl.c: Likewise.
41559 * math/e_scalb.c: Completely rewritten and optimized.
41560 * math/e_scalbf.c: Likewise.
41561 * math/e_scalbl.c: Likewise.
41562 * math/w_acos.c: Likewise.
41563 * math/w_acosf.c: Likewise.
41564 * math/w_acosl.c: Likewise.
41565 * math/w_acosh.c: Likewise.
41566 * math/w_acoshf.c: Likewise.
41567 * math/w_acoshl.c: Likewise.
41568 * math/w_asin.c: Likewise.
41569 * math/w_asinf.c: Likewise.
41570 * math/w_asinl.c: Likewise.
41571 * math/w_atan2.c: Likewise.
41572 * math/w_atan2f.c: Likewise.
41573 * math/w_atan2l.c: Likewise.
41574 * math/w_atanh.c: Likewise.
41575 * math/w_atanhf.c: Likewise.
41576 * math/w_atanhl.c: Likewise.
41577 * math/w_exp10.c: Likewise.
41578 * math/w_exp10f.c: Likewise.
41579 * math/w_exp10l.c: Likewise.
41580 * math/w_fmod.c: Likewise.
41581 * math/w_fmodf.c: Likewise.
41582 * math/w_fmodl.c: Likewise.
41583 * math/w_j0.c: Likewise.
41584 * math/w_j0f.c: Likewise.
41585 * math/w_j0l.c: Likewise.
41586 * math/w_j1.c: Likewise.
41587 * math/w_j1f.c: Likewise.
41588 * math/w_j1l.c: Likewise.
41589 * math/w_jn.c: Likewise.
41590 * math/w_jnf.c: Likewise.
41591 * math/w_log.c: Likewise.
41592 * math/w_logf.c: Likewise.
41593 * math/w_logl.c: Likewise.
41594 * math/w_log10.c: Likewise.
41595 * math/w_log10f.c: Likewise.
41596 * math/w_log10l.c: Likewise.
41597 * math/w_log2.c: Likewise.
41598 * math/w_log2f.c: Likewise.
41599 * math/w_log2l.c: Likewise.
41600 * math/w_pow.c: Likewise.
41601 * math/w_powf.c: Likewise.
41602 * math/w_powl.c: Likewise.
41603 * math/w_remainder.c: Likewise.
41604 * math/w_remainderf.c: Likewise.
41605 * math/w_remainderl.c: Likewise.
41606 * math/w_scalb.c: Likewise.
41607 * math/w_scalbf.c: Likewise.
41608 * math/w_scalbl.c: Likewise.
41609 * math/w_sqrt.c: Likewise.
41610 * math/w_sqrtf.c: Likewise.
41611 * math/w_sqrtl.c: Likewise.
41612 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41613 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41614 used.
41615 * math/math_private.h: Declare __kernel_standard_f.
41616 * math/w_cosh.c: Remove cruft and optimize a bit.
41617 * math/w_coshf.c: Likewise.
41618 * math/w_coshl.c: Likewise.
41619 * math/w_exp2.c: Likewise.
41620 * math/w_exp2f.c: Likewise.
41621 * math/w_exp2l.c: Likewise.
41622 * math/w_hypot.c: Likewise.
41623 * math/w_hypotf.c: Likewise.
41624 * math/w_hypotl.c: Likewise.
41625 * math/w_lgamma.c: Likewise.
41626 * math/w_lgamma_r.c: Likewise.
41627 * math/w_lgammaf.c: Likewise.
41628 * math/w_lgammaf_r.c: Likewise.
41629 * math/w_lgammal.c: Likewise.
41630 * math/w_lgammal_r.c: Likewise.
41631 * math/w_sinh.c: Likewise.
41632 * math/w_sinhf.c: Likewise.
41633 * math/w_sinhl.c: Likewise.
41634 * math/w_tgamma.c: Likewise.
41635 * math/w_tgammaf.c: Likewise.
41636 * math/w_tgammal.c: Likewise.
41637 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41638 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41639 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41640 Minor optimizations. Pretty printing. Remove cruft.
41641 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41642 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41643 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41644 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41645 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41646 * sysdeps/i386/fpu/e_asin.S: Likewise.
41647 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41648 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41649 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41650 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41651 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41652 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41653 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41654 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41655 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41656 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41657 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41658 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41659 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41660 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41661 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41662 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41663 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41664 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41665 * sysdeps/i386/fpu/e_log.S: Likewise.
41666 * sysdeps/i386/fpu/e_log10.S: Likewise.
41667 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41668 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41669 * sysdeps/i386/fpu/e_log2.S: Likewise.
41670 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41671 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41672 * sysdeps/i386/fpu/e_logf.S: Likewise.
41673 * sysdeps/i386/fpu/e_logl.S: Likewise.
41674 * sysdeps/i386/fpu/e_pow.S: Likewise.
41675 * sysdeps/i386/fpu/e_powf.S: Likewise.
41676 * sysdeps/i386/fpu/e_powl.S: Likewise.
41677 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41678 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41679 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41680 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41681 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41682 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41683 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41684 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41685 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41686 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41687 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41688 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41689 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41690 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41691 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41692 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41693 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41694 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41695 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41696 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41697 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41698 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41699 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41700 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41701 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41702 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41703 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41704 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41705 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41706 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41707 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41708 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41709 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41710 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41711 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41712 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41713 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41714 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41715 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41716 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41717 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41718 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41719 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41720 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41721 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41722 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41723 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41724 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41725 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41726 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41727 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41728 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41729 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41730 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41731 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41732 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41733 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41734 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41735 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41736 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41737 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41738 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41739 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41740 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41741 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41742 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41743 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41744 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41745 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41746 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41747 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41748 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41749 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41750 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41751 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41752 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41753 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41754 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41755 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41756 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41757 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41758 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41759 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41760 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41761 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41762 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41763 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41764 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41765 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41766 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41767 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41768 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41769 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41770 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41771 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41772 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41773 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41774 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41775 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41776 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41777 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41778 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41779 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41780 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41781 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41782 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41783 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41784 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41785 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41786 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41787 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41788 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41789 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41790 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41791 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41792 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41793 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41794 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41795 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41796 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41797 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41798 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41799 (__isnanf): Likewise.
41800 (__isinf_ns): Likewise.
41801 (__isinf_nsf): Likewise.
41802 (__finite): Likewise.
41803 (__finitef): Likewise.
41804 (__ieee754_sqrt): Define as macro.
41805 (__ieee754_sqrtf): Define as macro.
41806 (__ieee754_sqrtl): Define as macro.
41807 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41808 inlined copy.
41809 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41810 __FINITE_MATH_ONLY__ consistent.
41811 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41812
12cc2fcd
AS
418132011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41814
a843a204
AS
41815 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41816 of rawmemchr.
41817
12cc2fcd
AS
41818 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41819
c853acd5
UD
418202011-10-09 Ulrich Drepper <drepper@gmail.com>
41821
41822 * po/ja.po: Update from translation team.
41823
c658d255
RM
418242011-10-08 Roland McGrath <roland@hack.frob.com>
41825
110946e4
RM
41826 * locale/programs/locarchive.c (prepare_address_space): New function.
41827 (create_archive, enlarge_archive, open_archive): Use it.
41828
50604220
RM
41829 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41830 inside [SHARED], where it is used.
41831
c658d255
RM
41832 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41833
41834 * nss/getent.c (netgroup_keys): Remove unused variable.
41835 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41836
6a621eb7
UD
418372011-10-08 Ulrich Drepper <drepper@gmail.com>
41838
7edb55ce
UD
41839 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41840 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41841 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41842 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41843 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41844 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41845 * math/Makefile (libm-calls): Add s_isinf_ns.
41846 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41847 * math/multc3.c: Likewise.
41848 * math/s_casin.c: Likewise.
41849 * math/s_casinf.c: Likewise.
41850 * math/s_casinl.c: Likewise.
41851 * math/s_ccos.c: Likewise.
41852 * math/s_ccosf.c: Likewise.
41853 * math/s_ccosl.c: Likewise.
41854 * math/s_ctan.c: Likewise.
41855 * math/s_ctanf.c: Likewise.
41856 * math/s_ctanh.c: Likewise.
41857 * math/s_ctanhf.c: Likewise.
41858 * math/s_ctanhl.c: Likewise.
41859 * math/s_ctanl.c: Likewise.
41860 * math/w_fmod.c: Likewise.
41861 * math/w_fmodf.c: Likewise.
41862 * math/w_fmodl.c: Likewise.
41863 * math/w_remainder.c: Likewise.
41864 * math/w_remainderf.c: Likewise.
41865 * math/w_remainderl.c: Likewise.
41866 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41867 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41868 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41869 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41870 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41871 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41872 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41873 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41874
187da0ae
UD
41875 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41876 of the number.
41877 * stdio-common/printf_fphex.c: Likewise.
41878 * stdio-common/printf_size.c: Likewise.
41879
9277c064
UD
41880 * math/e_exp10.c: Include math_private.h using <...> not "...".
41881 * math/e_exp10f.c: Likewise.
41882 * math/e_exp10l.c: Likewise.
41883 * math/e_exp2l.c: Likewise.
41884 * math/e_j0l.c: Likewise.
41885 * math/e_j1l.c: Likewise.
41886 * math/e_jnl.c: Likewise.
41887 * math/e_lgammal_r.c: Likewise.
41888 * math/e_rem_pio2l.c: Likewise.
41889 * math/e_scalb.c: Likewise.
41890 * math/e_scalbf.c: Likewise.
41891 * math/e_scalbl.c: Likewise.
41892 * math/k_cosl.c: Likewise.
41893 * math/k_sinl.c: Likewise.
41894 * math/k_tanl.c: Likewise.
41895 * math/s_cacoshf.c: Likewise.
41896 * math/s_catan.c: Likewise.
41897 * math/s_catanf.c: Likewise.
41898 * math/s_catanh.c: Likewise.
41899 * math/s_catanhf.c: Likewise.
41900 * math/s_catanhl.c: Likewise.
41901 * math/s_catanl.c: Likewise.
41902 * math/s_ccosh.c: Likewise.
41903 * math/s_ccoshf.c: Likewise.
41904 * math/s_ccoshl.c: Likewise.
41905 * math/s_cexp.c: Likewise.
41906 * math/s_cexpf.c: Likewise.
41907 * math/s_cexpl.c: Likewise.
41908 * math/s_clog.c: Likewise.
41909 * math/s_clog10.c: Likewise.
41910 * math/s_clog10f.c: Likewise.
41911 * math/s_clog10l.c: Likewise.
41912 * math/s_clogf.c: Likewise.
41913 * math/s_clogl.c: Likewise.
41914 * math/s_csin.c: Likewise.
41915 * math/s_csinf.c: Likewise.
41916 * math/s_csinh.c: Likewise.
41917 * math/s_csinhf.c: Likewise.
41918 * math/s_csinhl.c: Likewise.
41919 * math/s_csinl.c: Likewise.
41920 * math/s_csqrt.c: Likewise.
41921 * math/s_csqrtf.c: Likewise.
41922 * math/s_csqrtl.c: Likewise.
41923 * math/s_ctan.c: Likewise.
41924 * math/s_ctanf.c: Likewise.
41925 * math/s_ctanh.c: Likewise.
41926 * math/s_ctanhf.c: Likewise.
41927 * math/s_ctanhl.c: Likewise.
41928 * math/s_ctanl.c: Likewise.
41929 * math/s_ldexp.c: Likewise.
41930 * math/s_ldexpf.c: Likewise.
41931 * math/s_ldexpl.c: Likewise.
41932 * math/s_significand.c: Likewise.
41933 * math/s_significandf.c: Likewise.
41934 * math/s_significandl.c: Likewise.
41935 * math/w_acos.c: Likewise.
41936 * math/w_acosf.c: Likewise.
41937 * math/w_acosh.c: Likewise.
41938 * math/w_acoshf.c: Likewise.
41939 * math/w_acoshl.c: Likewise.
41940 * math/w_acosl.c: Likewise.
41941 * math/w_asin.c: Likewise.
41942 * math/w_asinf.c: Likewise.
41943 * math/w_asinl.c: Likewise.
41944 * math/w_atan2.c: Likewise.
41945 * math/w_atan2f.c: Likewise.
41946 * math/w_atan2l.c: Likewise.
41947 * math/w_atanh.c: Likewise.
41948 * math/w_atanhf.c: Likewise.
41949 * math/w_atanhl.c: Likewise.
41950 * math/w_cosh.c: Likewise.
41951 * math/w_coshf.c: Likewise.
41952 * math/w_coshl.c: Likewise.
41953 * math/w_dremf.c: Likewise.
41954 * math/w_exp10.c: Likewise.
41955 * math/w_exp10f.c: Likewise.
41956 * math/w_exp10l.c: Likewise.
41957 * math/w_exp2.c: Likewise.
41958 * math/w_exp2f.c: Likewise.
41959 * math/w_fmod.c: Likewise.
41960 * math/w_fmodf.c: Likewise.
41961 * math/w_fmodl.c: Likewise.
41962 * math/w_hypot.c: Likewise.
41963 * math/w_hypotf.c: Likewise.
41964 * math/w_hypotl.c: Likewise.
41965 * math/w_j0.c: Likewise.
41966 * math/w_j0f.c: Likewise.
41967 * math/w_j0l.c: Likewise.
41968 * math/w_j1.c: Likewise.
41969 * math/w_j1f.c: Likewise.
41970 * math/w_j1l.c: Likewise.
41971 * math/w_jn.c: Likewise.
41972 * math/w_jnf.c: Likewise.
41973 * math/w_jnl.c: Likewise.
41974 * math/w_lgamma.c: Likewise.
41975 * math/w_lgamma_r.c: Likewise.
41976 * math/w_lgammaf.c: Likewise.
41977 * math/w_lgammaf_r.c: Likewise.
41978 * math/w_lgammal.c: Likewise.
41979 * math/w_lgammal_r.c: Likewise.
41980 * math/w_log.c: Likewise.
41981 * math/w_log10.c: Likewise.
41982 * math/w_log10f.c: Likewise.
41983 * math/w_log10l.c: Likewise.
41984 * math/w_log2.c: Likewise.
41985 * math/w_log2f.c: Likewise.
41986 * math/w_log2l.c: Likewise.
41987 * math/w_logf.c: Likewise.
41988 * math/w_logl.c: Likewise.
41989 * math/w_pow.c: Likewise.
41990 * math/w_powf.c: Likewise.
41991 * math/w_powl.c: Likewise.
41992 * math/w_remainder.c: Likewise.
41993 * math/w_remainderf.c: Likewise.
41994 * math/w_remainderl.c: Likewise.
41995 * math/w_scalb.c: Likewise.
41996 * math/w_scalbf.c: Likewise.
41997 * math/w_scalbl.c: Likewise.
41998 * math/w_sinh.c: Likewise.
41999 * math/w_sinhf.c: Likewise.
42000 * math/w_sinhl.c: Likewise.
42001 * math/w_sqrt.c: Likewise.
42002 * math/w_sqrtf.c: Likewise.
42003 * math/w_sqrtl.c: Likewise.
42004 * math/w_tgamma.c: Likewise.
42005 * math/w_tgammaf.c: Likewise.
42006 * math/w_tgammal.c: Likewise.
42007
6a621eb7
UD
42008 * po/ja.po: Update from translation team.
42009
bf582445
AJ
420102011-09-29 Andreas Jaeger <aj@suse.de>
42011
f9efbf3a
AJ
42012 [BZ #13179]
42013 * sunrpc/netname.c (netname2host): Fix logic.
42014
bf582445
AJ
42015 [BZ #6779]
42016 [BZ #6783]
42017 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42018 correctly.
42019 * math/w_remainder.c (__remainder): Likewise.
42020 * math/w_remainderf.c (__remainderf): Likewise.
42021 * math/libm-test.inc (remainder_test): Add test cases.
42022
48693bea
AK
420232011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42024
42025 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42026 sdiv_qrnnd.
42027
42622229
LD
420282011-10-07 Ulrich Drepper <drepper@gmail.com>
42029
42030 * string/test-memcmp.c: Avoid unncessary #defines.
42031 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42032
093ecf92
LD
420332011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42034
42035 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42036 Use new sse2 version for core i3 - i7 as it's faster
42037 than sse42 version.
42038 (bit_Prefer_PMINUB_for_stringop): New.
42039 * sysdeps/x86_64/rawmemchr.S: Update.
42040 Replace with faster SSE2 version.
42041 * sysdeps/x86_64/memrchr.S: New file.
42042 * sysdeps/x86_64/memchr.S: Update.
42043 Replace with faster SSE2 version.
42044
fde56e5c
MP
420452011-09-12 Marek Polacek <mpolacek@redhat.com>
42046
42047 * elf/dl-load.c (lose): Add cast to avoid warning.
42048
21fd49a9
UD
420492011-10-07 Ulrich Drepper <drepper@gmail.com>
42050
5a06e643
UD
42051 * po/ca.po: Update from translation team.
42052
684ae515
UD
42053 * inet/getnetgrent_r.c: Hook up nscd.
42054 * nscd/Makefile (routines): Add nscd_netgroup.
42055 (nscd-modules): Add netgroupcache.
42056 (CFLAGS-netgroupcache.c): Define.
42057 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42058 (cache_search): Add const to second parameter.
42059 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42060 INNETGR.
42061 (dbs): Add netgrdb entry.
42062 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42063 (verify_persistent_db): Handle netgrdb.
42064 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42065 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42066 GETFDNETGR.
42067 (netgroup_response_header): Define.
42068 (innetgroup_response_header): Define.
42069 (datahead): Add netgroup_response_header and innetgroup_response_header
42070 elements.
42071 * nscd/nscd.conf: Add entries for netgroup cache.
42072 * nscd/nscd.h (dbtype): Add netgrdb.
42073 (_PATH_NSCD_NETGROUP_DB): Define.
42074 (netgroup_iov_disabled): Declare.
42075 (xmalloc, xcalloc, xrealloc): Move declarations here.
42076 (cache_search): Adjust prototype.
42077 Add netgroup-related prototypes.
42078 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42079 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42080 (__nscd_innetgr): Declare.
42081 * nscd/selinux.c (perms): Use access_vector_t as element type and
42082 add netgroup-related initializers.
42083 * nscd/netgroupcache.c: New file.
42084 * nscd/nscd_netgroup.c: New file.
42085 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42086 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42087 For four parameters use innetgr.
42088 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42089 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42090 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42091 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42092
21fd49a9
UD
42093 * nscd/connections.c (register_traced_file): Don't register file
42094 for disabled databases.
42095
054c0457
UD
420962011-10-06 Ulrich Drepper <drepper@gmail.com>
42097
32b63198
UD
42098 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42099
054c0457
UD
42100 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42101 from tree and freeing node.
42102
64031225
JO
421032011-09-25 Jiri Olsa <jolsa@redhat.com>
42104
42105 * nss/nsswitch.c (__nss_database_lookup): Handle
42106 nss_parse_service_list out of memory case.
42107
0490345c
JO
421082011-09-15 Jiri Olsa <jolsa@redhat.com>
42109
42110 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42111 out of memory case.
42112
3a62d00d
AS
421132011-10-04 Andreas Schwab <schwab@redhat.com>
42114
42115 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42116 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42117 pass it down.
42118 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42119 elf_machine_rela, elf_machine_lazy_rel.
42120 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42121 (ELF_DYNAMIC_DO_REL): Likewise.
42122 (ELF_DYNAMIC_DO_RELA): Likewise.
42123 (ELF_DYNAMIC_RELOCATE): Likewise.
42124 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42125 to ELF_DYNAMIC_DO_REL.
42126 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42127 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42128 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42129 elf_machine_rela.
42130 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42131 skip_ifunc, don't call ifunc function if non-zero.
42132 (elf_machine_rela): Likewise.
42133 (elf_machine_lazy_rel): Likewise.
42134 (elf_machine_lazy_rela): Likewise.
42135 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42136 (elf_machine_lazy_rel): Likewise.
42137 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42138 Likewise.
42139 (elf_machine_lazy_rel): Likewise.
42140 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42141 Likewise.
42142 (elf_machine_lazy_rel): Likewise.
42143 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42144 (elf_machine_lazy_rel): Likewise.
42145 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42146 (elf_machine_lazy_rel): Likewise.
42147 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42148 (elf_machine_lazy_rel): Likewise.
42149 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42150 (elf_machine_lazy_rel): Likewise.
42151 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42152 (elf_machine_lazy_rel): Likewise.
42153 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42154 (elf_machine_lazy_rel): Likewise.
42155
68577918
UD
421562011-09-28 Ulrich Drepper <drepper@gmail.com>
42157
42158 * nss/nss_files/files-init.c (_nss_files_init): Use static
42159 initialization for all the *_traced_file variables.
42160
68822d74
AS
421612011-09-28 Andreas Schwab <schwab@redhat.com>
42162
42163 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42164
2056100b
RM
421652011-09-27 Roland McGrath <roland@hack.frob.com>
42166
42167 [BZ #13226]
42168 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42169
32c76b63
AS
421702011-09-27 Andreas Schwab <schwab@redhat.com>
42171
42172 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42173 Reread the line before reparsing it.
42174
bf972c9d
AS
421752011-09-26 Andreas Schwab <schwab@redhat.com>
42176
42177 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42178
e057a1b5
JM
421792011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42180 Maxim Kuvyrkov <maxim@codesourcery.com>
42181 Joseph Myers <joseph@codesourcery.com>
42182
42183 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42184 if needed for __stack_chk_guard.
42185
bc7e1c36
RM
421862011-09-19 Roland McGrath <roland@hack.frob.com>
42187
ecb1482f
RM
42188 * sysdeps/posix/spawni.c (script_execute): Always define it.
42189 It will be optimized away if unused.
42190 (maybe_script_execute): New function.
42191 (__spawni): Call it.
42192
bc7e1c36
RM
42193 * Makerules: Don't include tls.make.
42194 (config-tls): Always set to thread.
42195 * tls.make.c: File removed.
42196
1c3b002b
MF
421972011-09-19 Mike Frysinger <vapier@gentoo.org>
42198
42199 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42200 * config.make.in (CPPFLAGS-config): New substituted variable.
42201
2840865d
UD
422022011-09-15 Ulrich Drepper <drepper@gmail.com>
42203
88738eb6
UD
42204 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42205
cbf645a6 42206 [BZ #13192]
2840865d
UD
42207 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42208 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42209
b402e91a
RM
422102011-09-15 Roland McGrath <roland@hack.frob.com>
42211
42212 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42213 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42215 (CALL_FAIL): Likewise.
42216 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42217 (CALL_FAIL): Macro removed.
42218 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42219
4c1a1f71
UD
422202011-09-15 Ulrich Drepper <drepper@gmail.com>
42221
42222 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42223 for __FINITE_MATH_ONLY__ == 1.
42224
edc121be
AS
422252011-09-15 Andreas Schwab <schwab@redhat.com>
42226
42227 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42228 __ieee754_sqrt instead of sqrt.
42229 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42230 __ieee754_sqrtf instead of sqrtf.
42231 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42232 __floorf instead of floorf.
42233 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42234 __floorf, __truncf instead of floorf, truncf.
42235
cd205654
UD
422362011-09-14 Ulrich Drepper <drepper@gmail.com>
42237
ee4d0315
UD
42238 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42239
cd205654
UD
42240 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42241 __extern_always_inline.
42242 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42243 32-bit.
42244
48b67d71
AS
422452011-09-14 Andreas Schwab <schwab@redhat.com>
42246
42247 * elf/rtld.c (dl_main): Also relocate in dependency order when
42248 doing symbol dependency testing.
42249
1ae12c75
AS
422502011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42251
42252 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42253 Always define `refsym'.
42254
995a80df
AS
422552011-09-13 Andreas Schwab <schwab@redhat.com>
42256
e529793b
AS
42257 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42258 (__FD_ELT): Renamed from __FDELT.
42259 * misc/bits/select2.h (__FD_ELT): Likewise.
42260 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42261 __FD_MASK instead of __FDELT, __FDMASK.
42262 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42263 Likewise.
42264 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42265 Likewise.
42266
52d4fef8
AS
42267 * elf/Makefile (gen-ldd): Fix pattern.
42268
995a80df
AS
42269 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42270 (init_tls): Likewise.
42271
8682f8b0
UD
422722011-09-12 Ulrich Drepper <drepper@gmail.com>
42273
42274 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42275
de82006d
AS
422762011-09-12 Andreas Schwab <schwab@redhat.com>
42277
a7c8e6a1
AS
42278 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42279 `struct cmsghdr *' instead of `void *'.
42280 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42281 Likewise.
42282
0f31fe77
AS
422832011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42284
42285 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42286 if non-absolute.
42287 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42288 ldd_rewrite_script.
0f31fe77 42289
32b4c839
UD
422902011-09-11 Ulrich Drepper <drepper@gmail.com>
42291
83cd1420
UD
42292 * configure.in: Remove --with-tls option.
42293 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42294 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42295 out in case it is missing.
42296 * sysdeps/ia64/elf/configure.in: Likewise.
42297 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42298 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42299 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42300 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42301 * sysdeps/sh/elf/configure.in: Likewise.
42302 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42303 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42304 * sysdeps/x86_64/elf/configure.in: Likewise.
42305 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42306 * sysdeps/mach/hurd/tls.h: Likewise.
42307
633f745d
UD
42308 [BZ #13067]
42309 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42310
f318beb8
UD
42311 [BZ #13090]
42312 * configure.in: Fix use of AC_INIT.
42313
32b4c839
UD
42314 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42315
3ce1f295
UD
423162011-09-10 Ulrich Drepper <drepper@gmail.com>
42317
bb016596
UD
42318 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42319 __set_errno.
8e58439c
UD
42320 * malloc/hooks.c: Likewise.
42321
aebae053 42322 [BZ #11929]
02d46fc4
UD
42323 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42324 variables statically.
42325 (narenas): Initialize.
42326 (list_lock): Initialize.
bb016596
UD
42327 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42328 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
42329 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42330 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42331 Add initializers to main_arena and mp_.
42332 (malloc_state): Remove pagesize member. Change all users to use
42333 GLRO(dl_pagesize).
42334
42335 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42336 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42337 is always initialized.
42338
22a89187
UD
42339 * malloc/malloc.c: Removed unused configurations and dead code.
42340 * malloc/arena.c: Likewise.
42341 * malloc/hooks.c: Likewise.
02d46fc4 42342 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 42343
d063d164
UD
42344 * include/tls.h: Removed. USE___THREAD must always be defined.
42345 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42346 * elf/dl-libc.c: Likewise.
42347 * elf/dl-tsd.c: Likewise.
42348 * include/errno.h: Likewise.
42349 * include/netdb.h: Likewise.
42350 * include/resolv.h: Likewise.
42351 * inet/herrno-loc.c: Likewise.
42352 * inet/herrno.c: Likewise.
42353 * malloc/arena.c: Likewise.
42354 * malloc/hooks.c: Likewise.
42355 * malloc/malloc.c: Likewise.
42356 * resolv/res-state.c: Likewise.
42357 * resolv/res_libc.c: Likewise.
42358 * sysdeps/i386/dl-machine.h: Likewise.
42359 * sysdeps/ia64/dl-machine.h: Likewise.
42360 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42361 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42362 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42363 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42364 * sysdeps/sh/dl-machine.h: Likewise.
42365 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42366 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42367 * sysdeps/unix/i386/sysdep.S: Likewise.
42368 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42369 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42370 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42371 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42372 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42373 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42374 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42375 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42377 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42378 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42379 * sysdeps/x86_64/dl-machine.h: Likewise.
42380 * tls.make.c: Likewise.
42381
3ce1f295
UD
42382 * configure.in: Remove --with-__thread option. Make tests for
42383 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42384 tls_model attribute fail if no support is available. Remove
42385 USE_IN_LIBIO.
42386 * Makeconfig: Adjust for dropped configure option. All features are
42387 now mandatory.
42388 * Makerules: Likewise.
42389 * Versions.def: Likewise.
42390 * argp/argp-fmtstream.c: Likewise.
42391 * argp/argp-fmtstream.h: Likewise.
42392 * argp/argp-help.c: Likewise.
42393 * assert/assert.c: Likewise.
42394 * config.h.in: Likewise.
42395 * config.make.in: Likewise.
42396 * configure: Likewise.
42397 * configure.in: Likewise.
42398 * csu/Versions: Likewise.
42399 * csu/init.c: Likewise.
42400 * elf/tst-audit2.c: Likewise.
42401 * elf/tst-tls10.c: Likewise.
42402 * elf/tst-tls10.h: Likewise.
42403 * elf/tst-tls11.c: Likewise.
42404 * elf/tst-tls12.c: Likewise.
42405 * elf/tst-tls14.c: Likewise.
42406 * elf/tst-tlsmod11.c: Likewise.
42407 * elf/tst-tlsmod12.c: Likewise.
42408 * elf/tst-tlsmod13.c: Likewise.
42409 * elf/tst-tlsmod13a.c: Likewise.
42410 * elf/tst-tlsmod14a.c: Likewise.
42411 * elf/tst-tlsmod15b.c: Likewise.
42412 * elf/tst-tlsmod16a.c: Likewise.
42413 * elf/tst-tlsmod16b.c: Likewise.
42414 * elf/tst-tlsmod7.c: Likewise.
42415 * elf/tst-tlsmod8.c: Likewise.
42416 * elf/tst-tlsmod9.c: Likewise.
42417 * gmon/gmon.c: Likewise.
42418 * grp/fgetgrent_r.c: Likewise.
42419 * grp/putgrent.c: Likewise.
42420 * hurd/fopenport.c: Likewise.
42421 * include/libc-symbols.h: Likewise.
42422 * include/tls.h: Likewise.
42423 * intl/gettextP.h: Likewise.
42424 * intl/loadinfo.h: Likewise.
42425 * locale/global-locale.c: Likewise.
42426 * locale/localeinfo.h: Likewise.
42427 * mach/devstream.c: Likewise.
42428 * malloc/arena.c: Likewise.
42429 * malloc/set-freeres.c: Likewise.
42430 * misc/err.c: Likewise.
42431 * misc/getttyent.c: Likewise.
42432 * misc/mntent_r.c: Likewise.
42433 * posix/getopt.c: Likewise.
42434 * posix/wordexp.c: Likewise.
42435 * pwd/fgetpwent_r.c: Likewise.
42436 * resolv/Versions: Likewise.
42437 * resolv/res_hconf.c: Likewise.
42438 * shadow/fgetspent_r.c: Likewise.
42439 * shadow/putspent.c: Likewise.
42440 * stdio-common/printf_fphex.c: Likewise.
42441 * stdio-common/tmpfile.c: Likewise.
42442 * stdlib/abort.c: Likewise.
42443 * stdlib/fmtmsg.c: Likewise.
42444 * sunrpc/auth_unix.c: Likewise.
42445 * sunrpc/clnt_perr.c: Likewise.
42446 * sunrpc/clnt_tcp.c: Likewise.
42447 * sunrpc/clnt_udp.c: Likewise.
42448 * sunrpc/clnt_unix.c: Likewise.
42449 * sunrpc/openchild.c: Likewise.
42450 * sunrpc/svc_simple.c: Likewise.
42451 * sunrpc/svc_tcp.c: Likewise.
42452 * sunrpc/svc_udp.c: Likewise.
42453 * sunrpc/svc_unix.c: Likewise.
42454 * sunrpc/xdr.c: Likewise.
42455 * sunrpc/xdr_array.c: Likewise.
42456 * sunrpc/xdr_rec.c: Likewise.
42457 * sunrpc/xdr_ref.c: Likewise.
42458 * sunrpc/xdr_stdio.c: Likewise.
42459
1248c1c4
PB
424602011-09-09 Ulrich Drepper <drepper@gmail.com>
42461
42462 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42463
424642011-07-03 Andreas Jaeger <aj@suse.de>
42465
42466 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42467 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42468 regenerate with gen-libm-tests.pl.
42469
424702010-05-12 Petr Baudis <pasky@suse.cz>
42471
42472 [BZ #11589]
42473 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42474 around j0() zero points by switching to j1().
42475 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42476 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42477 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42478 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42479
f22e1074
UD
424802011-09-09 Ulrich Drepper <drepper@gmail.com>
42481
f19009c1
UD
42482 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42483 instead of 0.
42484 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 42485 instead of 0.
f19009c1
UD
42486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42487 Patch in part by Pavel Roskin <proski@gnu.org>.
42488
3f8cc204
UD
42489 [BZ #13138]
42490 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42491 realloc.
42492 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42493 Free memory block if necessary.
42494
f22e1074
UD
42495 [BZ #12847]
42496 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42497 be NULL. Don't lock in this case.
42498
0a2349f9
RM
424992011-09-09 Roland McGrath <roland@hack.frob.com>
42500
42501 * elf/elf.h (ELFOSABI_GNU): New macro.
42502 (ELFOSABI_LINUX): Define to that.
42503
f3cdd467
DZ
425042011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42505
42506 * string/strncat.c (strncat): Undef the symbol in case it has been
42507 defined in bits/string.h.
42508
74718d13
UD
425092011-09-09 Ulrich Drepper <drepper@gmail.com>
42510
633e9e0f
UD
42511 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42512
0a2349f9 42513 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
42514 link map.
42515
f9924780
AJ
425162011-08-17 Andreas Jaeger <aj@suse.de>
42517
42518 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42519
7f5517aa
PP
425202011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42521 Ian Lance Taylor <iant@google.com>
42522
42523 * math/libm-test.inc (lround_test): New testcase.
42524 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42525
762011fe
UD
425262011-09-08 Ulrich Drepper <drepper@gmail.com>
42527
92963737
UD
42528 * Makefile: Remove support for automatic cvs check-ins.
42529 * Makerules: Likewise.
42530 * config.make.in: Likewise.
42531 * configure.in: Likewise.
42532 * intl/Makefile: Likewise.
42533 * locale/Makefile: Likewise.
42534 * po/Makefile: Likewise.
42535 * posix/Makefile: Likewise.
42536 * sysdeps/gnu/Makefile: Likewise.
42537 * sysdeps/mach/hurd/Makefile: Likewise.
42538 * sysdeps/sparc/sparc32/Makefile: Likewise.
42539
b0727fd8
JS
42540 [BZ #13118]
42541 * posix/Makefile (bug-regex32-ENV): Define.
42542 Patch by John Stanley <jpsinthemix@verizon.net>.
42543
a0f33f99
UD
42544 * misc/Makefile (headers): Add bits/select2.h.
42545 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42546 * misc/bits/select2.h: New file.
42547 * include/bits/select2.h: New file.
42548 * debug/Makefile (routines): Add fdelt_chk.
42549 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42550 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42551 FD_ISSET.
42552 * debug/fdelt_chk.c: New file.
42553
762011fe
UD
42554 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42555 * wcsmbs/test-wmemcmp.c: Likewise.
42556 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 42557 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
42558
425592011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42560
42561 * string/Makefile (strop-tests): Add memcmp.
42562 * string/test-wmemcmp.c: New file.
42563 * string/test-memcmp.c: Add wmemcmp support.
42564
7f513ec8
RM
425652011-09-08 Roland McGrath <roland@hack.frob.com>
42566
0442afb4
RM
42567 [BZ #13153]
42568 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42569 2011-07-19 change.
42570
7f513ec8
RM
42571 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42572 garbage value in a __mach_port_mod_refs call in the cases of the
42573 task-self and thread-self ports.
42574
a12b2239
ST
425752011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42576
42577 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42578
610f9ab4
AS
425792011-09-08 Andreas Schwab <schwab@redhat.com>
42580
7f513ec8 42581 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 42582
48882a1a
LD
425832011-09-07 Ulrich Drepper <drepper@gmail.com>
42584
b49865be
UD
42585 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42586
fdc86bc9
UD
42587 * elf/dl-libc.c (dlerror_run): Pass back error code from
42588 dl_catch_error.
42589
c966526a
UD
42590 [BZ #13123]
42591 * elf/dl-load.c (lose): Free l_origin if it is valid.
42592
48882a1a
LD
42593 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42594 names.
42595 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42596 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42597 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42598 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42599 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42600 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42601
77a2a8b4
AZ
426022011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42603
42604 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42605 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42606 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42607 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42608 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42609 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42610 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42611 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42612 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42613 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42614
24f579d8
AM
426152011-08-15 Alan Modra <amodra@gmail.com>
42616
42617 [BZ #13092]
42618 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42619 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42620 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42621 ppc_mcount to static-only-routines.
42622 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42623 __mcount_internal.
42624 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42625 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42626
3d4837df
UD
426272011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42628
42629 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42630 for finite and infinity parameters.
42631
22700377
WS
426322011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42633
42634 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42635 and add nop instructions for throughput optimization.
42636 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42637
5025581e
WS
426382011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42639
42640 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42641 aligned copy for power7 with vector-scalar instructions.
42642 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42643
08a300c9
L
426442011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42645
42646 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42647 AVX check.
42648
59178ef9
AS
426492011-09-07 Andreas Schwab <schwab@redhat.com>
42650
42651 [BZ #13144]
42652 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42653 last change.
42654
e38ba7ab
UD
426552011-09-07 Ulrich Drepper <drepper@gmail.com>
42656
42657 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42658 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42659 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42660 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42661 clock_gettime.
42662
d53a73ac
UD
426632011-09-06 Ulrich Drepper <drepper@gmail.com>
42664
fc8bffcc
UD
42665 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42666 Forgot to demangle the pointer.
42667
ceaa0c5d
UD
42668 * sysdeps/i386/sysdep.h: Define atom_text_section.
42669 * sysdeps/x86_64/sysdep.h: Likewise.
42670 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42671 section with atom_text_section.
42672 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42673 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42674 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42675 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42676 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42677
a77d3c17
UD
42678 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42679 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42680 already be defined. Change to take two parameters and don't assign
42681 result to variable. Adjust all users.
42682 Define INTERNAL_GETTIME if not already defined.
42683 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42684 call.
42685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42686 HAVE_CLOCK_GETTIME_VSYSCALL.
42687 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42688
d53a73ac
UD
42689 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42690 gettimeofday vsyscall, just use time.
42691
a8f84144
AS
426922011-09-06 Andreas Schwab <schwab@redhat.com>
42693
42694 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42695 <errno.h>.
42696
ef606249
UD
426972011-09-06 Ulrich Drepper <drepper@gmail.com>
42698
42699 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42700 syscall on x86-64.
42701 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42702 syscall.
42703 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42704 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42705 syscall if possible.
42706
6585cb60
UD
427072011-09-05 Ulrich Drepper <drepper@gmail.com>
42708
42709 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42710 e_ident. Don't pass to find_mapsXX.
42711 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42712
a5f524e4
LD
427132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42714
42715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42716 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42717 * sysdeps/x86_64/multiarch/strchr.S: Update.
42718 Check bit_slow_BSF bit.
42719 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42720 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42721 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42722
554881ef
UD
427232011-09-05 Ulrich Drepper <drepper@gmail.com>
42724
d96de963
UD
42725 [BZ #13134]
42726 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42727 before glibc 2.15.
42728 (tryshell): Define.
42729 (__spawni): Change last parameter to be flag. Test
42730 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42731 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42732 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42733 * posix/spawni.c: Likewise.
42734 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42735 * posix/spawnp.c: Likewise. Change normal version to use
42736 SPAWN_XFLAGS_USE_PATH.
42737 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42738 SPAWN_XFLAGS_TRY_SHELL.
42739
d48e5868
UD
42740 [BZ #13150]
42741 * posix/glob.h: Remove gcc 1.x support.
42742
554881ef
UD
42743 [BZ #13068]
42744 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42745
693fb948
LD
427462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42747
42748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42749 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42750 strrchr-sse2-bsf
42751 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42752 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42753 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42754 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42755 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42756 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42757
1b48c537
UD
427582011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42759
49d42c37
UD
42760 * sysdeps/x86_64/wcscmp.S: New file.
42761
1b48c537
UD
42762 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42763 wcscmp-c wcscmp-sse2
42764 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42765 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42766 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42767 * wcsmbs/wcscmp.c: Allow renaming.
42768
15c95c5d
DM
427692011-09-05 David S. Miller <davem@davemloft.net>
42770
42771 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42772 stack slot, rather than the struct return pointer slot.
42773 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42774 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42776 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42777
2f0ad8f3
UD
427782011-09-05 Ulrich Drepper <drepper@gmail.com>
42779
d88ae418
UD
42780 * po/ja.po: Update from translation team.
42781
2f0ad8f3
UD
42782 [BZ #13144]
42783 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42784 kernel in 64-bit binaries.
42785
5f4318d1
DM
427862011-09-01 David S. Miller <davem@davemloft.net>
42787
42788 * elf/elf.h (HWCAP_SPARC_*): Move to..
42789 * sysdeps/sparc/sysdep.h: this new file and add new values.
42790 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42791 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42792 _DL_HWCAP_COUNT to 24.
42793 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42794 entries.
42795 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42796 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42797 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42798 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42799 instead of magic constants.
42800 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42801
3ba57516
DM
428022011-08-31 David S. Miller <davem@davemloft.net>
42803
42804 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42805 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42806 Reimplement to do errno handling inline.
42807 (SYSCALL_ERROR_HANDLER): New macro.
42808 (__SYSCALL_STRING): Do not do errno handling in asm.
42809 (__CLONE_SYSCALL_STRING): Delete.
42810 (__INTERNAL_SYSCALL_STRING): Delete.
42811 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42812 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42813 (PSEUDO): Reimplement to do errno handling inline.
42814 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42815 (SYSCALL_ERROR_HANDLER): New macro.
42816 (__SYSCALL_STRING): Do not do errno handling in asm.
42817 (__CLONE_SYSCALL_STRING): Delete.
42818 (__INTERNAL_SYSCALL_STRING): Delete.
42819 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42820 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42821 i386.
42822 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42823 (inline_syscall*): Add 'err' argument.
42824 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42825 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42826 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42827 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42828
42829 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42830 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42831
2bc17433
AS
428322011-08-30 Andreas Schwab <schwab@redhat.com>
42833
42834 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42835
fbeb5f4d
JO
428362011-08-29 Jiri Olsa <jolsa@redhat.com>
42837
42838 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42839 directive.
42840
ad69cc26
DM
428412011-08-24 David S. Miller <davem@davemloft.net>
42842
42843 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42844
39dd69df
AS
428452011-08-24 Andreas Schwab <schwab@redhat.com>
42846
42847 * elf/Makefile: Add rules to build and run unload8 test.
42848 * elf/unload8.c: New file.
42849 * elf/unload8mod1.c: New file.
42850 * elf/unload8mod1x.c: New file.
42851 * elf/unload8mod2.c: New file.
42852 * elf/unload8mod3.c: New file.
42853
42854 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42855 it wasn't used.
42856
2c0b250a
DM
428572011-08-23 David S. Miller <davem@davemloft.net>
42858
42859 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42860 subtract stack bias.
42861 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42862 %sp not %fp in calculations.
42863 (_JMPBUF_UNWINDS_ADJ): Likewise.
42864
22044b48
DM
42865 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42866 (aio_suspend): Call it to force an exception region around the
42867 AIO_MISC_WAIT() invocation.
42868
2cae4995
AS
428692011-08-23 Andreas Schwab <schwab@redhat.com>
42870
42871 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42872 backslash.
42873
873a772e
AJ
428742011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42875
42876 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42877 protection macro.
42878 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42879 and <dl-machine.h>.
42880 (Elf64_FuncDesc): Remove.
42881
25ad0df1
DM
428822011-08-22 David S. Miller <davem@davemloft.net>
42883
42884 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42885 sigaltstack check, add missing cfi directives.
42886 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42887 missing cfi directives, and sigaltstack handling.
42888
e888bcbe
AS
428892011-08-16 Andreas Schwab <schwab@redhat.com>
42890
42891 [BZ #11724]
42892 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42893 object is seen twice.
42894 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42895
42896 * elf/Makefile (distribute): Add tst-initorder2.c.
42897 (tests): Add tst-initorder2.
42898 (modules-names): Add tst-initorder2a tst-initorder2b
42899 tst-initorder2c tst-initorder2d. Add rules to build them.
42900 ($(objpfx)tst-initorder2.out): New rule.
42901 * elf/tst-initorder2.c: New file.
42902 * elf/tst-initorder2.exp: New file.
42903
87162f46
AS
429042011-08-22 Andreas Schwab <schwab@redhat.com>
42905
70538b7f
AS
42906 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42907
f55ffe58
AS
42908 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42909 dependencies back to end of function.
42910
87162f46
AS
42911 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42912 $(elfobjdir)/ld.so.
42913
91b392a4
UD
429142011-08-21 Ulrich Drepper <drepper@gmail.com>
42915
42916 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42917 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42918 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42919 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42920 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42921 of __vdso_gettimeofday.
42922 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42923 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42924 attribute_hidden.
42925 (_libc_vdso_platform_setup): Remove initialization of
42926 __vdso_gettimeofday and __vdso_time.
42927
5c43483f
UD
429282011-08-20 Ulrich Drepper <drepper@gmail.com>
42929
775a77e7
UD
42930 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42931 and fgetc_unlocked.
42932 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42933 getc_unlocked.
89f447ed 42934
49c74ba9
UD
42935 * elf/dl-open.c (add_to_global): Report additions to the global scope
42936 for LD_DEBUG=scopes.
42937 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 42938 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 42939
5c43483f
UD
42940 [BZ #13114]
42941 * stdio-common/Makefile (tests): Add bug24.
42942 * stdio-common/bug24.c: New file.
42943
a101b025
AJ
429442011-08-19 Andreas Jaeger <aj@suse.de>
42945
42946 [BZ #13114]
42947 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42948 non-existant file when using close-on-exec mode.
42949
c88f1766
UD
429502011-08-20 Ulrich Drepper <drepper@gmail.com>
42951
0276a718
UD
42952 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42953 the very first instruction.
42954
c88f1766
UD
42955 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42956 the CFI state in the end.
42957 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42958 inclusion of dl-trampoline.h.
42959 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42960
51ccffa0
AS
429612011-08-19 Andreas Schwab <schwab@redhat.com>
42962
94d7165f
AS
42963 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42964 expectations for long double.
42965
51ccffa0
AS
42966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42967 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42968
fd708658 429692011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
42970
42971 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42972 artificual limit depends upon the system page size.
42973
44f0a71e
UD
429742011-08-17 Ulrich Drepper <drepper@gmail.com>
42975
42976 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42977 * resolv/Makefile: Define CFLAGS-libresolv.
42978
8de79a24
AS
429792011-08-17 Andreas Schwab <schwab@redhat.com>
42980
42981 * nss/makedb.c (compute_tables): Make variables used in nested
42982 function static.
42983
27724598
UD
429842011-08-17 Ulrich Drepper <drepper@gmail.com>
42985
c5305d88
UD
42986 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42987 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42988 if buffer was too small.
42989
27724598
UD
42990 * elf/pldd.c (main): Attach to all threads in the process.
42991 Rewrite /proc handling to use *at functions.
42992
076fe015
UD
429932011-08-16 Ulrich Drepper <drepper@gmail.com>
42994
174baab3
UD
42995 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42996 specifies first scope to show.
42997 (dl_open_worker): Update callers. Move printing scope of new
42998 object to before the relocation.
44f0a71e 42999 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
43000 * sysdeps/generic/ldsodefs.h: Update declaration.
43001
076fe015
UD
43002 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43003 string for the scope number.
43004
a60df2c3
UD
430052011-08-14 Ulrich Drepper <drepper@gmail.com>
43006
43007 * nscd/servicescache.c (cache_addserv): Make sure written is always
43008 initialized.
43009
5e4287d1
RM
430102011-08-14 Roland McGrath <roland@hack.frob.com>
43011
85ae0589
RM
43012 * sysdeps/i386/i486/bits/atomic.h
43013 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43014 statement expression, so as to suppress "set but not used" warning.
43015 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43016
69f63097
RM
43017 * string/strncat.c (STRNCAT): Use prototype definition.
43018
675456ef
RM
43019 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43020 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43021 -Iprograms here.
43022 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43023 (localedef-modules): Add localedef.
43024 (locale-modules): Add locale.
43025
5e4287d1
RM
43026 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43027 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43028 to avoid a warning.
43029
9c96ff23
DM
430302011-08-14 David S. Miller <davem@davemloft.net>
43031
43032 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43033 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43034
f9ddf089
UD
430352011-08-13 Ulrich Drepper <drepper@gmail.com>
43036
44f0a71e 43037 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
43038 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43039 * elf/rtld.c (dl_main): Set l_name of vDSO.
43040 Call _dl_show_scope when DL_DEBUG_SCOPES.
43041 (process_dl_debug): Recognize scopes flag and also set it for all.
43042 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43043 Declare _dl_show_scope.
43044
1dc27704
UD
43045 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43046 (do_dlopen): Pass caller_dlopen to dl_open.
43047 (__libc_dlopen_mode): Initialize caller_dlopen.
43048
f9ddf089
UD
43049 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43050 of libc. Make tolower call locale-independent. Optimize a bit by
43051 using isdigit instead of isalnum.
43052 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43053
9ac533d3
UD
430542011-08-12 Ulrich Drepper <drepper@gmail.com>
43055
43056 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43057 was a dependency or dynamically loaded.
43058
89edf2e9
UD
430592011-08-11 Ulrich Drepper <drepper@gmail.com>
43060
8e999d29
UD
43061 * intl/l10nflist.c: Allow architecture-specific pop function.
43062 * sysdeps/x86_64/l10nflist.c: New file.
43063
89edf2e9
UD
43064 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43065 classification.
43066
14d96785
AS
430672011-08-10 Andreas Schwab <schwab@redhat.com>
43068
43069 * include/dirent.h: Add libc_hidden_proto for scandirat and
43070 scandirat64. Don't declare __scandirat64.
43071 * dirent/scandirat.c: Add libc_hidden_def.
43072 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43073 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43074
6761ac04
DM
430752011-08-10 David S. Miller <davem@davemloft.net>
43076
43077 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43078 enum.
43079 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43080 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43081 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43082
c55fbd1e
UD
430832011-08-09 Ulrich Drepper <drepper@gmail.com>
43084
43085 * Versions.def [libc]: Add GLIBC_2.15.
43086 * dirent/Makefile (routines): Add scandirat and scandirat64.
43087 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43088 GLIBC_2.15.
43089 * dirent/dirent.h: Declare scandirat and scandirat64.
43090 * dirent/scandirat.c: New file.
43091 * dirent/scandirat64.c: New file.
43092 * sysdeps/wordsize-64/scandirat.c: New file.
43093 * sysdeps/wordsize-64/scandirat64.c: New file.
43094 * dirent/opendir.c: Define opendirat.
43095 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43096 using scandirat.
43097 * dirent/scandir64.c: Adjust for scandir.c change.
43098 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43099 __scandirat64, and __scandir_cancel_handler.
43100 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43101 additional parameter and use openat instead of open (outside of ld.so).
43102 Add new __opendir as wrapper around __opendirat.
43103 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43104 here without requiring old scandirat implementation.
43105
879165f2
UD
431062011-08-08 Ulrich Drepper <drepper@gmail.com>
43107
43108 * dirent/scandir.c (cancel_handler): Renamed to
43109 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43110 defined. Adjust users.
43111 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43112 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43113
cb7e923b
UD
431142011-08-04 Ulrich Drepper <drepper@gmail.com>
43115
16292edd
UD
43116 * string/test-string.h (IMPL): Use __STRING to expand name and then
43117 stringify it.
43118
cb7e923b
UD
43119 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43120 of cleanups.
43121
cff82933
LD
431222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43123
43124 * string/Makefile: Update.
43125 (strop-tests): Append strncat.
43126 * string/test-wcscmp.c: New file.
43127 New comprehensive test for wcscmp.
43128 * string/test-strcmp.c: Update.
43129 (WIDE): New define.
43130
9be9bfcc
AS
431312011-07-22 Andreas Schwab <schwab@redhat.com>
43132
43133 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43134 line.
43135
2e96f1c7
AS
431362011-07-26 Andreas Schwab <schwab@redhat.com>
43137
43138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43139 encoding to ACE if AI_IDN.
43140
85188888
JJ
431412011-08-01 Jakub Jelinek <jakub@redhat.com>
43142
43143 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43144 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43145
5fa16e9b
LD
431462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43147
43148 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43149 Fix overflow bug in strncat.
43150 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43151
43152 * string/test-strncat.c: Update.
43153 Add new tests for checking overflow bugs.
43154
431552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43156
43157 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43158 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43159 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43160 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43161 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43162 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43163 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43164 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43165 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43166
43167 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43168 (USE_AS_STRCAT): Define.
43169 Add strcat and strncat support.
43170 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43171
8c1a459f
AS
431722011-07-25 Andreas Schwab <schwab@redhat.com>
43173
43174 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43175 __n bigger than INT_MAX+1.
43176 (__strncmp_g): Likewise.
43177
bba33c28
UD
431782011-07-23 Ulrich Drepper <drepper@gmail.com>
43179
798be72d
UD
43180 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43181 * libio/stido.h: Likewise.
43182
8accd4dc
UD
43183 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43184 (AF_NFC): Define.
43185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43186 (AF_NFC): Define.
43187
cbff0d96
UD
43188 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43189 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43190 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43191 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43192 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43193
9191c04a
UD
43194 [BZ #13021]
43195 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43196 installed.
43197
bba33c28
UD
43198 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43199 typo.
43200 (_dl_x86_64_save_sse): Likewise.
43201
90f139dd
UD
432022011-07-22 Ulrich Drepper <drepper@gmail.com>
43203
1aae088a
UD
43204 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43205 OSXSAVE.
43206 (_dl_x86_64_save_sse): Likewise.
43207
8e2045f5
UD
43208 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43209
90f139dd
UD
43210 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43211
1d002f25
AS
432122011-07-21 Andreas Schwab <schwab@redhat.com>
43213
43214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43215 change.
43216 (_dl_x86_64_save_sse): Use correct AVX check.
43217
21137f89
UD
432182011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43219
43220 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43221 bug in strncpy/strncat.
43222 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43223
a65c0b7a
UD
432242011-07-21 Ulrich Drepper <drepper@gmail.com>
43225
43226 * string/tester.c (test_strcat): Add tests for different alignments
43227 of source and destination.
43228 (test_strncat): Likewise.
43229
6986b98a
UD
432302011-07-20 Ulrich Drepper <drepper@gmail.com>
43231
90bb2039
UD
43232 [BZ #12852]
43233 * posix/glob.c (glob): Check passed in values before using them in
43234 expressions to avoid some overflows.
43235 (glob_in_dir): Likewise.
43236
5644ef54
UD
43237 [BZ #13007]
43238 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43239 check for AVX enablement so that we don't crash with old kernels and
43240 new hardware.
43241 * elf/tst-audit4.c: Add same checks here.
43242 * elf/tst-audit6.c: Likewise.
43243
43244 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 43245
bfc9dc9b
AS
432462011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43247
43248 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43249
702e64bb
UD
432502011-07-20 Ulrich Drepper <drepper@gmail.com>
43251
43252 * po/cs.po: Update from translation team.
43253 * po/bg.po: Likewise.
43254
295e904f
MP
432552011-07-12 Marek Polacek <mpolacek@redhat.com>
43256
43257 * misc/sys/cdefs.h: Add support for const attribute.
43258 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43259 to gnu_dev_{major,minor,makedev} functions.
43260
3ff94596
MP
432612011-07-20 Marek Polacek <mpolacek@redhat.com>
43262
43263 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43264
28b59fca
AS
432652011-07-20 Andreas Schwab <schwab@redhat.com>
43266
43267 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43268 strlen results.
43269
19df733e
AK
432702011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43271
43272 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43273 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43274 register in order to avoid conflicts with the soft frame pointer
43275 being held in r11 when necessary.
43276 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43277 (INTERNAL_VSYSCALL_NCS): Likewise.
43278
c8835729
MP
432792011-07-14 Marek Polacek <mpolacek@redhat.com>
43280
43281 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43282 * elf/dl-fini.c (_dl_fini): Adjust caller.
43283 * elf/dl-close.c (_dl_close_worker): Likewise.
43284 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43285
b902330c
MP
432862011-07-15 Marek Polacek <mpolacek@redhat.com>
43287
8991e135
MP
43288 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43289 "aux_cache->nlibs < 0".
43290
b902330c
MP
43291 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43292 in the reload-count case.
43293
99710781
LD
432942011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43295
43296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43297 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43298 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43299 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43300 * sysdeps/x86_64/multiarch/strcat.S: New file.
43301 * sysdeps/x86_64/multiarch/strncat.S: New file.
43302 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43303 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43304 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43305 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43306 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43307 (USE_AS_STRCAT): Define.
43308 Add strcat and strncat support.
43309 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43310 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43311 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43312 * string/strncat.c: Update.
43313 (USE_AS_STRNCAT): Define.
43314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43315 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43316 and i7.
43317 * sysdeps/x86_64/multiarch/init-arch.h
43318 (bit_Prefer_PMINUB_for_stringop): New.
43319 (index_Prefer_PMINUB_for_stringop): Likewise.
43320 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43321 bit_Prefer_PMINUB_for_stringop.
43322
7dc6bd90
UD
433232011-07-19 Ulrich Drepper <drepper@gmail.com>
43324
43325 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43326 buffer64.
43327 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43328 of casting of buffer.
43329 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43330 buffer32 and buffer64.
43331 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43332 writes instead of casting of buffer.
43333 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43334 buffer32.
43335 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43336 casting of buffer.
43337
e0e72284
AS
433382011-07-19 Andreas Schwab <schwab@redhat.com>
43339
43340 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43341
feb1eb0b
UD
433422011-07-19 Ulrich Drepper <drepper@gmail.com>
43343
43344 * nscd/nscd.c (termination_handler): Don't do anything for a database
43345 if it has not yet been initialized.
43346
298711ff
UD
433472011-07-18 Ulrich Drepper <drepper@gmail.com>
43348
43349 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43350
433512011-07-15 Marek Polacek <mpolacek@redhat.com>
43352
43353 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43354
f9d68389
UD
433552011-07-18 Ulrich Drepper <drepper@gmail.com>
43356
43357 * po/nl.po: Update from translation team.
43358 * po/sv.po: Likewise.
43359
db290cf5
RM
433602011-07-16 Roland McGrath <roland@hack.frob.com>
43361
43362 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43363 now disallowed by GCC.
5c550700 43364
fd5e21c7
RM
43365 * configure.in (use-default-link): Default to yes if a test -shared
43366 link meets our qualifications.
43367 * configure: Regenerated.
43368
5c550700
RM
43369 * config.make.in (output-format): New variable.
43370 * configure.in: Check for ld --print-output-format support.
43371 * configure: Regenerated.
43372 * Makerules ($(common-objpfx)format.lds)
43373 [$(output-format) != unknown]: Just use $(output-format),
43374 instead of the linker-script munging.
43375
9fa2c032
RM
433762011-07-14 Roland McGrath <roland@hack.frob.com>
43377
a6928d51
RM
43378 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43379 of $(common-objpfx)shlib.lds.
43380 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43381
661607b3
RM
43382 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43383 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43384
9fa2c032
RM
43385 * configure.in (-z relro check): Adjust test code to add a large
43386 writable data section after it.
43387 * configure: Regenerated.
43388
defe9061
RM
433892011-07-11 Roland McGrath <roland@hack.frob.com>
43390
43391 * configure.in (-z relro check): Fix test code to make the variable
43392 truly const.
43393 * configure: Regenerated.
43394
319b9ad4
UD
433952011-07-11 Ulrich Drepper <drepper@gmail.com>
43396
43397 * nscd/nscd.h (struct traced_file): Define.
43398 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43399 elements. Add traced_files.
43400 (inotify_fd): Declare.
43401 (register_traced_file): Declare.
43402 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43403 (inotify_fd): Export.
43404 (resolv_conf_descr): Remove.
43405 (nscd_init): Move inotify descriptor creation to main.
43406 Don't register files for notification here.
43407 (register_traced_file): New function.
43408 (invalidate_cache): Don't use reset_res to determine whether to call
43409 res_init, go through the list of registered files.
43410 (main_loop_poll): The inotify descriptors are now stored in the
43411 structures for the traced files.
43412 (main_loop_epoll): Likewise
43413 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43414 to __nss_disable_nscd.
43415 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43416 for a database anymore. Check the records for all the registered
43417 files instead.
43418 * nss/Makefile (libnss_files-routines): Add files-init.
43419 (libnss_db-routines): Add db-init.
43420 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43421 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43422 * nss/nss_db/db-init.c: New file.
43423 * nss/nss_files/files-init.c: New file.
43424 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43425 __nss_lookup_function.
43426 (__nss_lookup_function): Call nss_load_library.
43427 (nss_load_all_libraries): New function.
43428 (__nss_disable_nscd): Take parameter with callback function for files
43429 to register. Set is_nscd. Load all the DSOs for the NSS modules
43430 used for the cached services.
43431 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43432 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43433 options for features to all the files in nscd.
43434
43435 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43436
23bee3e8
RM
434372011-07-10 Roland McGrath <roland@hack.frob.com>
43438
43439 * csu/elf-init.c (__libc_csu_init): Comment typo.
43440
46a5b7f0
UD
434412011-07-09 Ulrich Drepper <drepper@gmail.com>
43442
43443 * po/pl.po: Update from translation team.
43444 * po/ja.po: Likewise.
43445 * po/ru.po: Likewise.
43446 * po/ko.po: Likewise.
43447 * po/fr.po: Likewise.
43448
d30cf5bb
RM
434492011-07-09 Roland McGrath <roland@hack.frob.com>
43450
113ddea4
RM
43451 * configure.in (.ctors/.dtors header and trailer check):
43452 Use an empirical test on a built program.
43453 * configure: Regenerated.
43454
574920b4
RM
43455 * configure.in (-z relro check): Use an empirical test on a built DSO.
43456 Detect, but do not require, on ia64.
43457 * configure: Regenerated.
43458
d30cf5bb
RM
43459 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43460 Update tests that use readelf to use $READELF instead.
43461 * configure: Regenerated.
43462
8538fdb3
UD
434632011-07-08 Ulrich Drepper <drepper@gmail.com>
43464
43465 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43466 if the result is not used.
43467
04d08991
AJ
434682011-07-05 Andreas Jaeger <aj@suse.de>
43469
43470 [BZ#9696]
43471 * stdlib/tst-strtod.c: Add testcase.
43472
de283087
AD
434732011-07-07 Ulrich Drepper <drepper@gmail.com>
43474
4e5f31c8 43475 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 43476 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
43477 The latter has a higher limit. Take additional parameter to pass to
43478 the new function.
43479 (__pathconf): Pass file to __statfs_link_max.
43480 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43481 __statfs_link_max.
43482 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43483 __statfs_link_max.
43484
de283087
AD
43485 [BZ #12868]
43486 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43487 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43488 Handle Lustre.
43489 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43490 (__statfs_filesize_max): Likewise.
43491 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43492
c75fa153
AJ
434932011-07-05 Andreas Jaeger <aj@suse.de>
43494
43495 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43496
1a544854
UD
434972011-07-06 Marek Polacek <mpolacek@redhat.com>
43498
43499 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43500 `status' variable.
43501 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43502 Likewise.
43503
6f0eec67
UD
435042011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43505
43506 * Makefile (strop-tests): Add strncat.
43507 * string/test-strncat.c: New file.
43508
aae30307
UD
435092011-06-30 Marek Polacek <mpolacek@redhat.com>
43510
43511 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43512
c0cfb5eb
UD
435132011-06-21 Andreas Jaeger <aj@suse.de>
43514
43515 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43516 Copy rule from iconvdata/Makefile.
43517
01636b21
UD
435182011-07-06 Ulrich Drepper <drepper@gmail.com>
43519
43520 [BZ #12922]
43521 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43522 but no long options are defined, just return 'W'.
43523
9895c8bc
UD
435242011-06-22 Marek Polacek <mpolacek@redhat.com>
43525
43526 [BZ #9696]
43527 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43528
5d4cf042
UD
435292011-07-06 Ulrich Drepper <drepper@gmail.com>
43530
43531 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43532 netgroups to read.
960e5535 43533 (innetgr): Likewise.
5d4cf042 43534
751eb97e
RM
435352011-07-05 Roland McGrath <roland@hack.frob.com>
43536
43537 * config.make.in (install_root): Default to $(DESTDIR).
43538
f15f1e45
UD
435392011-07-05 Ulrich Drepper <drepper@gmail.com>
43540
43541 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43542
4e34ac6a
RM
435432011-07-02 Roland McGrath <roland@hack.frob.com>
43544
5e9b6af4
RM
43545 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43546
84f9ea0f
RM
43547 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43548 containing directory rather than embedding absolute directory names.
43549
ea5ee9f7
RM
43550 * scripts/check-local-headers.sh: Rewritten using awk.
43551 Match by word, not by line. Print error messages for matches.
43552 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43553
1b74661a
RM
43554 * Makerules [shlib-lds-flags empty]:
43555 ($(common-objpfx)libc_pic.opts): New target.
43556 ($(common-objpfx)libc_pic.os.clean): New target.
43557 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43558
43559 * config.make.in (OBJCOPY): New variable.
43560 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43561 * configure: Regenerated.
43562
f781ef40
RM
43563 * config.make.in (use-default-link): New variable.
43564 * configure.in (use_default_link): Grok --with-default-link to set it.
43565 * configure: Regenerated.
43566 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43567 (shlib-lds, shlib-lds-flags): Define to empty.
43568
2d4fa81e
RM
43569 * Makerules (shlib-lds): New variable.
43570 (shlib-lds-flags): New variable.
43571 (build-shlib, build-moduile, build-module-asneeded): Use it.
43572 ($(common-objpfx)libc.so): Use $(shlib-lds).
43573 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43574 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43575
31fffa6b
RM
43576 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43577 DT_FLAGS/DT_FLAGS_1 with zero flags.
43578
4e34ac6a
RM
43579 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43580 linker script munging.
43581
fcfc776b
UD
435822011-07-02 Ulrich Drepper <drepper@gmail.com>
43583
43584 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43585 as 128-bit value.
43586 * crypt/sha512.c (sha512_process_block): Perform total addition using
43587 128-bit if possible.
43588 (__sha512_finish_ctx): Likewise.
43589 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43590 as 64-bit value.
43591 * crypt/sha256.c (SWAP64): Define.
43592 (sha256_process_block): Perform total addition using 64-bit if
43593 possible.
43594 (__sha256_finish_ctx): Likewise.
43595
99231d9a
UD
435962011-07-01 Ulrich Drepper <drepper@gmail.com>
43597
43598 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43599 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43600 * nscd/hstcache.c (cache_addhst): Likewise.
43601 * nscd/grpcache.c (cache_addgr): Likewise.
43602 * nscd/aicache.c (addhstaiX): Likewise
43603 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43604
445b4a53
TK
436052011-07-01 Thorsten Kukuk <kukuk@suse.de>
43606
43607 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43608 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43609 * nscd/hstcache.c (cache_addhst): Likewise.
43610 * nscd/grpcache.c (cache_addgr): Likewise.
43611 * nscd/aicache.c (addhstaiX): Likewise
43612
6d4d8e8e
AS
436132011-07-01 Andreas Schwab <schwab@redhat.com>
43614
43615 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43616 domain only when needed.
43617
89f654c5
AS
436182011-06-30 Andreas Schwab <schwab@redhat.com>
43619
43620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43621 is always restored.
43622
cf3b23ff
UD
436232011-06-29 Ulrich Drepper <drepper@gmail.com>
43624
43625 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43626 are re-adding the entry.
43627 * nscd/servicescache.c (cache_addserv): Likewise.
43628
751626f9
AJ
436292011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43630
43631 * sysdeps/generic/dl-irel.h: fix protection against multiple
43632 inclusions.
43633 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43634
9113ea1f
UD
436352011-06-28 Ulrich Drepper <drepper@gmail.com>
43636
5c0b8d90
UD
43637 [BZ #12935]
43638 * malloc/memusage.sh: Fix quoting in message.
43639 * debug/xtrace.sh: Likewise.
43640
9113ea1f
UD
43641 * configure.in: Remove support for --experimental-malloc option, make
43642 it the default.
43643 * config.make.in: Likewise.
43644 * malloc/Makefile: Likewise.
43645
a4172181
AS
436462011-06-27 Andreas Schwab <schwab@redhat.com>
43647
43648 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43649 two-byte characters.
43650
78a7eee7
RM
436512011-06-27 Roland McGrath <roland@hack.frob.com>
43652
62bede13
RM
43653 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43654 AC_CACHE_CHECK invocation.
43655 * configure: Regenerated.
43656
78a7eee7
RM
43657 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43658
5ce33a62
UD
436592011-06-27 Ulrich Drepper <drepper@gmail.com>
43660
034807a9
UD
43661 [BZ #12350]
43662 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43663 bit from old_res_options.
43664
4902da17
UD
43665 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43666
5ce33a62
UD
43667 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43668 value type for setfct.
43669
c2344f56
L
436702011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43671
43672 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43673 __gettimeofday instead of gettimeofday.
43674
68468076
UD
436752011-06-26 Ulrich Drepper <drepper@gmail.com>
43676
43677 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43678
acb0d739
L
436792011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43680
43681 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43682
43683 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43684 info.
43685
8912479f
L
436862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43687
43688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43689 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43690 strcpy-sse2-unaligned strncpy-sse2-unaligned
43691 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43692 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43693 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43694 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43695 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43696 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43697 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43698 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43699 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43700 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43701 (STRCPY): Support SSE2 and SSSE3 versions.
43702
d5495a11
UD
437032011-06-24 Ulrich Drepper <drepper@gmail.com>
43704
43705 [BZ #12874]
43706 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43707 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43708 kernels which artificially limit size of requests.
43709
0b1cbaae
L
437102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43711
43712 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43713 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43714 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43715 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43716 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43717 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43718 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43719 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43720 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43721 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43722 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43723 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43724 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43725 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43726 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43728 Enable unaligned load optimization for Intel Core i3, i5 and i7
43729 processors.
43730 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43731 Define.
43732 (index_Fast_Unaligned_Load): Define.
43733 (HAS_FAST_UNALIGNED_LOAD): Define.
43734
07f494a0
MP
437352011-06-23 Marek Polacek <mpolacek@redhat.com>
43736
43737 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43738
fa3fc0fe
UD
437392011-06-22 Ulrich Drepper <drepper@gmail.com>
43740
43741 [BZ #12907]
43742 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43743 until it is clear that the information is realy needed.
43744 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43745
e12df166
AS
437462011-06-22 Andreas Schwab <schwab@redhat.com>
43747
43748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43749
852eb34d
UD
437502011-06-22 Ulrich Drepper <drepper@gmail.com>
43751
84e2a551
UD
43752 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43753 /sys/devices/system/cpu/online if it is usable.
43754
852eb34d
UD
43755 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43756 reading the information from the /proc filesystem to once a second.
43757
6e502e19
UD
437582011-06-21 Andreas Jaeger <aj@suse.de>
43759
43760 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43761 NULL after inclusion of kernel headers.
43762
75d39ff2
UD
437632011-06-21 Ulrich Drepper <drepper@gmail.com>
43764
51f9aa6a
UD
43765 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43766 calls to internal_setent.
43767
c0244a9d
UD
43768 [BZ #12885]
43769 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43770 addresses using gethostbyname4_r ignore IPv4 addresses.
43771
c5e3c2ae
UD
43772 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43773 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43774
75d39ff2
UD
43775 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43776
42675c6f
DM
437772011-06-20 David S. Miller <davem@davemloft.net>
43778
43779 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43780 inclusions.
43781 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43782
43783 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43784 (elf_irel): Use it.
43785 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43786 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43787 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43788 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43789 * sysdeps/x86_64/dl-irel.h: Likewise.
43790
43791 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43792 * elf/dl-sym.c: Likewise.
43793
57912a71
UD
437942011-06-15 Ulrich Drepper <drepper@gmail.com>
43795
43796 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43797 need to dereference resplen2.
43798
ee22793d
AS
437992011-06-14 Andreas Schwab <schwab@redhat.com>
43800
43801 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43802
a9e836b0
UD
438032011-06-15 Ulrich Drepper <drepper@gmail.com>
43804
77fb9117
UD
43805 * Makeconfig: Define vardbdir and inst_vardbdir.
43806 * nss/Makefile: Add rules to install db-Makefile.
43807
40c1b22c
UD
43808 * nss/nss_db/db-XXX.c: Cleanup.
43809
9f2da732
UD
43810 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43811 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43812 GLIBC_PRIVATE.
43813 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43814 * nss/makedb.c: Implement -g option to specify that value strings
43815 are generated and should not be added to table iterated over for
43816 get*ent calls.
43817 * nss/nss_db/db-initgroups.c: New file.
43818
82e9a1f7
UD
43819 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43820 interface.
43821
c41af17e
UD
43822 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43823 (internal_getgrouplist): Adjust to name change.
43824 Update use_initgroups_entry if this is not the first call.
43825 * nss/databases.def: Add initgroups entry.
43826
a9e836b0
UD
43827 * nss/makedb.c (compute_tables): Check result of multiple hash table
43828 sizes to minimize maximum chain length.
43829
2666d441
UD
438302011-06-14 Ulrich Drepper <drepper@gmail.com>
43831
43832 * Versions.def: Add entry for libnss_db.
43833 * shlib-versions: Likewise.
43834 * nss/Makefile: Add rules to build libnss_db.
43835 * nss/Versions: Add libnss_db information. Organize libnss_files
43836 entries better.
43837 * nss/db-Makefile: Add gshadow support. Change rules for the new
43838 makedb progra. Some minor improvements to generate smaller files.
43839 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43840 here from...
43841 * nss/makedb.c: ...here.
43842 Improve database format to be smaller and require less memory at
43843 runtime.
43844 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43845 db anymore.
43846 * nss/nss_db/db-netgrp.c: Likewise.
43847 * nss/nss_db/db-open.c: Likewise.
43848 * nss/nss_files/flies-XXX.x: Adjust comments.
43849 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43850 * nss/nss_files/files-grp.c: Likewise.
43851 * nss/nss_files/files-hosts.c: Likewise.
43852 * nss/nss_files/files-network.c: Likewise.
43853 * nss/nss_files/files-proto.c: Likewise.
43854 * nss/nss_files/files-pwd.c: Likewise.
43855 * nss/nss_files/files-rpc.c: Likewise.
43856 * nss/nss_files/files-service.c: Likewise.
43857 * nss/nss_files/files-sgrp.c: Likewise.
43858 * nss/nss_files/files-spwd.c: Likewise.
43859 * nss/nss_db/db-alias.c: Removed.
43860 * nss/nss_db/dummy-db.h: Removed.
43861
9ee76b5a
UD
438622011-06-02 Ulrich Drepper <drepper@gmail.com>
43863
43864 * nss/makedb.c: Rewritten to not use database library.
43865 * nss/Makefile: Update to build new makedb program.
43866
c71ca1f8
AJ
438672011-06-14 Andreas Jaeger <aj@suse.de>
43868
43869 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43870 memset declaration.
43871
3154bfb8
UD
438722011-06-10 Andreas Schwab <schwab@redhat.com>
43873
43874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43875 tmpbuf.
43876
b350afab
RM
438772011-06-10 Roland McGrath <roland@hack.frob.com>
43878
decd4e50
RM
43879 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43880 * elf/Makefile ($(objpfx)ld.so): Likewise.
43881
5615eaf2
RM
43882 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43883 Don't list ld.so twice in dependencies.
43884
43885 * posix/bug-regex31.c: Include <stdlib.h>.
43886
43887 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43888
43889 * nis/nss_compat/compat-spwd.c
43890 (getspent_next_nss_netgr): Remove unused variable.
43891 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43892
43893 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43894 nonmembers" output to use the right array.
43895
43896 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43897
43898 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43899
43900 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43901 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43902 * catgets/gencat.c (read_input_file): Likewise.
43903 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43904
43905 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43906 variable definition inside #if's controlling its use.
43907
43908 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43909
43910 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43911
43912 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43913
43914 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43915 unreachable code.
43916
43917 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43918
b68e08db
RM
43919 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43920 * configure: Regenerated.
43921
b350afab
RM
43922 * Makerules: Revert last change.
43923 * elf/Makefile: Likewise.
43924
28368601
RM
439252011-06-09 Roland McGrath <roland@hack.frob.com>
43926
43927 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43928 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43929 (reloc-link): Likewise.
43930
11988f8f
UD
439312011-06-09 Ulrich Drepper <drepper@gmail.com>
43932
43933 * elf/Makefile: Add rules to build pldd.
43934 * elf/pldd.c: New file.
43935 * elf/pldd-xx.c: New file.
43936
e80fab37
UD
439372011-06-07 Ulrich Drepper <drepper@gmail.com>
43938
43939 * version.h: Update for 2.15 development version.
43940
9b849836
DM
439412011-06-07 David S. Miller <davem@davemloft.net>
43942
43943 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43944 ifuncs.
43945 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43946 elf_machine_lazy_rel): Likewise.
43947 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43948 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43949 elf_machine_lazy_rel): Likewise.
43950 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43951 dl_hwcap via passed in argument.
43952 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43953 Likewise.
43954
5a31b283
AK
439552011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43956
43957 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43958
069e52f8
RM
439592011-06-06 Roland McGrath <roland@hack.frob.com>
43960
43961 [BZ #12849]
43962 * manual/fdl-1.1.texi: New file, verbatim from:
43963 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43964 * manual/lgpl-2.1.texi: New file, verbatim from:
43965 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43966 * manual/Makefile (licenses): New variable, list those new file names.
43967 (texis): Use it.
43968 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43969
43970 * manual/fdl.texi: File removed.
43971 * manual/lesser.texi: File removed.
43972 * manual/libc.texinfo (Copying, Documentation License):
43973 Use new @include file names, put @appendix directive before @include.
43974
f16846a5
JJ
439752011-06-04 Jakub Jelinek <jakub@redhat.com>
43976
43977 [BZ #12841]
43978 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43979 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43980 (mq_open): Add __NTH.
43981
3d29045b
L
439822011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43983
43984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43985 Assume Intel Core i3/i5/i7 processor if AVX is available.
43986
8c297311
UD
439872011-05-31 Ulrich Drepper <drepper@gmail.com>
43988
43989 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43990 typo.
43991
c8fc0c91
UD
439922011-05-31 Andreas Schwab <schwab@redhat.com>
43993
43994 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43995 memory. Use alloca_account. Fix memory leak when retrying.
43996
5b27a807
UD
439972011-05-31 Ulrich Drepper <drepper@gmail.com>
43998
356f8bc6
UD
43999 * version.h (RELEASE): Bump for 2.14 release.
44000 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44001
5b27a807
UD
44002 * config.make.in (RANLIB): Remove entry.
44003
01f16ab0
UD
440042011-05-30 Ulrich Drepper <drepper@gmail.com>
44005
41fce8bd
UD
44006 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44007 (libc.pot): Work around missing support for .ksh extension in xgettext.
44008
4769ae77
UD
44009 [BZ #12684]
44010 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44011 if both request failed.
44012 (send_dg): In case of server errors clear resplen or *resplen2.
44013
6b1e7d19
UD
44014 [BZ #12454]
44015 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44016 when there are multiple maps.
44017 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44018 (_dl_fini): Remove test here.
44019
01f16ab0
UD
44020 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44021
b1ebd700
UD
440222011-05-29 Ulrich Drepper <drepper@gmail.com>
44023
7ae22829
UD
44024 [BZ #12350]
44025 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44026 bit from old_res_options.
44027 (gaih_inet): Likewise.
44028
553149f6 44029 [BZ #11099]
18a84741 44030 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
44031 as signed.
44032
652ffab1
UD
44033 * resolv/res_init.c (res_setoptions): Make the code more compact.
44034
16985fd0
UD
44035 [BZ #11558]
44036 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44037 set RES_USEVC.
44038
0464f746
UD
44039 [BZ #11634]
44040 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44041
7d17596c
UD
44042 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44043
cf6bbbd7
UD
44044 [BZ #11781]
44045 * malloc/malloc.h: Declare malloc hook variables as volatile.
44046
13f1ab36
UD
44047 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44048 in last patch.
44049
b1ebd700
UD
44050 [BZ #11799]
44051 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 44052 raise in the comment.
80e2212d
UD
44053 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44054 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44055 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 44056
ce67228d
UD
440572011-05-28 Ulrich Drepper <drepper@gmail.com>
44058
8887a920
UD
44059 [BZ #12811]
44060 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44061 grow the buffers more if it already has to be sufficient.
44062 (build_wcs_upper_buffer): Likewise.
44063 * posix/regexec.c (check_matching): Likewise.
44064 (clean_state_log_if_needed): Likewise.
44065 (extend_buffers): Don't enlarge buffers beyond size of the input
44066 buffer.
44067 Patches mostly by Emil Wojak <emil@wojak.eu>.
44068 * posix/bug-regex32.c: New file.
44069 * posix/Makefile (tests): Add bug-regex32.
44070
4f031072
UD
44071 * locale/findlocale.c (_nl_find_locale): Return right away if
44072 _nl_explode_name failed.
44073 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44074
d0478f0c
UD
44075 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44076
de81b246
UD
44077 * debug/xtrace.sh: Unify messages.
44078 * malloc/memusage.sh: Likewise.
44079
c738465a
UD
44080 [BZ #12813]
44081 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44082 time symbol from vDSO. Substitute with vsyscall if not available.
44083 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44084 __vdso_time.
44085
f1f929d7
UD
44086 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44087 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44088 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44089 Add sendmmsg and internal_sendmmsg.
44090 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44091 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44092 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44093
ce67228d
UD
44094 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44095 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44096 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44097
e57420c6
UD
440982011-05-27 Ulrich Drepper <drepper@gmail.com>
44099
a8509ca5
UD
44100 [BZ #12813]
44101 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44102 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44103 available.
44104 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44105 __vdso_getcpu.
44106
e57420c6
UD
44107 [BZ #12814]
44108 * iconvdata/Makefile (tests): Add bug-iconv9.
44109 * iconvdata/bug-iconv9.c: New file.
44110
4d07db15
AS
441112011-05-27 Andreas Schwab <schwab@redhat.com>
44112
44113 [BZ #12814]
44114 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44115
ea486f69
JJ
441162011-05-25 Jakub Jelinek <jakub@redhat.com>
44117
44118 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44119 (struct user_regs_struct): Change intcs field back to cs.
44120
6f038433
UD
441212011-05-25 Ulrich Drepper <drepper@gmail.com>
44122
44123 * po/ja.po: Update from translation team.
44124
67f86a25
UD
441252011-05-23 Ulrich Drepper <drepper@gmail.com>
44126
44127 [BZ #12795]
44128 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44129 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44130
def7fbd6
AS
441312011-05-20 Andreas Schwab <schwab@redhat.com>
44132
44133 * stdlib/longlong.h: Update from GCC.
44134
f50ef8f1
AS
441352011-05-23 Andreas Schwab <schwab@redhat.com>
44136
44137 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44138 parameter name.
44139 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44140 Add parameter name.
44141 (__sysconf): Pass it down.
44142
de7ce8f1
UD
441432011-05-22 Ulrich Drepper <drepper@gmail.com>
44144
f2962a71
UD
44145 [BZ #12671]
44146 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44147 some situations.
44148 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44149 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44150 add in in __libc_use_alloca calls. Adjust callers.
44151 (glob): Use malloc in some situations.
44152
de7ce8f1
UD
44153 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44154 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44155 pltexit.
44156
aec84f53
UD
441572011-05-21 Ulrich Drepper <drepper@gmail.com>
44158
05bb4a68
UD
44159 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44160 and CLOCK_BOOTTIME_ALARM.
44161
7ea72f99
UD
44162 [BZ #12782]
44163 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44164 is returned.
44165
7e4afad5
UD
44166 * string/_strerror.c (__strerror_r): Print negative errors as signed
44167 numbers.
44168
8e211fec
UD
44169 [BZ #12777]
44170 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44171 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44172 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44173
f7d82dc9
UD
44174 * configure.in: Fix typo in redirection and correct removal of test
44175 files in two cases.
44176
cc9e536d
UD
44177 [BZ #12788]
44178 * locale/setlocale.c (new_composite_name): Fix test to check for
44179 identical name of all categories.
44180
aec84f53
UD
44181 [BZ #12792]
44182 * libio/filedoalloc.c (local_isatty): New function.
44183 (_IO_file_doallocate): Use local_isatty.
44184 * stdio-common/perror.c (perror): In case a new stream is used
44185 forward the stream error.
44186 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44187 error flag.
44188
78e64fdc
RT
441892011-05-20 Ulrich Drepper <drepper@gmail.com>
44190
34a9094f
UD
44191 [BZ #11869]
44192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44193 alloca.
44194 * include/alloca.h (extend_alloca_account): Define.
44195
78e64fdc
RT
44196 [BZ #11857]
44197 * posix/regex.h: Fix comments with documentation of user-accessible
44198 fields after compilation and describe correct free'ing of pattern
44199 after re_compile_pattern.
44200 Patch by Reuben Thomas <rrt@sc3d.org>.
44201
457bddfc
RA
442022011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44203
44204 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44205 and -mno-altivec to prevent the compiler from using Altivec and/or
44206 VSX instructions when the corresponding registers are not available.
44207
a4527b51
AS
442082011-05-19 Andreas Schwab <schwab@redhat.com>
44209
44210 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44211
ed690b2f
UD
442122011-05-19 Ulrich Drepper <drepper@gmail.com>
44213
44214 * libio/freopen.c (freopen): Use __dup2, not dup2.
44215 * libio/freopen64.c (freopen64): Likewise.
44216
8db73634
L
442172011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44218
44219 [BZ #12775]
44220 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44221 * math/Makefile (tests): Add test-powl.
44222 (CFLAGS-test-powl.c): Define.
44223 * math/test-powl.c: New file.
44224
0a197a9d
L
442252011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44226
44227 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44228
ee30c380
UD
442292011-05-17 Ulrich Drepper <drepper@gmail.com>
44230
44231 [BZ #11837]
44232 * iconvdata/gb18030.c: Update to GB18020-2005.
44233
6ce75379
UD
442342011-05-16 Ulrich Drepper <drepper@gmail.com>
44235
a4b89fd8
AR
44236 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44237 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44238 Patch by Aharon Robbins <arnold@skeeve.com>.
44239
ea389b12
UD
44240 [BZ #11892]
44241 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44242 on the stack.
44243
68a3f91f
UD
44244 [BZ #11895]
44245 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44246 through underflows.
44247
15cc7dd1
UD
44248 [BZ #12766]
44249 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44250 point to strings before performing equality test for error_one_per_line
44251 mode.
44252
f3799213
UD
44253 [BZ #11697]
44254 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44255
d79a9c94
UD
44256 [BZ #11820]
44257 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44258 (struct user_fpregs_struct): Avoid __uint*_t types.
44259
56e5eb46
UD
44260 [BZ #6420]
44261 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44262 symbol info. Use it instead of calling _dl_addr locally.
44263 (lock_and_info): New function.
44264 (tr_freehook): Call lock_and_info and pass symbol info as additional
44265 parameter to tr_where.
44266 (tr_mallochook): Likewise.
44267 (tr_reallochook): Likewise.
44268 (tr_memalignhook): Likewise.
44269
6ce75379
UD
44270 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44271 used and couldn't be at all thread-safe.
44272
f8a3b5bf
UD
442732011-05-15 Ulrich Drepper <drepper@gmail.com>
44274
94b7cc37
UD
44275 * libio/freopen.c (freopen): Don't close old file descriptor
44276 before the new one is opened. Instead dup the new file descriptor
44277 to the old one after the new stream is created.
44278 * libio/freopen64.c (freopen64): Likewise.
44279 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44280 * libio/fileops.c (_IO_new_file_close_it): Handle new
44281 _IO_FLAGS2_NOCLOSE flag.
44282 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44283 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44284 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44285 _IO_FLAGS2_NOCLOSE flag.
44286 * include/unistd.h: Add hidden_proto for dup3.
44287 Define __have_dup3.
44288 * io/dup3.c: Define hidden symbol.
44289 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44290
bd25564e
UD
44291 [BZ #7101]
44292 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44293 when an incomplete long option is used.
44294 * posix/tst-getopt_long1.c: New file.
44295 * posix/Makefile (tests): Add tst-getopt_long1.
44296
c84cfef4
UD
44297 [BZ #10138]
44298 * scripts/config.guess: Update from autoconf-2.68.
44299 * scripts/config.sub: Likewise.
44300
3b85df27
UD
44301 [BZ #10157]
44302 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44303 tests into ...
44304 (has_cpuclock): ...this. New function.
44305 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44306 macro here based on has_cpuclock code.
44307
15a856b1
UD
44308 [BZ #10149]
44309 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44310 First byte (not low byte) is now always NUL.
44311 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44312
05f399e6
UD
44313 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44314 Use non-cancelable interfaces.
44315
10a52685 44316 [BZ #9809]
94ecc67d
UD
44317 * locale/iso-639.def: Add entry for Sorani.
44318
f8a3b5bf
UD
44319 [BZ #11901]
44320 * include/stdlib.h: Move include protection to the right place.
44321 Define abort_msg_s. Declare __abort_msg with it.
44322 * stdlib/abort.c (__abort_msg): Adjust type.
44323 * assert/assert.c (__assert_fail_base): New function. Majority
44324 of code from __assert_fail. Allocate memory for __abort_msg with
44325 mmap.
44326 (__assert_fail): Now call __assert_fail_base.
44327 * assert/assert-perr.c: Remove bulk of implementation. Use
44328 __assert_fail_base.
44329 * include/assert.hL Declare __assert_fail_base.
44330 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44331 mmap.
44332 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44333
1af4e298
UD
443342011-05-14 Ulrich Drepper <drepper@gmail.com>
44335
f8a3b5bf 44336 [BZ #11952]
d26dfc60
MG
44337 [BZ #12453]
44338 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44339 until all modules are registered in the DTV.
44340 * elf/Makefile: Add rules to build and run tst-tls19.
44341 * elf/tst-tls19.c: New file.
44342 * elf/tst-tls19mod1.c: New file.
44343 * elf/tst-tls19mod2.c: New file.
44344 * elf/tst-tls19mod3.c: New file.
44345 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44346
2fc54d6f
UD
44347 [BZ #12083]
44348 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44349 correctly.
44350
98d76b46
UD
44351 [BZ #12601]
44352 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44353 two-byte sequence errors.
44354 * iconvdata/Makefile (tests): Add bug-iconv8.
44355 * iconvdata/bug-iconv8.c: New file.
44356
da3c19ef
UD
44357 [BZ #12626]
44358 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44359 buf2 definition.
44360
ca408c15
UD
44361 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44362
d6f67f7d
UD
44363 [BZ #12432]
44364 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44365 (dummy_getcfa): New function.
44366 (init): Get _Unwind_GetCFA address, use dummy if not found.
44367 (backtrace_helper): In recursion check, also check whether CFA changes.
44368 (__backtrace): Completely initialize arg.
44369
1af4e298 44370 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
44371 storing incomplete byte sequence in state object. Avoid testing for
44372 guaranteed too small input if we know there is enough data available.
1af4e298 44373
da62f81b
AS
443742011-05-11 Andreas Schwab <schwab@redhat.com>
44375
44376 * Makeconfig (+link-pie): Indent.
44377 * Rules (binaries-pie): Define if $(have-fpie) and
44378 $(build-shared).
44379 (binaries-shared): Also filter out $(binaries-pie).
44380 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44381 * nscd/Makefile (others-pie): Add nscd.
44382 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44383 ($(objpfx)nscd): Remove command override.
44384 * login/Makefile (others-pie): Add pt_chown.
44385 ($(objpfx)pt_chown): Remove command override.
44386 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44387 remove command overrides.
44388
fcabc0f8
UD
443892011-05-13 Ulrich Drepper <drepper@gmail.com>
44390
20030ae6
UD
44391 * libio/tst_putwc.c: Fix error messages.
44392
fcabc0f8
UD
44393 [BZ #12724]
44394 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44395 currently writing and seek to current position when not.
44396 * libio/Makefile (tests): Add bug-fclose1.
44397 * libio/bug-fclose1.c: New file.
44398
320a5dc0
PB
443992011-05-12 Ulrich Drepper <drepper@gmail.com>
44400
44401 [BZ #12511]
44402 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44403 don't set DF_1_NODELETE here.
44404 (do_lookup_x): When entering new entry test for copy relocation
44405 and if necessary set DF_1_NODELETE flag.
44406 * elf/tst-unique4.cc: New file.
44407 * elf/tst-unique4.h: New file.
44408 * elf/tst-unique4lib.cc: New file.
44409 * elf/Makefile: Add rules to build and run tst-unique4.
44410 Patch by Piotr Bury <pbury@goahead.com>.
44411
22836f52
UD
444122011-05-11 Ulrich Drepper <drepper@gmail.com>
44413
f574184a
UD
44414 [BZ #12052]
44415 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44416
e1fb097f
UD
44417 [BZ #12625]
44418 * misc/mntent_r.c (addmntent): Flush the stream after the output
44419
22836f52
UD
44420 [BZ #12393]
44421 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44422 (is_trusted_path_normalize): Skip initial colon. Append slash
44423 to empty buffer. Duplicate is_trusted_path code but allow
44424 constructed patch to be prefix.
44425 (is_dst): Allow $ORIGIN followed by /.
44426 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44427 Correct testing of result of is_trusted_path_normalize
44428 (decompose_rpath): Fix warning.
44429
7b3b0b2a
UD
444302011-05-10 Ulrich Drepper <drepper@gmail.com>
44431
44432 [BZ #11257]
44433 * grp/initgroups.c (internal_getgrouplist): When we found the service
44434 list through the initgroups entry in nsswitch.conf do not always
44435 continue on a successful lookup. Don't always use the
eac80ce2 44436 __nss_group_database value if it is set.
7b3b0b2a
UD
44437 * nss/nsswitch.conf (initgroups): Change action for successful db
44438 lookup to continue for compatibility.
44439
2a81eaa5
UD
444402011-05-09 Ulrich Drepper <drepper@gmail.com>
44441
be97a69e
UD
44442 [BZ #11532]
44443 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44444 and CP774 modules.
44445 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44446 and CP774 modules.
44447 * iconvdata/tst-tables.sh: Likewise.
44448 * iconvdata/cp770.c: New file.
44449 * iconvdata/cp771.c: New file.
44450 * iconvdata/cp772.c: New file.
44451 * iconvdata/cp773.c: New file.
44452 * iconvdata/cp774.c: New file.
44453 * iconvdata/testdata/CP770: New file.
44454 * iconvdata/testdata/CP770..UTF8: New file.
44455 * iconvdata/testdata/CP771: New file.
44456 * iconvdata/testdata/CP771..UTF8: New file.
44457 * iconvdata/testdata/CP772: New file.
44458 * iconvdata/testdata/CP772..UTF8: New file.
44459 * iconvdata/testdata/CP773: New file.
44460 * iconvdata/testdata/CP773..UTF8: New file.
44461 * iconvdata/testdata/CP774: New file.
44462 * iconvdata/testdata/CP774..UTF8: New file.
44463
44464 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44465 END CHARMAP line.
44466 * iconvdata/gen-8bit-gap.sh: Likewise.
44467 * iconvdata/gen-8bit.sh: Likewise.
44468
c1e9e399
UD
44469 * locale/iso-639.def: Add ary entry.
44470
24c55fb3 44471 [BZ #11258]
96b4b1b0
UD
44472 * locale/C-translit.h.in: Add U20A1 transliteration.
44473
bdc2f971
KB
44474 [BZ #12178]
44475 * locale/iso-639.def: Add wae entry.
44476 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44477
2952b117
UD
44478 [BZ #12545]
44479 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44480 for n.
44481
2a81eaa5
UD
44482 [BZ #12711]
44483 * locale/C-translit.h.in: Add entry for U20B9.
44484 Patch by pravin.d.s@gmail.com.
44485
28377d1b
UD
444862011-05-08 Ulrich Drepper <drepper@gmail.com>
44487
7fb90fb8
UD
44488 [BZ #12713]
44489 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44490 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
44491 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44492 in rtld. Use *stat64.
7fb90fb8 44493 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 44494 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 44495 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
44496 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44497 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44498 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44499 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44500 __fstatat64 macros.
7fb90fb8
UD
44501 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44502 * dirent/rewinddir.c: Add libc_hidden_def.
44503 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 44504 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 44505
28377d1b
UD
44506 * include/dirent.h (__alloc_dir): Add flags parameter.
44507 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44508 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44509 __alloc_dir.
44510 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44511 from fdopendir if O_CLOEXEC is already set.
44512
66bdbaa4
AM
445132011-03-15 Alan Modra <amodra@gmail.com>
44514
44515 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44516 l_tls_firstbyte_offset non-zero. Save padding offset in
44517 l_tls_firstbyte_offset for later use.
44518 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44519 freeing static tls block.
44520
95721191
JN
445212011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44522
44523 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44524 where #ifdef was intended. The intent is to prevent ARG_MAX from
44525 being defined by the kernel headers.
44526
f87dfb1f
UD
445272011-05-07 Ulrich Drepper <drepper@gmail.com>
44528
44529 [BZ #12734]
44530 * resolv/resolv.h: Define RES_NOTLDQUERY.
44531 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44532 no-tld-query and set RES_NOTLDQUERY.
44533 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44534 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44535 modern BIND to search name as TLD unless forbidden.
44536
47c3cd7a
UD
445372011-05-07 Petr Baudis <pasky@suse.cz>
44538 Ulrich Drepper <drepper@gmail.com>
44539
44540 [BZ #12393]
44541 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44542 (is_trusted_path): ...to here.
c1e9ea35 44543 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 44544 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 44545 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 44546
8a35c912
PP
445472011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44548
44549 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44550 __BEGIN/__END_DECLS.
44551
acd41f47
UD
445522011-05-06 Ulrich Drepper <drepper@gmail.com>
44553
44554 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44555 NSS_STATUS_NOTFOUND if no record was found.
44556
597df647
AS
445572011-05-05 Andreas Schwab <schwab@redhat.com>
44558
44559 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44560 (headers-not-in-tirpc): Remove rpc/netdb.h
44561 * resolv/netdb.h: Revert last change.
44562
b9af1301
PP
445632011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44564
44565 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44566 circular dependency between libgcc.a and libc.a.
44567
4e34d5f5
AS
445682011-05-05 Andreas Schwab <schwab@redhat.com>
44569
44570 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44571 * nis/Makefile: Don't install rpcsvc/*.
44572 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44573 instead of <rpc/types.h>.
44574 (MAXHOSTNAMELEN): Define.
44575
00ee369c
AS
445762011-05-03 Andreas Schwab <schwab@redhat.com>
44577
44578 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44579
0b592a30
MB
445802011-04-28 Maciej Babinski <mbabinski@google.com>
44581
44582 [BZ #12714]
44583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44584 gethostbyname4_r when IPv6 results are possible.
44585
6e04cbbe
UD
445862011-05-02 Ulrich Drepper <drepper@gmail.com>
44587
44588 [BZ #12723]
44589 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44590 _PC_PIPE_BUF handling.
44591
e4ecafe0
BH
445922011-04-30 Bruno Haible <bruno@clisp.org>
44593
44594 [BZ #12717]
44595 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44596 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44597 to 'int'.
44598 * inet/getnameinfo.c (getnameinfo): Likewise.
44599
125ee683
UD
446002011-04-29 Ulrich Drepper <drepper@gmail.com>
44601
44602 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44603 to groups setting in database lookup.
44604 * nss/nsswitch.conf: Add initgroups entry.
44605
b722481a
EB
446062011-04-22 Ulrich Drepper <drepper@gmail.com>
44607
44608 [BZ #12685]
44609 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44610 mode string.
44611 Patch by Eric Blake <eblake@redhat.com>.
44612
4df46dbd
L
446132011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44614
44615 * sunrpc/Makefile (need-export-routines): Add svc_run.
44616 (routines): Remove svc_run.
44617 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44618 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44619 * sunrpc/svc_run.c (svc_run): Likewise.
44620 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44621
e84142d2
UD
446222011-04-21 Ulrich Drepper <drepper@gmail.com>
44623
44624 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44625 problem in reallocation in last patch.
44626
877175d8
UD
446272011-04-20 Ulrich Drepper <drepper@gmail.com>
44628
44629 * sunrpc/Makefile: Move inclusion of Rules.
44630
ab8eed78
UD
446312011-04-19 Ulrich Drepper <drepper@gmail.com>
44632
44633 * nss/nss_files/files-initgroups.c: New file.
44634 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44635 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44636 _nss_files_initgroups_dyn.
44637
e3d8f584
RS
446382011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44639
44640 * elf/elf.h (R_ARM_IRELATIVE): Define.
44641
af190f45
UD
446422011-04-19 Ulrich Drepper <drepper@gmail.com>
44643
44644 * po/ru.po: Update from translation team.
44645
53cf59ef
UD
446462011-04-17 Ulrich Drepper <drepper@gmail.com>
44647
44648 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44649 dependencies.
44650
4c559bcd
MF
446512011-02-06 Mike Frysinger <vapier@gentoo.org>
44652
44653 [BZ #12653]
44654 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44655 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44656 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44657 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44658 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44659
4420675c
AS
446602011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44661
44662 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44663 differing bytes.
44664 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44665 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44666 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44667
75ea32ab
UD
446682011-04-17 Ulrich Drepper <drepper@gmail.com>
44669
44670 [BZ #12420]
44671 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44672 storing it.
44673 * stdlib/bug-getcontext.c: New file.
44674 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44675
27390476
AK
446762011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44677
44678 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44679 instructions into .machine "z9-109".
44680 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44681 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44682
10442705
AK
446832011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44684
44685 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44686 between environment variables and auxiliary vector.
44687
7b57bfe5
UD
446882011-04-16 Ulrich Drepper <drepper@gmail.com>
44689
44690 * Makefile: Add rules to build linkobj/libc.so.
44691 * include/libc-symbols.h: Define libc_hidden_nolink.
44692 * include/rpc/auth.h: Mark functions which are to be hidden.
44693 * include/rpc/auth_des.h: Likewise.
44694 * include/rpc/auth_unix.h: Likewise.
44695 * include/rpc/clnt.h: Likewise.
44696 * include/rpc/des_crypt.h: Likewise.
44697 * include/rpc/key_prot.h: Likewise.
44698 * include/rpc/pmap_clnt.h: Likewise.
44699 * include/rpc/pmap_prot.h: Likewise.
44700 * include/rpc/pmap_rmt.h: Likewise.
44701 * include/rpc/rpc_msg.h: Likewise.
44702 * include/rpc/svc.h: Likewise.
44703 * include/rpc/svc_auth.h: Likewise.
44704 * include/rpc/xdr.h: Likewise.
44705 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44706 * nss/Makefile: Likewise.
44707 * sunrpc/Makefile: Don't install headers. Build library with normal
44708 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44709 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44710 for the compat linking library. Remove use of INTDEF/INTUSE.
44711 * sunrpc/auth_none.c: Likewise.
44712 * sunrpc/auth_unix.c: Likewise.
44713 * sunrpc/authdes_prot.c: Likewise.
44714 * sunrpc/authuxprot.c: Likewise.
44715 * sunrpc/clnt_gen.c: Likewise.
44716 * sunrpc/clnt_perr.c: Likewise.
44717 * sunrpc/clnt_raw.c: Likewise.
44718 * sunrpc/clnt_simp.c: Likewise.
44719 * sunrpc/clnt_tcp.c: Likewise.
44720 * sunrpc/clnt_udp.c: Likewise.
44721 * sunrpc/clnt_unix.c: Likewise.
44722 * sunrpc/des_crypt.c: Likewise.
44723 * sunrpc/des_soft.c: Likewise.
44724 * sunrpc/get_myaddr.c: Likewise.
44725 * sunrpc/key_call.c: Likewise.
44726 * sunrpc/key_prot.c: Likewise.
44727 * sunrpc/netname.c: Likewise.
44728 * sunrpc/pm_getmaps.c: Likewise.
44729 * sunrpc/pm_getport.c: Likewise.
44730 * sunrpc/pmap_clnt.c: Likewise.
44731 * sunrpc/pmap_prot.c: Likewise.
44732 * sunrpc/pmap_prot2.c: Likewise.
44733 * sunrpc/pmap_rmt.c: Likewise.
44734 * sunrpc/publickey.c: Likewise.
44735 * sunrpc/rpc_cmsg.c: Likewise.
44736 * sunrpc/rpc_common.c: Likewise.
44737 * sunrpc/rpc_dtable.c: Likewise.
44738 * sunrpc/rpc_prot.c: Likewise.
44739 * sunrpc/rpc_thread.c: Likewise.
44740 * sunrpc/rtime.c: Likewise.
44741 * sunrpc/svc.c: Likewise.
44742 * sunrpc/svc_auth.c: Likewise.
44743 * sunrpc/svc_authux.c: Likewise.
44744 * sunrpc/svc_raw.c: Likewise.
44745 * sunrpc/svc_run.c: Likewise.
44746 * sunrpc/svc_simple.c: Likewise.
44747 * sunrpc/svc_tcp.c: Likewise.
44748 * sunrpc/svc_udp.c: Likewise.
44749 * sunrpc/svc_unix.c: Likewise.
44750 * sunrpc/svcauth_des.c: Likewise.
44751 * sunrpc/xcrypt.c: Likewise.
44752 * sunrpc/xdr.c: Likewise.
44753 * sunrpc/xdr_array.c: Likewise.
44754 * sunrpc/xdr_float.c: Likewise.
44755 * sunrpc/xdr_intXX_t.c: Likewise.
44756 * sunrpc/xdr_mem.c: Likewise.
44757 * sunrpc/xdr_rec.c: Likewise.
44758 * sunrpc/xdr_ref.c: Likewise.
44759 * sunrpc/xdr_sizeof.c: Likewise.
44760 * sunrpc/xdr_stdio.c: Likewise.
44761
e6c61494
UD
447622011-04-10 Ulrich Drepper <drepper@gmail.com>
44763
44764 [BZ #12650]
44765 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44766 * sysdeps/ia64/dl-tls.h: Likewise.
44767 * sysdeps/powerpc/dl-tls.h: Likewise.
44768 * sysdeps/s390/dl-tls.h: Likewise.
44769 * sysdeps/sh/dl-tls.h: Likewise.
44770 * sysdeps/sparc/dl-tls.h: Likewise.
44771 * sysdeps/x86_64/dl-tls.h: Likewise.
44772 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44773
34fe483e
AS
447742011-03-14 Andreas Schwab <schwab@redhat.com>
44775
44776 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44777 rpath element also skip the following colon.
44778 (expand_dynamic_string_token): Add is_path parameter and pass
44779 down to DL_DST_REQUIRED and _dl_dst_substitute.
44780 (decompose_rpath): Call expand_dynamic_string_token with
44781 non-zero is_path. Ignore empty rpaths.
44782 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44783 with zero is_path.
44784
f12a32e6
AS
447852011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44786
44787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44788 Make cancelable.
44789
38a7d692
UD
447902011-04-09 Ulrich Drepper <drepper@gmail.com>
44791
44792 [BZ #12655]
44793 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44794 Patch by Filipe David Manana <fdmanana@apache.org>.
44795
e451d22b
AS
447962011-04-07 Andreas Schwab <schwab@redhat.com>
44797
44798 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44799 Maintain aligned stack.
44800 (CHECK_RSP): Remove unused macro.
44801
dedc7c7b
UD
448022011-04-03 Ulrich Drepper <drepper@gmail.com>
44803
44804 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44805 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44806
94521213
UD
448072011-04-02 Ulrich Drepper <drepper@gmail.com>
44808
44809 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44810
8cb700c0 44811 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 44812
0354e355
L
448132011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44814
44815 [BZ #12518]
44816 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44817 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44818 * sysdeps/x86_64/memmove.c: New file.
44819 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44820 (memcpy): Renamed to ...
44821 (__new_memcpy): This.
44822 (memcpy): Provide GLIBC_2_14 memcpy.
44823 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44824 (memcpy): Provide GLIBC_2_2_5 memcpy.
44825
8593482f
UD
448262011-04-01 Ulrich Drepper <drepper@gmail.com>
44827
44828 [BZ #12631]
44829 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44830
81a5726b
AS
448312011-03-30 Andreas Schwab <schwab@redhat.com>
44832
44833 * misc/syncfs.c: New file.
44834 * misc/Makefile (routines): Add syncfs.
44835 * posix/unistd.h: Declare syncfs.
44836 * sysdeps/unix/syscalls.list: Add syncfs.
44837
00e5419f
AS
448382011-04-01 Andreas Schwab <schwab@redhat.com>
44839
44840 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44841 open_by_handle_at.
44842 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44843 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44844 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44845 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44846 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44847 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44848 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44849
748876bf
UD
448502011-04-01 Ulrich Drepper <drepper@gmail.com>
44851
658e451d
UD
44852 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44853 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44854 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44855 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44856 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44858 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44859
748876bf
UD
44860 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44861 sync_file_range.c with -fexceptions.
44862 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44863 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44864 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44865 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44866 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44867 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44868 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
44869 sync_file_range as cancellation point
44870 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44871 now a wrapper around __call_sync_file_range with cancellation handling.
44872 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44873 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44874 function name to __call_sync_file_range.
44875 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44876 Add call_sync_file_range.
748876bf 44877
6e63d5e1
AS
448782011-04-01 Andreas Schwab <schwab@redhat.com>
44879
44880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 44881 bits/timex.h.
6e63d5e1 44882
46998f74
UD
448832011-04-01 Ulrich Drepper <drepper@gmail.com>
44884
4c1423ed
UD
44885 * iconv/iconv.h: Fix typo in comment.
44886 * io/fcntl.h: Likewise.
44887 * libio/stdio.h: Likewise.
44888 * posix/spawn.h: Likewise.
44889 * posix/unistd.h: Likewise.
44890 * stdlib/stdlib.h: Likewise.
44891 * time/time.h: Likewise.
44892 * wcsmbs/wchar.h: Likewise.
44893
158648c0
UD
44894 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44895 open_by_handle): Add.
44896 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44897 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44898 Augment a few comments.
44899 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44901 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44902 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44903 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44904 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44905 open_by_handle.
44906
46998f74
UD
44907 * io/fcntl.h (AT_EMPTY_PATH): Define.
44908
83fe108b
UD
449092011-03-30 Ulrich Drepper <drepper@gmail.com>
44910
44911 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44912 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44913 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44914 to...
44915 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
44916 * Versions.def: Add GLIBC_2.14.
44917 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44918 Export.
83fe108b 44919
bb242059
UD
449202011-03-22 Ulrich Drepper <drepper@gmail.com>
44921
44922 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44923 round counter.
44924 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44925
c97a1282
L
449262011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44927
44928 [BZ #12597]
44929 * string/test-strncmp.c (do_page_test): New function.
44930 (check2): Likewise.
44931 (test_main): Call check2.
44932 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44933
2a115601
UD
449342011-03-20 Ulrich Drepper <drepper@gmail.com>
44935
44936 [BZ #12587]
44937 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44938 Handle cache information in CPU leaf 4.
44939 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44940
8126d904
UD
449412011-03-18 Ulrich Drepper <drepper@gmail.com>
44942
042c49c6 44943 [BZ #12583]
8126d904
UD
44944 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44945 character representation.
44946 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44947
ccfe366e
RA
449482011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44949
44950 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44951 END(__isnan) to END(__isnanf) to match function entry point/label
44952 EALIGN(__isnanf,...).
44953
c6e13027
JJ
449542011-03-10 Jakub Jelinek <jakub@redhat.com>
44955
44956 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44957
33f85a3f
UD
449582011-03-10 Ulrich Drepper <drepper@gmail.com>
44959
028478fa
UD
44960 [BZ #12510]
44961 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44962 copy from the symbol referenced in the relocation to initialize the
44963 used variable.
44964 Patch by Piotr Bury <pbury@goahead.com>.
44965 * elf/Makefile: Add rules to build and tst-unique3.
44966 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44967 * elf/tst-unique3.cc: New file.
44968 * elf/tst-unique3.h: New file.
44969 * elf/tst-unique3lib.cc: New file.
44970 * elf/tst-unique3lib2.cc: New file.
44971
33f85a3f
UD
44972 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44973
03592fc7
MF
449742011-03-10 Mike Frysinger <vapier@gentoo.org>
44975
44976 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44977 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44978 to _start.
03592fc7 44979
6a5ee102
UD
449802011-03-06 Ulrich Drepper <drepper@gmail.com>
44981
44982 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44983 to-be-loaded object along a path to loader is ld.so.
44984
7e4ba49c
HJ
449852011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44986 Ulrich Drepper <drepper@gmail.com>
44987
44988 * sysdeps/x86_64/memset.S: After aligning destination, code
44989 branches to different locations depending on the value of
44990 misalignment, when multiarch is enabled. Fix this.
44991
449922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44993
44994 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44995 Set _x86_64_preferred_memory_instruction for AMD processsors.
44996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44997 Set bit_Prefer_SSE_for_memop for AMD processors.
44998
13a804de
UD
449992011-03-04 Ulrich Drepper <drepper@gmail.com>
45000
45001 * libio/fmemopen.c (fmemopen): Optimize a bit.
45002
9d25c392
AS
450032011-03-03 Andreas Schwab <schwab@redhat.com>
45004
45005 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45006
a5543c6a
RM
450072011-03-03 Roland McGrath <roland@redhat.com>
45008
45009 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45010
012d35f7
DM
450112011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45012
7e4ba49c 45013 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
45014 __bzero_ultra1 instead of __memset_ultra1.
45015
4bff6e01
AS
450162011-02-23 Andreas Schwab <schwab@redhat.com>
45017 Ulrich Drepper <drepper@gmail.com>
45018
45019 [BZ #12509]
45020 * include/link.h (struct link_map): Add l_orig_initfini.
45021 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45022 returning unsuccessfully.
45023 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45024 close of a file loaded at startup, restore the original l_initfini
45025 list.
45026 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45027 list, store the pointer.
45028 * elf/Makefile ($(objpfx)noload-mem): New rule.
45029 (noload-ENV): Define.
45030 (tests): Add $(objpfx)noload-mem.
45031 * elf/noload.c: Include <memcheck.h>.
45032 (main): Call mtrace. Close all opened handles.
45033
f2092faf
AS
450342011-02-17 Andreas Schwab <schwab@redhat.com>
45035
45036 [BZ #12454]
45037 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45038 dependencies are missing.
45039
6c8a2e88
ST
450402011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45041
f2092faf 45042 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
45043 Hurd needs munmap.
45044 * sysdeps/mach/hurd/ifreq.h: New file.
45045
84a42118
PB
450462011-01-27 Petr Baudis <pasky@suse.cz>
45047 Ulrich Drepper <drepper@gmail.com>
45048
071f805e 45049 [BZ 12445]#
84a42118
PB
45050 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45051 to extend_alloca().
45052 * stdio-common/bug23.c: New file.
45053 * stdio-common/Makefile (tests): Add bug23.
45054
e23fe25b
AS
450552010-09-28 Andreas Schwab <schwab@redhat.com>
45056 Ulrich Drepper <drepper@gmail.com>
45057
45058 [BZ #12489]
45059 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45060 before performing relro protection. At old place add assertion
45061 to make sure nothing changed.
45062
d3f02e10
NS
450632011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45064 Glauber de Oliveira Costa <glommer@gmail.com>
45065
45066 * elf/elf.h: Add new ARM TLS relocs.
45067
d55fd7a5
RA
450682011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45069
45070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45071 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45072 cast from r3.
45073 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45074 'tests' variable.
45075 * sysdeps/wordsize-64/tst-writev.c: New file.
45076
2206397e
RA
450772011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45078
45079 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45080 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45081 insns in _dl_start to prevent a TOC reference before relocs are
45082 resolved.
45083
e9433893
UD
450842011-02-15 Ulrich Drepper <drepper@gmail.com>
45085
45086 [BZ #12469]
45087 * Makeconfig: Remove RANLIB definition.
45088 * Makerules: Don't use RANLIB.
45089 * aclocal.m4: Remove ranlib test.
45090 * configure.in: No need to check for ranlib.
45091 * elf/rtld-Rules: Don't use RANLIB.
45092
f75286c6
ST
450932011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45094
8e31c82d
ST
45095 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45096 protection macro.
45097 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45098 inclusion protection macro.
45099
f75286c6
ST
45100 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45101 SIGRTMIN and SIGRTMAX and print information in that case only when
45102 SIGRTMIN is defined.
45103
c1d0e639
JJ
451042011-02-11 Jakub Jelinek <jakub@redhat.com>
45105
45106 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45107 arginfo fn returning -1.
45108
45109 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45110 and thousands string is zero terminated.
45111
edf9294e
AS
451122011-02-03 Andreas Schwab <schwab@redhat.com>
45113
45114 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45115 sysdeps/unix/sysv/linux/bits/socket.h.
45116
2b7e92df
ST
451172011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45118
edf9294e
AS
45119 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45120 (__CPU_COUNT): Remove old macros.
45121 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45122 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45123 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
45124 (__sched_cpualloc, __sched_cpufree): Add declarations.
45125
a4c7ea7b
UD
451262011-02-05 Ulrich Drepper <drepper@gmail.com>
45127
45128 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45129 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45130 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45131 (readdhstai): Return value of addhstaiX call.
45132 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45133 (addgrbyX): Return value returned by cache_addgr.
45134 (readdgrbyname): Return value returned by addgrbyX.
45135 (readdgrbygid): Likewise.
45136 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45137 (addpwbyX): Return value returned by cache_addpw.
45138 (readdpwbyname): Return value returned by addhstbyX.
45139 (readdpwbyuid): Likewise.
45140 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45141 (addservbyX): Return value returned by cache_addserv.
45142 (readdservbyname): Return value returned by addservbyX:
45143 (readdservbyport): Likewise.
45144 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45145 (addhstbyX): Return value returned by cache_addhst.
45146 (readdhstbyname): Return value returned by addhstbyX.
45147 (readdhstbyaddr): Likewise.
45148 (readdhstbynamev6): Likewise.
45149 (readdhstbyaddrv6): Likewise.
45150 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45151 (readdinitgroups): Return value returned by addinitgroupsX.
45152 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45153 (prune_cache): Keep track of timeout value of re-added entries.
45154 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45155 * nscd/nscd.h: Adjust prototypes of readd* functions.
45156
a0bf67cc
RM
451572011-02-04 Roland McGrath <roland@redhat.com>
45158
45159 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45160 (nis_stats): Likewise.
45161 * nis/nis_modify.c (nis_modify): Likewise.
45162 * nis/nis_remove.c (nis_remove): Likewise.
45163 * nis/nis_add.c (nis_add): Likewise.
45164
45165 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45166
45167 * posix/fnmatch_loop.c: Add some consts.
45168
45169 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45170
435b95eb
L
451712011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45172
45173 [BZ #12460]
45174 * config.make.in (config-cflags-novzeroupper): Define.
45175 * configure.in: Substitute libc_cv_cc_novzeroupper.
45176 * elf/Makefile (AVX-CFLAGS): Define.
45177 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45178 (CFLAGS-tst-auditmod4a.c): Likewise.
45179 (CFLAGS-tst-auditmod4b.c): Likewise.
45180 (CFLAGS-tst-auditmod6b.c): Likewise.
45181 (CFLAGS-tst-auditmod6c.c): Likewise.
45182 (CFLAGS-tst-auditmod7b.c): Likewise.
45183 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45184
8517b15e
UD
451852011-02-02 Ulrich Drepper <drepper@gmail.com>
45186
45187 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45188 function to the callback.
45189 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45190
10a656fe
AS
451912011-02-02 Andreas Schwab <schwab@redhat.com>
45192
45193 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45194 of errno.
45195
968dad0a
UD
451962011-01-19 Ulrich Drepper <drepper@gmail.com>
45197
9f94d2ea 45198 [BZ #11724]
968dad0a
UD
45199 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45200 of constructors.
45201 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45202 of destructors.
45203 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45204
45205 [BZ #11724]
45206 * elf/Makefile: Add rules to build and run new test.
45207 * elf/tst-initorder.c: New file.
45208 * elf/tst-initorder.exp: New file.
45209 * elf/tst-initordera1.c: New file.
45210 * elf/tst-initordera2.c: New file.
45211 * elf/tst-initordera3.c: New file.
45212 * elf/tst-initordera4.c: New file.
45213 * elf/tst-initorderb1.c: New file.
45214 * elf/tst-initorderb2.c: New file.
45215 * elf/tst-order-a1.c: New file.
45216 * elf/tst-order-a2.c: New file.
45217 * elf/tst-order-a3.c: New file.
45218 * elf/tst-order-a4.c: New file.
45219 * elf/tst-order-b1.c: New file.
45220 * elf/tst-order-b2.c: New file.
45221 * elf/tst-order-main.c: New file.
45222 New test case by George Gensure <werkt0@gmail.com>.
45223
86e92359
UD
452242010-10-01 Andreas Schwab <schwab@redhat.com>
45225
45226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45227 decoding ACE if AI_CANONIDN.
45228
5d5732b0
UD
452292011-01-18 Ulrich Drepper <drepper@gmail.com>
45230
45231 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45232
a77e8cbc
UD
452332011-01-17 Ulrich Drepper <drepper@gmail.com>
45234
6392473f
UD
45235 * version.h (RELEASE): Bump for 2.13 release.
45236 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45237
620a0529
UD
45238 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45239
18ba70a5
UD
45240 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45241 MADV_NOHUGEPAGE.
32465c3e
UD
45242 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45243 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45244 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45245 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45246 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45247 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45248
c0dafcf1
UD
45249 * posix/getconf.c: Update copyright year.
45250 * catgets/gencat.c: Likewise.
45251 * csu/version.c: Likewise.
45252 * debug/catchsegv.sh: Likewise.
45253 * debug/xtrace.sh: Likewise.
45254 * elf/ldconfig.c: Likewise.
45255 * elf/ldd.bash.in: Likewise.
45256 * elf/sprof.c (print_version): Likewise.
45257 * iconv/iconv_prog.c: Likewise.
45258 * iconv/iconvconfig.c: Likewise.
45259 * locale/programs/locale.c: Likewise.
45260 * locale/programs/localedef.c: Likewise.
45261 * malloc/memusage.sh: Likewise.
45262 * malloc/mtrace.pl: Likewise.
45263 * nscd/nscd.c (print_version): Likewise.
45264 * nss/getent.c: Likewise.
45265
a77e8cbc
UD
45266 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45267 PF_CAIF, and PF_ALG.
45268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45269
77e8bddf
AS
452702011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45271
1f20b93a
AS
45272 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45273 (modules-names): Use them.
45274 (ifunc-test-modules, ifunc-pie-tests): Define.
45275 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45276 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45277 (test-extras): Likewise.
45278 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45279 $(compile-command.c).
45280 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45281 (all-built-dso): Define.
45282 (check-textrel.out, check-execstack.out): Depend on it.
45283
77e8bddf
AS
45284 * configure.in: Don't override --enable-multi-arch.
45285
bc425b33
UD
452862011-01-15 Ulrich Drepper <drepper@gmail.com>
45287
45288 [BZ #6812]
45289 * nscd/hstcache.c (tryagain): Define.
45290 (cache_addhst): Return tryagain not notfound for temporary errors.
45291 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45292 failed.
45293
794c3ad3
UD
452942011-01-14 Ulrich Drepper <drepper@gmail.com>
45295
70181fdd
UD
45296 [BZ #10563]
45297 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45298 to make the syscall.
45299 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45300
794c3ad3
UD
45301 [BZ #12378]
45302 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45303 and fall back to matching as normal character if the string ends before
45304 the matching ']' is found. This is what POSIX requires.
45305 * posix/testfnm.c: Adjust test result.
45306 * posix/globtest.sh: Adjust test result. Add new test.
45307 * posix/tst-fnmatch.input: Likewise.
45308 * posix/tst-fnmatch2.c: Add new test.
45309
68dc9497
AS
453102010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45311
45312 * elf/Makefile (check-execstack): Revert last change. Depend on
45313 check-execstack.h.
45314 (check-execstack.h): New target.
45315 (generated): Add check-execstack.h.
45316 * elf/check-execstack.c: Include "check-execstack.h".
45317 (main): Revert last change.
45318 (handle_file): Return zero if GNU_STACK is absent and
45319 DEFAULT_STACK_PERMS doesn't include PF_X.
45320
451f001b
UD
453212011-01-13 Ulrich Drepper <drepper@gmail.com>
45322
cfa28e56
UD
45323 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45324 in child fails because the descriptor is already closed.
8cf8ce17
UD
45325 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45326 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45327 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 45328
1086d70d
UD
45329 [BZ #12397]
45330 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45331 syscall.
45332
451f001b
UD
45333 [BZ #10484]
45334 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45335 temporary buffer used to handle multi lookups locally.
a85b5cb4 45336 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 45337
08769175
UD
453382011-01-12 Ulrich Drepper <drepper@gmail.com>
45339
45340 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45341 loader is ld.so.
45342
5e49c52e
UD
453432011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45344
45345 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45346 alignment for SSE2.
45347
60522a5f
UD
453482011-01-12 Ulrich Drepper <drepper@gmail.com>
45349
45350 [BZ #12394]
45351 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45352 characters. When rounding increased number of integer digits recompute
45353 number of groups.
45354 * stdio-common/tst-grouping.c: New file.
45355 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45356
f257bbd7
UD
453572011-01-09 Ulrich Drepper <drepper@gmail.com>
45358
45359 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45360 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45361
45362 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45363 void.
45364 * bits/select.h: Likewise.
45365
fa9c15cb
UD
453662011-01-08 Ulrich Drepper <drepper@gmail.com>
45367
45368 * po/ja.po: Update from translation team.
45369
16c2895f
DM
453702011-01-04 David S. Miller <davem@sunset.davemloft.net>
45371
45372 [BZ #11155]
45373 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45374 implementation just like for lxstat, fxstatat, et al.
45375
2543fef2
JM
453762010-12-27 Jim Meyering <meyering@redhat.com>
45377
45378 [BZ #12348]
45379 * posix/regexec.c (build_trtable): Return failure indication upon
45380 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45381
98727dbe
UD
453822010-12-25 Ulrich Drepper <drepper@gmail.com>
45383
5bd6dc5c
UD
45384 [BZ #12201]
45385 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45386 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45387 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45388 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45389
97983464
UD
45390 [BZ #12207]
45391 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45392
98727dbe
UD
45393 [BZ #12204]
45394 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45395 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45396
4a531bb0
L
453972010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45398
45399 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45400 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45401 script has SORT_BY_INIT_PRIORITY.
45402 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45403 NO_CTORS_DTORS_SECTIONS is defined.
45404 * elf/soinit.c: Likewise.
45405 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45406 NO_CTORS_DTORS_SECTIONS is defined.
45407 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45408 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45409 * sysdeps/sh/init-first.c: Likewise.
45410 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45411
07eb4b71
UD
454122010-12-24 Ulrich Drepper <drepper@gmail.com>
45413
45414 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45415 always use the slow path.
45416
30950a5f
RA
454172010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45418
45419 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45420 similar rule which adds the sysdep directories to the header search in
45421 order to pick up the correct platform stackinfo.h.
45422 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45423 perform test if it is, otherwise return successfully without testing.
45424 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45425 DEFAULT_STACK_PERMS define in stackinfo.h.
45426 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45427 defined in stackinfo.h.
45428 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45429 DEFAULT_STACK_PERMS defined in stackinfo.h.
45430 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45431 * sysdeps/ia64/stackinfo.h: Likewise.
45432 * sysdeps/s390/stackinfo.h: Likewise.
45433 * sysdeps/sh/stackinfo.h: Likewise.
45434 * sysdeps/sparc/stackinfo.h: Likewise.
45435 * sysdeps/x86_64/stackinfo.h: Likewise.
45436 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45437 PF_X for powerpc64. Retain PF_X for powerpc32.
45438
db753e2c
UD
454392010-12-19 Ulrich Drepper <drepper@gmail.com>
45440
14b697f7
UD
45441 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45442 accurately.
db753e2c
UD
45443 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45444 GETDENTS_64BIT_ALIGNED.
45445
28300719
UD
454462010-12-14 Ulrich Drepper <dreper@gmail.com>
45447
14b697f7 45448 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 45449
4f197237
AS
454502010-12-10 Andreas Schwab <schwab@redhat.com>
45451
dbb0472f
AS
45452 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45453 _GNU_SOURCE.
45454
4f197237
AS
45455 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45456 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45457 Remove __restrict.
45458 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45459 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45460
fb88ac72
UD
454612010-12-09 Ulrich Drepper <drepper@gmail.com>
45462
45463 [BZ #11655]
45464 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45465 are initialized.
45466
42acbb92
JJ
454672010-12-09 Jakub Jelinek <jakub@redhat.com>
45468
45469 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45470
c038d98d
UD
454712010-12-03 Ulrich Drepper <drepper@gmail.com>
45472
45473 * po/it.po: Update from translation team.
45474
3a4a2499
L
454752010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45476
45477 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45478 unused codes.
45479
1e24cf6e
UD
454802010-11-30 Ulrich Drepper <drepper@gmail.com>
45481
45482 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45483
a7690819
AS
454842010-11-24 Andreas Schwab <schwab@redhat.com>
45485
45486 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45487 specially.
45488 (gaih_getanswer_slice): Likewise.
45489
3bf8d1b1
JJ
454902010-10-20 Jakub Jelinek <jakub@redhat.com>
45491
45492 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45493
6db52fbb
PB
454942010-05-31 Petr Baudis <pasky@suse.cz>
45495
45496 [BZ #11149]
45497 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45498 silently even in the chroot mode.
45499
eaca7569
UD
455002010-11-22 Ulrich Drepper <drepper@gmail.com>
45501
45502 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45503 last patch a bit. Pretty printing
45504
3056dcdb
UD
455052010-05-31 Petr Baudis <pasky@suse.cz>
45506
45507 [BZ #10085]
45508 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45509 initialization of skip_initgroups_dyn.
45510
cf7c9078
UD
455112010-11-19 Ulrich Drepper <drepper@gmail.com>
45512
45513 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45514 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45515
a1fb5e3e
UD
455162010-11-16 Ulrich Drepper <drepper@gmail.com>
45517
45518 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45519
3540d66b
AS
455202010-11-11 Andreas Schwab <schwab@redhat.com>
45521
45522 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45523 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45524 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45525 ($(objpfx)tst-fnmatch-mem): New rule.
45526 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45527 * posix/tst-fnmatch.c (main): Call mtrace.
45528
13b69574
L
455292010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45530
45531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45532 Support Intel processor model 6 and model 0x2c.
45533
da93d214
LM
455342010-11-10 Luis Machado <luisgpm@br.ibm.com>
45535
45536 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45537 signed comparison.
45538
8ca52c6e
L
455392010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45540
45541 [BZ #12205]
45542 * string/test-strncasecmp.c (check_result): New function.
45543 (do_one_test): Use it.
45544 (check1): New function.
45545 (test_main): Use it.
45546 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45547 Support strcasecmp and strncasecmp.
45548
69da074d
UD
455492010-11-08 Ulrich Drepper <drepper@gmail.com>
45550
45551 [BZ #12194]
45552 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45553 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45554
ff02d528
L
455552010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45556
45557 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45558 IFUNC support.
45559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45560 memset-x86-64.
45561 * sysdeps/x86_64/multiarch/bzero.S: New file.
45562 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45563 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45564 * sysdeps/x86_64/multiarch/memset.S: New file.
45565 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45567 Set bit_Prefer_SSE_for_memop for Intel processors.
45568 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45569 Define.
45570 (index_Prefer_SSE_for_memop): Define.
45571 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45572
344d0b54
LM
455732010-11-04 Luis Machado <luisgpm@br.ibm.com>
45574
45575 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45576 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45577
c0dde15b
UD
455782010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45579
45580 [BZ #12191]
45581 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45582 (__x86_64_raw_data_cache_size_half): Likewise.
45583 (__x86_64_raw_shared_cache_size): Likewise.
45584 (__x86_64_raw_shared_cache_size_half): Likewise.
45585
45586 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45587 (__x86_64_raw_data_cache_size_half): Likewise.
45588 (__x86_64_raw_shared_cache_size): Likewise.
45589 (__x86_64_raw_shared_cache_size_half): Likewise.
45590 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45591 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45592 and __x86_64_raw_shared_cache_size_half. Round
45593 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45594 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45595 to multiple of 256 bytes.
45596
0e516e0e
MS
455972010-11-03 Ulrich Drepper <drepper@gmail.com>
45598
45599 [BZ #12167]
45600 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45601 of inacessible symlinks. Verify result of symlink before returning it.
45602 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45603 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45604
0e012e87
ER
456052010-10-28 Erich Ritz <erichritz@gmail.com>
45606
45607 * math/math.h (isinf): Fix typo in comment.
45608
de0ff7bc
UD
456092010-11-01 Ulrich Drepper <drepper@gmail.com>
45610
45611 * po/da.po: Update from translation team.
45612
fa41c84d
UD
456132010-10-26 Ulrich Drepper <drepper@gmail.com>
45614
45615 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45616 is added to the list.
45617
f0967738
AK
456182010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45619 Ulrich Drepper <drepper@gmail.com>
45620
45621 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45622 the global list here. Move code to...
45623 (_dl_add_to_namespace_list): ...here. New function.
45624 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45625 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45626 * elf/dl-load.c (lose): Don't remove the element from the list.
45627 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45628 (_dl_map_object): Likewise.
45629
456302010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
45631
45632 [BZ #12159]
45633 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45634 into all bytes of SSE register.
45635 Patch by Richard Li <richardpku@gmail.com>.
45636
f0967738 456372010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
45638
45639 [BZ #12140]
45640 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45641 perturbing.
45642
d0b9e94f
MB
456432010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45644
45645 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45646 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45647 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45648 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45650 submachine.
45651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45652
8e9f92e9
AS
456532010-10-22 Andreas Schwab <schwab@redhat.com>
45654
45655 * include/dlfcn.h (__RTLD_SECURE): Define.
45656 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45657 mode & __RTLD_SECURE instead.
45658 (open_path): Rename preloaded parameter to secure.
45659 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45660 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45661 * elf/dl-deps.c (openaux): Likewise.
45662 * elf/rtld.c (struct map_args): Remove is_preloaded.
45663 (map_doit): Don't use it.
45664 (dl_main): Likewise.
45665 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45666 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45667
bc96fbda
AS
456682010-09-09 Andreas Schwab <schwab@redhat.com>
45669
45670 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45671 (sysd-rules-targets): Remove duplicates.
45672 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45673 rtld-%.$o dependency.
45674
22cd1c9b
AS
456752010-10-18 Andreas Schwab <schwab@redhat.com>
45676
45677 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45678 _dl_map_object do it.
45679
18edac48
UD
456802010-10-19 Ulrich Drepper <drepper@gmail.com>
45681
45682 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45683 fast fma builtins, define the macros in the C99 standard.
45684 (FP_FAST_FMAF): Likewise.
45685 (FP_FAST_FMAL): Likewise.
45686 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45687
45688 * bits/mathdef.h: Update copyright year.
45689 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45690
d2050124
MM
456912010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45692
45693 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45694 builtins, define the macros in the C99 standard.
45695 (FP_FAST_FMAF): Likewise.
45696 (FP_FAST_FMAL): Likewise.
45697 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45698 multiply/add.
45699 (FP_FAST_FMAF): Likewise.
45700
475facd1
JJ
457012010-10-15 Jakub Jelinek <jakub@redhat.com>
45702
45703 [BZ #3268]
45704 * math/libm-test.inc (fma_test): Some new testcases.
45705 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45706 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45707 y and infinite z. Do multiplication by C already in long double.
45708 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45710 y and infinite z. Do bitwise or of inexact bit into u.d.
45711 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45712 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45713 * sysdeps/i386/fpu/s_fma.S: Removed.
45714 * sysdeps/i386/fpu/s_fmal.S: Removed.
45715
7c08a05c
JJ
457162010-10-16 Jakub Jelinek <jakub@redhat.com>
45717
45718 [BZ #3268]
45719 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45721 computation is not scheduled after fetestexcept. Fix value
45722 of minimum denormal long double.
45723
f3f7372d
JJ
457242010-10-14 Jakub Jelinek <jakub@redhat.com>
45725
45726 [BZ #3268]
45727 * math/libm-test.inc (fma_test): Add some more tests.
45728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45729 correctly.
45730
14d43591
AS
457312010-10-15 Andreas Schwab <schwab@redhat.com>
45732
45733 * scripts/data/localplt-s390-linux-gnu.data: New file.
45734 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45735
5e908464
JJ
457362010-10-13 Jakub Jelinek <jakub@redhat.com>
45737
45738 [BZ #3268]
45739 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45740 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45741 instead of dbl-64.
45742 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45743 inlines.
45744 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45746 if one of x and y is very large and the other is subnormal.
45747 * sysdeps/s390/fpu/s_fmaf.c: New file.
45748 * sysdeps/s390/fpu/s_fma.c: New file.
45749 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45750 * sysdeps/powerpc/fpu/s_fma.S: New file.
45751 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45752 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45753 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45754
457552010-10-12 Jakub Jelinek <jakub@redhat.com>
45756
45757 [BZ #3268]
45758 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45759 fma tests.
45760 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45761 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45762 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45763 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45764 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45765 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45766 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45767
b833d51f
UD
457682010-10-12 Ulrich Drepper <drepper@redhat.com>
45769
45770 [BZ #12078]
45771 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45772 * posix/bug-regex31.input: Add test case.
45773
1751705d
UD
457742010-10-11 Ulrich Drepper <drepper@gmail.com>
45775
e9b9cbf5
UD
45776 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45777 * posix/bug-regex31.input: New file.
45778
45779 [BZ #12078]
45780 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45781 (parse_sub_exp): Fix last change, use postorder.
45782
ef06edbe
UD
45783 * posix/bug-regex31.c: New file.
45784 * posix/Makefile: Add rules to build and run bug-regex31.
45785
a129c80d
UD
45786 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45787
45788 [BZ #12078]
45789 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45790
b76b818e
UD
45791 [BZ #12108]
45792 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45793 to have entries in sys_siglist.
45794
1751705d
UD
45795 [BZ #12093]
45796 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45797 be NULL.
45798
9ff8d36f
JJ
457992010-10-07 Jakub Jelinek <jakub@redhat.com>
45800
45801 [BZ #3268]
45802 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45803 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45804 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45805 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45806 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45807 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45808 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45809 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45810 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45811 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45812 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45813 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45814 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45815 * math/ftestexcept.c (fetestexcept): Likewise.
45816 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45817 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45818 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45819 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45820 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45821 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45822 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45823
af325969
UD
458242010-10-11 Ulrich Drepper <drepper@gmail.com>
45825
c579b202 45826 [BZ #12107]
af325969
UD
45827 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45828 newline.
45829
67a67b95
UD
458302010-10-06 Ulrich Drepper <drepper@gmail.com>
45831
45832 * string/bug-strstr1.c: New file.
45833 * string/Makefile: Add rules to build and run bug-strstr1.
45834
5fb308bc
EB
458352010-10-05 Eric Blake <eblake@redhat.com>
45836
45837 [BZ #12092]
45838 * string/str-two-way.h (two_way_long_needle): Always clear memory
45839 when skipping input due to the shift table.
45840
45db99c7
UD
458412010-10-03 Ulrich Drepper <drepper@gmail.com>
45842
3b111893
UD
45843 [BZ #12005]
45844 * malloc/mcheck.c: Handle large requests.
45845
45db99c7
UD
45846 [BZ #12077]
45847 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45848 for strncmp and strncasecmp.
45849 * string/stratcliff.c: Add tests for strcmp and strncmp.
45850 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45851
cf7a1eb8
NI
458522010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45853
45854 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45855 __set_fpscr.
45856
6484ba5e
AJ
458572010-09-30 Andreas Jaeger <aj@suse.de>
45858
45859 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45860 (CGROUP_SUPER_MAGIC): Define.
45861 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45862 Handle btrfs and cgroup file systems.
45863 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45864 Likewise.
45865
91c42559
LM
458662010-09-27 Luis Machado <luisgpm@br.ibm.com>
45867
45868 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45869 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45870
87a97932
AK
458712010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45872
45873 [BZ #12067]
45874 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45875 trying to locate the ELF header.
45876
c21cc9bc
AS
458772010-09-27 Andreas Schwab <schwab@redhat.com>
45878
45879 [BZ #11611]
45880 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45881 Mask out sign-bit copies when constructing f_fsid.
45882
315970f6
PB
458832010-09-24 Petr Baudis <pasky@suse.cz>
45884
45885 * debug/stack_chk_fail_local.c: Add missing licence exception.
45886 * debug/warning-nop.c: Likewise.
45887
1ac7a2c7
JM
458882010-09-15 Joseph Myers <joseph@codesourcery.com>
45889
45890 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45891 implementing getdents64 using getdents syscall, set d_type if
45892 __ASSUME_GETDENTS32_D_TYPE.
45893
56801c50
AS
458942010-09-16 Andreas Schwab <schwab@redhat.com>
45895
45896 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45897 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45898
dda51327
UD
458992010-09-21 Ulrich Drepper <drepper@redhat.com>
45900
45901 [BZ #12037]
45902 * posix/unistd.h: Undo change of feature selection for ftruncate from
45903 2010-01-11.
45904
8ffcee4a
UD
459052010-09-20 Ulrich Drepper <drepper@redhat.com>
45906
a545ecd9 45907 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
45908 detection.
45909
e24f0a8b
AS
459102010-09-20 Andreas Schwab <schwab@redhat.com>
45911
45912 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45913 fanotify_mark.
45914 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45915
7291c56f
AS
459162010-09-14 Andreas Schwab <schwab@redhat.com>
45917
45918 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45919 variables after CHECK_SP call.
45920 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45921
bc5fb037
AS
459222010-09-13 Andreas Schwab <schwab@redhat.com>
45923 Ulrich Drepper <drepper@redhat.com>
45924
45925 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45926 re-relocationg ld.so.
45927 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45928 _dl_init_paths call.
45929 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45930 here anymore.
45931
e66e7419
UD
459322010-09-14 Ulrich Drepper <drepper@redhat.com>
45933
45934 * resolv/res_init.c (__res_vinit): Count the default server we added.
45935
c044aa75
CLT
459362010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45937 Ulrich Drepper <drepper@redhat.com>
45938
45939 [BZ #11968]
45940 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45941 (____longjmp_chk): Use %ebx for saving value across system call.
45942 Add unwind info.
45943
32cf4069
AS
459442010-09-06 Andreas Schwab <schwab@redhat.com>
45945
45946 * manual/Makefile: Don't mix pattern rules with normal rules.
45947
817328ee
AS
459482010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45949
45950 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45951 operation.
45952 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45953 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45954 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45955 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45956 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45957 Likewise.
45958
29fddf61
UD
459592010-09-04 Ulrich Drepper <drepper@redhat.com>
45960
45961 [BZ #11979]
45962 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45963 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45964
0959ffc9
UD
459652010-09-02 Ulrich Drepper <drepper@redhat.com>
45966
45967 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45968 * sysdeps/x86_64/addmul_1.S: Likewise.
45969 * sysdeps/x86_64/lshift.S: Likewise.
45970 * sysdeps/x86_64/mul_1.S: Likewise.
45971 * sysdeps/x86_64/rshift.S: Likewise.
45972 * sysdeps/x86_64/sub_n.S: Likewise.
45973 * sysdeps/x86_64/submul_1.S: Likewise.
45974
ece29840
ST
459752010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45976
0959ffc9
UD
45977 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45978 Define __sched_param instead of SCHED_* and sched_param when
ece29840 45979 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 45980 * bits/sched.h [__need_schedparam]
ece29840 45981 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
45982 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45983 (__defined_schedparam): Define to 1.
ece29840
ST
45984 (__sched_param): New structure, identical to sched_param.
45985 (__need_schedparam): Undefine.
45986
e53a31fe
MF
459872010-08-31 Mike Frysinger <vapier@gentoo.org>
45988
fdc0c10d
MF
45989 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45990 (epoll_create1): Declare.
45991
e53a31fe
MF
45992 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45993
a726d796
AS
459942010-08-31 Andreas Schwab <schwab@redhat.com>
45995
45996 [BZ #7066]
45997 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45998 shifting retval into place.
45999
2f3e3dc7
UD
460002010-09-01 Ulrich Drepper <drepper@redhat.com>
46001
f2933da9
UD
46002 * nis/rpcsvc/nis.h: Update copyright notice.
46003 * nis/rpcsvc/nis.x: Likewise.
46004 * nis/rpcsvc/nis_callback.h: Likewise.
46005 * nis/rpcsvc/nis_callback.x: Likewise.
46006 * nis/rpcsvc/nis_object.x: Likewise.
46007 * nis/rpcsvc/nis_tags.h: Likewise.
46008 * nis/rpcsvc/yp.h: Likewise.
46009 * nis/rpcsvc/yp.x: Likewise.
46010 * nis/rpcsvc/ypupd.h: Likewise.
46011 * nis/yp_xdr.c: Likewise.
46012 * nis/ypupdate_xdr.c: Likewise.
46013
2f3e3dc7
UD
46014 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46015 mainly the body of pmap_getport. Add parameters to specify timeouts.
46016 (pmap_getport): Use __libc_rpc_getport.
46017 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46018 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46019 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46020
f3dcc2f9
AS
460212010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46022
46023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46024 fanotify_mark.
46025
6d34eb5b
RM
460262010-08-27 Roland McGrath <roland@redhat.com>
46027
46028 * sysdeps/i386/i686/multiarch/Makefile
46029 (CFLAGS-varshift.c): New variable.
46030
9ea3de11
UD
460312010-08-27 Ulrich Drepper <drepper@redhat.com>
46032
c96d23fc
UD
46033 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46034 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46035
9ea3de11
UD
46036 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46037
46038 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46039
623aac7f
L
460402010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46041
46042 * sysdeps/x86_64/strlen.S: Unroll the loop.
46043 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46044 strlen-sse2 strlen-sse2-bsf.
46045 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46046 __strlen_no_bsf if bit_Slow_BSF is set.
46047 (__strlen_sse42): Removed.
46048 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46049 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46050
8b2b7715
RM
460512010-08-25 Roland McGrath <roland@redhat.com>
46052
46053 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46054 * sysdeps/x86_64/multiarch/varshift.c: New file.
46055 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46056 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46057 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46058 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46059
e73015f2
L
460602010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46061
46062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46063 strlen-sse2 strlen-sse2-bsf.
46064 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46065 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46066 (__strlen_sse2): Removed.
46067 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46068 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46069 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46070 bit_Slow_BSF for Atom.
46071 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46072 (index_Slow_BSF): Define.
46073 (HAS_SLOW_BSF): Define.
46074
df24a73e
UD
460752010-08-25 Ulrich Drepper <drepper@redhat.com>
46076
46077 [BZ #10851]
46078 * resolv/res_init.c (__res_vinit): When no server address at all
46079 is given default to loopback.
46080
f2ac4868
RM
460812010-08-24 Roland McGrath <roland@redhat.com>
46082
09055553
RM
46083 * configure.in: Remove config-name.h generation.
46084 * configure: Regenerated.
46085 * config-name.in: File removed.
46086 * scripts/config-uname.sh: New file.
46087 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46088 ($(objdir)config-name.h): New target.
46089
f2ac4868
RM
46090 * sunrpc/rpc_parse.h: Avoid nested comment.
46091
73f27d5e
RH
460922010-08-24 Richard Henderson <rth@redhat.com>
46093 Ulrich Drepper <drepper@redhat.com>
46094 H.J. Lu <hongjiu.lu@intel.com>
46095
46096 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46097 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46098 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46099 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46100 _mm_alignr_epi8 with _mm_loadu_si128.
46101 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46102 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46103 (__m128i_shift_right): Removed.
46104 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46105 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46106 * sysdeps/x86_64/multiarch/varshift.h: New file.
46107 * sysdeps/x86_64/multiarch/varshift.S: New file.
46108
84b9230c
MF
461092010-08-21 Mike Frysinger <vapier@gentoo.org>
46110
46111 * configure.in: Move assembler checks to before sysdep dir checking.
46112
9bbd0ddc
PB
461132010-08-20 Petr Baudis <pasky@suse.cz>
46114
46115 * LICENSES: Sync the sunrpc license.
46116
9da4bb31
UD
461172010-08-19 Ulrich Drepper <drepper@redhat.com>
46118
a7ab6ec8
UD
46119 * sunrpc/auth_des.c: Update copyright notice once again.
46120 * sunrpc/auth_none.c: Likewise.
46121 * sunrpc/auth_unix.c: Likewise.
46122 * sunrpc/authdes_prot.c: Likewise.
46123 * sunrpc/authuxprot.c: Likewise.
46124 * sunrpc/bindrsvprt.c: Likewise.
46125 * sunrpc/clnt_gen.c: Likewise.
46126 * sunrpc/clnt_perr.c: Likewise.
46127 * sunrpc/clnt_raw.c: Likewise.
46128 * sunrpc/clnt_simp.c: Likewise.
46129 * sunrpc/clnt_tcp.c: Likewise.
46130 * sunrpc/clnt_udp.c: Likewise.
46131 * sunrpc/clnt_unix.c: Likewise.
46132 * sunrpc/des_crypt.c: Likewise.
46133 * sunrpc/des_soft.c: Likewise.
46134 * sunrpc/get_myaddr.c: Likewise.
46135 * sunrpc/getrpcport.c: Likewise.
46136 * sunrpc/key_call.c: Likewise.
46137 * sunrpc/key_prot.c: Likewise.
46138 * sunrpc/openchild.c: Likewise.
46139 * sunrpc/pm_getmaps.c: Likewise.
46140 * sunrpc/pm_getport.c: Likewise.
46141 * sunrpc/pmap_clnt.c: Likewise.
46142 * sunrpc/pmap_prot.c: Likewise.
46143 * sunrpc/pmap_prot2.c: Likewise.
46144 * sunrpc/pmap_rmt.c: Likewise.
46145 * sunrpc/rpc/auth.h: Likewise.
46146 * sunrpc/rpc/auth_unix.h: Likewise.
46147 * sunrpc/rpc/clnt.h: Likewise.
46148 * sunrpc/rpc/des_crypt.h: Likewise.
46149 * sunrpc/rpc/key_prot.h: Likewise.
46150 * sunrpc/rpc/netdb.h: Likewise.
46151 * sunrpc/rpc/pmap_clnt.h: Likewise.
46152 * sunrpc/rpc/pmap_prot.h: Likewise.
46153 * sunrpc/rpc/pmap_rmt.h: Likewise.
46154 * sunrpc/rpc/rpc.h: Likewise.
46155 * sunrpc/rpc/rpc_des.h: Likewise.
46156 * sunrpc/rpc/rpc_msg.h: Likewise.
46157 * sunrpc/rpc/svc.h: Likewise.
46158 * sunrpc/rpc/svc_auth.h: Likewise.
46159 * sunrpc/rpc/types.h: Likewise.
46160 * sunrpc/rpc/xdr.h: Likewise.
46161 * sunrpc/rpc_clntout.c: Likewise.
46162 * sunrpc/rpc_cmsg.c: Likewise.
46163 * sunrpc/rpc_common.c: Likewise.
46164 * sunrpc/rpc_cout.c: Likewise.
46165 * sunrpc/rpc_dtable.c: Likewise.
46166 * sunrpc/rpc_hout.c: Likewise.
46167 * sunrpc/rpc_main.c: Likewise.
46168 * sunrpc/rpc_parse.c: Likewise.
46169 * sunrpc/rpc_parse.h: Likewise.
46170 * sunrpc/rpc_prot.c: Likewise.
46171 * sunrpc/rpc_sample.c: Likewise.
46172 * sunrpc/rpc_scan.c: Likewise.
46173 * sunrpc/rpc_scan.h: Likewise.
46174 * sunrpc/rpc_svcout.c: Likewise.
46175 * sunrpc/rpc_tblout.c: Likewise.
46176 * sunrpc/rpc_util.c: Likewise.
46177 * sunrpc/rpc_util.h: Likewise.
46178 * sunrpc/rpcinfo.c: Likewise.
46179 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46180 * sunrpc/rpcsvc/key_prot.x: Likewise.
46181 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46182 * sunrpc/rpcsvc/mount.x: Likewise.
46183 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46184 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46185 * sunrpc/rpcsvc/rex.x: Likewise.
46186 * sunrpc/rpcsvc/rstat.x: Likewise.
46187 * sunrpc/rpcsvc/rusers.x: Likewise.
46188 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46189 * sunrpc/rpcsvc/spray.x: Likewise.
46190 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46191 * sunrpc/rtime.c: Likewise.
46192 * sunrpc/svc.c: Likewise.
46193 * sunrpc/svc_auth.c: Likewise.
46194 * sunrpc/svc_authux.c: Likewise.
46195 * sunrpc/svc_raw.c: Likewise.
46196 * sunrpc/svc_run.c: Likewise.
46197 * sunrpc/svc_simple.c: Likewise.
46198 * sunrpc/svc_tcp.c: Likewise.
46199 * sunrpc/svc_udp.c: Likewise.
46200 * sunrpc/svc_unix.c: Likewise.
46201 * sunrpc/svcauth_des.c: Likewise.
46202 * sunrpc/xcrypt.c: Likewise.
46203 * sunrpc/xdr.c: Likewise.
46204 * sunrpc/xdr_array.c: Likewise.
46205 * sunrpc/xdr_float.c: Likewise.
46206 * sunrpc/xdr_mem.c: Likewise.
46207 * sunrpc/xdr_rec.c: Likewise.
46208 * sunrpc/xdr_ref.c: Likewise.
46209 * sunrpc/xdr_sizeof.c: Likewise.
46210 * sunrpc/xdr_stdio.c: Likewise.
46211
9da4bb31
UD
46212 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46213 handling.
46214
bdaa77bc
AS
462152010-08-19 Andreas Schwab <schwab@redhat.com>
46216
46217 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46218
fe2f79db
LM
462192010-08-19 Luis Machado <luisgpm@br.ibm.com>
46220
46221 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46222 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46223 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46224 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46225 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46226 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46227 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46228 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46229 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46230 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46231 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46232 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46233 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46234 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46235
b9b42ee0
AB
462362010-07-26 Anton Blanchard <anton@samba.org>
46237
46238 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46239 * malloc/arena.c (heap_trim): Likewise.
46240
1c06ba31
UD
462412010-08-16 Ulrich Drepper <drepper@redhat.com>
46242
46243 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46244 here. Not...
46245 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46246 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46247
f8392f40
L
462482010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46249
46250 * sysdeps/i386/elf/Makefile: New file.
46251
3162f12e
AS
462522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46253
46254 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46255 from fanotify_init.
46256 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46257 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46258
28c90b2c
UD
462592010-08-15 Ulrich Drepper <drepper@redhat.com>
46260
46261 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46262 of strncasecmp_l.
1feccb6c 46263 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 46264
ca6bb004
UD
462652010-08-14 Ulrich Drepper <drepper@redhat.com>
46266
e9f82e0d
UD
46267 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46268 strncase_l-nonascii.
46269 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46270 Add strncase_l-ssse3.
46271 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46272 * sysdeps/x86_64/strcmp.S: Likewise.
46273 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46274 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46275 * sysdeps/x86_64/strncase.S: New file.
46276 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46277 * sysdeps/x86_64/strncase_l.S: New file.
46278 * string/Makefile (strop-tests): Add strncasecmp.
46279 * string/test-strncasecmp.c: New file.
46280
46281 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46282 warning.
46283
ca6bb004
UD
46284 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46285 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46286
052fa7b3
AS
462872010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46288
46289 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46290
962dba78
UD
462912010-08-12 Ulrich Drepper <drepper@redhat.com>
46292
46293 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46294 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46295 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46296
bebff237
AM
462972010-05-01 Alan Modra <amodra@gmail.com>
46298
46299 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46300 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46301 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46302 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46303 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46304 tidying. Don't tail-call __sigjmp_save for static lib.
46305 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46306 save location.
46307 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46308 (CALL_MCOUNT): Add eh info, and nop after bl.
46309 (TAIL_CALL_SYSCALL_ERROR): New macro.
46310 (PSEUDO_RET): Use it.
46311 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46312 Correct save location of integer regs and cr.
46313 (_dl_profile_resolve): Correct cr save location. Delete nops
46314 after bl when SHARED. Reduce cfi size a little by better
46315 placement of cfi directives.
46316 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46317 make a stack frame. Instead use parm save area as a temp.
46318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46319 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46321 Don't make a stack frame for parent, use parm save area.
46322 Increase child stack frame to 112 bytes. Don't save unused reg,
46323 and adjust reg usage. Set up cfi on error recovery and
46324 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46326 (__makecontext): Add dummy nop after jump to exit.
46327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46328 Use correct parm save area and cr save, reduce stack frame.
46329 Correct cfi for possible PSEUDO_RET frame setup.
46330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46331 Branch to local label emitted by PSEUDO_RET rather than
46332 __syscall_error.
46333
02637374
AS
463342010-08-12 Andreas Schwab <schwab@redhat.com>
46335
46336 [BZ #11904]
46337 * locale/programs/locale.c (print_assignment): New function.
46338 (show_locale_vars): Use it.
46339
c3e2f19b
UD
463402010-08-11 Ulrich Drepper <drepper@redhat.com>
46341
3cdaa6ad
UD
46342 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46343 field.
46344 (struct statfs64): Likewise.
46345 (_STATFS_F_FLAGS): Define.
46346 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46347 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46348 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46349 (ST_VALID): Define locally.
46350 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46351 __statvfs_getflags, use the provided value.
46352 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46353 __ASSUME_STATFS_F_FLAGS.
46354
754f7da3
UD
46355 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46356
10b3bedc
UD
46357 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46358 Add sys/fanotify.h.
46359 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46360 fanotify_mask for GLIBC_2.13.
46361 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46362 fanotify_init and fanotify_mark.
46363 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46364 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46365
c08fb0d7
UD
46366 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46367 Add prlimit.
46368 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46369 prlimit64 for GLIBC_2.13.
46370 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46371 prlimit64.
46372 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46373 syscall.
46374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46375 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46376 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46377 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46378 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46379 add prlimit alias.
46380 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46381
15bac72b
UD
46382 [BZ #11903]
46383 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46384 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46385
c3e2f19b
UD
46386 * nss/Makefile: Add rules to build and run tst-nss-test1.
46387 * shlib-versions: Add entry for libnss_test1.
46388 * nss/nss_test1.c: New file.
46389 * nss/tst-nss-test1.c: New file.
46390
46391 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46392 (__nss_configure_lookup): Set appropriate entry in
46393 __nss_configure_lookup to true.
46394 * nss/nsswitch.h: Define enum with indeces of databases in
46395 databases and __nss_database_custom arrays. Declare
46396 __nss_database_custom.
46397 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46398 to avoid using nscd when custom rules are installed.
46399 * nss/getXXbyYY_r.c: Likewise.
46400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46401
46402 * nss/nss_files/files-parse.c: Whitespace fixes.
46403
f15ce4d8
UD
464042010-08-09 Ulrich Drepper <drepper@redhat.com>
46405
46406 [BZ #11883]
46407 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46408 * posix/fnmatch_loop.c: Likewise.
46409
d22e4cc9
AK
464102010-07-17 Andi Kleen <ak@linux.intel.com>
46411
46412 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46413 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46414 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46415 * Versions.def [GLIBC_2.13]: Add.
46416
805bc17d
UD
464172010-08-06 Ulrich Drepper <drepper@redhat.com>
46418
46419 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46420 Also fail if tpwd after pwuid call is NULL.
46421
5a42321d
ST
464222010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46423
46424 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46425 when converting to ms.
46426
fd3ebeda
ST
464272010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46428
46429 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46430 EOPNOTSUPP errors with ENOTTY.
46431 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46432 EOPNOTSUPP errors with ENOTTY.
46433
73507d3a
UD
464342010-07-31 Ulrich Drepper <drepper@redhat.com>
46435
46436 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46437 Add strcasecmp_l-ssse3.
46438 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46439 strcasecmp.
46440 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46441 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46442 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46443
fe36dd02
UD
464442010-07-30 Ulrich Drepper <drepper@redhat.com>
46445
66f6765a
UD
46446 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46447
42e08a54
UD
46448 * string/Makefile (strop-tests): Add strcasecmp.
46449 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46450 strcasecmp_l-nonascii.
46451 (gen-as-const-headers): Add locale-defines.sym.
46452 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46453 * sysdeps/x86_64/strcasecmp.S: New file.
46454 * sysdeps/x86_64/strcasecmp_l.S: New file.
46455 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46456 * sysdeps/x86_64/locale-defines.sym: New file.
46457 * string/test-strcasecmp.c: New file.
46458
fe36dd02
UD
46459 * string/test-strcasestr.c: Test both ends of the range of characters.
46460 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46461
48cbc0d6
RM
464622010-07-29 Roland McGrath <roland@redhat.com>
46463
76e6d6bc 46464 [BZ #11856]
48cbc0d6
RM
46465 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46466
880113d9
UD
464672010-07-27 Ulrich Drepper <drepper@redhat.com>
46468
46469 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46470 for ld.so.
46471
deb9cabb
AS
464722010-07-27 Andreas Schwab <schwab@redhat.com>
46473
46474 * manual/memory.texi (Malloc Tunable Parameters): Document
46475 M_PERTURB.
46476
1c7570ff
RM
464772010-07-26 Roland McGrath <roland@redhat.com>
46478
46479 [BZ #11840]
46480 * configure.in (-fgnu89-inline check): Set and substitute
46481 gnu89_inline, not libc_cv_gnu89_inline.
46482 * configure: Regenerated.
46483 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46484
24fb0f88
UD
464852010-07-26 Ulrich Drepper <drepper@redhat.com>
46486
46487 * string/test-strnlen.c: New file.
46488 * string/Makefile (strop-tests): Add strnlen.
46489 * string/tester.c (test_strnlen): Add a few more test cases.
46490 * string/tst-strlen.c: Better error reporting.
46491
46492 * sysdeps/x86_64/strnlen.S: New file.
46493
8e96b93a
UD
464942010-07-24 Ulrich Drepper <drepper@redhat.com>
46495
46496 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46497 lower-latency instructions.
46498
dbc676d4
UD
464992010-07-23 Ulrich Drepper <drepper@redhat.com>
46500
46501 * string/test-strcasestr.c: New file.
46502 * string/test-strstr.c: New file.
46503 * string/Makefile (strop-tests): Add strstr and strcasestr.
46504 * string/str-two-way.h: Don't undefine MAX.
46505 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46506
f6a31e0e
AS
465072010-07-21 Andreas Schwab <schwab@redhat.com>
46508
46509 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46510 strcasestr-nonascii.
46511 (CFLAGS-strcasestr-nonascii.c): Define.
46512 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46513 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46514 Remove unused attribute.
46515
5dbc3b6c
RM
465162010-07-20 Roland McGrath <roland@redhat.com>
46517
46518 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46519 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46520 ld.so.cache was broken. With it, there is no way to disable dsocaps
46521 like LD_HWCAP_MASK can disable hwcaps.
46522
23d101d8
EPM
465232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46524
46525 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46526
cc9f2e47
UD
465272010-07-16 Ulrich Drepper <drepper@redhat.com>
46528
46529 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46530 call in strcasestr.
46531 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46532 __strcasestr_sse42_nonascii.
46533 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46534 strcasestr-nonascii.c.
46535 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46536
77c1b069
LM
465372010-06-15 Luis Machado <luisgpm@br.ibm.com>
46538
46539 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46540 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46541 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46542 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46543
440566c3
UD
465442010-07-09 Ulrich Drepper <drepper@redhat.com>
46545
46546 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46547 fcntl.
46548
5be9d05d
AS
465492010-07-06 Andreas Schwab <schwab@redhat.com>
46550
c30b7ee2 46551 [BZ #11577]
5be9d05d
AS
46552 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46553 dl_signal_cerror.
46554
8a492a67
UD
465552010-07-06 Ulrich Drepper <drepper@redhat.com>
46556
46557 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46558 _PC_PIPE_BUF using F_GETPIPE_SZ.
46559
713df3d5
RM
465602010-07-05 Roland McGrath <roland@redhat.com>
46561
46562 * manual/arith.texi (Rounding Functions): Fix rint description
46563 implicit in round description.
46564
702e8f14
UD
465652010-07-02 Ulrich Drepper <drepper@redhat.com>
46566
46567 * elf/Makefile: Fix linking for a few tests to make recent linker
46568 happy.
46569
52ed8be9
AS
465702010-06-30 Andreas Schwab <schwab@redhat.com>
46571
46572 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46573 $(common-objpfx)libc_nonshared.a.
46574
f47c9a11
LM
465752010-06-21 Luis Machado <luisgpm@br.ibm.com>
46576
46577 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46578 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46579 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46580 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46581 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46582 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46583 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46584 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46599 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46600 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46601 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46602 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46603 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46604 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46605 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46606 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46607 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46608 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46609 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46610 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46625
6fb8cbcb
L
466262010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46627
46628 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46629 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46630 * string/memmove.c (memmove): Renamed to ...
46631 (MEMMOVE): ...this. Default to memmove.
46632 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46633 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46634 (END_CHK): Define.
46635 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46636 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46637 mempcpy-ssse3-back memmove-ssse3-back.
46638 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46639 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46640 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46641 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46642 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46643 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46644 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46645 * sysdeps/x86_64/multiarch/memmove.c: New file.
46646 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46647 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46648 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46649 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46650 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46651 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46652 Define.
46653 (index_Fast_Copy_Backward): Define.
46654 (HAS_ARCH_FEATURE): Define.
46655 (HAS_FAST_REP_STRING): Define.
46656 (HAS_FAST_COPY_BACKWARD): Define.
46657
4e733bac 466582010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
46659
46660 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46661 Restore proper fallback handling.
46662
63c4ed22
UD
466632010-06-19 Ulrich Drepper <drepper@redhat.com>
46664
ac2b484c
UD
46665 [BZ #11701]
46666 * posix/group_member.c (__group_member): Correct checking loop.
46667
63c4ed22
UD
46668 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46669 OOM in getpwuid_r correctly. Return error number when the caller
46670 should return, otherwise -1.
46671 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46672 call returning > 0 value.
46673 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46674
765ade4b
AS
466752010-06-07 Andreas Schwab <schwab@redhat.com>
46676
46677 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46678 libc_nonshared.a from targets in modules-names.
46679
80da2e09
KS
466802010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46681
46682 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46683 requires it.
46684
158db122
LM
466852010-06-10 Luis Machado <luisgpm@br.ibm.com>
46686
46687 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46688 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46689 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46690 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46691
caa78cf8
AS
466922010-06-02 Andreas Schwab <schwab@redhat.com>
46693
46694 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46695
b2ef2c01
UD
466962010-06-14 Ulrich Drepper <drepper@redhat.com>
46697
46698 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46699 and F_GETPIPE_SZ.
46700 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46701 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46702 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46703 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46704 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46705 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46706
fbd643b6
RM
467072010-06-14 Roland McGrath <roland@redhat.com>
46708
46709 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46710
f32f2869
JJ
467112010-06-07 Jakub Jelinek <jakub@redhat.com>
46712
46713 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46714 __REDIRECT followed by __THROW.
46715 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46716 * posix/getopt.h (getopt): Likewise.
46717
2a50c078
EPM
467182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46719
46720 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46721 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46722 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46723 in AT_FLAGS.
46724 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46725 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46726
eb5ad2eb
LM
467272010-05-28 Luis Machado <luisgpm@br.ibm.com>
46728
46729 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46730
3c88fe1e
L
467312010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46732
46733 [BZ #11640]
46734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46735 Properly check family and model.
46736
d2f73151
TY
467372010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46738
46739 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46740
ebd2e13d
LM
467412010-05-24 Luis Machado <luisgpm@br.ibm.com>
46742
46743 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46744
b32b8b45
UD
467452010-05-21 Ulrich Drepper <drepper@redhat.com>
46746
46747 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46748 symbol reference.
46749
9acbe24d
AS
467502010-05-19 Andreas Schwab <schwab@redhat.com>
46751
46752 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46753 symbol reference.
46754
f0ccf6ea
AS
467552010-05-21 Andreas Schwab <schwab@redhat.com>
46756
3d04ff3a
AS
46757 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46758 and internal_recvmmsg.
46759 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46760 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46761 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46762 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46763
f0ccf6ea
AS
46764 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46765 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46766 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46767
5b08ac57
AS
467682010-05-20 Andreas Schwab <schwab@redhat.com>
46769
46770 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46771
4828935d
LM
467722010-05-17 Luis Machado <luisgpm@br.ibm.com>
46773
46774 POWER7 optimizations.
46775 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46776 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46777
373d545e
UD
467782010-05-19 Ulrich Drepper <drepper@redhat.com>
46779
46780 * version.h: Update for 2.13 development version.
46781
21a2b1ae
AS
467822010-05-12 Andrew Stubbs <ams@codesourcery.com>
46783
46784 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46785 exceptions. Return 0.
46786
3f7dcb2b
RM
467872010-05-07 Roland McGrath <roland@redhat.com>
46788
46789 * elf/ldconfig.c (main): Add a const.
46790
5f24d53a 467912010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 46792
a160f8d8
UD
46793 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46794 (args_options): Add no-idn option.
46795 (ahosts_keys_int): Add idn_flags to ai_flags.
46796 (parse_option): Handle 'i' option to clear idn_flags.
46797
5f24d53a
UD
46798 * malloc/malloc.c (_int_free): Possible race in the most recently
46799 added check. Only act on the data if no current modification
46800 happened.
265bb1ce
UD
46801
46802See ChangeLog.17 for earlier changes.